Accueil/modules/notes/includes/notes_extract.php

6 lines
545 B
PHP
Raw Permalink Normal View History

2010-09-14 23:38:29 +02:00
<?php $nb = 0;
2010-09-27 12:48:53 +02:00
$notes = simplexml_load_file('modules/notes/db/notes.xml');
2010-09-14 23:38:29 +02:00
foreach($notes as $test){$nb++;}
for($i=0; $i<$nb; $i++){ ?>
<div class="note <?php echo $notes->note[$i]->color;?>" style="position:absolute; left:<?php echo $notes->note[$i]->left;?>; top:<?php echo $notes->note[$i]->top;?>;z-index:<?php echo $notes->note[$i]->zindex;?>;"><div class="delete" id="r-<?php echo $notes->note[$i]['id'];?>"></div><?php echo $notes->note[$i]->text;?><br/><span class="data"><?php echo $notes->note[$i]['id'];?></span></div>
<?php }