Location: PHPKode > projects > CoreAsset > coreasset/templates/index_org.tpl
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>::::: Asset Management System : Login :::::</title>
<link href="images/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="100%" valign="middle">
	<table width="475" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td><img src="images/login_header.jpg" width="475" height="129" /></td>
      </tr>
      <tr>
        <td class="bordermiddle" height="222" valign="top" align="center">
		<table width="434" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"></td>
          </tr>
          <tr>
            <td height="17">
<!--
     {if $mes!=""}
      <tr>
        <td class="txt"><font color="RED">{$mes}</font></td>
      </tr>
      <tr>
        <td class="txt">&nbsp;</td>
      </tr>
      {/if}
-->
	  </td>
          </tr>
          <tr>
            <td>
			<form name="f1" onSubmit="return go();" action="index.php?act=login" method="post">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td background="images/login.gif" width="434" height="31" align="center" align="middle">
			{if $mes!=""}
				<font color="RED">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				{$mes}<br><br></font>
			{/if}
		</td>
              </tr>
              <tr>
                <td height="157" class="borderloginmiddle"><table width="100%" border="0" cellspacing="4" cellpadding="0">
                  <tr>
                    <td width="35%" align="right">User Name:</td>
                    <td width="65%" align="left"><input name="userid" type="text" class="text" style="width:230" size="18" /></td>
                  </tr>
                  <tr>
                    <td align="right">Password:</td>
                    <td align="left"><input name="password" type="password" class="text" style="width:230" size="18" /></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td align="left"><table width="100%" border="0" cellspacing="2" cellpadding="0">
                      <tr>
                        <td width="30">&nbsp;</td>
                        <td width="80">
						<input type="image" src="images/login_btn.gif">
						</td>
                        <td>
						<!--<img src="images/close_btn.gif" width="60" height="21" />-->
						</td>
                      </tr>
                    </table></td>
                  </tr>
<!--
		  <tr>
                    <td colspan="2" align="center" valign="bottom" height="25">Provide a Valid Username/Password for Logon into The System</td>
                  </tr>
-->
                  <!--<tr>
                    <td colspan="2" align="center" valign="bottom" height="25"><a href="#" class="foot">Forgot Password?</a> <a href="#" class="foot">New User Registration? </a></td>
                  </tr>-->
                </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="10"><img src="images/login_border_leftbt.gif" width="10" height="10" /></td>
                    <td class="borderloginbottom"><img src="images/blank.gif" width="10" height="10" /></td>
                    <td width="10"><img src="images/login_border_rightbt.gif" width="10" height="10" /></td>
                  </tr>
                </table></td>
              </tr>
            </table>
			</form>
			</td>
          </tr>
              
            </table>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="9"><img src="images/bt_left_corner.gif" width="10" height="10" /></td>
            <td width="457" class="borderbottom"><img src="images/blank.gif" width="5" height="5" /></td>
            <td width="9"><img src="images/bt_right_corner.gif" width="10" height="10" /></td>
          </tr>
        </table>
		</td>
      </tr>
   </table>
</body>
</html>
{literal}
<script language="Javascript">
function go()
{
	if(document.f1.userid.value == "")
	{
		alert("Please enter an User ID !");
		document.f1.userid.focus();
		return false;
	}

	if(document.f1.password.value == "")
	{
		alert("Please enter the Password !");
		document.f1.password.focus();
		return false;
	}
	return true;
 
}
</script>
{/literal}
Return current item: CoreAsset