www.pudn.com > WiiProduct.rar > productAdd.asp, change:2009-02-24,size:1920b


<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> 
<%Response.CodePage=65001%> 
<%Response.Charset="UTF-8"%> 
<!--#include file="getHeader.asp"--> 
<!--#include file="adminCheck.asp"--> 
<!--#include file="../inc/db_conn_admin.asp"--> 
<?xml version="1.0" encoding="utf-8"?> 
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
 <head> 
  <meta http-equiv="Content-Type" content="<%=header%>; charset=utf-8" /> 
  <link rel="stylesheet" href="admin.css" type="text/css"/> 
  <title> 添加产品 </title> 
 </head> 
 
 <body> 
	<form action="productAdd_do.asp" method="post"> 
		<h2>添加产品</h2> 
		<%If isProductSort="1" then%> 
		<select name="sort"> 
			<option value="-1" selected>请选择分类</option> 
			<% 
			sqlStr="select * from WP_productSort order by productSort_order asc" 
			set rs = server.createobject("ADODB.RecordSet") 
			rs.open sqlStr,conn,1,1 
			If rs.eof Then 
				response.redirect "error.asp?err=1607" 
				response.End 
			else 
				do while not rs.eof 
					response.write "<option value='"&rs("productSort_id")&"'>" 
					response.write rs("productSort_name") 
					response.write "</option>" 
				rs.movenext 
				Loop 
			End if 
			rs.close 
			Set rs=Nothing 
			Set conn=nothing 
			%> 
		</select><br/> 
		<%End if%> 
		图片:<input type="text" name="pic" value="<%=session("pic_product")%>"/> <a href="picUp.asp?t=product">上传图片</a><br/> 
		名称:<input type="text" name="name"/><br/> 
		简介:<br/> 
		<textarea name="intro" rows="4" cols="20"></textarea> 
		<br/><br/> 
		详情:<br/> 
		<textarea name="detail" rows="12" cols="20"></textarea> 
		<br/> 
		<input type="submit" value="添加"/> 
	</form> 
	<hr/> 
	【<a href="main.asp">返回主菜单</a>】<br/> 
	<br/> 
	Copyright(c)<a href="http://www.wiipu.com/wap">微普科技</a> 
 </body> 
</html>