<!--#include file="../inc.asp"-->
<!--#include file="../ydzq1.asp"-->
<!--#include file="conn.asp"-->
<%call body(1,"礼品管理")
Response.Expires = -1
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "Cache-Control", "no-cache, must-revalidate"

response.write("<form action='WAP2_Upfileph.asp?ve="&ve&"&amp;sid="&sid&"' enctype='multipart/form-data' method='post'>")
response.write "选择分类:<select name='photoview'><option>分类列表</option>"
set rs=server.createobject("ADODB.Recordset")
rs.open"select * from lx order by id desc",Giftsconn,1,1
dim j
j=1
do while not rs.eof
Response.write "<option value='" & ubb(rs("id")) & "'>" & ubb(rs("nane")) & "</option>"
j=j+1
rs.movenext
loop
rs.close
set rs=nothing
Response.write "</select><br/>"
conn.close
set conn=nothing
Giftsconn.close
set Giftsconn=nothing%> 
商品名称:<input type="text" name="photoContent" maxlength="10" value=""><br/>
商品简介:<input type="text" name="photoContent1" maxlength="30" value=""><br/>
销售金额:<input type="text" name="paycent" emptyok="true" format="*N" size="6" value="0"/><%=getcent%><br/>
销售数量:<input type="text" name="paycent1" emptyok="true" format="*N" size="6" value="0"/>件<br/>
选择相片:<input type="file" name="filefield1"><br/>  
<input type="submit" name="Submit2" value="上传相片">
<br/><br/>1.建议所上传文件名和目录组合是字母与数字.
<br/>2.上传的图片格式支持jpg,jpeg,gif,bmp,png.
<br/><a href='admin.asp?ve=<%=ve%>&amp;sid=<%=sid%>'>返回管理</a><br/><%call body(2,"")%>
