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

📄 ssearch.asp

📁 soft.studa.com大家一起加油啊,好痛苦啊,呵呵
💻 ASP
字号:
<!--#include file="top.asp"-->
<SCRIPT language=JavaScript>
function CheckInput(){

	if(input.username.value==''){
		alert("用户帐号不能为空!");
		input.username.focus();
		return false;
	}
	if( input.password.value =="") {
                alert("密码不能为空!")
		input.password.focus();
        return false;
    }
	
	return true;
}
</SCRIPT>
<TABLE width=760 border=0 align=center cellpadding="4">
  <TBODY>
    <TR> 
      <TD vAlign=top  width=161><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD><IMG height=10 src="images/kuai01.gif" width=161></TD>
            </TR>
            <TR> 
              <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR> 
                      <TD width=11 background=images/kuai04.gif>&nbsp;</TD>
                      <TD bgColor=#f8f8fa> 
                        <%if session("user_id")="" then%>
                        <form action="chkuser_login.asp" method="post" name="input" id="input" onsubmit=return(CheckInput())>
                          <table width="100%" border="0">
                            <tr> 
                              <td colspan="2"><IMG height=8 src="images/dot.gif" width=4> 
                                <strong><font color="#00009c">店长登陆 </font></strong></td>
                            </tr>
                            <tr> 
                              <td>帐号:</td>
                              <td><input name="username" type="text" id="username" size="10" maxlength="20"></td>
                            </tr>
                            <tr> 
                              <td>密码:</td>
                              <td><input name="password" type="password" id="password" size="10" maxlength="20"></td>
                            </tr>
                            <tr align="center"> 
                              <td colspan="2"> <input type="submit" name="Submit" value="登陆"> 
                                <input type="reset" name="Submit2" value="重置"></td>
                            </tr>
                          </table>
                        </form>
                        <%else%>
                        <table width="100%" border="0">
                          <tr> 
                            <td><IMG height=8 src="images/dot.gif" width=4> <strong><font color="#00009c">登陆成功 
                              </font></strong></td>
                          </tr>
                          <tr> 
                            <td align="center">欢迎您:<font color="#FF0000"><%=session("user_name")%></font></td>
                          </tr>
                          <tr> 
                            <td align="center"><a href="user.asp">进入店铺管理中心</a></td>
                          </tr>
                          <tr> 
                            <td align="right"><a href="user_logout.asp">退出</a></td>
                          </tr>
                        </table>
                        <%end if%>
                      </TD>
                      <TD width=11  background=images/kuai05.gif>&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
            <TR> 
              <TD><IMG height=15 src="images/kuai02.gif" width=161></TD>
            </TR>
            <TR> 
              <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR> 
                      <TD width=11 background=images/kuai04.gif>&nbsp;</TD>
                      <TD bgColor=#f8f8fa> <TABLE width="100%" align=center border=0>
                          <TBODY>
                            <TR> 
                              <TD><IMG height=8 src="images/dot.gif" width=4> 
                                <FONT color=#00009c><strong>商品搜索</strong></FONT></TD>
                            </TR>
                            <TR> 
                              <TD> <form action="search.asp" method="post" name="form" id="form">
                                  <table width="100%" border="0" cellpadding="2">
                                    <tr> 
                                      <td align="center"> <INPUT  size=13 name=keyword></td>
                                    </tr>
                                    <tr> 
                                      <td align="center"> <input type="submit" name="Submit3" value="搜索"></td>
                                    </tr>
                                  </table>
                                </form></TD>
                            </TR>
                        </TABLE></TD>
                      <TD width=11 background=images/kuai05.gif>&nbsp;</TD>
                    </TR>
                </TABLE></TD>
            </TR>
            <TR> 
              <TD><IMG height=15 src="images/kuai02.gif" width=161></TD>
            </TR>
            <TR> 
              <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR> 
                      <TD width=11 background=images/kuai04.gif>&nbsp;</TD>
                      <TD bgColor=#f8f8fa> <TABLE width="100%" align=center border=0>
                          <TBODY>
                            <TR> 
                              <TD><IMG height=8 src="images/dot.gif" width=4> 
                                <FONT color=#990000><strong>我要开店</strong></FONT></TD>
                            </TR>
                            <TR> 
                              <TD> <a href="reg.asp"><IMG 
                        height=26 src="images/update.gif" width=96 
                        border=0></a></TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                      <TD width=11  background=images/kuai05.gif>&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
            <TR> 
              <TD><IMG height=15 src="images/kuai02.gif" width=161></TD>
            </TR>
            <TR> 
              <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR> 
                      <TD width=11 background=images/kuai04.gif>&nbsp;</TD>
                      <TD bgColor=#f8f8fa> <TABLE width="100%" align=center border=0>
                          <TBODY>
                            <TR> 
                              <TD><IMG height=8 src="images/dot.gif" width=4> 
                                <strong><font color="#FF0000">热点商品</font></strong></TD>
                            </TR>
                            <TR> 
                              <TD><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber2">
                                  <%Set rs= conn.execute("select * from goods_info order by goods_hits desc" )
do while not rs.eof%>
                                  <tr> 
                                    <td height=18 >·<a href="goods_info.asp?goods_id=<%=rs("goods_id")%>"><%=rs("goods_name")%></a></td>
                                    <% b=b+1 
if b>=10 then exit do 
rs.movenext 
loop 
rs.close 
set rs=nothing 
%>
                                  </tr>
                                </table></TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                      <TD width=11 background=images/kuai05.gif>&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
            <TR> 
              <TD bgColor=#dbdbdb><IMG height=10 src="images/kuai03.gif" width=161></TD>
            </TR>
            <TR> 
              <TD align="center" bgColor=#dbdbdb>&nbsp;</TD>
            </TR>
            <TR> 
              <TD height=5 bgColor=#dbdbdb><IMG height=5 
            src="images/kuai14.gif" width=161></TD>
            </TR>
        </TABLE></TD>
      <TD vAlign=top>^_^ 开发设计中……</TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="bottom.asp"-->

⌨️ 快捷键说明

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