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

📄 search.asp

📁 BJXSHOP购物管理系统是一个功能完善、展示信息丰富的电子商店销售平台;针对企业与个人的网上销售系统;开放式远程商店管理;完善的订单管理、销售统计、结算系统;强力搜索引擎支持;提供网上多种在线支付方
💻 ASP
字号:
<!--#include file="connection.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--高级查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/default.css" rel="stylesheet" type="text/css">
</head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkk()
{
   if(checkspace(document.form2.searchkey.value))  {
	document.form2.searchkey.focus();
	alert("请输入查询关键字!");
	return false;
  }
     if(checkspace(document.form2.datestart.value))  {
	document.form2.datestart.focus();
	alert("请输入查询起始日期!");
	return false;
  }
     if(checkspace(document.form2.dateend.value))  {
	document.form2.dateend.focus();
	alert("请输入查询结束日期!");
	return false;
  }
}

function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp"-->
<table width="776" height="6" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="6"></td>
  </tr>
</table>
<table width="776" border="0" align="center" cellpadding="1" cellspacing="1">
  <tr> 
    <td><div align="center"><font color="#FF6600">高 级 查 讯</font></div></td>
  </tr>
  <tr>
    <td height="120" valign="top"><table width="80%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#ffffff">
        <form name="form2" method="post" action="research.asp">
          <tr bgcolor="#FDFADD"> 
            <td width="20%" style="padding-left:6px">关 健 字:</td>
            <td width="80%"  style="padding-left:6px"><input name="searchkey" type="text" id="searchkey"></td>
          </tr>
          <tr bgcolor="#FDFADD">
            <td style="padding-left:6px">出版时间:</td>
            <td style="padding-left:6px"> 
              <input name="datestart" type="text" id="datestart" value="1990-1-1" size="10">
              <input name="dateend" type="text" id="dateend" value="2003-12-31" size="10">
            <font color="#ff6600">(注意日期格式)</font> </td>
          </tr>
          <tr bgcolor="#FDFADD"> 
            <td style="padding-left:6px">查找方式:</td>
            <td style="padding-left:6px"><select name="action" id="action">
                <option value="1" selected>书 名</option>
                <option value="2">作 者</option>
                <option value="3">出版社</option>
                <option value="4">ISBN</option>
            </select></td>
          </tr>
          <tr bgcolor="#FDFADD"> 
            <td style="padding-left:6px">价格范围:</td>
            <td style="padding-left:6px"><select name="jiage" id="jiage">
                <option value="20">20元以下</option>
                <option value="30">30元以下</option>
                <option value="50">50元以下</option>
                <option value="100">100元以下</option>
                <option value="0" selected>不受限制</option>
            </select></td>
          </tr>
          <tr bgcolor="#FDFADD"> 
            <td height="18" style="padding-left:6px">图书分类:</td>
            <td style="padding-left:6px"> <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select * from shop_anclass order by anclassidorder",conn,1,1
		  %> <select name="anclassid">
                <option value="0">查询所有分类</option>
                <%do while not rs.eof%>
                <option value="<%=rs("anclassid")%>"><%=trim(rs("anclass"))%></option>
                <%rs.movenext
		  loop
		  rs.close
		  set rs=nothing%>
            </select></td>
          </tr>
          <tr bgcolor="#FDFADD"> 
            <td height="18" colspan="2" style="padding-left:6px"><div align="center"> 
                <input type="submit" name="Submit3" value="快速查询" onclick="return checkk();">
            </div></td>
          </tr>
        </form>
      </table></td>
  </tr>
</table>
<!--#include file="service.asp"-->
<!--#include file="copyright.asp"-->
</body>
</html>

</body>
</html>

⌨️ 快捷键说明

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