📄 modifybuy.asp
字号:
%>
<% for j=1 to rs_s1.recordcount
if j=rs_s1.recordcount then
%>
new Option('<%=trim(rs_s1("shiname"))%>','<%=trim(rs_s1("shiNo"))%>'));
<% else
%>
new Option('<%=trim(rs_s1("shiname"))%>','<%=trim(rs_s1("shiNo"))%>'),
<%
end if
rs_s1.movenext
next
else
%>
new Option('','0'));
<%
end if
rs_s1.close
set rs_s1=nothing
rs_s.movenext
next
rs_s.close
set rs_s=nothing
%>
function chsel(){
with (document.formpub){
if(province.value) {
city.options.length=0;
for(var i=0;i<selects[province.value].length;i++){
city.add(selects[province.value][i]);
}
}
}
}
</script>
<title>加盟商家管理-<%=webname%></title>
<div align="center">
<table border="0" width="779" id="table5" cellspacing="0" cellpadding="0">
<tr>
<td><span lang="zh-cn">您的位置</span>:<span lang="zh-cn"><a href="../default.asp">网站首页</a> </span>
><span lang="zh-cn"> <a href="manage.asp">加盟商家管理</a> > 修改求购信息</span></td>
</tr>
</table><table border="1" width="779" id="table1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#BDDBE9">
<tr>
<td width=160 valign="top"><!--#include file="muma.asp"--></td><%
id=trim(request("id"))
if IsNumeric(request.QueryString("id"))=False or request.QueryString("id")="" then
response.write"<SCRIPT language=JavaScript>alert('参数错误!');"
response.end
end if
set rs3=server.CreateObject ("adodb.recordset")
sql3="select * from 2car where user ='"&replace(request.cookies("by2car")("user"),"'","")&"' and id="&id
rs3.open sql3,conn,1,1
if rs3.eof then
response.write"<SCRIPT language=JavaScript>alert('参数错误!');"
response.end
end if
%><form name="formpub" onsubmit="return checkform(formpub)" method="post" action="savemodifybuy.asp?id=<%=rs3("id")%>">
<td valign="top">
<table id="table2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="326" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="98%" border="0" align=right>
<tr>
<td align="right" width="601" colspan="3">
<table border="0" width="100%" id="table6">
<tr>
<td>发布需知:<br>
<font color="#ff6600">1.带*号,为必填项<br>
2.为了让本站更好的运转,请不要发布虚假信息。如有发现,本站有权在不告知道的情况下,删除该信息,或消取您的加盟商资格。<br>
3.本站已经记录下您的IP。</font></td>
</tr>
<tr>
<td bgcolor="#BDDBE9">修<span lang="zh-cn">改求购信息</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >
<span lang="zh-cn">信息标题:</span></td>
<td width="416" >
<input class="wenbenkuang" maxLength="40" name="titlename" value="<%=rs3("titlename")%>" ><font color="#ff6600">*</font></td>
<td align="left" width="57" >
</td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >汽车分类:</td>
<td width="416" >
<select size="1" name="cartype" class="wenbenkuang">
<option value="" >--选择分类--</option>
<option value="1" <%if rs3("cartype")=1 then%> selected <%end if%> >轿车</option>
<option value="2" <%if rs3("cartype")=2 then%> selected <%end if%>>跑车</option>
<option value="3" <%if rs3("cartype")=3 then%> selected <%end if%>>SUV及越野车</option>
<option value="4" <%if rs3("cartype")=4 then%> selected <%end if%>>面包车</option>
<option value="5" <%if rs3("cartype")=5 then%> selected <%end if%>>箱形车</option>
<option value="6" <%if rs3("cartype")=6 then%> selected <%end if%>>概念车</option>
<option value="7" <%if rs3("cartype")=7 then%> selected <%end if%>>客车</option>
<option value="8" <%if rs3("cartype")=8 then%> selected <%end if%>>货车</option>
<option value="9" <%if rs3("cartype")=9 then%> selected <%end if%>>摩托车</option>
<option value="10" <%if rs3("cartype")=10 then%> selected <%end if%>>电动自行车</option>
<option value="11" <%if rs3("cartype")=11 then%> selected <%end if%>>其它车型</option>
</select><font color="#ff6600">*</font></td>
<td align="left" width="57"> </td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >
<p align="right">汽车品牌:</td>
<td width="416" ><select size="1" name="anclass" onChange=chsel1() class="wenbenkuang">
<option value="xxx" selected>--请选择名牌--</option>
<%dim tmppingpaiid
tmppingpaiid=0
set rs1_s=server.createobject("adodb.recordset")
sql="select * from anclass order by anclassidorder"
rs1_s.open sql,conn,1,1
while not rs1_s.eof%>
<%
if rs3("anclass")=rs1_s("anclassid") then
tmppingpaiid=rs1_s("anclassid")
%>
<option value="<%=rs1_s("anclassid")%>" selected ><%=trim(rs1_s("anclass"))%></option>
<%
else
%>
<option value="<%=rs1_s("anclassid")%>" ><%=trim(rs1_s("anclass"))%></option>
<%
end if
rs1_s.movenext
wend
rs1_s.close
set rs1_s=nothing
%>
</select> <select size="1" size="18" name="nclass" class="wenbenkuang">
<option value="" >--请选择型号--</option>
<%
set rs1_s=server.createobject("adodb.recordset")
sql="select * from nclass where anclassid="&tmppingpaiid&" order by nclassidorder"
rs1_s.open sql,conn,1,1
while not rs1_s.eof
%>
<option value="<%=rs1_s("nclassid")%>" <%if rs3("nclass")=rs1_s("nclassid") then%> selected<%end if%>><%=trim(rs1_s("nclass"))%></option>
<%
rs1_s.movenext
wend
rs1_s.close
set rs1_s=nothing
%></select><font color="#ff6600">*</font></td>
<td align="left" width="57" >
</td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >型号要求:</td>
<td width="416" >
<input class="wenbenkuang" maxLength="20" name="type" value=<%=rs3("type")%> ></td>
<td align="left" width="57" > </td>
</tr>
<tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >
<p align="right">求购车价:</td>
<td width="416" >
<select class="select" name="money" >
<option value="" selected>--请选择车价--</option>
<option value="0.1-0.5万元" <%if rs3("money")="0.1-0.5万元" then%> selected <%end if%> >0.1-0.5万元</option>
<option value="0.5-1万元" <%if rs3("money")="0.2-1万元" then%> selected <%end if%>>0.5-1万元</option>
<option value="1-5万" <%if rs3("money")="1-5万元" then%> selected <%end if%>>1-5万</option>
<option value="5-10万" <%if rs3("money")="5-10万元" then%> selected <%end if%>>5-10万</option>
<option value="10-15万" <%if rs3("money")="10-15万元" then%> selected <%end if%>>10-15万</option>
<option value="15-20万" <%if rs3("money")="15-20万元" then%> selected <%end if%>>15-20万</option>
<option value="20万以上" <%if rs3("money")="20万以上" then%> selected <%end if%>>20万以上</option>
</select><font color="#ff6600">万元(不选表示面议)</font></td>
<td align="left" width="57" >
</td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >颜色要求:</td>
<td width="416" >
<input class="wenbenkuang" maxLength="15" name="color" value="<%=rs3("color")%>" ></td>
<td align="left" width="57" >
</td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >行程要求:</td>
<td width="416" >
<input class="wenbenkuang" maxLength="15" name="journey" value="<%=rs3("journey")%>">(公里)</td>
<td align="left" width="57" >
</td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >
<span lang="zh-cn">排量要求</span>:</td>
<td width="416" >
<input class="wenbenkuang" maxLength="20" name="pailiang" value="<%=rs3("pailiang")%>">(升)</td>
<td align="left" width="57" > </td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >交易地址:</td>
<td width="416" >
<select size="1" name="province" onChange=chsel() class="wenbenkuang">
<option value="xxx" selected>--不限省份--</option>
<%dim tmpShengid
tmpShengid=0
set rs1_s=server.createobject("adodb.recordset")
sql="select * from province order by shengorder"
rs1_s.open sql,conn,1,1
while not rs1_s.eof%>
<%
if rs3("province")=rs1_s("ShengNo") then
tmpShengid=rs1_s("id")
%>
<option value="<%=rs1_s("ShengNo")%>" selected ><%=trim(rs1_s("ShengName"))%></option>
<%
else
%>
<option value="<%=rs1_s("ShengNo")%>" ><%=trim(rs1_s("ShengName"))%></option>
<%
end if
rs1_s.movenext
wend
rs1_s.close
set rs1_s=nothing
%>
</select><select size="1" size="18" name="city" class="wenbenkuang" >
<option value="" >--不限城市--</option>
<%
set rs1_s=server.createobject("adodb.recordset")
sql="select * from city where shengid="&tmpShengid&" order by shiorder"
rs1_s.open sql,conn,1,1
while not rs1_s.eof
%>
<option value="<%=rs1_s("ShiNo")%>" <%if rs3("city")=rs1_s("ShiNo") then%>selected<%end if%>><%=trim(rs1_s("ShiName"))%></option>
<%
rs1_s.movenext
wend
rs1_s.close
set rs1_s=nothing
%>
</select></td>
<td align="left" width="57" > </td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
<tr>
<td align="right" width="131" >车牌过户:</td>
<td width="416" >
<input type="radio" value="0" name="transfer" <%if rs3("transfer")=0 then%> checked <%end if%>> 一定要
<input type="radio" value="1" name="transfer" <%if rs3("transfer")=1 then%> checked <%end if%> > 可以不要 </td>
<td align="left" width="57" >
</td>
</tr><tr>
<td background="../images/ve.gif" colSpan="3" height="1"></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -