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

📄 search.asp

📁 本网站是以网上购物功能为重点而开发的电子商务购物网站
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="nimda/config.asp"--> 
<!--#include file="edulcni/conn.asp"--> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>E书部落—网上书城</title>
<link href="style.css" rel="stylesheet" type="text/css">
</style>
<!-- European format dd-mm-yyyy -->
<script language="JavaScript" src="calendar.js"></script></head>
<body>
<!--#include file="head.htm"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="218" align="left" valign="top" style="border-left: 1px dotted #65A8CF; border-top: 1px dotted #65A8CF; border-bottom: 1px dotted #65A8CF"><!--#include file="left.asp"--></td>
    <td width="560" align="left" valign="top" style="border-left: 1px dotted #65A8CF; border-right:1px dotted #65A8CF; border-top: 1px dotted #65A8CF; border-bottom: 1px dotted #65A8CF">
      <script src="search.js"></script>      <br>      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><img src="images/w.gif"></td>
          <td style="color:#415373">搜索图书</td>
        </tr>
      </table>      <br>      <FORM name=frmdata  method=get action="rsearch.asp">
        <TABLE cellSpacing=10 cellPadding=0 width="100%" border=0>
         
          <TBODY>
            <TR>
              <TD align=right width="31%" height=30>商品名称:</TD>
              <TD width="69%"><INPUT name=name class="inputstyle">
              </TD>
            </TR>
            <TR>
              <TD align=right width="31%" height=30>作者名称:</TD>
              <TD width="69%"><INPUT name=author class="inputstyle">
              </TD>
            </TR>
            <TR>
              <TD align=right width="31%" height=30>出版社:</TD>
              <TD width="69%"><INPUT name=manufacturer class="inputstyle">
              </TD>
            </TR>
            <TR>
              <TD align=right width="31%" height=28>出版时间:</TD>
              <TD vAlign=center width="69%"><INPUT name=enabledate class="inputstyle" size=12>
                <a href="javascript:cal1.popup();"><img height=16 alt=点击选择日期 src="images/cal.gif" width=16 border=0></a>  &nbsp;至&nbsp;
                  <INPUT name=expiredate class="inputstyle" size=12>
                  <a href="javascript:cal2.popup();"><img height=16 alt=点击选择日期 
            src="images/cal.gif" width=16 border=0></a> <script language=JavaScript>
  var cal1 = new calendar1(document.forms['frmdata'].elements['enabledate']);
  cal1.year_scroll = true;
  cal1.time_comp = false;
  var cal2 = new calendar1(document.forms['frmdata'].elements['expiredate']);
  cal2.year_scroll = true;
  cal2.time_comp = false;
                  </script></TD>
            </TR>
            <TR>
              <TD align=right width="31%" height=30>价格范围:</TD>
              <TD width="69%">                <input name="smallprice" type="text" id="smallprice"  size="5" >
              
              <input name="largeprice" type="text" id="largeprice" size="5" >
              </TD>
            </TR>
            <TR>
              <TD align=right height=30>分类:</TD>
              <TD><select name=code>
                <option value="" selected>所有图书</option>
                <%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from category",conn,1,1
do while not rs.eof%>
                <option value="<%=rs("categoryid")%>" ><%=rs("category")%></option>
                <%
rs.movenext
loop
rs.close
set rs=nothing%>
              </select></TD>
            </TR>
            <TR>
              <TD align=right height=30>排序字段:</TD>
              <TD><input name="OrderField" type="radio" value="AddDate" checked>
                添加日期&nbsp;                  <input type="radio" name="OrderField" value="productdate">
                  出版日期
                  <input type="radio" name="OrderField" value="price2">
                  价钱(会员价)
                  <br>
                  <br>                  <input type="radio" name="OrderField" value="vipprice">
价钱(VIP)
<input type="radio" name="OrderField" value="pagenum">
页数&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="OrderField" value="discount">
折扣</TD>
            </TR>
            <TR>
              <TD align=right width="31%" height=30>排序方式:</TD>
              <TD width="69%"><input type="radio" name="Order" value="ASC"> 
                升序
                  <input name="Order" type="radio" value="DESC" checked>
              降序</TD>
            </TR>
            <TR align=center>
              <TD height=40 colSpan=2><INPUT type=submit value=开始搜索 name=Submit2 onClick="return search()">              </TD>
            </TR>
          
      </TABLE>
    </FORM></td>
  </tr>
</table>
<!--#include file="foot.htm"-->
</body>
</html>

⌨️ 快捷键说明

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