📄 save_shop.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../include/code.asp"-->
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<%
set rss = server.createobject("adodb.recordset")
sql="select * from sort where sort_id="&request("sort_id")
rss.open sql,conn,3,3
%>
<html>
<head>
<meta http-equiv="content-language" content="zh-cn">
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 4.0">
<meta name="progid" content="frontpage.editor.document">
<link href="style.css" rel=stylesheet>
</head>
<body style="background-color: #eeeeee">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="1" width="600" bgcolor="#626262">
<tr>
<td height="20"> <b><font color="#ffffff">商品添加</font></b></td>
</tr>
<tr>
<td height="20" bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="500">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<form method="post" action="edit.asp?sort_id=<%=rss("sort_id")%>&action=edit_shop2">
<tr>
<td width="100%" align="left" colspan="2"> </td>
</tr>
<tr>
<td width="29%" align="right" height="25">所属类型:</td>
<td width="71%" height="25"> <select size="1" name="id">
<option value="">请选择类型</option><%
sql="select * from list"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof%>
<option <%if rss("id")=rs("sort_name") then%>selected<%end if%>><%=rs("sort_name")%></option>
<%rs.movenext
loop
rs.close
set rs=nothing
end if%>
</select></td>
</tr>
<tr>
<td width="29%" align="right" height="25">商品名称:</td>
<td width="71%" height="25"> <input type="text" name="sort_name" size="40" value="<%=rss("sort_name")%>"></td>
</tr>
<tr>
<td width="29%" align="right" height="25">商品图片:</td>
<td width="71%" height="25"> <select size="1" name="grade" style="border-style: solid; border-width: 0">
<option <%if rss("grade")="com.gif" then%>selected<%end if%>>com.gif</option>
<option <%if rss("grade")="net.gif" then%>selected<%end if%>>net.gif</option>
<option <%if rss("grade")="org.gif" then%>selected<%end if%>>org.gif</option>
<option <%if rss("grade")="biz.gif" then%>selected<%end if%>>biz.gif</option>
<option <%if rss("grade")="cc.gif" then%>selected<%end if%>>cc.gif</option>
<option <%if rss("grade")="cn.gif" then%>selected<%end if%>>cn.gif</option>
<option <%if rss("grade")="info.gif" then%>selected<%end if%>>info.gif</option>
<option <%if rss("grade")="tv.gif" then%>selected<%end if%>>tv.gif</option>
<option <%if rss("grade")="comcn.gif" then%>selected<%end if%>>comcn.gif</option>
<option <%if rss("grade")="netcn.gif" then%>selected<%end if%>>netcn.gif</option>
<option <%if rss("grade")="orgcn.gif" then%>selected<%end if%>>orgcn.gif</option>
<option <%if rss("grade")="h100.gif" then%>selected<%end if%>>h100.gif</option>
<option <%if rss("grade")="h200.gif" then%>selected<%end if%>>h200.gif</option>
<option <%if rss("grade")="h300.gif" then%>selected<%end if%>>h300.gif</option>
<option <%if rss("grade")="h500.gif" then%>selected<%end if%>>h500.gif</option>
<option <%if rss("grade")="se01.gif" then%>selected<%end if%>>se01.gif</option>
<option <%if rss("grade")="se02.gif" then%>selected<%end if%>>se02.gif</option>
<option <%if rss("grade")="se03.gif" then%>selected<%end if%>>se03.gif</option>
<option <%if rss("grade")="se04.gif" then%>selected<%end if%>>se04.gif</option>
<option <%if rss("grade")="jua.gif" then%>selected<%end if%>>jua.gif</option>
<option <%if rss("grade")="jub.gif" then%>selected<%end if%>>jub.gif</option>
<option <%if rss("grade")="juc.gif" then%>selected<%end if%>>juc.gif</option>
<option <%if rss("grade")="jud.gif" then%>selected<%end if%>>jud.gif</option>
<option <%if rss("grade")="jue.gif" then%>selected<%end if%>>jue.gif</option>
<option <%if rss("grade")="el01.gif" then%>selected<%end if%>>el01.gif</option>
<option <%if rss("grade")="el02.gif" then%>selected<%end if%>>el02.gif</option>
<option <%if rss("grade")="el03.gif" then%>selected<%end if%>>el03.gif</option>
<option <%if rss("grade")="el04.gif" then%>selected<%end if%>>el04.gif</option>
<option <%if rss("grade")="el05.gif" then%>selected<%end if%>>el05.gif</option>
<option <%if rss("grade")="et01.gif" then%>selected<%end if%>>et01.gif</option>
<option <%if rss("grade")="et02.gif" then%>selected<%end if%>>et02.gif</option>
<option <%if rss("grade")="et03.gif" then%>selected<%end if%>>et03.gif</option>
<option <%if rss("grade")="et04.gif" then%>selected<%end if%>>et04.gif</option>
<option <%if rss("grade")="et05.gif" then%>selected<%end if%>>et05.gif</option>
<option <%if rss("grade")="et06.gif" then%>selected<%end if%>>et06.gif</option>
<option <%if rss("grade")="et07.gif" then%>selected<%end if%>>et07.gif</option>
<option <%if rss("grade")="163.gif" then%>selected<%end if%>>163.gif</option>
<option <%if rss("grade")="sohu.gif" then%>selected<%end if%>>sohu.gif</option>
<option <%if rss("grade")="sina.gif" then%>selected<%end if%>>sina.gif</option>
<option <%if rss("grade")="p001.gif" then%>selected<%end if%>>p001.gif</option>
<option <%if rss("grade")="p002.gif" then%>selected<%end if%>>p002.gif</option>
<option <%if rss("grade")="p003.gif" then%>selected<%end if%>>p003.gif</option>
<option <%if rss("grade")="p004.gif" then%>selected<%end if%>>p004.gif</option>
<option <%if rss("grade")="p005.gif" then%>selected<%end if%>>p005.gif</option>
</select></td>
</tr>
<tr>
<td width="29%" align="right" height="25">小 简 介:</td>
<td width="71%" height="25"> <input type="text" name="smalltext" size="40" value="<%=rss("smalltext")%>"></td>
</tr>
<tr>
<td width="29%" align="right" height="25" valign="top">大 简 介:</td>
<td width="71%" height="25"> <textarea rows="10" name="largetext" cols="40"><%=rss("largetext")%></textarea></td>
</tr>
<tr>
<td width="29%" align="right" height="25">普通价格:</td>
<td width="71%" height="25"> <input type="text" name="price" size="20" value="<%=rss("price")%>">
/元</td>
</tr>
<tr>
<td width="29%" align="right" height="25" valign="top">注意事项:</td>
<td width="71%" height="25"> <textarea rows="10" name="attention" cols="40"><%=rss("attention")%></textarea></td>
</tr>
<tr>
<td width="29%" align="right" height="25">首页推荐:</td>
<td width="71%" height="25"> <input type="radio" value="true" <%if rss("tj")=true then%>checked<%end if%> name="tj">推荐
<input type="radio" value="false" <%if rss("tj")=false then%>checked<%end if%> name="tj">不推荐</td>
</tr>
<tr>
<td width="100%" colspan="2" height="30">
<p align="center"><input type="submit" value=" 提交 " name="b3">
<input type="reset" value="全部重写" name="b3"></td>
</tr>
<tr>
<td width="100%" colspan="2"> </td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<%
rss.close
set rss=nothing
conn.close
set conn=nothing
%>
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -