?? searchb.asp
字號:
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<title></title>
<script language=javascript>
function onload(){ //this function to adjust the date time when load
var curdate=new Date();
// alert ("onload body!");
document.forms["quary"].fmonth.value=curdate.getMonth()+1;
// alert(curdate.getMonth());
document.forms["quary"].fday.value=curdate.getDate();
document.forms["quary"].tmonth.value=curdate.getMonth()+1;
document.forms["quary"].tday.value=curdate.getDate();
}
function check(){
if (document.forms["quary"].city.value=="其它" && document.forms["quary"].ocity.value==""){
alert("請輸入城市名稱。");
document.forms["quary"].ocity.focus()
return false;
}
}
</script>
<link rel="stylesheet" href="../html/3508.css">
<style type="text/css">
<!--
.botton { color: #000000; font-size: 12px; background-color: #FFFFEC}
-->
</style>
</head>
<body onload="return onload()" background="../images/bg1.gif">
<object runat=server progid=ADODB.Connection id=con1>
</object> <object runat=server progid=ADODB.recordset id=rs>
</object>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="40">
<tr>
<td width="217" height="39" align="center" valign="bottom"><img src="../images/smallmark.gif" width="120" height="25"></td>
<td width="523" valign="bottom" height="39"><a href="../default.asp">本站首頁</a>
>> 瀏覽二手信息</td>
</tr>
<tr>
<td colspan="2" height="1" bgcolor="006600"></td>
</tr>
</table>
<form method="post" action="quary.asp" name="quary" onsubmit="return check()" >
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="2" height="15"> </td>
<td width="460" height="15" align="right" valign="top"> </td>
<td width="244" height="15" valign="top" align="right">【<a href="selcat.asp?itype=供" >登記銷售信息</a>】【<a href="selcat.asp?itype=%C7%F3" >登記購買信息】</a></td>
</tr>
<tr>
<td height="6" align="right" colspan="2" nowrap>請選擇日期范圍:</td>
<td height="6" colspan="2">
<table border="0" cellspacing="0" cellpadding="0" width="531">
<tr valign="top">
<td width="248">從
<input type=text name=fyear value=2000 class="botton" size="6">
年
<select name=fmonth class="botton">
<% for i=1 to 12 %>
<option value=<% =i%>> <% =i %> </option>
<%next%>
</select>
月
<select name=fday class="botton">
<% for i=1 to 31 %>
<option value=<% =i %>> <% =i%> </option>
<%next%>
</select>
日</td>
<td width="283"><input type=text name=tyear value=2000 class="botton" size="6">
年
<select name=tmonth class="botton">
<% for i=1 to 12 %>
<option value=<% =i%>> <% =i %> </option>
<%next%>
</select>
月
<select name=tday class="botton">
<% for i=1 to 31 %>
<option value=<% =i %>> <% =i%> </option>
<%next%>
</select>
日</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="4" align="left" valign="top" height="2166" rowspan="2" width="712">
<table width="75%" border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td height="323" colspan="2">
<table cellspacing=0 cellpadding=0 width="586" align="left" border="0" >
<tr>
<td colspan="6" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="left">
<tr align="left">
<td colspan="5" height="23">請選擇城市: </td>
<td width="68%" height="23">
<select name=city class="botton" >
<%
'response.write(application("DBCon_ConnectionString"))
con1.open application("DBCon_ConnectionString")
sqlstr="select * from city"
rs.open sqlstr,con1
if not (rs.eof) then
%>
<option value=所有 selected>所有 <%
while not (rs.eof)
%>
<option value = <%=rs("cname")%>><%=rs("cname")%>
<%rs.movenext
wend
end if
%>
</select>
</td>
</tr>
<tr align="left">
<td colspan="5">或輸入你所要查詢的城市:</td>
<td width="68%">
<input type=text name=ocity class="botton" >
</td>
</tr>
<tr align="left">
<td colspan="6">選定查詢類別:</td>
</tr>
<tr align="left">
<td colspan="6" height="21">
<p>
<input type="radio" name=radio1 value=0000000000 checked>
所有
<input type="radio" name=radio1 value=0010000000 >
計算機產品
<input type="radio" name=radio1 value=0020000000>
車類
<input type="radio" name=radio1 value=0030000000>
家用電器
<input type="radio" name=radio1 value=0040000000>
房屋租售 </p>
</td>
</tr>
<tr align="left">
<td colspan="6">
<input type="radio" name=radio1 value=0050000000>
通訊器材
<input type="radio" name=radio1 value=0060000000>
書籍報刊
<input type="radio" name="radio1" value="0060000000">
服務</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="6" bgcolor="#FFFFE0">電腦產品</td>
</tr>
<tr>
<td width="54"> </td>
<td colspan="5">硬件 </td>
</tr>
<tr>
<td width="54" > </td>
<td width="106">
<input value=0010010011 type=radio name=radio1>
臺式機</td>
<td width="114">
<input value=0010010012 type=radio name=radio1>
筆記本</td>
<td width="101">
<input value=0010010013 type=radio name=radio1>
服務器</td>
<td width="100">
<input value=0010010014 type=radio name=radio1>
工作站</td>
<td width="105">
<input value=0010010015 type=radio name=radio1>
打印機</td>
</tr>
<tr>
<td width="54" > </td>
<td width="106">
<input value=0010010001 type=radio name=radio1>
主板</td>
<td width="114">
<input value=0010010002 type=radio name=radio1>
內存</td>
<td width="101">
<input value=0010010003 type=radio name=radio1>
CPU</td>
<td width="100">
<input value=0010010004 type=radio name=radio1>
硬盤</td>
<td width="105">
<input value=0010010005 type=radio name=radio1>
光驅</td>
</tr>
<tr>
<td width="54" > </td>
<td width="106">
<input value=0010010006 type=radio name=radio1>
顯卡</td>
<td width="114">
<input value=0010010007 type=radio name=radio1>
聲卡</td>
<td width="101">
<input value=0010010008 type=radio name=radio1>
顯示器</td>
<td width="100">
<input value=0010010009 type=radio name=radio1>
機箱</td>
<td width="105">
<input value=0010010010 type=radio name=radio1>
軟驅</td>
</tr>
<tr>
<td height="22" width="54" > </td>
<td height="22" width="106">
<input value=0010010016 type=radio name=radio1>
耗材</td>
<td height="22" width="114">
<input value=0010010017 type=radio name=radio1>
存儲介質</td>
<td height="22" width="101">
<input value=0010010018 type=radio name=radio1>
耳機、麥克</td>
<td height="22" width="100">
<input value=0010010019 type=radio name=radio1>
音箱</td>
<td height="22" width="105">
<input value=0010010020 type=radio name=radio1>
網絡設備</td>
</tr>
<tr>
<td height="22" width="54" > </td>
<td height="22" width="106">
<input type="radio" name="radio1" value="0010010021">
其它 </td>
<td height="22" width="114"> </td>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -