Location: PHPKode > projects > Simple Help Desk Software - A Free PHP Web App > helpdeskfinal/tpl/header.tpl
<script type="text/javascript">
	function btnoff(cellobj)
	{
		cellobj.className = "button_off";
	}
	function btnon(cellobj)
	{
		cellobj.className = "button_on";
	}
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#7593AD">
  <!--DWLayoutTable-->
  <tr>
    <td width="50%" height="15" align="left" valign="bottom"><font color="#FFFFFF">{helpdesk_time}</font></td>
    <td width="50%" align="right" valign="bottom"><font color="#FFFFFF">{welcome_text}</font></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="237" valign="top"><img src="tpl/images/head_left.gif" width="304" height="107"></td>
    <td width="29" valign="top" background="tpl/images/head_spacer.gif"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="165" valign="top" background="tpl/images/head_spacer.gif"><img src="tpl/images/head_mid.gif" width="382" height="107"></td>
    <td width="100%" valign="top" background="tpl/images/head_spacer.gif"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="84"  nowrap height="19" class="button_off" onClick="javascript:window.location.href='mytickets.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="mytickets.php">My Tickets </a></td>
	<!--BEGIN all_tickets-->
	<td width="84"  nowrap class="button_off" onClick="javascript:window.location.href='mytickets.php?mode=all';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="mytickets.php?mode=all">All Tickets</a></td>
	<!--END all_tickets-->
	<!--BEGIN new_ticket-->
    <td width="77" nowrap class="button_off" onClick="javascript:window.location.href='post.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="post.php">New Ticket</a></td>
	<!--END new_ticket-->
    <td width="55" nowrap class="button_off" onClick="javascript:window.location.href='search.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="search.php">Search</a></td>
	<!--BEGIN admin_panel-->
    <td width="87"  nowrap class="button_off" onClick="javascript:window.location.href='admin_index.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="admin_index.php">Admin panel</a></td>
	<!--END admin_panel-->
    <td width="85"  nowrap class="button_off"  onClick="javascript:window.location.href='prefs.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="prefs.php">Preferences</a></td>
	<!--BEGIN create_account-->
    <td width="106"  nowrap class="button_off" onClick="javascript:window.location.href='register.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="register.php">Create account</a></td>
	<!--END create_account-->
	<!--BEGIN log_in-->
    <td width="55" align="center" nowrap class="button_off" onClick="javascript:window.location.href='login.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="login.php">Log in</a> </td>
	<!--END log_in-->
	<!--BEGIN log_out-->
    <td width="60" nowrap class="button_off" onClick="javascript:window.location.href='login.php?action=logout';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="login.php?action=logout">Log out</a></td>
	<!--END log_out-->
    <td width="56" nowrap class="button_off" onClick="javascript:window.location.href='help.php';" onMouseOver="javascript:btnon(this);" onMouseOut="javascript:btnoff(this);"><a href="help.php">Help</a></td>
    <td valign="top" class="button_off" style="cursor: default;"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#7593AD">
  <!--DWLayoutTable-->
  <tr>
    <td width="100%" height="3" valign="top"><img src="tpl/images/spacer.gif" width="1" height="1"></td>
  </tr>
</table>
Return current item: Simple Help Desk Software - A Free PHP Web App