Search.asp
上传用户:dbstep
上传日期:2022-08-06
资源大小:2803k
文件大小:3k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

ASP/ASPX

  1. <!--#include file="../skweb/Const.asp" -->
  2. <!--#include file="../skweb/ConnSiteData.asp" -->
  3. <!--#include file="CheckAdmin.asp"-->
  4. <%
  5. dim Result
  6.   Result=request.QueryString("Result")
  7. dim StartDate,EndDate,Keyword
  8.   StartDate=request.form("Start_Date")
  9.   EndDate=request.form("End_Date")
  10.   Keyword=request.form("Keyword")
  11. select case Result
  12.   case "Members"
  13.     response.redirect ("MemList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  14.   case "News"
  15.     response.redirect ("NewsList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  16.   case "Download"
  17.     response.redirect ("DownList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  18.   case "Products"
  19.     response.redirect ("ProductList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  20.   case "Productsl"
  21.     response.redirect ("ProductListl.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  22.   case "Productsv"
  23.     response.redirect ("ProductListv.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  24.   case "Need"
  25.     response.redirect ("NeedList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  26.   case "ADs"
  27.     response.redirect ("ADsList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  28.   case "Jobs"
  29.     response.redirect ("JobsList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  30.   case "Message"
  31.     response.redirect ("MessageList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  32.   case "Orderl"
  33.     response.redirect ("OrderListl.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  34.   case "Orderv"
  35.     response.redirect ("OrderListv.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  36.   case "Order"
  37.     response.redirect ("OrderList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  38.   case "Supply"
  39.     response.redirect ("SupplyList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  40.   case "Talents"
  41.     response.redirect ("TalentsList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  42.   case "Others"
  43.     response.redirect ("OthersList.asp?Result=Search&StartDate="&StartDate&"&EndDate="&EndDate&"&Keyword="&server.urlencode(Keyword)&"&Page=1")
  44.   case else
  45. end select
  46. %>