📄 login.asp
字号:
<!--#include file="User_conn.asp"-->
<!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>
<title><%=setting("sitename")%></title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<style>
body{
font-size:12px;
FONT-FAMILY: Arial, Helvetica, sans-serif, Verdana,宋体;
}
.line{
background-color:#990000;height:5px;overflow:hidden
}
.textbox{
border:1px #000 solid;height:18px;
}
.navrboxcont_head { background-image: url(images/mtop_bg01.gif); width: 100%; height:68px }
.navrboxright_head { font-size: 14px; width:600px; float:right; height:68px; color:666;}
.navrboxauto_head { margin-right:100px; width:auto; height:68px ; margin-left: 20px; }
.padbcont_headright { background-repeat: no-repeat; width:100%; height:68px;}
.padbox_headright {width:auto; height:30px; text-align:center}
.padbcont_list { color: #fff; font-size: 12px; background-image: url(images/m12_bg_03.gif); width:100%; height:29px ;padding-top:3px;}
#content{
background:url(Images/MIN_BG01.gif);
}
#content li{
list-style-type:none;padding-top:50px;text-align:center;
}
#login{
width:500px;
margin:15px auto;
padding:15px;
text-align:left;
position:relative;
}
#login #hydl{
background-color:#ff6600;
width:70px;
padding:6px 0px 3px 4px;
text-align:center;
}
#login #bd{
margin:0px auto;
padding:15px;
height:180px;
text-align:left;
border:1px #ff6600 solid;
}
#bdl{
width:350px;
float:left;
padding:20px 0px 0px 50px;
}
#bdl div{
line-height: 20pt }
#login #bdr{
position:absolute;
right:30px;
top:50px;
width:120px;
clear:left;
}
#login #bdf{
position:absolute;
bottom:30px;
}
</style>
<SCRIPT language=javascript>
<!--
function CheckForm()
{
var form=document.myform;
if (form.UserName.value=='')
{ alert("请输入用户名!");
form.UserName.focus();
return false;
}
if (form.PassWord.value=='')
{ alert("请输入密码!");
form.PassWord.focus();
return false;
}
<% if UserSetting(3) = 0 Then%>
if (isNaN(form.artYzm.value) || form.artYzm.value.length!<4)
{ alert("请输入正确的验证码!");
form.artYzm.focus();
return false;
}
<% end if %>
form.Submit.value="登 录";
form.Submit.disabled=true;
form.submit();
return true;
}
//-->
</SCRIPT>
</head>
<body leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<div class="navrboxcont_head">
<div class="navrboxright_head">
<div class="padbcont_headright">
<div class="padbox_headright">
</div>
</div>
</div>
<div class="navrboxauto_head"><IMG alt="" src="images/log.gif" border="0"></div>
</div>
<div class="line"></div>
<div id="content">
<li><img height=20 src="images/member.gif"></li>
<div id="login">
<div id="hydl">会员登录</div>
<div id="bd">
<div id="bdl">
<form action="Checklogin.asp?Action=LoginCheck" name="myform" method="post">
<div>用户名:
<Input name="UserName" class="textbox" type="text" size="16"></div>
<div>密 码:
<Input name="PassWord" class="textbox" type="password" size="16"></div>
<% if UserSetting(3) = 0 Then%>
<div>验证码:
<input type="text" size="6" class="textbox" name="artYzm" maxlength="5"> <img align="absmiddle" src="../Include/vCode.asp?" onClick="this.src+=Math.random()" alt="图片看不清?点击重新得到验证码" style="cursor:hand;">
</div>
<%end if %>
<input name="act" type="hidden" id="act" value="cool">
<p> <Input onclick="return CheckForm()" type=image height=21 width=70 src="images/login.gif" border=0 name="imgsub"> <label for="CookieDate"><input type="checkbox" name="CookieDate" id="CookieDate" value="3" />保存我的登录信息</label></p>
</form>
</div>
<div id="bdr"><img height=120 src="images/p_login.gif" width=117></div>
<div id='bdf'><SPAN style="MARGIN-BOTTOM: 3px">忘记密码? 如果你忘记密码请点击</SPAN>
<Input style="MARGIN-BOTTOM: -2px" onClick="location.href='GetPass.asp';" type=image height=21 width=70 src="images/zhmm.gif" border=0 name=imageField2223>按钮。
</div>
</div>
</div>
<li><img height=20 src="images/membernot.gif">
<br />请先注册成为会员 <Input style="margin-bottom: -2px" onClick="location.href='reg.asp';" type="image" height=21 width=70 src="images/mfzc.gif" border=0 name=imageField22222></li>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -