论坛: 编程破解 标题: ASP数据库提交问题,268抽些时间帮下我,会的人也帮我,我要郁闷死了 复制本贴地址    
作者: bailove [bailove]    论坛用户   登录
马上要交单,不知道是紧张 还是什么老出问题。。。我快 郁闷死了
  第一个问题,我这代码,用来提交的FORM时候,数据库老是会 一下子添加了两个。好象是提交了两次
数据库中一个表单叫haved里面有oil,money,color,transfer,birthyear,journey,foruse,kdqx,pic,pic1,pic2,pic3,meno,paizhao,phone,post,sf,flag,address,change,city,company,email,mobile这些字段。谁帮我测试下
  谢谢了  到底是那里出了问题

<!--#include file="Conn.asp"-->
<!--#include file="membermenu.asp"-->
<!-- #include file="../admin/char.asp"-->
<!--#include file="error.asp"-->
<!--#include file="error1.asp"-->

<%
dim founderr,errmsg,sessionvar,userid
founderr=false
errmsg=""
sessionvar="ok"
userid=session("userid")

if session("userlogin")<>sessionvar then
  founderr=true
  errmsg=errmsg+"<br>"+"你尚未登录,或者超时了!请重新登录!"
  call diserror1()
  response.end
else

if request.form("MM_insert") then

if request.form("action")="add" then

sql="select * from haved"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,3
rs.addnew
dim oil,money,color,transfer,birthyear,journey,foruse,kdqx,pic,pic1,pic2,pic3,meno,paizhao,phone,post,sf,flag,address,change,city,company,email,mobile
dim fax,name,sip,stype,brand,cartype
cartype=trim(request.form("cartype"))
brand=trim(replace(request.form("brand"),"'",""))
paizhao=trim(replace(request.form("paizhao"),"'",""))
stype=trim(replace(request.form("type"),"'",""))
oil=trim(replace(request.form("oil"),"'",""))
money=cint(request.form("money"))
color=trim(replace(request.form("color"),"'",""))
transfer=trim(replace(request.form("transfer"),"'",""))
birthyear=trim(replace(request.form("birthyear"),"'",""))
journey=trim(replace(request.form("journey"),"'",""))
foruse=trim(replace(request.form("foruse"),"'",""))
kdqx=trim(replace(request.form("kdqx"),"'",""))
pic=trim(replace(request.form("pic"),"'",""))
pic1=trim(replace(request.form("pic1"),"'",""))
pic2=trim(replace(request.form("pic2"),"'",""))
pic3=trim(replace(request.form("pic3"),"'",""))
meno=trim(replace(request.form("meno"),"'",""))
phone=trim(replace(request.form("phone"),"'",""))
post=trim(replace(request.form("post"),"'",""))
phone=trim(replace(request.form("phone"),"'",""))
sf=trim(replace(request.form("province"),"'",""))
flag=trim(replace(request.form("flag"),"'",""))
address=trim(replace(request.form("address"),"'",""))
change=trim(replace(request.form("change"),"'",""))
city=trim(replace(request.form("city"),"'",""))
company=trim(replace(request.form("company"),"'",""))
email=trim(replace(request.form("email"),"'",""))
fax=trim(replace(request.form("fax"),"'",""))
name=trim(replace(request.form("username"),"'",""))
mobile=trim(replace(request.form("mobile"),"'",""))

    sip=Request.ServerVariables("REMOTE_ADDR")
If sip="" Then
  sip=request.ServerVariables("HTTP_X_FORWARDED_FOR")
End If
if cartype="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须汽车分类!"
else
  rs("cartype")=cartype
end if
if brand="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写汽车品牌!"
else
  rs("brand")=brand
end if
  rs("paizhao")=paizhao
if stype="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须选择汽车型号!"
else
  rs("type")=stype
end if
  rs("oil")=oil
if money="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写交易价格!"
else
  rs("money")=money
end if
if color="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写汽车颜色!"
else
  rs("color")=color
end if
  rs("transfer")=transfer
    rs("birthyear")=birthyear
if journey="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写行驶公里!"
else
  rs("journey")=journey
end if
if foruse="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须选择车用途!"
else
  rs("foruse")=foruse
end if
if kdqx="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须选择刊登期限!"
else
  rs("kdqx")=kdqx
end if
  rs("pic")=pic
    rs("pic1")=pic1
      rs("pic2")=pic2
            rs("pic3")=pic3
if meno="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写汽车备注!"
else
  rs("meno")=meno
end if
  rs("phone")=phone
    rs("post")=post 
      rs("sf")=sf
        rs("flag")=flag
          rs("address")=address
            rs("change")=change
              rs("city")=city
                rs("company")=company
                  rs("email")=email
                    rs("fax")=fax
                      rs("name")=name
                          rs("mobile")=mobile
                          rs("userid")=userid

  rs("ip")=sip
if founderr then
  call diserror()
  response.end
else
  rs.update
  rs.close
  set rs=nothing
if request.form("change")="卖" then 
  sql="update allcount set sellchecount = sellchecount + 1"
  conn.execute(sql)
  closedatabase
  else
    sql="update allcount set buychecount = buychecount + 1"
  conn.execute(sql)
  closedatabase
  end if
 
response.write "<script language=JavaScript>{window.alert('添加成功!');window.location.href='chelist.asp?type="&change&"';}</script>"


end if
elseif request.form("action")="modify" then
if request.Form("id")="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须指定操作的对象!"
else
end if
if founderr then
  call diserror()
  response.End
end if

