login2.tpl

来自「企业易站官方网站 下面是相关帮助信息: 1.企业易站官方网站 http://ww」· TPL 代码 · 共 100 行

TPL
100
字号
<html>
<head>
<title>企业易站(EES)_用户登陆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="main.css" type="text/css">
{literal}
<SCRIPT language=JavaScript>
<!--
	function LocadPage()
	{
		window.focus();
		window.document.login.username.focus();
		return true;
	}

	function KeyDown()
	{
		if(window.event.keyCode=="13")
		{
			return CheckForm();
		}
	}

	function CheckForm()
	{
		if(login.username.value =="")
		{
			alert("\请输入用户名!")
			document.login.username.focus();
			return false;
		}
		else if(login.passwd.value =="")
		{
			alert("\请输入密码!")
			document.login.passwd.focus();
			return false;
		}
		else{
			document.login.submit();
			return true;
		}
	}

	function ResetForm()
	{
		document.login.reset();
		return false;
	}

	function window_close()
	{
	  setTimeout("self.close()",0);
	}
// -->
</SCRIPT>
{/literal}
</head>

<body bgcolor="ffffee" onload="LocadPage()" onkeydown="KeyDown()">
<br>
<br>
<br>
<form name="login" action="login.php" method="post">
  <table width="300" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#f2f2f2" class=p9 >
    <tr bgcolor="#7596E2"> 
      <td height="16" colspan="2" align="center" style="font-size:14.9px"> <b ><font color="#FFFFFF">用户登陆</font></b> 
      </td>
    </tr>
    <tr> 
      <td height="22" colspan="2" align="center" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr> 
      <td width="35%" height="19" align="center" bgcolor="#FFFFFF"> 用户名: </td>
      <td width="65%" align="center" bgcolor="#FFFFFF">
	<div align="left"> 
          <input type="text" name="username" id="username" size=20>
        </div>
      </td>
    </tr>
    <tr> 
      <td height="19" align="center" bgcolor="#FFFFFF"> 密 码: </td>
      <td height="19" align="center" bgcolor="#FFFFFF">
	<div align="left"> 
          <input name="passwd" type="password" id="passwd" size=20 >
        </div>
      </td>
    </tr>
    <tr> 
      <td height="26" colspan="2" align="center" bgcolor="#FFFFFF">
	    <input name="s_action" type=hidden id="s_action" value="login"> 
        <input type="button" name="btnSubmit" value="  登录  " class=s02 style="width:60px;height:22px" onclick="javascript:return CheckForm()"> 
        &nbsp;&nbsp; 
		<input type="reset" name="close2" value="  取消  " class=s02 style="width:60px;height:22px" onclick="javascript:return ResetForm()"> 
      </td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?