Accueil/modules/links/ajax/loadReserve.php

11 lines
464 B
PHP
Raw Permalink Normal View History

<?php
2010-09-27 12:48:53 +02:00
if($links_xml = simplexml_load_file("../db/links.xml")){
$links = $links_xml->reserve;
foreach($links as $label){
echo '<ul id="reserveiconlist">';
foreach($label->link as $link){
echo '<li class="iconitem" id="'.$link->title.'"><img src="images/interface/delete.png" class="deleteLink" /><a href="'.$link->url.'" class="'.$link->onclick.'"><img src="images/links/'.$link->img.'" /><br>'.$link->title.'</a></li>';
}
echo '</ul> ';
}
}