/admin/pf_s6.asp
https://github.com/hare1987/kaidun180 · ASP · 84 lines · 75 code · 3 blank · 6 comment · 0 complexity · 2ba21f419c09d3d3497dd7cef12550ef MD5 · raw file
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
- <!--#include file="pf_conn.asp"-->
- <!--#include file="pf_function.asp"-->
- <!--#include file="pf_session.asp"-->
- <%
- call iderror
- If request.Form("submit") = "È·ÈÏÐÞ¸Ä" Then
- 'If request.Form("pf_news_name") = "" Then
- 'Call infoback("ÐÂÎÅÃû³Æ²»ÄÜΪ¿Õ£¡")
- 'End If
- 'If request.Form("pf_news_order") = "" Or Not IsNumeric(request.Form("pf_news_order")) Then
- ' Call infoback("ÅÅÐòÊý×Ö²»ÄÜΪ¿Õ£¬ÇÒ±ØÐëΪÊý×Ö£¡")
- ' End If
- If request.Form("content2") = "" Then
- Call infoback("ÄÚÈݲ»ÄÜΪ¿Õ£¡")
- End If
- Set rs = server.CreateObject("adodb.recordset")
- sql = "select * from pf_custom where id="&request.QueryString("id")&""
- rs.Open sql, conn, 1, 3
- rs("z15") = request.Form("content2")
- rs.update
- Call close_rs
- Call close_conn
-
- set rsop = server.CreateObject("adodb.recordset")
- rsop.open "select * from pf_oprate",conn,1,3
- rsop.addnew
- rsop("pf_op_name") = session("pf_admin_name")
- rsop("pf_op_sources") = "ÐÞ¸Ä¶ÌÆÚ¿Î³ÌÐÅÏ¢"
- rsop.update
- rsop.close
- set rsop = nothing
-
- Call infohref("Ð޸ijɹ¦£¡", "pf_s6.asp?id=1")
- End If
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>¿¶Ù¶ùͯÃÀÓïѧУ»¶ÓÄú!</title>
- <link href="pf_style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <!--#include file="pf_top.asp"-->
- <div id="content">
- <!--#include file="pf_left.asp"-->
- <div id="right">
- <div class="right_title">
- <h1>¶ÌÆÚ¿Î³Ì</h1>
-
- </div>
- <div class="right_body">
- <table>
- <%
- set rs = server.CreateObject("adodb.recordset")
- sql = "select * from pf_custom where id="&request.QueryString("id")&""
- rs.open sql,conn,1,1
- If rs.eof Then
- Call infoback("²»´æÔÚ´ËÊý¾Ý")
- End If
- %>
- <form name="pcfinal" method="post">
- <tr>
- <td width="80" align="center">ÏêϸÄÚÈÝ£º</td>
- <td><textarea name="content2" style="display:none"><%=rs("z15")%></textarea>
- <iframe ID="eWebEditor1" src="ewebeditor/eWebEditor.asp?id=content2&style=standard" frameborder="0" scrolling="no" width="700" HEIGHT="350"></iframe> </td>
- </tr>
- <tr>
- <td colspan="2" align="center"><input type="submit" name="submit" class="submit_button" value="È·ÈÏÐÞ¸Ä" /> </td>
- </tr>
- </form>
- <%
- Call close_rs
- Call close_conn
- %>
- </table>
- </div>
- </div>
- <div class="clear"></div>
- </div>
- <!--#include file="pf_bottom.asp"-->
- </body>
- </html>