sql="select * from haved where id="&cint(request.form("id"))
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,3
cartype=trim(request.form("cartype"))
brand=trim(replace(request.form("brand"),"'",""))
paizhao=trim(replace(request.form("paizhao"),"'",""))
stype=trim(replace(request.form("type"),"'",""))
oil=trim(replace(request.form("oil"),"'",""))
money=cint(request.form("money"))
color=trim(replace(request.form("color"),"'",""))
transfer=trim(replace(request.form("transfer"),"'",""))
birthyear=trim(replace(request.form("birthyear"),"'",""))
journey=trim(replace(request.form("journey"),"'",""))
foruse=trim(replace(request.form("foruse"),"'",""))
kdqx=trim(replace(request.form("kdqx"),"'",""))
pic=trim(replace(request.form("pic"),"'",""))
pic1=trim(replace(request.form("pic1"),"'",""))
pic2=trim(replace(request.form("pic2"),"'",""))
pic3=trim(replace(request.form("pic3"),"'",""))
meno=trim(replace(request.form("meno"),"'",""))
phone=trim(replace(request.form("phone"),"'",""))
post=trim(replace(request.form("post"),"'",""))
phone=trim(replace(request.form("phone"),"'",""))
sf=trim(replace(request.form("province"),"'",""))
flag=trim(replace(request.form("flag"),"'",""))
address=trim(replace(request.form("address"),"'",""))
change=trim(replace(request.form("change"),"'",""))
city=trim(replace(request.form("city"),"'",""))
company=trim(replace(request.form("company"),"'",""))
email=trim(replace(request.form("email"),"'",""))
fax=trim(replace(request.form("fax"),"'",""))
name=trim(replace(request.form("username"),"'",""))
mobile=trim(replace(request.form("mobile"),"'",""))

    sip=Request.ServerVariables("REMOTE_ADDR")
If sip="" Then
  sip=request.ServerVariables("HTTP_X_FORWARDED_FOR")
End If
if cartype="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须汽车分类!"
else
  rs("cartype")=cartype
end if
if brand="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写汽车品牌!"
else
  rs("brand")=brand
end if
  rs("paizhao")=paizhao
if stype="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须选择汽车型号!"
else
  rs("type")=stype
end if
  rs("oil")=oil
if money="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写交易价格!"
else
  rs("money")=money
end if
if color="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写汽车颜色!"
else
  rs("color")=color
end if
  rs("transfer")=transfer
    rs("birthyear")=birthyear
if journey="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写行驶公里!"
else
  rs("journey")=journey
end if
if foruse="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须选择原车用途!"
else
  rs("foruse")=foruse
end if
if kdqx="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须选择刊登期限!"
else
  rs("kdqx")=kdqx
end if
  rs("pic")=pic
    rs("pic1")=pic1
      rs("pic2")=pic2
            rs("pic3")=pic3
if meno="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>你必须填写汽车备注!"
else
  rs("meno")=meno
end if
  rs("phone")=phone
    rs("post")=post 
      rs("sf")=sf
        rs("flag")=flag
          rs("address")=address
            rs("change")=change
              rs("city")=city
                rs("company")=company
                  rs("email")=email
                    rs("fax")=fax
                      rs("name")=name
                                              rs("mobile")=mobile

  rs("ip")=sip
if founderr then
  call diserror()
  response.end
else
  rs.update
  rs.close
  set rs=nothing

response.write "<script language=JavaScript>{window.alert('修改成功!');window.location.href='chelist.asp?type="&change&"';}</script>"
end if



end if
end if
if request("action")="del" then 
  dim SQL, Rs, contentID,CurrentPage
  contentID=request("ID")

  set rs=server.createobject("adodb.recordset")
  sqltext="delete * from haved where id="& contentID
  rs.open sqltext,conn,3,3
  set rs=nothing
  change=request("type")
        if request("type")="卖" then
    sql="update allcount set sellchecount = newchecount - 1"
  conn.execute(sql)
  closedatabase
  else
    sql="update allcount set buychecount = newchecount - 1"
  conn.execute(sql)
  closedatabase
  end if

  response.redirect "chelist.asp?type="&change&""
  end if


%>
<HTML><HEAD><TITLE>东南车网――会员专区</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK
href="images/css.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</SCRIPT>

<SCRIPT language=javascript>
function show_sader(mylink)
{
  window.open(mylink,'','top=140,left=135,width=480,height=280,scrollbars=no ')
}
</SCRIPT>


<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</SCRIPT>

<SCRIPT language=javascript>
function show_sader(mylink)
{
  window.open(mylink,'','top=140,left=135,width=480,height=280,scrollbars=no ')
}
</SCRIPT>
<SCRIPT language=JavaScript>       
function CheckInput()       
{

if (document.Form1.cartype.value == "")       
  {       
    alert("汽车分类不能为空!");       
    document.Form1.cartype.focus();       
    return false;       
  }       


if (document.Form1.brand.value == "")       
  {       
    alert("请输入汽车品牌!");       
    document.Form1.brand.focus();       
    return false;       
  }
  if (document.Form1.type.value == "")       
  {       
    alert("请输入汽车型号!");       
    document.Form1.type.focus();       
    return false;       
  } 
  if (document.Form1.money.value == "")       
  {       
    alert("请输入汽车价格!");       
    document.Form1.money.focus();       
    return false;       
  } 

    if (document.Form1.meno.value == "")       
  {       
    alert("请输入汽车状况!");       
    document.Form1.meno.focus();       
    return false;       
  }       
document.Form1.submit()
}       
</SCRIPT>

<div align="center">

<TABLE height=47 cellSpacing=0 cellPadding=0 width=770 border=0>
  <TBODY>
  <TR>
    <TD vAlign=bottom align=right background=images/line.gif
    height=44>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width=300> </TD>
          <TD vAlign=bottom align=right width=460><A
            href="erro1.asp">
<IMG
            src="images/reset.gif" border=0></A> <A
            href="../asp/logincheck.asp?action=logout">
<IMG
            src="images/back.gif" border=0></A>
    </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

</div>
<div align="center">
<table border="0" width="80%" cellspacing="0" cellpadding="0">
<tr>
<td width="189" valign="top"> <%call membermenu()%></td>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%" id="table1">
<tr>
<td height="51">
<IMG height=36
                  src="images/hyzq_t.gif" width=109></td>
</tr>
<tr>
<td valign="top">
<%if request.QueryString("action")="addsell" then%>
<%sql="select * from [user] where userid='"&userid&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
                      <%
