www.gusucode.com > 绿色环保工作企业网站源码程序 > admin/Edit_Newpic1.asp
<!--#include file="conn.asp"--> <!--#include file="admin.asp"--> <%if Request.QueryString("action")="Edit" then pic1=Request("pic1") movie1=request("movie1") If pic1="" Then response.write "SORRY <br>" response.write "请输入图片地址" response.end end if If movie1="" Then response.write "SORRY <br>" response.write "请输入连接地址" response.end end if Set rs = Server.CreateObject("ADODB.Recordset") sql="select * from newpic where id=1" rs.open sql,conn,1,3 rs("pic1")=pic1 rs("movie1")=movie1 rs.update rs.close response.redirect "Admin_newpic.asp" end if %> <!-- #include file="Inc/Head.asp" --> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="top"> <br> <strong><br> </strong> <br> <br> <table width="560" border="0" cellpadding="2" cellspacing="1" class="table_southidc"> <tr> <td class="back_southidc" height="25"> <div align="center"><strong>首页FLASH图片 <br> </strong></div></td> </tr> <tr class="tr_southidc"> <td><div align="center"> <table width="100%" border="0" cellspacing="2" cellpadding="3"> <FORM name=myform action="Edit_newpic1.asp?action=Edit" method=post> <tr bgcolor="#DFEBF2"> <td height="22"> <div align="center">图片地址:</div></td> <td><input name="pic1" type="text" size="16" maxlength="20"></td> <td height="22"> <div align="center">连接地址:</div></td> <td><input name="movie1" type="text" size="16" maxlength="20"></td> <td> <div align="center"><INPUT type=submit value='确认修改' name=Submit2></div></td> </tr> </table> </div></td> </tr> </table> <br> <br> </td> </tr> </table> <!-- #include file="Inc/Foot.asp" -->