<!--#include file="userCheck.asp"-->
<!-- #include file="conn.asp"-->
<%
       Set cmdTemp = Server.CreateObject("ADODB.Command")
       Set InsertCursor = Server.CreateObject("ADODB.Recordset")
       cmdTemp.CommandText = "SELECT top 1 * FROM product where id="&Request("id")
       cmdTemp.CommandType = 1
       Set cmdTemp.ActiveConnection = conn
       InsertCursor.Open cmdTemp, , 1, 3
if Request("productSort")<>"" then         InsertCursor("productSort") =Request("productSort")
if Request("sell_name")<>"" then           InsertCursor("sell_name") =Request("sell_name")
if Request("tel")<>"" then                 InsertCursor("tel") =Request("tel")
if Request("addr")<>"" then                InsertCursor("addr") =Request("addr")
if Request("email")<>""  then              InsertCursor("email") =Request("email")
if Request("nosell_name")<>"" then         InsertCursor("nosell_name") =Request("nosell_name")
if Request("notel")<>"" then               InsertCursor("notel") =Request("notel")
if Request("noaddr")<>"" then              InsertCursor("noaddr") =Request("noaddr")
if Request("noemail")<>""  then            InsertCursor("noemail") =Request("noemail")
if Request("fa_class")<>"" then            InsertCursor("fa_class") =Request("fa_class")
if Request("carclass")<>"" then            InsertCursor("carclass") =Request("carclass")
if Request("provice")<>"" then             InsertCursor("provice") =Request("provice")
if Request("provice_shi")<>"" then         InsertCursor("provice_shi") =Request("provice_shi")
if Request("caryear")<>"" then             InsertCursor("caryear") =Request("caryear")
if Request("carmonth")<>"" then            InsertCursor("carmonth") =Request("carmonth")
if Request("memberPrice")<>"" then         InsertCursor("memberPrice") =Request("memberPrice")
if Request("marketPrice")<>""  then        InsertCursor("marketPrice") =Request("marketPrice")
if Request("smallimg")<>""  then           InsertCursor("smallimg") =Request("smallimg") 
if Request("smallimg2")<>""  then          InsertCursor("smallimg2") =Request("smallimg2") 
if Request("smallimg3")<>""  then          InsertCursor("smallimg3") =Request("smallimg3") 
if Request("smallimg4")<>""  then          InsertCursor("smallimg4") =Request("smallimg4") 
if Request("smallimg5")<>""  then          InsertCursor("smallimg5") =Request("smallimg5") 
InsertCursor("bz") = request.Form("peizhichk")
if Request("can1")<>""  then
       InsertCursor("can1") =Request("can1")
end if
if Request("can2")<>""  then
       InsertCursor("can2") =Request("can2")
end if
if Request("can3")<>""  then
       InsertCursor("can3") =Request("can3")
end if
if Request("can4")<>""  then
       InsertCursor("can4") =Request("can4")
end if
if Request("can5")<>""  then
       InsertCursor("can5") =Request("can5")
end if
if Request("can6")<>""  then
       InsertCursor("can6") =Request("can6")
end if
if Request("can7")<>""  then
       InsertCursor("can7") =Request("can7")
end if
if Request("can8")<>""  then
       InsertCursor("can8") =Request("can8")
end if
if Request("smallimg")<>""  then
       InsertCursor("smallimg") =Request("smallimg") 
end if
if Request("carcolor")<>""  then
       InsertCursor("carcolor") =Request("carcolor") 
end if
if Request("introduce")<>""  then
       InsertCursor("introduce") =Request("introduce") 
end if
if Request("explain")<>""  then
       InsertCursor("explain") =toHTML(Request("explain"))
end if
       
'================================
'费用情况
dim yl1, yl2, bx1, bx2, nj1, nj2
yl1 = trim(request.Form("yl1"))
yl2 = trim(request.Form("yl2"))
bx1 = trim(request.Form("bx1"))
bx2 = trim(request.Form("bx2"))
nj1 = trim(request.Form("nj1"))
nj2 = trim(request.Form("nj2"))
InsertCursor("yanglufei") = yl1 & "到" & yl2
InsertCursor("baoxian")   = bx1 & "到" & bx2
InsertCursor("nianjian")  = nj1 & "到" & nj2
	   
	   InsertCursor.Update
'	   response.write InsertCursor("id")
'	   response.End
'	   InsertCursor.movelast
%>
<script language=Javascript>
<!--
alert("修改成功！");
window.location="user_mypro.asp"
-->
</script>
<%
       InsertCursor.close
	   conn.close
       set InsertCursor=nothing
       set conn=nothing
%>