sql="select * from haved where id="&cint(request.querystring("id"))

set rs2=conn.execute(sql)%>
<table border="1" width="100%" id="table2">
<tr>
<td>
                  <FORM name=Form1 method=POST action="che.asp">
                  <TABLE style="BORDER-COLLAPSE: collapse" height=280
                  cellSpacing=0 cellPadding=0 width="100%"
                  borderColorLight=#ffffff border=0 id="table3">
                    <TBODY><INPUT type=hidden value=卖 name=change>
                    <TR>
                      <TD colSpan=4 height=17>
                        <TABLE id=table4 style="BORDER-COLLAPSE: collapse"
                        borderColor=#111111 cellSpacing=0 cellPadding=0
                        width="100%" border=0>
                          <TBODY>
                          <TR>
                            <TD width=770 height=17>
                              <TABLE id=table5
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width="84%"><SPAN
                                style="FONT-SIZE: 10.5pt"><B>&nbsp;
                                汽车出售</B></SPAN></TD>
                                <TD width="16%">
                                <P align=right><FONT
                                color=#ff6600>&nbsp;*</FONT><FONT
                                color=#000080>为必填项
                              </FONT></P></TD></TR></TBODY></TABLE>
                              <TABLE id=table6
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD align=right width="15%"
height=10>&nbsp;</TD>
                                <TD width="58%" height=10>&nbsp; </TD>
                                <TD width="27%" height=10>&nbsp;
                                </TD></TR></TBODY></TABLE>
                              <TABLE id=table7
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD background="" height=1></TD>
                                <TD background=""></TD></TR></TBODY></TABLE>
                              <TABLE id=table8
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD align=right width="15%"
height=10>&nbsp;</TD>
                                <TD width="58%" height=10>&nbsp; </TD>
                                <TD width="27%" height=10>&nbsp;
                                </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
                    <TR height=25>
                      <TD align=right width=89 height=23><SPAN
                        class=word9>汽车分类</SPAN>:</TD>
                      <TD width=213 height=23><SELECT size=1 name=cartype>
                          <OPTION value="" selected>全部车型</OPTION> <OPTION
                          value=轿车>轿车</OPTION> <OPTION value=跑车>跑车</OPTION>
                          <OPTION value=SUV及越野车>SUV及越野车</OPTION> <OPTION
                          value=箱形车>箱形车</OPTION> <OPTION value=概念车>概念车</OPTION>
                          <OPTION value=客车>客车</OPTION> <OPTION
                          value=货车>货车</OPTION> <OPTION
                        value=其它车型>其它车型</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD width=90 height=23>
                        <P align=center><SPAN class=word9>汽车品牌:</SPAN></P></TD>
                      <TD width=216 height=23><INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15 name=brand>
                        <FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=24>现车牌照:</TD>
                      <TD width=213 height=24><INPUT class=f11
                        title=例如:浙AT0385 size=15 name=paizhao> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=90 height=24><SPAN
                        class=word9>汽车型号:</SPAN></TD>
                      <TD width=216 height=24><INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15 name=type>
                        &nbsp;<FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89
                      height=25>&nbsp;&nbsp;&nbsp;油耗量:</TD>
                      <TD width=213 height=25><INPUT size=10 name=oil> c.c.</TD>
                      <TD align=middle width=90 height=24>
<SPAN
                        class=word9>交易价格:</SPAN></TD>
                      <TD width=216 height=24><INPUT class=f11
                        title=车价以人民币(元)为单位(填0表示面议) size=12 name=money>
                        元&nbsp;<FONT color=#ff6600>*</FONT>(<span lang="zh-cn">只能填数字,填0为&quot;价格面议&quot;)</span></TD></TR>
                    <TR>
                      <TD align=right width=89 height=21><SPAN
                        class=word9>汽车颜色:</SPAN></TD>
                      <TD width=213 height=21><SELECT style="FONT-SIZE: 13px"
                        size=1 name=color> <OPTION selected>请选择</OPTION>
                          <OPTION value=白色>白色</OPTION> <OPTION
                          value=银色>银色</OPTION> <OPTION value=绿色>绿色</OPTION>
                          <OPTION value=红色>红色</OPTION> <OPTION
                          value=黄色>黄色</OPTION> <OPTION value=蓝色>蓝色</OPTION>
                          <OPTION value=黑色>黑色</OPTION> <OPTION
                          value=紫色>紫色</OPTION> <OPTION value=棕色>棕色</OPTION>
                          <OPTION value=其他>其他</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=90 height=21>车牌过户:</TD>
                      <TD width=216 height=21>&nbsp;<SPAN class=word9> <INPUT
                        title=指牌照是否过户 type=radio CHECKED value=能 name=transfer>
                        </SPAN>是<SPAN class=word9> <INPUT title=指牌照是否过户
                        type=radio value=目前不能 name=transfer>
                      否</SPAN>&nbsp;&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=89 height=25>购买日期:</TD>
                      <TD width=213 height=25>
