"PHP Test", $cat_general => "General Info", $cat_meetings => "Meetings", $cat_projects => "Docs & Projects" ); # ARRAY of SECTIONS in CATEGORIES $sec_charter = "charter"; $sec_contacts = "contacts"; $sec_cpe = "cpe"; $sec_ggf_mtgs = "ggf"; $sec_home = "home"; $sec_next_mtg = "next_meeting"; $sec_other_mtgs = "other_meetings"; $sec_overview = "overview"; $sec_phptst = "php_test"; $sec_testbed = "gce-testbed"; $sec_workshops = "workshops"; $groups = array ( $cat_phptst => array ($sec_phptst), $cat_general => array ($sec_home,$sec_overview,$sec_charter,$sec_contacts), $cat_meetings => array ($sec_next_mtg,$sec_prev_mtgs,$sec_ggf_mtgs,$sec_workshops,$sec_other_mtgs), $cat_projects => array ($sec_testbed,$sec_cpe) ); # ARRAY of SECTION NAMES $sections = array ( $sec_charter => "Charter", $sec_contacts => "Contacts", $sec_cpe => "C&C:P&E '01", $sec_ggf_mtgs => "Global Grid Forum", $sec_home => "GCE Home", $sec_mtg_ggf1 => "Meeting: GGF7", $sec_mtg_ggf2 => "Meeting: GGF2", $sec_mtg_ggf3 => "Meeting: GGF3", $sec_mtg_ggf4 => "Meeting: GGF4", $sec_mtg_ggf5 => "Meeting: GGF5", $sec_mtg_ggf6 => "GGF/GCE Meeting: GGF6, Chicago, October 2002", $sec_mtg_ggf7 => "GGF/GCE Meeting: GGF7, March 2002", $sec_prev_mtgs => "Previous Meetings", $sec_next_mtg => "Next Meeting: GGF7", $sec_other_mtgs => "Related/Other", $sec_overview => "Overview", $sec_phptst => "PHP Test Page", $sec_testbed => "GCE Testbed", $sec_workshops => "GCE Workshops" ); # ARRAY of PATH NAMES $urls = array ( $sec_phptst => "http://www.computingportals.org/phptst/phptst.php", $sec_charter => "http://www.computingportals.org/org/charter.php", $sec_contacts => "http://www.computingportals.org/org/contacts.php", # $sec_cpe => "http://www.computingportals.org/", # $sec_ggf_mtgs => "http://www.computingportals.org/", $sec_home => "http://www.computingportals.org/", $sec_mtg_ggf1 => "http://www.computingportals.org/meetings/ggf1/ggf1.php", $sec_mtg_ggf2 => "http://www.computingportals.org/meetings/ggf2/ggf2.php", $sec_mtg_ggf3 => "http://www.computingportals.org/meetings/ggf3/ggf3.php", $sec_mtg_ggf4 => "http://www.computingportals.org/meetings/ggf4/ggf4.php", $sec_mtg_ggf5 => "http://www.computingportals.org/meetings/ggf5/ggf5.php", $sec_mtg_ggf6 => "http://www.computingportals.org/meetings/ggf6/ggf6.php", $sec_mtg_ggf7 => "http://www.computingportals.org/meetings/ggf7/ggf7.php", $sec_prev_mtgs => "http://www.computingportals.org/meetings/ggf_sum.php", $sec_next_mtg => "http://www.computingportals.org/meetings/next_mtg.php", # $sec_other_mtgs => "http://www.computingportals.org/", $sec_overview => "http://www.computingportals.org/org/overview.php", $sec_testbed => "http://www.computingportals.org/gce_testbed", $sec_workshops => "http://www.computingportals.org/meetings/workshops/workshops.php" ); # FUNCTION TO WRITE TOP AND NAVIGATION function writeNav ($thisSection) { global $cats; global $catNames; global $groups; global $sections; global $urls; echo (""); foreach ($cats as $cat) { echo (" "); foreach ($groups[$cat] as $group) { echo (" "); } } echo("
$catNames[$cat]
$sections[$group]
"); } # include (BASE_UTIL . "categories.php"); # if ($group == $thisSection){ # $pointer = "on"; # } else { # $pointer = "off"; # } # FUNCTION TO WRITE HTML HEAD function writeHead ( $title ){ include (BASE_UTIL . "header.php"); } #FUNCTION to WRITE the FOOTER function writeFoot (){ $currentDate = getdate(); include (BASE_UTIL . "foot.php"); } #FUNCTION to WRITE HTML HEAD and NAVIGATION function writeTop ($thisSection,$title){ writeHead ($title); writeNav($thisSection); } #FUNCTION TO DRAW A SPACER USING THE 1pixel.gif image function drawSpacer($width, $height) { $img = BASE_URL . "images/1pixel.gif"; echo("
"); } ?>