Location: PHPKode > projects > Helpdesk Over Web > how/includes/footer.html
<!-- END OF CONTENT -->

</DIV>
<DIV ID="Menu">
<A HREF="/how/index.php">Home</A><BR>

<?php
// This page ends the HTML includes for the site.

// Links based on login status.
if(isset($_SESSION['LoggedInUser']) AND (substr($_SERVER['PHP_SELF'], -10) != 'logout.php')) {
	if (($_SESSION['Role']) == 'Senior Management')
		{
		echo '
		<A HREF="/how/changepassword.php">Change Password</A><BR>
		<A HREF="/how/logout.php">Logout</A><BR>			
			';		
		}
	else {
	echo '	<BR><A HREF="/how/calls/newcall.php">Log New Call</A><BR>
		<A HREF="/how/calls/assignedcalls.php">Assigned Calls</A><BR>
			<BR>
			<A HREF="/how/changepassword.php">Change Password</A><BR>
			<A HREF="/how/logout.php">Logout</A><BR>			
			';
	}}
else {
	echo '<A HREF="/how/login.php">Login</A><BR>
			';
}
?>
<BR><A HREF="/how/kb/kbsearch.php">KnowledgeBase</A><BR>
<?php 
if(isset($_SESSION['FullName'])) {
	echo "<BR><FONT SIZE='-2'><B>User:</B> {$_SESSION['LoggedInUser']}</FONT>";
	}
	$datetoday = date("d.m.y");
	$timenow = date("H:i");
echo "<BR><FONT SIZE='-2'><B>Date:</B> $datetoday</FONT>";
echo "<BR><FONT SIZE='-2'><B>Time:</B> $timenow</FONT>";
?>

</DIV>

<DIV ALIGN="LEFT">
<HR WIDTH="60%">
<?php
if(isset($_SESSION['OrgName'])) {
	echo "<P>&nbsp;&nbsp;&nbsp; <b>" . $_SESSION['OrgName'] . " Helpdesk</b>; <B>Tel:</B> " . $_SESSION['HelpdeskTel'] . " <B>Email:</B> <A HREF='MAILTO:" . $_SESSION['HelpdeskEmail'] . "'>" . $_SESSION['HelpdeskEmail'] . "</A></P>"; 
}
else {
	echo "<P><b>&nbsp;&nbsp;&nbsp;H</b>elpdesk <b>O</b>ver <b>W</b>eb</P>";
} ?>
</BODY>
</HTML>
<?php // Flush buffered output.
ob_end_flush();

?>
Return current item: Helpdesk Over Web