&nbsp;<!--webbot bot="Validation" s-data-type="String" b-value-required="TRUE" i-maximum-length="10" --><INPUT title=请输入年份 maxLength=10
                        size=10 name=birthyear> 年 <FONT color=#ff6600>*</FONT>(<span lang="zh-cn">格式如:1982-02-21)</span></TD>
                      <TD align=middle width=90 height=25><SPAN
                        class=word9>行驶公里:</SPAN></TD>
                      <TD width=216 height=25><INPUT title=已经行驶多少公里 size=12
                        name=journey> 公里<FONT color=#ff6600> *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>原车用途:</TD>
                      <TD width=213 height=1><SELECT name=foruse> <OPTION
                          selected>--请选择--</OPTION> <OPTION
                          value=私人用车>私人用车</OPTION> <OPTION
                          value=出租车>出租车</OPTION> <OPTION value=租赁车>租赁车</OPTION>
                          <OPTION value=机关用车>机关用车</OPTION> <OPTION
                          value=公务用车>公务用车</OPTION> <OPTION
                          value=运输用车>运输用车</OPTION> <OPTION
                          value=地方车辆>地方车辆</OPTION> <OPTION
                          value=驾校教练车>驾校教练车</OPTION> <OPTION
                          value=外地迁京车辆>外地迁京车辆</OPTION> <OPTION
                          value=其它>其它</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      </TR>
                    <TR>
                      <TD align=right width=89 height=12>&nbsp;刊登期限:</TD>
                      <TD width=213 height=12><SELECT class=f11
                        style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid"
                        size=1 name=kdqx> <OPTION value=一周
                          selected>一周</OPTION> <OPTION value=半月>半月</OPTION>
                          <OPTION value=一个月>一个月</OPTION> <OPTION
                          value=三个月>三个月</OPTION> <OPTION value=六个月>六个月</OPTION>
                          <OPTION value=一年>一年</OPTION> <OPTION
                          value=长期>长期</OPTION></SELECT> <FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=90 height=12>&nbsp;</TD>
                      <TD width=216 height=12>&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=89 height=12></TD>
                      <TD width=213 height=12></TD>
                      <TD align=middle width=90 height=12>&nbsp;</TD>
                      <TD width=216 height=12>&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片1:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片2:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic1><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片3:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic2><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片4:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic3><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89
                        height=57>&nbsp;&nbsp;汽车备注:<BR>&nbsp;(最多500字)</TD>
                      <TD align=left colSpan=3 height=57>
<TEXTAREA class=f11 title=车况描述最多只能500个字 style="FONT-FAMILY: 宋体" name=meno rows=4 cols=46></TEXTAREA>
                        <FONT color=#ff6600>&nbsp;*</FONT></TD></TR>
                    <TR>
                      <TD align=middle colSpan=4 height=21></TD></TR>
                    <TR>

                      <TD align=middle colSpan=4 height=21>
<INPUT type=hidden
                        value="<%=rs("address")%>"
                        name=address>
<INPUT type=hidden value="<%=rs("flag")%>" name=flag>
                        <INPUT type=hidden
                        value="<%=rs("company")%>"
                        name=company>
<INPUT type=hidden
                        value="<%=rs("city")%>" name=city>
<INPUT type=hidden
                        value="<%=rs("sf")%>" name=province>
                        <INPUT type=hidden
                        value="<%=rs("phone")%>"
                        name=phone>
<INPUT type=hidden
                        value="<%=rs("fax")%>" name=fax>
<INPUT
                        type=hidden value="<%=rs("post")%>" name=post>
<INPUT type=hidden
                        value="<%=rs("email")%>"
                        name=email>
<INPUT type=hidden
                        value="<%=rs("name")%>"
                        name=username>
                        <INPUT onclick=CheckInput() type=submit value=提交 name=button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT type=reset value=取消 name=Submit3> </TD></TR>
                    <TR height=25>
                      <TD align=middle colSpan=4
                  height=12></TD></TR></TBODY></TABLE>
<input type="hidden" name="MM_insert" value="true">
<input type="hidden" name="action" value="add">
<input type="hidden" name="mobile" value="<%=rs("mobile")%>"></FORM> </td>
</tr>
<tr>
<td>
<p align="center"><font color="#FF0000">
使用方法:将下面上传的图片地址复制到上面的图片地址栏中</font></td>
</tr>
<tr>
<td>
<iframe name="I1" src="upload.asp" scrolling="no" width="557" height="53">
浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
</tr>
</table><br>
<%  rs.close
  set rs=nothing
  end if
if request.QueryString("action")="editsell" then
if request.querystring("id")="" then
  errmsg=errmsg+"<br>"+"<li>请指定操作的对象!"
  call diserror()
  response.end

  end if%>
<%sql="select * from [user] where userid='"&userid&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
                      <%
sql="select * from haved where id="&cint(request.querystring("id"))

set rs2=conn.execute(sql)%>

<table border="1" width="100%" id="table9">
<tr>
<td>
                  <FORM name=Form1 method=POST action="che.asp">
                  <TABLE style="BORDER-COLLAPSE: collapse" height=280
                  cellSpacing=0 cellPadding=0 width="100%"
                  borderColorLight=#ffffff border=0 id="table10">
                    <TBODY>
                    <TR>
                      <TD colSpan=4 height=17>
                        <TABLE id=table11 style="BORDER-COLLAPSE: collapse"
                        borderColor=#111111 cellSpacing=0 cellPadding=0
                        width="100%" border=0>
                          <TBODY>
                          <TR>
                            <TD width=770 height=17>
                              <TABLE id=table12
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width="84%"><SPAN
                                style="FONT-SIZE: 10.5pt"><B>&nbsp;
                                修改汽车出售</B></SPAN></TD>
                                <TD width="16%">
                                <P align=right><FONT
                                color=#ff6600>&nbsp;*</FONT><FONT
                                color=#000080>为必填项
                              </FONT></P></TD></TR></TBODY></TABLE>
                              <TABLE id=table13
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD align=right width="15%"
height=10>&nbsp;</TD>
                                <TD width="58%" height=10>&nbsp; </TD>
                                <TD width="27%" height=10>&nbsp;
                                </TD></TR></TBODY></TABLE>
                              <TABLE id=table14
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD background="" height=1></TD>
                                <TD background=""></TD></TR></TBODY></TABLE>
                              <TABLE id=table15
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD align=right width="15%"
height=10>&nbsp;</TD>
                                <TD width="58%" height=10>&nbsp; </TD>
                                <TD width="27%" height=10>&nbsp;
                                </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
                    <TR height=25>
                      <TD align=right width=89 height=23><SPAN
                        class=word9>汽车分类</SPAN>:</TD>
                      <TD width=213 height=23><SELECT size=1 name=cartype>

                          <OPTION value="<%=rs2("cartype")%>" selected><%=rs2("cartype")%></OPTION> <OPTION
                          value=轿车>轿车</OPTION> <OPTION value=跑车>跑车</OPTION>
                          <OPTION value=SUV及越野车>SUV及越野车</OPTION> <OPTION
                          value=箱形车>箱形车</OPTION> <OPTION value=概念车>概念车</OPTION>
                          <OPTION value=客车>客车</OPTION> <OPTION
                          value=货车>货车</OPTION> <OPTION
                        value=其它车型>其它车型</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD width=90 height=23>
                        <P align=center><SPAN class=word9>汽车品牌:</SPAN></P></TD>
                      <TD width=216 height=23>
<INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15 name=brand value="<%=rs2("brand")%>">
                        <FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=24>现车牌照:</TD>
                      <TD width=213 height=24>
<INPUT class=f11
                        title=例如:浙AT0385 size=15 name=paizhao value="<%=rs2("paizhao")%>"> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=90 height=24><SPAN
                        class=word9>汽车型号:</SPAN></TD>
                      <TD width=216 height=24>
<INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15 name=type value="<%=rs2("type")%>">
                        &nbsp;<FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89
                      height=25>&nbsp;&nbsp;&nbsp;油耗量:</TD>
                      <TD width=213 height=25>
<INPUT size=10 name=oil value="<%=rs2("oil")%>"> c.c.</TD>
                      <TD align=middle width=90 height=24>
<SPAN
                        class=word9>交易价格:</SPAN></TD>
                      <TD width=216 height=24>
<INPUT class=f11
                        title=车价以人民币(元)为单位(填0表示面议) size=12 name=money value="<%=rs2("money")%>">
                        元&nbsp;<FONT color=#ff6600>*</FONT>(<span lang="zh-cn">只能填数字,添0为&quot;价格面议&quot;)</span></TD></TR>
                    <TR>
                      <TD align=right width=89 height=21><SPAN
                        class=word9>汽车颜色:</SPAN></TD>
                      <TD width=213 height=21>
<SELECT style="FONT-SIZE: 13px"
                        size=1 name=color> 
                          <OPTION value=<%=rs2("color")%> selected><%=rs2("color")%></OPTION>
                          <OPTION value=白色>白色</OPTION> <OPTION
                          value=银色>银色</OPTION> <OPTION value=绿色>绿色</OPTION>
                          <OPTION value=红色>红色</OPTION> <OPTION
                          value=黄色>黄色</OPTION> <OPTION value=蓝色>蓝色</OPTION>
                          <OPTION value=黑色>黑色</OPTION> <OPTION
                          value=紫色>紫色</OPTION> <OPTION value=棕色>棕色</OPTION>
                          <OPTION value=其他>其他</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=90 height=21>车牌过户:</TD>
                      <TD width=216 height=21>&nbsp;<SPAN class=word9> <INPUT
                        title=指牌照是否过户 type=radio CHECKED value=能 name=transfer>
                        </SPAN>是<SPAN class=word9> <INPUT title=指牌照是否过户
                        type=radio value=目前不能 name=transfer>
                      否</SPAN>&nbsp;&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=89 height=25>购买日期:</TD>
                      <TD width=213 height=25>
<INPUT title=请输入年份 maxLength=4
                        size=8 name=birthyear value="<%=rs2("birthyear")%>"> 年 <FONT color=#ff6600>*</FONT>(<span lang="zh-cn">格式如:1982-02-21)</span></TD>
                      <TD align=middle width=90 height=25><SPAN
                        class=word9>行驶公里:</SPAN></TD>
                      <TD width=216 height=25>
<INPUT title=已经行驶多少公里 size=12
                        name=journey value="<%=rs2("journey")%>"> 公里<FONT color=#ff6600> *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>原车用途:</TD>
                      <TD width=213 height=1><SELECT name=foruse>
                      <OPTION value="<%=rs2("foruse")%>" selected><%=rs2("foruse")%></OPTION> <OPTION
                          value=私人用车>私人用车</OPTION> <OPTION
                          value=出租车>出租车</OPTION> <OPTION value=租赁车>租赁车</OPTION>
                          <OPTION value=机关用车>机关用车</OPTION> <OPTION
                          value=公务用车>公务用车</OPTION> <OPTION
                          value=运输用车>运输用车</OPTION> <OPTION
                          value=地方车辆>地方车辆</OPTION> <OPTION
                          value=驾校教练车>驾校教练车</OPTION> <OPTION
                          value=外地迁京车辆>外地迁京车辆</OPTION> <OPTION
                          value=其它>其它</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      </TR>
                    <TR>
                      <TD align=right width=89 height=12>&nbsp;刊登期限:</TD>
                      <TD width=213 height=12>
<SELECT class=f11
                        style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid"
                        size=1 name=kdqx>
<option value="<%=rs2("kdqx")%>" selected><%=rs2("kdqx")%>
</option>
<OPTION value=一周>一周</OPTION> <OPTION value=半月>半月</OPTION>
                          <OPTION value=一个月>一个月</OPTION> <OPTION
                          value=三个月>三个月</OPTION> <OPTION value=六个月>六个月</OPTION>
                          <OPTION value=一年>一年</OPTION> <OPTION
                          value=长期>长期</OPTION></SELECT> <FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=90 height=12>&nbsp;</TD>
                      <TD width=216 height=12>&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=89 height=12></TD>
                      <TD width=213 height=12></TD>
                      <TD align=middle width=90 height=12>&nbsp;</TD>
                      <TD width=216 height=12>&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片1:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic value="<%=rs2("pic")%>"><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片2:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic1 value="<%=rs2("pic1")%>"><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片3:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic2 value="<%=rs2("pic2")%>"><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89 height=1>汽车图片4:</TD>
                      <TD colSpan=3 height=1>
<INPUT title=已经行驶多少公里 size=52
                        name=pic3 value="<%=rs2("pic3")%>"><FONT color=#ff6600>&nbsp;&nbsp; *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=89
                        height=57>&nbsp;&nbsp;汽车备注:<BR>&nbsp;(最多500字)</TD>
                      <TD align=left colSpan=3 height=57>
<TEXTAREA class=f11 title=车况描述最多只能500个字 style="FONT-FAMILY: 宋体" name=meno rows=4 cols=46><%=rs2("meno")%></TEXTAREA>
                        <FONT color=#ff6600>&nbsp;*</FONT></TD></TR>
                    <TR>
                      <TD align=middle colSpan=4 height=21></TD></TR>
                    <TR>
                      <TD align=middle colSpan=4 height=21>

                        <INPUT onclick=CheckInput() type=submit value=提交 name=button0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type=reset value=取消 name=Submit4> </TD></TR>
                    <TR height=25>
                      <TD align=middle colSpan=4
                  height=12></TD></TR></TBODY></TABLE>
<input type="hidden" name="id" value="<%=rs2("id")%>">
<input type="hidden" name="action" value="modify">
<input type="hidden" name="address" value="<%=rs("address")%>">
<input type="hidden" name="change" value="卖">
<input type="hidden" name="city" value="<%=rs("city")%>">
<input type="hidden" name="company" value="<%=rs("company")%>">
<input type="hidden" name="email" value="<%=rs("email")%>">
<input type="hidden" name="fax" value="<%=rs("fax")%>">
<input type="hidden" name="flag" value="<%=rs("flag")%>">
<input type="hidden" name="MM_insert" value="true">
<input type="hidden" name="phone" value="<%=rs("phone")%>">
<input type="hidden" name="post" value="<%=rs("post")%>">
<input type="hidden" name="province" value="<%=rs("sf")%>">
<input type="hidden" name="username" value="<%=rs("name")%>">
<input type="hidden" name="mobile" value="<%=rs("mobile")%>"></FORM> </td>
</tr>
</table><br>
<%  rs.close
  set rs=nothing
end if
if request.QueryString("action")="addbuy" then%>
<%sql="select * from [user] where userid='"&userid&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
                      <%
sql="select * from haved where id="&cint(request.querystring("id"))

set rs2=conn.execute(sql)%>

<table border="1" width="100%" id="table16">
<tr>
<td>
                  <FORM name=Form1 method=POST action="che.asp">
                  <TABLE id=table20 style="BORDER-COLLAPSE: collapse"
                  borderColor=#111111 height=326 cellSpacing=0
                  borderColorDark=#ffffff cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD colSpan=4 height=17>
                        <TABLE id=table21 style="BORDER-COLLAPSE: collapse"
                        borderColor=#111111 cellSpacing=0 cellPadding=0
                        width="100%" border=0>
                          <TBODY>
                          <TR>
                            <TD width=770 height=17>
                              <TABLE id=table22
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width="84%"><SPAN
                                style="FONT-SIZE: 10.5pt"><B>&nbsp;求购登记</B></SPAN></TD>
                                <TD width="16%">
                                <P align=right><FONT
                                color=#ff6600>&nbsp;*</FONT><FONT
                                color=#000080>为必填项
                              </FONT></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD align=right width=134 height=28><SPAN
                        class=word9>汽车分类</SPAN>:</TD>
                      <TD width=195 height=28><SELECT size=1 name=cartype>
                          <OPTION value="" selected>全部车型</OPTION> <OPTION
                          value=轿车>轿车</OPTION> <OPTION value=跑车>跑车</OPTION>
                          <OPTION value=SUV及越野车>SUV及越野车</OPTION> <OPTION
                          value=箱形车>箱形车</OPTION> <OPTION value=概念车>概念车</OPTION>
                          <OPTION value=客车>客车</OPTION> <OPTION
                          value=货车>货车</OPTION> <OPTION
                        value=其它车型>其它车型</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD width=125 height=28>
                        <P align=center><SPAN class=word9>汽车品牌:</SPAN></P></TD>
                      <TD width=154 height=28>
<INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15
                        name=brand><FONT color=#ff6600>*</FONT> </TD></TR>
                    <TR>
                      <TD align=right width=134 height=24><SPAN
                        class=word9>汽车颜色:</SPAN></TD>
                      <TD width=195 height=24>
<SELECT style="FONT-SIZE: 13px"
                        size=1 name=color> <OPTION value=不限
                          selected>不限</OPTION> <OPTION value=白色>白色</OPTION>
                          <OPTION value=银色>银色</OPTION> <OPTION
                          value=绿色>绿色</OPTION> <OPTION value=红色>红色</OPTION>
                          <OPTION value=黄色>黄色</OPTION> <OPTION
                          value=蓝色>蓝色</OPTION> <OPTION value=黑色>黑色</OPTION>
                          <OPTION value=紫色>紫色</OPTION> <OPTION
                          value=棕色>棕色</OPTION> <OPTION
                        value=其他>其他</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=125 height=24><SPAN
                        class=word9>汽车型号:</SPAN></TD>
                      <TD width=154 height=24>
<INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15 name=type>
                        &nbsp;<FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=134 height=29>行程要求:</TD>
                      <TD width=195 height=29>
<INPUT title=对于原车行程公里要求 size=12
                        name=journey> 公里</TD>
                      <TD align=middle width=125 height=29><SPAN
                        class=word9>车价</SPAN>:</TD>
                      <TD width=154 height=29>
<INPUT class=f11
                        title=输入可成交车价(填0表示面议) size=6 name=money> &nbsp;元<FONT
                        color=#ff6600> *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=134 height=29>购车用途:</TD>
                      <TD width=195 height=29><SELECT name=foruse> <OPTION
                          value="" selected>--请选择--</OPTION> <OPTION
                          value=私人用车>私人用车</OPTION> <OPTION
                          value=出租车>出租车</OPTION> <OPTION value=租赁车>租赁车</OPTION>
                          <OPTION value=机关用车>机关用车</OPTION> <OPTION
                          value=公务用车>公务用车</OPTION> <OPTION
                          value=运输用车>运输用车</OPTION> <OPTION
                          value=地方车辆>地方车辆</OPTION> <OPTION
                          value=驾校教练车>驾校教练车</OPTION> <OPTION
                          value=外地迁京车辆>外地迁京车辆</OPTION> <OPTION
                          value=其它>其它</OPTION></SELECT> <FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=125 height=29>油耗要求:</TD>
                      <TD width=154 height=29><INPUT size=12 name=oil>
                      c.c.</TD></TR>
                    <TR>
                      <TD align=right width=134 height=26>刊登期限:</TD>
                      <TD width=195 height=26>
