gusucode.com > 爱美尔女性商城源码 1.0源码程序 > login.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!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> <!--#include file="conn.asp"--> <!--#include file="webconfig.asp"--> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>用户登陆--<%=webname%></title> <meta name="keywords" content="<%=keywords%>" /> <meta name="description" content="<%=description1%>" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.idtabs.js"></script> <script type="text/javascript" src="js/swf.js"></script> </head> <body> <!--#include file="top.asp" --> <table width="995" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="20"><div align="center"></div></td> </tr> </table> <table width="995" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="50" valign="top"><h4>用户登陆</h4> <div> <div> <p style="color:#999999;">如果您还不是爱美尔的会员,请点击“立即注册”成为美美尊贵会员,享受爱美尔管家式的服务吧!</p> </div> </div> <div></div></td> </tr> <style> .reg th{ font-size:14px; font-weight:normal;} .reg th font{ color:#ff0000; font-weight:normal; margin-right:5px;} </style> <tr> <td style="border:1px solid #ccc; padding:10px;"> <%if request.Cookies("bjx")("username")="" then%> <form name="fkinfo" method="post" action="checkuserlogin.asp"> <input class="wenbenkuang" type="hidden" name="linkaddress" value="<%=request.servervariables("http_referer")%>"> <table width="100%" cellpadding="0" cellspacing="0" class="reg"> <tr> <th height="35" align="right">用户名:</th> <td><input id="in_login" tabindex="1" name="username" required="true" autocomplete="off" /> <a href="reg.asp">立即注册</a></td> </tr> <tr> <th height="35" align="right">密码:</th> <td><input id="in_passwd" tabindex="2" value="" type="password" name="userpassword" required="true" autocomplete="off" /> <a href="getpwd.asp">忘记密码?</a></td> </tr> <tr> <th height="35" align="right">验证码:</th> <td><input name="verifycode" type="text" maxlength="20" id="verifycode" tabindex="3" size="7" value="<%If GetCode=9999 Then Response.Write "9999"%>"/><img src="GetCode.asp"> <a href="javascript:void(0)">看不清楚?换个图片</a> </td> </tr> <tr> <th height="35" align="right"></th> <td><input tabindex="4" value="登录" type="submit" onClick="return checkForm();"/> <input type="hidden" name="forward" /></td> </tr> </table> </form> <%else%> <%response.redirect("MemberCenter.asp")%> <%end if%> <SCRIPT language=javascript type=text/javascript> function checkForm() { var form=document.getElementById("fkinfo"); if (form.username.value=="") { alert('请填写会员号'); form.username.focus(); return false; } if (form.userpassword.value=="") { alert('请填写密码'); form.userpassword.focus(); return false; } if (form.verifycode.value=="") { alert('请填写验证码'); form.verifycode.focus(); return false; } return true; } </SCRIPT> </td> </tr> </table> <!--#include file="bottom.asp" --> </body> </html>