"Name of Page", page=>"Filename/URL"), # $sidebarentries = array(0, # We skip this entry anyway... array("name"=>"About", "page"=>"/index.php"), array("name"=>"News", "page"=>"/news.php"), array("name"=>"Progress", "page"=>"/progress.php"), 1, array("name"=>"Download", "page"=>"/index.php#download"), 1, array("name"=>"Install", "page"=>"/docs/install.php"), array("name"=>"API", "page"=>"/docs/api.php"), 1, array("name"=>"Help Out", "page"=>"/help.php"), array("name"=>"Report a Bug", "page"=>"http://sourceforge.net/tracker/?func=browse&group_id=1032&atid=101032"), array("name"=>"Request a Feature", "page"=>"http://sourceforge.net/tracker/?func=browse&group_id=1032&atid=351032"), array("name"=>"Project Interface", "page"=>"http://sourceforge.net/projects/freeglut/") ); function generateHeader($self) { global $title; echo "\n"; echo "\n"; echo ""; ?> <? echo $title ?> \n"; else if ($current_page == $item["page"]) echo "\t
$item[name]
\n"; else echo "\t
$item[name]
\n"; } function generateSideBar($current_page) { global $sidebarentries; # Print out the logo and title ?>