<!--#include file="pysjzx_conn.asp"-->
<!--#include file="session.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<%
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 rs=server.CreateObject ("adodb.recordset")
sql="select * from price where  id="&id
rs.open sql,conn,1,1
if rs.eof then
response.write"<SCRIPT language=JavaScript>alert('参数错误！');"
response.end	
end if
%>

<script language=JavaScript>
<%
	set rs_s=server.createobject("adodb.recordset")
	sql="select * from anclass order by anclassidorder"
	rs_s.open sql,conn,1,1
%>
	var selects1=[];
	selects1['0']=new Array(new Option('--请选择系列--','0'));
<%
	for i=1 to rs_s.recordcount
%>
	selects1['<%=rs_s("anclassid")%>']=new Array(

new Option('--请选择系列--','0'),
<%
	set rs_s1=server.createobject("adodb.recordset")
	sql="select * from nclass where anclassid="&rs_s("anclassid")&" order by nclassidorder"
	rs_s1.open sql,conn,1,1
	if rs_s1.recordcount>0 then 
	%>


	<%		for j1=1 to rs_s1.recordcount
		if j1=rs_s1.recordcount then 
%>
		new Option('<%=trim(rs_s1("nclass"))%>','<%=trim(rs_s1("nclassid"))%>'));
<%		else
%>
		new Option('<%=trim(rs_s1("nclass"))%>','<%=trim(rs_s1("nclassid"))%>'),
<%
		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 chsel1(){
		with (document.formpub){
			if(anclass.value) {
				nclass.options.length=0;
				for(var i=0;i<selects1[anclass.value].length;i++){
					nclass.add(selects1[anclass.value][i]);
				}
			}
		}
	}

</script>

<script language=JavaScript>
<%
	set rs_s=server.createobject("adodb.recordset")
	sql="select * from province order by shengorder"
	rs_s.open sql,conn,1,1
%>
	var selects=[];
	selects['0']=new Array(new Option('-请选择县-','0'));
<%
	for i=1 to rs_s.recordcount
