>>Start Example # # include "local.php"; # StartPage(LocalAreaID, LocalAreaName, LocalPageTitle, Javascript, MetaKeywords); # # -->put your page content here<-- # # EndPage(); # # <<< Passed in from local.inc included locally # SideNavEnd() ################### # Global Variables # links $gBaseURL = "https://www.ischool.utexas.edu"; $gBaseImageURL = "https://www.ischool.utexas.edu/images"; $gPHPBaseURL = "https://www.ischool.utexas.edu"; $gSecureBaseURL = "https://www.ischool.utexas.edu"; # titles $gBaseSchoolName = "UT School of Information"; # defaults $gDefaultImage = "sanchez.jpg"; # assumed to live in /images $gDefaultImageAlt = "Sanchez Buildling"; ####################### # function StartPage function StartPage($LocalAreaID, $LocalAreaName="", $PageTitle="", $Javascript="", $MetaKeywords="", $AdditionalHeaders="") { global $gDefaultImage; global $gDefaultImageAlt; global $Image; global $ImageAlt; global $TopLevelCategory; # Set appropriate vars if( $Image == "" ) { $Image = $gDefaultImage; } if( $ImageAlt == "" ) { $ImageAlt = $gDefaultImageAlt; } if( $PageTitle == "" ) { $PageTitle = $LocalAreaName; } if( $LocalAreaName == "" ) { $LocalAreaName = $LocalAreaID; $PageTitle = $LocalAreaID; } # Draw up the page GlobalPageTop($LocalAreaName, $PageTitle, $Javascript, $MetaKeywords, $AdditionalHeaders); GlobalTopNav($TopLevelCategory); SideNavStart($LocalAreaName, $Image, $ImageAlt); LocalSideNav($LocalAreaID); SideNavEnd(); } # end function StartPage() ####################### # function EndPage function EndPage($FlagString="") { $aFlags = array(); if( $FlagString != "" ) { $aFlags = preg_split("/[\s,]+/", $FlagString, -1, PREG_SPLIT_NO_EMPTY); } # Check to see if we should not display "last modified" date. This is used # to avoid date stamping pages whos content changes dynamically. if( !in_array("NO_MODIFIED_DATE", $aFlags) ) { ?>


Last Modified:




© 2001 - 2006 University of Texas at Austin - School of Information

























<? echo "$gBaseSchoolName - $LocalPageTitle" ?>
School of Information - The University of TexasSkip to content
   search   
About About Programs Programs Admissions Admissions Courses Courses People People Research Research Computing Computing Careers Careers Kilgarlin Kilgarlin
   
<? echo $ImageAlt ?>
" . $DisplayName . ""; return( MenuItem($URL, $AreaID, $CompareName, $DisplayName) ); } # end ExternalMenuItem ############################ # External Sub Menu Item # display menu item that is link to something external to current navigation area function ExternalSubMenuItem($URL, $AreaID, $CompareName, $DisplayName="") { $DisplayName = "" . $DisplayName . ""; return( SubMenuItem($URL, $AreaID, $CompareName, $DisplayName) ); } # end ExternalSubMenuItem ######################## # SideNavEnd() function SideNavEnd() { global $gBaseURL; global $gBaseImageURL; ?>
selected
 
selected
 
 


Search
Contact Info
UT Home