<SELECT class=f11
                        style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid"
                        size=1 name=kdqx> <OPTION value=一周
                          selected>一周</OPTION> <OPTION value=半月>半月</OPTION>
                          <OPTION value=一个月>一个月</OPTION> <OPTION
                          value=三个月>三个月</OPTION> <OPTION value=六个月>六个月</OPTION>
                          <OPTION value=一年>一年</OPTION> <OPTION
                          value=长期>长期</OPTION></SELECT> <FONT
                        color=#ff6600>*</FONT> </TD>
                      <TD align=middle width=125 height=26><SPAN
                        class=word9>是否要过户</SPAN>:</TD>
                      <TD width=154 height=26><SPAN class=word9><INPUT
                        title=指牌照是否过户 type=radio CHECKED value=能 name=transfer>
                        </SPAN>是<SPAN class=word9> <INPUT title=指牌照是否过户
                        type=radio value=不能 name=transfer>
                      否</SPAN>&nbsp;&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=134 height=27>联系地址:</TD>
                      <TD colSpan=3 height=27><INPUT size=60 name=address>
                        &nbsp;<FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=134
                        height=51>&nbsp;汽车备注/车况描述:<BR>&nbsp;(最多500字)</TD>
                      <TD align=left colSpan=3 height=60>
<TEXTAREA class=f11 title=车况描述最多只能500个字 style="FONT-FAMILY: 宋体" name=meno rows=4 cols=46></TEXTAREA>
                        <FONT color=#ff6600>&nbsp;*</FONT></TD></TR>
                    <TR>
                      <TD align=middle colSpan=4 height=26>  </TD></TR>
                    <TR>
                      <TD align=middle colSpan=4
                        height=21>&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT onclick=CheckInput() type=submit value=提交 name=button1>
<INPUT type=reset value=取消 name=Submit5> </TD></TR>
                    <TR>
                      <TD align=middle colSpan=4
                  height=12></TD></TR></TBODY></TABLE>
<input type="hidden" name="action" value="add">
<input type="hidden" name="change" value="买">
<input type="hidden" name="city" value="<%=rs("city")%>">
<input type="hidden" name="email" value="<%=rs("email")%>">
<input type="hidden" name="fax" value="<%=rs("fax")%>">
<input type="hidden" name="MM_insert" value="true">
<input type="hidden" name="phone" value="<%=rs("phone")%>">
<input type="hidden" name="post" value="<%=rs("post")%>">
<input type="hidden" name="province" value="<%=rs("sf")%>">
<input type="hidden" name="username" value="<%=rs("name")%>">
<input type="hidden" name="mobile" value="<%=rs("mobile")%>">
<input type="hidden" name="flag" value="<%=rs("flag")%>"></FORM> </td>
</tr>
</table><br>

<%  rs.close
  set rs=nothing
  end if
if request.QueryString("action")="eidtbuy" then
if request.querystring("id")="" then
  errmsg=errmsg+"<br>"+"<li>请指定操作的对象!"
  call diserror()
  response.end

  end if%>
<%sql="select * from [user] where userid='"&userid&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
                      <%
sql="select * from haved where id="&cint(request.querystring("id"))

set rs2=conn.execute(sql)%>

<table border="1" width="100%" id="table23">
<tr>
<td>
                  <FORM name=Form1 method=POST action="che.asp">
                  <TABLE id=table27 style="BORDER-COLLAPSE: collapse"
                  borderColor=#111111 height=326 cellSpacing=0
                  borderColorDark=#ffffff cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD colSpan=4 height=17>
                        <TABLE id=table28 style="BORDER-COLLAPSE: collapse"
                        borderColor=#111111 cellSpacing=0 cellPadding=0
                        width="100%" border=0>
                          <TBODY>
                          <TR>
                            <TD width=770 height=17>
                              <TABLE id=table29
                              style="BORDER-COLLAPSE: collapse"
                              borderColor=#111111 cellSpacing=0 cellPadding=0
                              width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width="84%"><SPAN
                                style="FONT-SIZE: 10.5pt"><B>&nbsp;修改求购登记</B></SPAN></TD>
                                <TD width="16%">
                                <P align=right><FONT
                                color=#ff6600>&nbsp;*</FONT><FONT
                                color=#000080>为必填项
                              </FONT></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD align=right width=134 height=28><SPAN
                        class=word9>汽车分类</SPAN>:</TD>
                      <TD width=195 height=28><SELECT size=1 name=cartype>
                          <OPTION value="<%=rs2("cartype")%>" selected><%=rs2("cartype")%></OPTION> <OPTION
                          value=轿车>轿车</OPTION> <OPTION value=跑车>跑车</OPTION>
                          <OPTION value=SUV及越野车>SUV及越野车</OPTION> <OPTION
                          value=箱形车>箱形车</OPTION> <OPTION value=概念车>概念车</OPTION>
                          <OPTION value=客车>客车</OPTION> <OPTION
                          value=货车>货车</OPTION> <OPTION
                        value=其它车型>其它车型</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD width=125 height=28>
                        <P align=center><SPAN class=word9>汽车品牌:</SPAN></P></TD>
                      <TD width=154 height=28>
<INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15
                        name=brand value="<%=rs2("brand")%>"><FONT color=#ff6600>*</FONT> </TD></TR>
                    <TR>
                      <TD align=right width=134 height=24><SPAN
                        class=word9>汽车颜色:</SPAN></TD>
                      <TD width=195 height=24>
