Location: PHPKode > projects > CoreAsset > coreasset/templates/tempforindex.tpl
{include file="head.tpl"}
  
  <tr>
    <td class="label" style="PADDING-LEFT: 6px" bgColor="#000000" height="31">
    <b><font color="#FFFFFF" face="Verdana">Welcome Asset Management Login</font></b></td>
  </tr>
  <tr>
    <td bgColor="#ffffff">
    <img title alt src="images/blank.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td style="PADDING-TOP: 50px" vAlign="top" bgColor="#e8ebde" height="356">
    <table cellSpacing="0" cellPadding="0" width="325" align="center" border="0">
      <tr>
        <td class="txt">&nbsp;</td>
      </tr>
      <tr>
        <td class="txt">&nbsp;</td>
      </tr>

      {if $mes!=""}
      <tr>
        <td class="txt"><font color="RED">{$mes}</font></td>
      </tr>
      <tr>
        <td class="txt">&nbsp;</td>
      </tr>
      {/if}

      <tr>
        <td>
        <table cellSpacing="0" cellPadding="0" width="141" border="0">
          <tr>
            <td>
            <img title alt src="images/label-left.gif" width="8" height="30"></td>
            <td class="label" style="PADDING-LEFT: 15px" width="127" bgColor="#7f8690">
            Admin Login</td>
            <td>
            <img title alt src="images/label-right.gif" width="8" height="30"></td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td><img title alt src="images/blank.gif" width="1" height="1"></td>
      </tr>
      <tr>
        <td style="BORDER-RIGHT: #bbbbbb 1px solid; BORDER-LEFT: #bbbbbb 1px solid" bgColor="#bbbbbb">
        <img title height="3" alt src="images/blank.gif" width="1"></td>
      </tr>
      <tr>
        <td style="BORDER-RIGHT: #bbbbbb 1px solid; BORDER-LEFT: #bbbbbb 1px solid" vAlign="top" bgColor="#ededed" height="148">
        <table cellSpacing="0" cellPadding="0" width="100%" border="0">
          <tr>
            <td vAlign="top" width="27%">
            <img src="images/log-in-icon.gif" width="92" height="98"></td>
            <td style="PADDING-TOP: 36px" vAlign="top" width="73%">
            <table cellSpacing="0" cellPadding="0" width="90%" align="center" border="0">
              <form name="f1" onsubmit="return go();" action="index.php?act=login" method="post">
                <tr>
                  <td class="txt">
                  <div class="fieldname" align="right">User Name</div>
                  </td>
                  <td style="PADDING-LEFT: 12px">
                  <input id="userid" style="WIDTH: 125px; HEIGHT: 18px" name="userid" size="20" class="text">
                  </td>
                </tr>
                <tr>
                  <td colSpan="2">
                  <img title height="5" alt src="images/blank.gif" width="1"></td>
                </tr>
                <tr>
                  <td class="txt">
                  <div class="fieldname" align="right">Password</div>
                  </td>
                  <td style="PADDING-LEFT: 12px">
                  <input id="password" style="WIDTH: 125px; HEIGHT: 18px" type="password" value name="password" size="20" class="text"></td>
                </tr>
                <tr>
                  <td colSpan="2">
                  <img title height="9" alt src="images/blank.gif" width="1"></td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td style="PADDING-RIGHT: 8px" align="right">
                  <input type="image" src="images/log-in-button.gif" name="Submit"></td>
                </tr>
              </form>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td style="BORDER-RIGHT: #bbbbbb 1px solid; BORDER-LEFT: #bbbbbb 1px solid" bgColor="#bbbbbb">
        <img title height="4" alt src="images/blank.gif" width="1"></td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
 <td>
{include file="foot.tpl"}

{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