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

📄 login.asp

📁 网络商店源码 实现商品浏览 购物车 后台管理等
💻 ASP
字号:

<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--用户登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
	<!--//
	function checksignup() {

		if ( document.userlogin.username.value == '' ) {
			window.alert('请输入名称!!');
			document.userlogin.name.focus();
			
		}
		else if ( document.userlogin.userpassword.value == '' ) {
			window.alert('请输入密码!!');
			document.userlogin.pass.focus();
		}
else {
			return true;
			}
		return false;
	}
	//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">
<!--#include file="webtop.asp"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
    <td> <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="100"><img src="images/block.gif" width="1" height="1"><br> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
              <tr> 
                <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
              </tr>
              <tr> 
                <td height="25" bgcolor="efefef"><strong>&nbsp;&nbsp;<img src="images/dot_03.gif" width="9" height="9" border="0"> 
                  </strong><b>用户登录</b></td>
              </tr>
              <tr> 
                <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
              </tr>
            </table>
            <br> <table border="0" align="center" cellpadding="0" cellspacing="0" width="480">
              <tr> 
                <td bgcolor="#FFFFFF"> <br> <div align="center"> 
                    <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
                      <form name="userlogin" method="post" action="checkuserlogin.asp">
                        <tr> 
                          <td width="53" align="center" background="images/login_box_bg.gif">&nbsp; 
                          </td>
                          <td width="322" align="center" background="images/login_box_bg.gif"> 
                            <table align="center" cellpadding="0" cellspacing="2" border="0">
                              <tr valign="middle"> 
                                <td width="82" height="20" align="center"><img src="images/id.gif" width="82" height="14"></td>
                                <td width="88"> <div align="left"> 
                                    <input name="username" type="text" class="wenbenkuang" id="username" size="12" maxlength="12">
                                  </div></td>
                                <td width="102" rowspan="2"> <input name="free" type="image" src="images/btn_login.gif" width="67" height="49" border="0"> 
                                  <input type="hidden" name="linkaddress" value="<%=request.servervariables("http_referer")%>"> 
                                </td>
                              </tr>
                              <tr valign="middle"> 
                                <td align="center"><img src="images/password.gif" width="82" height="14"></td>
                                <td> <div align="left"> 
                                    <input name="userpassword" type="password" class="wenbenkuang" id="userpassword" size="12" maxlength="12">
                                  </div></td>
                              </tr>
                            </table></td>
                          <td width="223" align="center" bgcolor="#FFFFFF"><a href="reg.asp"><img src="images/wm.gif" width="110" height="36" border="0"></a><br> 
                            <a href="getpwd.asp"><img src="images/wm1.gif" width="110" height="36" border="0"></a></td>
                          <td width="38" align="center">&nbsp;</td>
                        </tr>
                        <tr> 
                          <td colspan="4" align="center">&nbsp;</td>
                        </tr>
                      </form>
                    </table>
                    <br>
                    <table width="500" border="0" align="center" cellpadding="1" cellspacing="1">
                      <tr> 
                        <td> 
                          <%set rs=server.CreateObject("adodb.recordset")
				rs.open "select gouwuliucheng from shop_config",conn,1,1
				response.write trim(rs("gouwuliucheng"))
				rs.close
				set rs=nothing%>
                          &nbsp;</td>
                      </tr>
                    </table>
                    <br>
                  </div></td>
              </tr>
            </table>
            <div align="center"></div>
            </td>
        </tr>
      </table></td>
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>

⌨️ 快捷键说明

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