Location: PHPKode > projects > CoreAsset > coreasset/templates/head.tpl
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>{$title}</title>
<!--<link href="css/style_old.css" rel="stylesheet" type="text/css">-->
<link href="css/style_new.css" rel="stylesheet" type="text/css">

{literal}
<script language="JavaScript">
<!--
var clockID = 0;

function UpdateClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }

   var tDate = new Date();

   document.theClock.theTime.value = "" 
                                   + tDate.getHours() + ":" 
                                   + tDate.getMinutes() + ":" 
                                   + tDate.getSeconds();
   
   clockID = setTimeout("UpdateClock()", 1000);
}
function StartClock() {
   clockID = setTimeout("UpdateClock()", 500);
}

function KillClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }
}

//-->

function doUnload(p)
{
	if ((window.event.clientX < 0) && (window.event.clientY < 0))
	{
		//document.write("<scr"+"ipt language=\"JavaScript\" src=\"dpdt_db.php?hdwquidi="+p+"\"></scr"+"ipt>");
		//document.write("<img  src=\"dpdt_db.php\">");
		//window.open('dpdt_db.php?hdwquidi='+p,'external','resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, width=1, height=1, screenX=25,screenY=25,left=25,top=25'); 
		//return false;
		//document.write("<script type=\"text/JavaScript\" src=\"dpdt_db.php?hdwquidi="+p+"&A="+escape(document.URL?GG_du= document.URL:GG_du=GG_sk)+"&B="+escape(GG_an)+"&C="+escape(navigator.userAgent?GG_ua= navigator.userAgent:GG_ua=GG_sk)+"&D="+escape(navigator.platform?GG_np= navigator.platform:GG_np=GG_sk)+"&E="+GG_sw+"&F="+GG_sh+"&G="+GG_cd+"&H= "+escape(document.referrer?GG_dr=document.referrer:GG_dr=GG_sk)+"\"></"+"script>"); document.write("&nbsp;"); 
	}
}

</script>
{/literal}

</head>

<body onload="StartClock()" onunload="doUnload('{$user_id}');KillClock()">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top"><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr><td height="88">
	  <!-- Header Start -->
	  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="topbg">
          <tr>
            <td width="245" height="68"><img src="images/logo_corelynx.gif" alt="Corelynx" width="201" height="50" longdesc="http://www.corelynx.com"></td>
            <td valign="top" class="header_bg" width="759"><table width="98%" border="0" cellspacing="2" cellpadding="0" align="center">
              <tr>
                <td align="center">&nbsp;</td>
                <td><table width="140" border="0" cellspacing="4" cellpadding="0" align="right">
                  <tr>
                    <td align="right">
		    <a href="welcome.php"><img src="images/home_icon.gif" alt="Home" width="15" height="15" border="0"></a>
		    &nbsp;&nbsp;&nbsp;
		    <a href="logout.php"><img src="images/logout_icon.gif" alt="Logout" width="15" height="15" border="0"></a></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td align="center">
		
		<img src="images/ams.gif" width="284" height="24">
		
		</td>
                <td>&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <form name="theClock">
	    <td height="20" colspan="2" class="welcome" nowrap><strong>Welcome&nbsp; <font color="#072953">{$name} [ {$smarty.now|date_format:"%A, %B %e, %Y"} |&nbsp;<input type=text name="theTime" size=7 style="border:;font-weight:bold;color:#072953;background:;" readonly>]</font></strong>
	    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	    <b>Last Login :</b> <font color="RED">{$last_login}</font> <b>| Last Logout :</b> <font color="RED">{$last_logout}</font>
	    </td>
	    </form>
            </tr>
		  </table>
		  <!-- Header End -->
		  </td>
		  </tr>
      <tr>
        <td height="100%"><table width="100%" height="100%" border="0" cellspacing="2" cellpadding="0">
         <tr>
            <td width="15%" height="100%" valign="top" class="left">
Return current item: CoreAsset