當前位置:外匯行情大全網 - 助學貸款 - 求asp源碼,後臺帶相關搜索的

求asp源碼,後臺帶相關搜索的

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<title>數據信息查詢</title>

</head>

<body background="../imag/lu.jpg">

<p><br></p>

<p></p>

<p></p>

<form id="form1" name="formcx" method="post">

<table borderColor="#008080" cellSpacing="1" cellPadding="0" width="442" align="center" border="1" height="12" style="word-break:break-all">

<tr>

<td width="434" align="center" height="12">

<table borderColor="#336699" height="103" width="504" border="1">

<tbody>

<tr>

<td align="center" width="500" height="28" colspan="4">

<p align="center">?<font color="#ff0000"><b>信 息 查 詢</b></font></p>

</td>

</tr>

<tr>

<td align="center" width="526" height="28" colspan="4">?</td> </tr>

<tr>

<td align="center" width="108" height="28">

<p align="center"><font size="3" color="#008000"><b>查詢類別</b></font></p>

</td>

<td align="center" width="108" height="28">

<p align="center"><font size="3" color="#008000">新聞信息</font></p>

</td>

<td align="center" width="108" height="28">

<p align="center"><font size="3" color="#008000"><b>類別信息</b></font></p>

</td>

<td align="center" width="176" height="28">

<p align="left">

<select name="lbxx" onChange="javascript:document.getElementById('formcx').submit();">

<option value="99">所有信息</option>

<%

dim select_tlxx

if request.form("lbxx") = "1" then

select_tlxx = "selected"

else

select_tlxx = ""

end if

dim select_zrkx

if request.form("lbxx") = "2" then

select_zrkx = "selected"

else

select_zrkx = ""

end if

dim select_lswh

if request.form("lbxx") = "3" then

select_lswh = "selected"

else

select_lswh = ""

end if

dim select_zhxw

if request.form("lbxx") = "4" then

select_zhxw = "selected"

else

select_zhxw = ""

end if

dim select_aqxx

if request.form("lbxx") = "5" then

select_aqxx = "selected"

else

select_aqxx = ""

end if

dim select_dlxx

if request.form("lbxx") = "6" then

select_dlxx = "selected"

else

select_dlxx = ""

end if

dim select_jkcs

if request.form("lbxx") = "7" then

select_jkcs = "selected"

else

select_jkcs = ""

end if

dim select_cjxx

if request.form("lbxx") = "8" then

select_cjxx = "selected"

else

select_cjxx = ""

end if

dim select_jyjt

if request.form("lbxx") = "9" then

select_jyjt = "selected"

else

select_jyjt = ""

end if

dim select_zzsj

if request.form("lbxx") = "10" then

select_zzsj = "selected"

else

select_zzsj = ""

end if

dim select_emxz

if request.form("lbxx") = "11" then

select_emxz = "selected"

else

select_emxz = ""

end if

dim select_kyxx

if request.form("lbxx") = "12" then

select_kyxx = "selected"

else

select_kyxx = ""

end if

dim select_mstd

if request.form("lbxx") = "13" then

select_mstd = "selected"

else

select_mstd = ""

end if

dim select_mjct

if request.form("lbxx") = "14" then

select_mjct = "selected"

else

select_mjct = ""

end if

%>

<option value="4" <%=select_zhxw%>>綜合新聞</option>

<option value="6" <%=select_dlxx%>>電腦信息</option>

<option value="5" <%=select_aqxx%>>愛情信息</option>

<option value="3" <%=select_lswh%>>歷史文化</option>

<option value="7" <%=select_jkcs%>>健康常識</option>

<option value="1" <%=select_tlxx%>>鐵路信息</option>

<option value="2" <%=select_zrkx%>>自然科學</option>

<option value="8" <%=select_cjxx%>>財經信息</option>

<option value="9" <%=select_jyjt%>>教育講壇</option>

<option value="10" <%=select_zzsj%>>中中世界</option>

<option value="11" <%=select_emxz%>>峨眉學子</option>

<option value="12" <%=select_kyxx%>>考研信息</option>

<option value="13" <%=select_mstd%>>美食天地</option>

<option value="14" <%=select_mjct%>>民間傳統</option>

</select>

</td> </tr>

<tr>

<td align="center" width="108" height="28">

<p align="center"><font color="#008000" size="3"><b>查詢範圍</b></font></p>

</td>

<td align="center" width="108" height="28">

<p align="left">

<%

if request.form("cxxl") = "1" then

s_btss = "selected"

else

s_btss = ""

end if

if request.form("cxxl") = "2" then

s_lrss = "selected"

else

s_lrss = ""

end if

if request.form("cxxl") = "3" then

s_xxrq = "selected"

else

s_xxrq = ""

end if

%>

<select name="cxxl" onChange="javascript:document.getElementById('formcx').submit();">

<option value="99">所有信息</option>

<option value="1" <%=s_btss%>>標題搜索</option>

<option value="2" <%=s_lrss%>>內容搜索</option>

<option value="3" <%=s_xxrq%>>信息日期</option>

</select>

<%

dl_cxlb = request.form("cxlb")

dl_lbxx = request.form("lbxx")

dl_cxxl = request.form("cxxl")

if dl_cxxl = "" then

dl_cxxl = "99"

end if

if dl_cxlb = "" then

dl_cxlb = "99"

end if

if dl_lbxx = "" then

dl_lbxx = "99"

end if

%>

</p></td>

</form>

<form name=form2 action=searchdatexw.asp?dl_cxlb=<%=dl_cxlb%>&dl_lbxx=<%=dl_lbxx%>&dl_cxxl=<%=dl_cxxl%> method=post>

<td align="center" width="108" height="28">

<p align="center"><font color="#008000" size="3"><b>搜索內容</b></font></p></td>

<td align="center" width="176" height="28">

<p align="left">

<input type="text" name="keyword" maxlength="50">

</p></td></tr>

<tr>

<td align="center" width="526" height="28" colspan="4">

<p align="center"><font size="3" color="#008000">日期格式:2008-8-18</font></p>

</td>

</tr>

<tr>

<td align="center" width="526" height="28" colspan="4">

<input type="submit" value="查 詢" action=searchdatexw.asp style="color: #008000">?

<input type="reset" value="重 置" style="color: #008000">

</td>

</tr></form>

<tr>

<td align="center" width="526" height="28" colspan="4">?</td>

</tr>

<tr>

<td align="center" width="526" height="28" colspan="4">

</td>

</tr>

</tbody>

</table>

</td>

</tr>

</table>

</body>

</html>

  • 上一篇:請問《中國石化集團公司職工紀律處分條例》是什麽?
  • 下一篇:去銀行貸款都需要什麽手續
  • copyright 2024外匯行情大全網