⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 validate.tpl.php

📁 a short sketch about linux syntex lines.
💻 PHP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>用户登陆</title>
<script language="javascript">
function checkpass(){
	if(document.form1.username.value==""){
	alert('请输入用户名!')
	document.form1.username.focus();
	return false;
	}
	if(document.form1.password.value==""){
	alert('请输入登陆密码!')
	document.form1.password.focus();
	return false;
	}
	return true;
}
</script>
<style type="text/css">
<!--
body,td,th {
	font-size: 9pt;
	color: #666666;
}
a:link {
	text-decoration: none;
	color: #666666;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.input1{
	border: 1px solid #6699CC;
	font-size: 14px;
	height:18px;width:140px;
	color: #006699;
}
body {
	background-color: #FFFFFF;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<body>
<br />
<table width="25%" border="0" align="center" cellpadding="0" cellspacing="0" background="<?php echo $this->basedir;?>templates/public/images/user_login_bg.gif">
  <tr>
    <td><img src="<?php echo $this->basedir;?>templates/public/images/user_login_main.gif" width="359" height="113" /></td>
  </tr>
  <tr>
    <td><table width="76%" border="0" align="center" cellpadding="3" cellspacing="0">
      <form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>?mod=member&action=login" onsubmit="return checkpass();"><tr>
        <td width="34%">用户帐号:</td>
        <td width="66%">
          <label>
            <input name="username" type="text" class="input1" id="username" size="20" />
            </label>        </td>
      </tr>
      <tr>
        <td>登陆密码:</td>
        <td><label>
          <input name="password" type="password" class="input1" id="password" size="20" />
        </label></td>
      </tr>
      <tr>
        <td height="13">&nbsp;</td>
        <td><label>
          <input type="image" name="imageField" src="<?php echo $this->basedir;?>templates/public/images/user_login.gif" />
          </label></td>
      </tr>
      <tr>
<td height="13" colspan="2">·<a href="<?php echo $this->installdir;?>" target="_blank">返回站点首页</a></td>
</tr>
<tr>
  <td height="13" colspan="2">·<a href="<?php echo $this->installdir;?>?mod=member&action=register">注册新用户</a></td>
      </tr>
      <tr>
        <td height="13" colspan="2"><a href="<?php echo  $this->installdir;?>?mod=member&action=lostpass">·忘记了密码</a></td>
      </tr>
      <tr>
        <td height="13" colspan="2"><a href="<?php echo $this->basedir;?>help/" target="_blank">·帮助中心</a></td>
      </tr>
		<input name="uri" type="hidden" value="<?php echo $this->uri;?>" />
		</form>
    </table></td>
  </tr>
  <tr>
    <td><img src="<?php echo $this->basedir;?>templates/public/images/user_login_end.gif" width="359" height="5" /></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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