9 lines
510 B
PHP
9 lines
510 B
PHP
<?php $nb = 0;
|
|
$notes = simplexml_load_file('db/notes.xml');
|
|
foreach($notes as $test){$nb++;}
|
|
for($i=0; $i<$nb; $i++){?>
|
|
<div class="note <?echo $notes->note[$i]->color;?>" style="position:absolute; left:<? echo $notes->note[$i]->left;?>; top:<? echo $notes->note[$i]->top;?>;z-index:<? echo $notes->note[$i]->zindex;?>;"><div class="delete" id="r-<?echo $notes->note[$i]['id'];?>"></div><? echo $notes->note[$i]->text;?><br/><span class="data"><?echo $notes->note[$i]['id'];?></span></div>
|
|
<?}?>
|
|
|
|
|