www.gusucode.com > 凡人网络购物系统 2008源码程序 > Admin/ad_edithuo.asp
<!--#include file="conn.asp"--> <!--#include file="ad_chk.asp"--> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <link href=inc/css.css rel=STYLESHEET type=text/css> <body topmargin="5" leftmargin="5" rightmargin="5" bottommargin="5"> <% if Request.Cookies("venshop")("admin_class")<>0 then response.write "你没有这个权限!" response.end end if %> <% huo_id=request("huo_id") if request("action")="save" then set rs=server.createobject("adodb.recordset") sql="select * from venshop_huo where huo_id="&huo_id&"" rs.open sql,conn,1,3 rs("huo_name")=request("huo_name") rs("sub_number")=request("sub_number") rs("huo_fadate")=request("huo_fadate") rs("huo_pic")=request("huo_pic") rs("huo_content")=request("huo_content") rs.update rs.close set rs=nothing call editok(editt,"ad_edithuo.asp?huo_id="&huo_id,"ad_fahuo.asp") else set rs=server.createobject("adodb.recordset") sql="select * from venshop_huo where huo_id="&huo_id&"" rs.open sql,conn,1,1%> <table border="0" cellpadding="5" cellspacing="0" class="st"> <form method="POST" name="form" action="ad_edithuo.asp?action=save&huo_id=<%=huo_id%>"> <tr><td class="s1">发货标题:<input type="text" name="huo_name" size="20" class=input value="<%=rs("huo_name")%>"></td></tr> <tr><td class="s0">订 单 号:<input type="text" name="sub_number" size="20" class=input value="<%=rs("sub_number")%>"></td></tr> <tr><td class="s1">发货时间:<input type="text" name="huo_fadate" size="20" class=input value="<%=rs("huo_fadate")%>"> </td></tr> <tr><td class="s0">底单图片:<input type="text" name="huo_pic" size="20" class=input value="<%=rs("huo_pic")%>"> </td></tr> <tr><td valign="top" class="s1"> <iframe name="I1" src="upfileother.asp?atype=huo_pic" width="587" height="26" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0"></iframe> </td></tr> <tr><td valign="top" class="s0">详细说明:<br><!--#include file="ad_in.asp"--></td></tr> <tr><td class="s1"> <input type="submit" value=" 修改 " name="B1" onClick="document.form.huo_content.value = frames.message.document.body.innerHTML;" > <input name="huo_content" type="hidden" id="huo_content" value=""></td></tr></form> </table> <%rs.close set rs=nothing end if %><!--#include file="ad_bottom.asp"-->