Location: PHPKode > projects > Time Recording System > mainMenu.php
<!--
	################################################################
	# >>> Time Recording System											#
	################################################################
	# > Authors:  Lucian Pricop and David Sturtevant					#
	# > E-mail:  hide@address.com						#
	# > Date: 	 17 April 2007											#
	#																			#
	# This web application allows your staff to submit their time	#
	# sheets on line 														#
	################################################################
	#	Copyright (C) 2007  Oxford Archaeology							#
	#																			#
	# This program is free software; you can redistribute 			#
	# it and/or modify it under the terms of the GNU General 		#
	# Public License as published by the Free Software 				#
	# Foundation; either version 2 of the License, or (at your	 	#
	# option) any later version.											#
	#																			#
	# This program is distributed in the hope that it will be 		#
	# useful, but WITHOUT ANY WARRANTY; without even the 				#
	# implied warranty of MERCHANTABILITY or FITNESS FOR A 			#
	# PARTICULAR PURPOSE.  See the GNU General Public License 		#
	# for more details.														#
	#																			#
	# You should have received a copy of the GNU General 				#
	# Public License along with this program; if not, write to 		#
	# the Free Software Foundation, Inc., 59 Temple Place - 			#
	# Suite 330, Boston, MA  02111-1307, USA.							#
	################################################################
-->
<div id="welcomeSection">
	<div id="logout">
		<form name="logout" action="logonAuthentication.php" method="POST">
			<input name="action" value="logout" type="hidden"/>
			<a class="inlineLink" href="#" onclick="document.forms[0].submit();"> Logout <?echo $_SESSION["fname".$privateKey]." ".$_SESSION["lname".$privateKey];?></a>
		</form>
	</div>
	<? if(strpos($_SERVER["SCRIPT_FILENAME"],"timesheetArchive.php")===FALSE)
	{?>
	<a class="inlineLink" href="timesheetArchive.php">archive</a>
	<?}
		else echo "archive";?>
	|
	<? if(strpos($_SERVER["SCRIPT_FILENAME"],"index2.php")===FALSE)
	{?>
	<a class="inlineLink" href="index2.php">Time Sheets</a>
	<?}
		else echo "Time Sheets";?>
	|
	<? if(strpos($_SERVER["SCRIPT_FILENAME"],"timeTotaler.php")===FALSE)
	{?>
	<a class="inlineLink" href="timeTotaler.php">Time Calculator</a>
	<?}
		else echo "Time Calculator";?>
		
	<?if($_SESSION["usertype".$privateKey] == 1){
	?>
		|
		<? if(strpos($_SERVER["SCRIPT_FILENAME"],"administrator.php")===FALSE)
		{?> 
			<a class="inlineLink" href="administrator.php">employees</a>
		<?}
			else echo "employees";?>
		|
		<? if(strpos($_SERVER["SCRIPT_FILENAME"],"submissionStatus.php")===FALSE)
		{?> 
			<a class="inlineLink" href="submissionStatus.php">submission status</a>
		<?}
			else echo "submission status";?>
	<?}?>
	|
	<? if(strpos($_SERVER["SCRIPT_FILENAME"],"userDetails.php")===FALSE)
	{?> 
	<a class="inlineLink" href="userDetails.php">my details</a>
	<?}
		else echo "my details";?>
</div>
Return current item: Time Recording System