<SELECT style="FONT-SIZE: 13px"
                        size=1 name=color> <OPTION value=<%=rs2("color")%>
                          selected><%=rs2("color")%></OPTION> <OPTION value=白色>白色</OPTION>
                          <OPTION value=银色>银色</OPTION> <OPTION
                          value=绿色>绿色</OPTION> <OPTION value=红色>红色</OPTION>
                          <OPTION value=黄色>黄色</OPTION> <OPTION
                          value=蓝色>蓝色</OPTION> <OPTION value=黑色>黑色</OPTION>
                          <OPTION value=紫色>紫色</OPTION> <OPTION
                          value=棕色>棕色</OPTION> <OPTION
                        value=其他>其他</OPTION></SELECT> &nbsp;<FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=125 height=24><SPAN
                        class=word9>汽车型号:</SPAN></TD>
                      <TD width=154 height=24>
<INPUT class=f11
                        title=例如:桑塔纳200、红旗CA7200、SVW7180CEI size=15 name=type value="<%=rs2("type")%>">
                        &nbsp;<FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=134 height=29>行程要求:</TD>
                      <TD width=195 height=29>
<INPUT title=对于原车行程公里要求 size=12
                        name=journey value="<%=rs2("journey")%>"> 公里</TD>
                      <TD align=middle width=125 height=29><SPAN
                        class=word9>车价</SPAN>:</TD>
                      <TD width=154 height=29>
<INPUT class=f11
                        title=输入可成交车价(填0表示面议) size=6 name=money value="<%=rs2("money")%>"> &nbsp;元<FONT
                        color=#ff6600> *</FONT></TD></TR>
                    <TR>
                      <TD align=right width=134 height=29>购车用途:</TD>
                      <TD width=195 height=29><SELECT name=foruse size="1"> <OPTION
                          value="<%=rs2("foruse")%>" selected><%=rs2("foruse")%></OPTION> <OPTION
                          value=私人用车>私人用车</OPTION> <OPTION
                          value=出租车>出租车</OPTION> <OPTION value=租赁车>租赁车</OPTION>
                          <OPTION value=机关用车>机关用车</OPTION> <OPTION
                          value=公务用车>公务用车</OPTION> <OPTION
                          value=运输用车>运输用车</OPTION> <OPTION
                          value=地方车辆>地方车辆</OPTION> <OPTION
                          value=驾校教练车>驾校教练车</OPTION> <OPTION
                          value=外地迁京车辆>外地迁京车辆</OPTION> <OPTION
                          value=其它>其它</OPTION></SELECT> <FONT
                        color=#ff6600>*</FONT></TD>
                      <TD align=middle width=125 height=29>油耗要求:</TD>
                      <TD width=154 height=29>
<INPUT size=12 name=oil value="<%=rs2("oil")%>">
                      c.c.</TD></TR>
                    <TR>
                      <TD align=right width=134 height=26>刊登期限:</TD>
                      <TD width=195 height=26>
<SELECT class=f11
                        style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid"
                        size=1 name=kdqx>
<option value="<%=rs2("kdqx")%>" selected><%=rs2("kdqx")%>
</option>
<OPTION value=一周>一周</OPTION> <OPTION value=半月>半月</OPTION>
                          <OPTION value=一个月>一个月</OPTION> <OPTION
                          value=三个月>三个月</OPTION> <OPTION value=六个月>六个月</OPTION>
                          <OPTION value=一年>一年</OPTION> <OPTION
                          value=长期>长期</OPTION></SELECT> <FONT
                        color=#ff6600>*</FONT> </TD>
                      <TD align=middle width=125 height=26><SPAN
                        class=word9>是否要过户</SPAN>:</TD>
                      <TD width=154 height=26><SPAN class=word9><INPUT
                        title=指牌照是否过户 type=radio CHECKED value=能 name=transfer>
                        </SPAN>是<SPAN class=word9> <INPUT title=指牌照是否过户
                        type=radio value=不能 name=transfer>
                      否</SPAN>&nbsp;&nbsp;</TD></TR>
                    <TR>
                      <TD align=right width=134 height=27>联系地址:</TD>
                      <TD colSpan=3 height=27>
<INPUT size=60 name=address value="<%=rs2("address")%>">
                        &nbsp;<FONT color=#ff6600>*</FONT></TD></TR>
                    <TR>
                      <TD align=right width=134
                        height=51>&nbsp;&nbsp;汽车备注/车况描述:<BR>&nbsp;(最多500字)</TD>
                      <TD align=left colSpan=3 height=60>
<TEXTAREA class=f11 title=车况描述最多只能500个字 style="FONT-FAMILY: 宋体" name=meno rows=4 cols=46><%=rs2("meno")%></TEXTAREA>
                        <FONT color=#ff6600>&nbsp;*</FONT></TD></TR>
                    <TR>
                      <TD align=middle colSpan=4 height=26>  </TD></TR>
                    <TR>
                      <TD align=middle colSpan=4
                        height=21>&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT onclick=CheckInput() type=submit value=提交 name=button2>
<INPUT type=reset value=取消 name=Submit6> </TD></TR>
                    <TR>
                      <TD align=middle colSpan=4
                  height=12></TD></TR></TBODY></TABLE>
<input type="hidden" name="action" value="modify">
<input type="hidden" name="change" value="买">
<input type="hidden" name="city" value="<%=rs("city")%>">
<input type="hidden" name="email" value="<%=rs("email")%>">
<input type="hidden" name="fax" value="<%=rs("fax")%>">
<input type="hidden" name="id" value="<%=rs2("id")%>">
<input type="hidden" name="MM_insert" value="true">
<input type="hidden" name="phone" value="<%=rs("phone")%>">
<input type="hidden" name="post" value="<%=rs("post")%>">
<input type="hidden" name="province" value="<%=rs("sf")%>">
<input type="hidden" name="username" value="<%=rs("name")%>">
<input type="hidden" name="mobile" value="<%=rs("mobile")%>">
<input type="hidden" name="flag" value="<%=rs("flag")%>"></FORM> </td>
</tr>
</table><br>

<%  rs.close
  set rs=nothing
  end if
end if%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<TABLE cellSpacing=0 cellPadding=0 width=770 align=center border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=4 width=770 align=center border=0>
        <TBODY>
        <TR>
          </TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>


地主 发表时间: 04-08-06 16:30

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号