Location: PHPKode > projects > Shift Log > shiftlog_stable_1.9.4/shiftlog/template/header.htm
<!--
#############################################################################
#  This file is part of Shiftlog.											#
#																			#
#    Shiftlog 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 3 of the License, or		#
#    (at your option) any later version.									#
#																			#
#    Shiftlog 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, see <http://www.gnu.org/licenses/>.	#
#############################################################################
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><?PHP echo LOG_TITLE; ?></title>
<link rel="stylesheet" href="<?PHP echo LOG_HOST; ?>/images/default1.css" type="text/css">
<script type="text/javascript" src="editor/editor.js"></script>
</head>
<body> 
<div id="masthead"> 
  <h1 id="siteName"><?PHP echo LOG_TITLE; ?></h1> 
  <div id="utility"> 
    <a href=" <?PHP echo LOG_HOST . "/common/help.php"; ?>">Help</a> | <a href="<?PHP echo LOG_HOST . "/common/user_options.php"; ?>">User Options</a> <?PHP if($line['group_id'] >=2) { echo " | <a href=\"" . LOG_HOST . "/common/high5.php\"\">Administration</a>"; } ?>  
  </div> 
  <div id="globalNav"> 
    <img alt="" src="images/gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="images/glbnav_right.gif" height="32" width="4" id="gnr"> 
    <div id="globalLink"> 
      <a href="<?PHP print LOG_HOST . "/common/index.php";?>" id="gl1" class="glink">Home</a>
	  <a href="<?PHP print LOG_HOST . "/common/review.php";?>" id="gl2" class="glink">Review</a>
	  <a href="<?PHP print LOG_HOST . "/common/newentry.php";?>" id="gl3" class="glink">New Entry</a>
	  <a href="<?PHP print LOG_HOST . "/common/search.php";?>" id="gl4" class="glink">Search</a> 
	  <a href="<?PHP $username = $_SESSION['username']; 
	  //Provide a logout button if loged in, if not change it to login
	  if($username > '')
	  	{
		echo LOG_HOST . "/common/logout.php\" id=\"g15\" class=\"glink\">Logout</a>";
		}
		else
		{
		echo LOG_HOST . "/index.php\" id=\"g15\" class=\"glink\">Login</a>";
		}
		?>
    </div> 
    <!--end globalLinks--> 
	<!--
    <form id="search" action=""> 
      <input name="searchFor" type="text" size="10"> 
      <a href="<?PHP echo LOG_HOST . "/common/search.php";?>">search</a> 
    </form> 
	-->
  </div> 
  <!-- end globalNav --> 
</div> 
<!-- end masthead --> 
Return current item: Shift Log