<!-- #include file="conn.asp"-->
<!--#include file="checkUser_free.asp"-->
<html>
<head>
<title>我有车出租</title>
<link href="css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="100%" height="121" bgcolor="#f8f8f8">
<table width="100%" border=0 align="center" cellPadding=2 cellSpacing=1 borderColorLight="#666666" borderColorDark=#ffffff bgcolor="#CCCCCC">
        <form method="post" action="save_user_car.asp" name="frmAnnounce" onsubmit="return  validate()">
          <tr bgcolor="#FFFFFF"> 
            <td height="30" colspan="3"> <div align="center"><strong><font size="3">填写要出租的汽车信息</font></strong></div></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="30" align="right">汽车类别：</td>
            <td colspan="2"> <select name="zl_class" id="zl_class">
                <option value="个人闲置车" selected>个人闲置车</option>
                <option value="租赁行汽车">租赁行汽车</option>
              </select></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">汽车名称：</td>
            <td colspan="2"> <input type="text" name="name"   maxlength="50" size="20">
              *</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">座位数：</td>
            <td colspan="2"> <input name="car_big" type="text"   id="car_big" size="20" maxlength="50">
              个 </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">日租价：</td>
            <td colspan="2"> <input name="day_money" type="text"   id="day_money" value="0" size="20" maxlength="50">
              元/日<font color="#FF0000">注：</font> <font color="#FF0000">留空或者填0，则在页面上显示询价功能。</font></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="30" align="right">月租价：</td>
            <td colspan="2"> <input name="month_money" type="text"   id="month_money" value="0" size="20" maxlength="50">
              元/月</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="30" align="right">年租价：</td>
            <td colspan="2"> <input name="year_money" type="text"   id="year_money" value="0" size="20" maxlength="50">
              元/年</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="30" align="right">超公里价：</td>
            <td colspan="2"> <input name="more_money" type="text"   id="more_money" size="20" maxlength="50">
              元/公里</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">所属分类：</td>
            <td colspan="2"> <select name="typeid">
                <%  
sql = "SELECT * FROM type"   
Set rs = Server.CreateObject("ADODB.Recordset")  
rs.OPEN sql,Conn,1,1  
if rs.eof and rs.bof then  
Response.Write"<option>还没有任何分类</option>"  
else  
do while not rs.eof  
Response.Write"<option value='"&rs("id")&"'"  
if typeid=rs("id") then Response.Write" selected"  
Response.Write">"&rs("name")&"</option>"  
rs.movenext  
loop  
end if  
rs.close  
set rs=nothing  
conn.close  
Set conn=Nothing  
%>
              </select>
              * 请选择该产品的归属类型。</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">文件类型：</td>
            <td colspan="2"> <select name="lx">
                <option value="0" selected>图片</option>
              </select>
              注： 仅限*.gif和*.jpg文件</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">小图片：</td>
            <td width="170" height="50"> <input name="smallimg" type="text"   id="img1" size="20" maxlength="200">
              * </td>
            <td width="323" height="50"> 
              <iframe name="Upload" frameborder="0" width="100%" height="30" scrolling="no" src="../smallimg/upload1.asp"></iframe></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">大图片：</td>
            <td width="170" height="50"> <input name="bigimg" type="text"   id="img2" size="20" maxlength="200">
              * </td>
            <td width="323" height="50"> 
              <iframe name="Upload" frameborder="0" width="100%" height="30" scrolling="no" src="../smallimg/upload2.asp"></iframe></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="30" align="right">联系人：</td>
            <td colspan="2"> <input name="user" type="text" id="user" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="30" align="right">联系电话：</td>
            <td colspan="2"> <input name="tel" type="text" id="tel" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="76" height="96" align="right" valign="top"> <font color="#000000">租车说明</font>：</td>
            <td colspan="2" valign="top"> <textarea name="content" cols="40" rows="5" wrap="VIRTUAL"   id="content"></textarea> 
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="28" align="right" valign="top">&nbsp;</td>
            <td height="28" colspan="2" valign="top"> <input type="submit" name="Submit2" value="确定操作"  > 
              <input type="reset" name="Submit" value="重新填写">
              <font color="#FF3300">
              <% if request.cookies("memberid")<>"" then %>
              <input name="memberid" type="hidden" id="memberid" value="<%=request.cookies("memberid")%>">
              <% else %>
              <input name="memberid" type="hidden" id="memberid" value="未注册">
              <% end if %>
              </font> </td>
          </tr>
        </form>
      </table></td>
  </tr>
</table>
</body> 
</html>