</div>
<div id="PageBottom">
	<div class="TopNBottom">
	    <?PHP print $SysConfig->LegalNotice(); ?>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Comments, Suggestions, Feedback? Use our <a href="index.php?P=LeaveFeedback">feedback form</a>.
        <img id="Logo" src="interface/Accessible/images/CWIS--Logo.gif" width="88" height="30" alt="CWIS logo">
	</div>
	<?php  if ($User->HasPriv(PRIV_SYSADMIN)) {  ?>
	<div class="TopNBottom"><i>
				page generation time: <?PHP  printf("%.2f", $GLOBALS["AF"]->GetElapsedExecutionTime());  ?> seconds
				&nbsp;&nbsp;&nbsp;&nbsp;
				CWIS version: <?PHP  global $SPT_SoftwareVersionToDisplay;  print($SPT_SoftwareVersionToDisplay);  ?>
				&nbsp;&nbsp;&nbsp;&nbsp;
				database name: <?PHP  global $SPT_DBName;  print($SPT_DBName);  ?>
			</i></div>
	<?php  }  ?>
</div>

</div>
<div id="PageNav">

	<div class="NavDiv" id="MainSearch">
		<div class="NavDivTop">Search</div>
		<form method="POST" action="index.php?P=AdvancedSearch">
			<input type="text" name="F_SearchString" size="17" maxlength="120" value=""><br>
			<input type="submit" value="Search">
		</form>
	</div>

	<a name="Nav"></a>
	<div id="MainNavOptions" class="NavDiv">
		<div class="NavDivTop">Navigate</div>
<?php  if ($User->HasPriv(PRIV_SYSADMIN) && !$SysConfig->HasRegistered()) {  ?>
				<a href="index.php?P=RegisterPortal">Register</a>
<?php  }  ?>
				<a href="index.php?P=BrowseResources" name="Nav">Browse Resources</a>
<?PHP  if ($SysConfig->ResourceRatingsEnabled()) {  ?>
<?php  if ($User->IsLoggedIn() == TRUE) {  ?>
				<a href="index.php?P=RecommendResources">Recommendations</a>
<?php  }  ?>
<?php  }  ?>
				<a href="index.php?P=Advanced">Advanced Search</a>
<?PHP if ($SysConfig->ForumsEnabled()) { ?>				
				<a href="index.php?P=Forums">Forums</a>
<?php }   ?>
<?php  if ($User->IsLoggedIn() == TRUE) {  ?>
				<a href="index.php?P=Preferences">Preferences</a>
				
<?PHP  if ($SysConfig->AccessibilityWizardEnabled())
        {?>
				<a href="index.php?P=AccessPreferences">Accessibility</a>
<?PHP   }?>
				
<?php  if ($User->HasPriv(PRIV_RESOURCEADMIN, PRIV_CLASSADMIN, PRIV_MYRESOURCEADMIN, PRIV_NAMEADMIN)) {  ?>
				<a href="index.php?P=SPT--MDHome">Metadata Tool</a>
<?php  }  ?>
<?php  if ($User->HasPriv(PRIV_SYSADMIN)) {  ?>
				<a href="index.php?P=SysAdmin">Administration</a>
<?php  }
    else if ($User->HasPriv(PRIV_USERADMIN)) { ?>
						<a href="index.php?P=SelectEditUser">Edit User Account</a>
<?php  } 
    else { ?>
						<a href="index.php?P=EditUser">Edit Account</a>
<?php  }  ?>
				<a href="index.php?P=UserLogout">Log Out</a>
<?php  }  ?>
				<a href="index.php?P=About">About</a>
				<a href="index.php?P=Home">Home</a>
	</div>					

        <?php  if (InMetadataTool()) {  include("interface/Accessible/include/SPT--MDSideNav.html");  } ?>

<?php  if ($User->IsLoggedIn() == FALSE) {  ?>

	<div id="MainLogin" class="NavDiv">
		<div class="NavDivTop">Login</div>
		<form method="POST" action="index.php?P=UserLogin">
		<label for="UserName">User Name</label>
		<center><input type="text" size="12" maxlength="24" name="F_UserName" id="UserName" style="font-size: 11px;"></center>
		<label for="Password">Password</label>
		<center><input type="password" size="12" maxlength="24" name="F_Password" id="Password" style="font-size: 11px;"><br>
		<input type="submit" value="Login"><br>
		<a href="index.php?P=RequestAccount" class="small">Sign up for an account.</a>
		</center>
		</form>
	</div>
<?php } ?>
    <div id="MainHelpLink"><a href="index.php?P=Help">Help</a></div>
	<a href="" onclick="toggle('ReNav'); NavDisapeer(); return false;" id="NoNav">Hide Navigation</a>
</div>
</div>
</body>
</html>

