"Name of Page", page=>"Filename/URL"), # $sidebarentries = array(0, # We skip this entry anyway... array(name=>"About freeglut", page=>"/index.php"), array(name=>"Latest News", page=>"/news.php"), array(name=>"Info for Users", page=>"/uinfo.php"), array(name=>"Info for Developers", page=>"/dinfo.php"), 1, array(name=>"Download", page=>"/index.php#download"), 1, array(name=>"How You Can Help", page=>"/help.php"), array(name=>"Look at Progress", page=>"/progress.php"), 1, array(name=>"Report a Bug", page=>"http://sourceforge.net/tracker/?func=add&group_id=1032&atid=101032"), array(name=>"Request a Feature", page=>"http://sourceforge.net/tracker/?func=add&group_id=1032&atid=351032"), 1, array(name=>"Go to SourceForge", page=>"http://freeglut.sourceforge.net/fg/index.php?id=408") ); function generateHeader($self) { global $title; ?> <? echo $title ?> "; else if ($current_page == $item[page]) echo "
$item[name]
"; else echo "
$item[name]
"; } function generateSideBar($current_page) { global $sidebarentries; echo "
"; echo "
The Free OpenGL Utility Toolkit

"; reset($sidebarentries); while (next($sidebarentries)) { printMenuItem(current($sidebarentries), $current_page); } echo "
"; echo "
"; } function setPageTitle($title_inc) { global $site_title, $title; $title = $site_title . " :: " . $title_inc; } ?>