menu.php

<div id="menu">
<ul>
<?php
 foreach( $pages as $a_page ) {
	echo "<li ";
 	if( $a_page == $page ) { echo "class='active'"; }
 	echo ">";
 	$link = "index.php?page=" . $a_page["page"];
 	echo "<a href='$link'>";
 	echo $a_page["menu"];
 	echo "</a></li>";
 }
?>

</ul>
</div>


www.peterlind.dk

Nyeste blog-indlæg