12 lines
434 B
PHP
12 lines
434 B
PHP
|
<?
|
||
|
include '../class/Links.php';
|
||
|
if($links_xml = simplexml_load_file('../'.links::LINKS_FILE)){
|
||
|
$links = $links_xml->reserve;
|
||
|
foreach($links as $label){
|
||
|
echo '<ul id="reserveiconlist">';
|
||
|
foreach($label->link as $link){
|
||
|
echo '<li class="item" id="'.$link->title.'"><a href="'.$link->url.'" class="'.$link->onclick.'"><img src="images/links/'.$link->img.'" /><br>'.$link->title.'</a></li>';
|
||
|
}
|
||
|
echo '</ul> ';
|
||
|
}
|
||
|
}
|