%>
	selects['<%=rs_s("ShengNo")%>']=new Array(

new Option('-请选择县-','0'),
<%
	set rs_s1=server.createobject("adodb.recordset")
	sql="select * from city where shengid="&rs_s("id")&" order by shiorder"
	rs_s1.open sql,conn,1,1
	if rs_s1.recordcount>0 then 
	%>


	<%		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>

<script type="text/javascript">
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function checkform(){
 if(document.formpub.anclass.value == '0') {
    alert("请选择品牌");
    formpub.anclass.focus();
    return false;
  }
   if(document.formpub.nclass.value == '0') {
    alert("请选择系列");
    formpub.nclass.focus();
    return false;
  }
      if(checkspace(document.formpub.model.value)) {
    alert("车型不能为空");
    formpub.model.focus();
    return false;
  }

     if(checkspace(document.formpub.address.value)) {
    alert("联系地址不能为空");
    formpub.address.focus();
    return false;
  }
   if(checkspace(document.formpub.linkname.value)) {
    alert("联系人不能为空");
    formpub.linkname.focus();
    return false;
  }
     if(checkspace(document.formpub.tel.value)) {
    alert("联系电话不能为空");
    formpub.tel.focus();
    return false;
  }

    }
</script>
<script>
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>

<body>
<div align="center">
<table width="95%" border="1" bordercolor="#C0C0C0" style="border-collapse: collapse" cellspacing="1" cellpadding="3">
<form name="formpub" method="post"  onsubmit="return checkform()" action="saveprice.asp?action=edit&id=<%=id%>" onsubmit="return checkform()">
  <tr>
   <td  colspan="3" bgcolor="#E8F1FF">
   <p align="center">修改报价</b></td>
  </tr>
  <tr>
   <td  colspan="3" bgcolor="#F7F7F7">
   　</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">品牌</span></td>
   <td width="454" bgcolor="#F7F7F7">
   					<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 rs("anclass")=rs1_s("anclassid") then
          tmppingpaiid=rs1_s("anclassid")
        
%>

          <option value="<%=rs1_s("anclassid")%>" selected ><%=rs1_s("letter")%>-<%=trim(rs1_s("anclass"))%><%=tmppingpaiid%></option>
          <%
     else
%>
          <option value="<%=rs1_s("anclassid")%>" ><%=rs1_s("letter")%>-<%=trim(rs1_s("anclass"))%></option>
            <%
     end if    


  
 
    rs1_s.movenext
wend
rs1_s.close
set rs1_s=nothing
%> </select>
<font color="#ff6600">*</font></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">系列</span></td>
   <td width="454" bgcolor="#F7F7F7"><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 rs("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></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">车型</span></td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="model"  value="<%=rs("model")%>" >
<font color="#ff6600">*</font>　</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">照片</span></td>
   <td width="454" bgcolor="#F7F7F7"><%
					ServerName1=Cstr(Request.ServerVariables("HTTP_REFERER"))
					%><input class="wenbenkuang" maxLength="40" name="pic" value="<%=rs("pic")%>"  > <input  type="button" name="Submit2" value="上传图片" onClick="window.open('../Up_byshopPic2.asp?formname=formpub&editname=pic&byshopuppath=upload/price&filelx=jpg&ServerName1=<%=ServerName1%>','','status=no,scrollbars1=no,top=20,left=110,width=420,height=165')" class="go-wenbenkuang"> </td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">照片</span>1</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pic1" value="<%=rs("pic1")%>"  > 
					<input  type="button" name="Submit8" value="上传图片" onClick="window.open('../Up_byshopPic2.asp?formname=formpub&editname=pic1&byshopuppath=upload/price&filelx=jpg&picclass=1&ServerName1=<%=ServerName1%>','','status=no,scrollbars1=no,top=20,left=110,width=420,height=165')" class="go-wenbenkuang"> </td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">照片2</span></td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pic2" value="<%=rs("pic2")%>"  > 
					<input  type="button" name="Submit9" value="上传图片" onClick="window.open('../Up_byshopPic2.asp?formname=formpub&editname=pic2&byshopuppath=upload/price&filelx=jpg&picclass=1&ServerName1=<%=ServerName1%>','','status=no,scrollbars1=no,top=20,left=110,width=420,height=165')" class="go-wenbenkuang"> </td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	照片3</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pic3" value="<%=rs("pic3")%>"  > 
					<input  type="button" name="Submit10" value="上传图片" onClick="window.open('../Up_byshopPic2.asp?formname=formpub&editname=pic3&byshopuppath=upload/price&filelx=jpg&picclass=1&ServerName1=<%=ServerName1%>','','status=no,scrollbars1=no,top=20,left=110,width=420,height=165')" class="go-wenbenkuang"> </td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	照片4</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pic4" value="<%=rs("pic4")%>"  > 
					<input  type="button" name="Submit11" value="上传图片" onClick="window.open('../Up_byshopPic2.asp?formname=formpub&editname=pic4&byshopuppath=upload/price&filelx=jpg&picclass=1&ServerName1=<%=ServerName1%>','','status=no,scrollbars1=no,top=20,left=110,width=420,height=165')" class="go-wenbenkuang"> </td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	照片5</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pic5" value="<%=rs("pic5")%>"  > 
					<input  type="button" name="Submit12" value="上传图片" onClick="window.open('../Up_byshopPic2.asp?formname=formpub&editname=pic5&byshopuppath=upload/price&filelx=jpg&picclass=1&ServerName1=<%=ServerName1%>','','status=no,scrollbars1=no,top=20,left=110,width=420,height=165')" class="go-wenbenkuang"> </td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	参考价</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="consult_price" value="<%=rs("consult_price")%>"  >
					<span lang="zh-cn">元</span></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	售价</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="price" value="<%=rs("price")%>" ONKEYPRESS="event.returnValue=IsDigit();" >
					<font color="#ff6600">* </font>
					<span lang="zh-cn">元</span> (<span lang="zh-cn"> 限数字</span> 
					)</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	油耗</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="oil_wear" value="<%=rs("oil_wear")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">排量</span></td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="displacement" value="<%=rs("displacement")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	长/宽/高(mm)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="long_width_hight" value="<%=rs("long_width_hight")%>"  > </td>
  </tr>
  <tr>
   <td width="672" bgcolor="#F7F7F7" colspan="3"><span lang="zh-cn">基本参数</span></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	驱动形式</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="drive_form" value="<%=rs("drive_form")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	生产状态</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="production_estate" value="<%=rs("production_estate")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	保修政策</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="repair_policy" value="<%=rs("repair_policy")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	燃油类型</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="fuel_type" value="<%=rs("fuel_type")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	燃油标号(#)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="fuel_tab" value="<%=rs("fuel_tab")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	排放标准</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="let_standard" value="<%=rs("let_standard")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	最高车速</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="tiptop_pace" value="<%=rs("tiptop_pace")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	上市时间</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="market_time" value="<%=rs("market_time")%>" ></td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3">整车参数</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	轮距(前/后)(mm)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="tread" value="<%=rs("tread")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	油箱容积(L)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="oil_box" value="<%=rs("oil_box")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	整备质量(kg)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="quality" value="<%=rs("quality")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	轴距(mm)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="wheelbase" value="<%=rs("wheelbase")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	行李箱容积(L)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="boot_trunk" value="<%=rs("boot_trunk")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	座位数</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pew_seat_count" value="<%=rs("pew_seat_count")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	车门数</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="vehicle_door_count" value="<%=rs("vehicle_door_count")%>"  ></td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3"><span lang="zh-cn">发动机及相关参数</span></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	发动机位置</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="engine_place" value="<%=rs("engine_place")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	压缩比</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="compression_ratio" value="<%=rs("compression_ratio")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	0-100km/h加速时间(s)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="speedup_time" value="<%=rs("speedup_time")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	缸数(个)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="crock_count" value="<%=rs("crock_count")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	最大功率(Kw/rpm) </td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="most_power" value="<%=rs("most_power")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	每缸气门数(个)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="pre_crock_valve_count" value="<%=rs("pre_crock_valve_count")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	最大扭矩(N · m/rpm)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="most_pitch_of_strand" value="<%=rs("most_pitch_of_strand")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	增压方式</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="supercharge_fashion" value="<%=rs("supercharge_fashion")%>"  ></td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3"><span lang="zh-cn">底盘及相关参数</span></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	转向器型式</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="turning" value="<%=rs("turning")%>" ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	制动器类型(前/后)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="trig" value="<%=rs("trig")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	轮胎规格</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="tyre" value="<%=rs("tyre")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	悬挂型式(前/后)</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="append" value="<%=rs("append")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	分动器类型</td>
   <td width="454" bgcolor="#F7F7F7">
   					<input class="wenbenkuang" maxLength="40" name="transfer_case" value="<%=rs("transfer_case")%>" ></td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3"><span lang="zh-cn">外部装置</span></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7" valign="top">
	可选颜色</td>
   <td width="454" bgcolor="#F7F7F7">
   					<textarea class="smallarea" style="FONT-FAMILY: 宋体" name="option_color" rows="10" cols="50" class="wenbenkuang" ><%=rs("option_color")%></textarea></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7" valign="top">
	标准配置</td>
   <td width="454" bgcolor="#F7F7F7">
   					<textarea class="smallarea" style="FONT-FAMILY: 宋体" name="standard_collocate" rows="10" cols="50" class="wenbenkuang" ><%=rs("standard_collocate")%></textarea></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7" valign="top">
	选装配置</td>
   <td width="454" bgcolor="#F7F7F7">
   					<textarea class="smallarea" style="FONT-FAMILY: 宋体" name="option_collocate" rows="10" cols="50" class="wenbenkuang" ><%=rs("option_collocate")%></textarea></td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3"><span lang="zh-cn">联系方式</span></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	<span lang="zh-cn">交易地址</span></td>
   <td width="454" bgcolor="#F7F7F7">
<select size="1" name="province" onChange=chsel()  class="wenbenkuang">
          <option value="xxx" selected>--不限省份--</option>
          <%dim tmpShengid
tmpShengid=0
set rs_s=server.createobject("adodb.recordset")
sql="select * from province  order by shengorder"
rs_s.open sql,conn,1,1
while not rs_s.eof%>
    <%
           if rs("province")=rs_s("ShengNo") then
          tmpShengid=rs_s("id")
%>
          <option value="<%=rs_s("ShengNo")%>" selected ><%=trim(rs_s("ShengName"))%></option>
          <%
     else
%>
          <option value="<%=rs_s("ShengNo")%>" ><%=trim(rs_s("ShengName"))%></option>
            <%
     end if        
 
    rs_s.movenext
wend
rs_s.close
set rs_s=nothing
%>
        </select><select size="1" size="18" name="city"  class="wenbenkuang"  >
                        <option value="" >--不限城市--</option>

            

 <%
set rs_s=server.createobject("adodb.recordset")
sql="select * from city where shengid="&tmpShengid&" order by shiorder"
rs_s.open sql,conn,1,1
while not rs_s.eof
%>
  <option value="<%=rs_s("ShiNo")%>" <%if rs("city")=rs_s("ShiNo") then%>selected<%end if%>><%=trim(rs_s("ShiName"))%></option>

      
          <%
    rs_s.movenext
wend
rs_s.close
set rs_s=nothing
%>
					 </select>
					　</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
					联系地址</td>
   <td width="454" bgcolor="#F7F7F7">

					<input class="wenbenkuang" maxLength="40" name="address"  value="<%=rs("address")%>"><font color="#ff6600"> *</font></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	联 系 人</td>
   <td width="454" bgcolor="#F7F7F7">

					<input class="wenbenkuang" maxLength="15" name="linkname"   value="<%=rs("linkname")%>" ><font color="#ff6600"> *</font></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
					联系电话</td>
   <td width="454" bgcolor="#F7F7F7">

					<input class="wenbenkuang" maxLength="15" name="tel"   value="<%=rs("tel")%>"  ><font color="#ff6600"> *</font></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	手机号码</td>
   <td width="454" bgcolor="#F7F7F7">

					<input class="wenbenkuang" maxLength="11" name="mobile"   value="<%=rs("mobile")%>"></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	即时通讯</td>
   <td width="454" bgcolor="#F7F7F7">

					<input id="Contract_QQ" type="radio"  value="qq" <%if rs("Contract")="qq" then %> CHECKED <%end if%> name="Contract"><label for="Contract_QQ">QQ</label>
	<input id="Contract_MSN" type="radio" value="msn" name="Contract"  <%if rs("Contract")="msn" then %> <%end if%>><label for="Contract_MSN">MSN</label> 
					<input class="wenbenkuang" maxLength="15" name="Contract2" value=<%=rs("contract2")%> ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	电子邮件</td>
   <td width="454" bgcolor="#F7F7F7">

					<input class="wenbenkuang" maxLength="40" name="email"   value="<%=rs("email")%>"></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
					<span lang="zh-cn">传真号码</span></td>
   <td width="454" bgcolor="#F7F7F7">

					<input class="wenbenkuang" maxLength="15" name="fax"   value="<%=rs("fax")%>"></td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3">信息状态</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	审核状态</td>
   <td width="454" bgcolor="#F7F7F7">
   					<select name="estate" >
  <option value="1" <%if rs("estate")=1 then %>selected <%end if%> >通过</option>
   <option value="0" <%if rs("estate")=0 then %>selected <%end if%> >待审核</option>
    <option value="-1" <%if rs("estate")=-1 then %>selected <%end if%> >未通过</option>
</select></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	浏览次数</td>
   <td width="454" bgcolor="#F7F7F7">
					<input class="wenbenkuang" maxLength="40" name="browse_count" value="<%=rs("browse_count")%>"  ></td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	发布者</td>
   <td width="454" bgcolor="#F7F7F7"><%
  color=""
  if rs("username") <>"" then
				set rs4=server.createobject("adodb.recordset")
sql4="select company,username,userid,sort,reglx from pysjzx_user  where username='"&rs("username")&"'"
rs4.open sql4,conn,1,1
if not rs4.eof then
if rs4("reglx")=2 then
color="<font color='#008080'>"
end if
if rs4("sort")=2 then
response.write "<a href=listcompany.asp?id="&rs4("userid")&" target=_blank>"&color&rs4("company")&"</a>"
end if
rs4.close
else
response.write "该经销商已删除"
end if
else
response.write "<font color='#ff0000'>本站发布</font>"
end if
%>　</td>
  </tr>
  <tr>
   <td width="188" bgcolor="#F7F7F7">　</td>
   <td width="110" bgcolor="#F7F7F7">
	发布日期</td>
   <td width="454" bgcolor="#F7F7F7"><%=rs("adddate")%>
   					　</td>
  </tr>
  <tr>
   <td width="752" bgcolor="#F7F7F7" colspan="3">　</td>
  </tr>
 <tr> 
  <td valign="top"  colspan="3" bgcolor="#F7F7F7"><div align="center">&nbsp<input type="submit" name="Submit" value="修  改"  class=wenbenkuang > <input type="reset" name="Submit7" value="清  除"  class=wenbenkuang >
	<input class="unnamed5" onclick="javascript:history.go(-1)" type="button" value="返回上一页" name="button"></div>
	</td>
 </tr>
   </form>
   </table>
</div>
</body>
</html>