📄 login.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--用户登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="inc/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp" -->
<%if request.cookies("shopzhiwang")("username")<>"" then%>
<table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#EDECEC">
<tr>
<td bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<table border="0" align="center" cellpadding="0" cellspacing="0" width="480">
<tr>
<td height="150" align="center">欢迎<font color="red"> <%=Request.Cookies("shopzhiwang")("username")%> </font>登陆,请选择相关服务!</td>
</tr>
</table>
<%else%>
<table width="480" height="150" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <br><br><br>
<div align="center"><font color="#FF0000"><b><font color="#999999" size="5">用户登录</font></b></font>
<br><br><br><br>
<table border="0" cellspacing="0" cellpadding="1" align="center" width="489">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<form name="feedbackinfo" method="post" action="checklogin.asp">
<tr>
<td style="padding-left:10px" width="45%" align="right">用户名:</td>
<td height="22" style="padding-left:10px" width="55%">
<input name="username" type="text" id="username" size="12" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff";>
</td>
</tr>
<tr>
<td style="padding-left:10px" width="45%" align="right">密 码:</td>
<td height="22" style="padding-left:10px" width="55%">
<input name="userpassword" type="password" id="userpassword" size="12" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff";>
<input type="hidden" name="linkaddress" value="<%=request.servervariables("http_referer")%>">
</td>
</tr>
<tr align="center">
<td height="47" colspan="2" style="padding-left:10px"> <br><br>
<input name="imageField" type="image" src="images/login_bt_login.gif" width="47" height="36" border="0" onFocus="this.blur()">
<a href="reg.asp"><img src="images/login_bt_zc.gif" width="47" height="36" border="0"></a>
<a href="javascript:;" onClick="javascript:window.open('getpwd.asp','','width=350,height=200');"><img src="images/login_bt_wm.gif" width="47" height="40" border="0"></a>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</div>
</td>
</tr>
</table>
<%end if%>
</td>
</tr>
</table>
<!--#include file="webfoot.asp"-->
</body>
</html>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
function checkfeedback()
{
if(checkspace(document.feedbackinfo.username.value)) {
document.feedbackinfo.username.focus();
alert("请填写用户名!");
return false;
}
if(checkspace(document.feedbackinfo.userpassword.value)) {
document.feedbackinfo.userpassword.focus();
alert("请填写密码!");
return false;
}
}
//-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -