日期:2014-05-17 浏览次数:20883 次
<%if Request.QueryString("mark")="southidc" then%> <% P_title=Trim(Request("P_title")) P_leixing=Request("P_leixing") P_content=Request("P_content") %> <% Set rs = Server.CreateObject("ADODB.Recordset") sql="select * from P_News" rs.open sql,conn,1,3 rs.addnew rs("P_title")=P_title rs("P_leixing")=P_leixing rs("P_content")=P_content rs.update rs.close response.redirect "news_manage.asp" end if %> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="top"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="5"></td> </tr> <tr> <td height="25" bgcolor="#4F81F7"> <font color="#FFFFFF">::<strong>添加新闻</strong></font></td> </tr> <tr> <td height="10"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1"> <tr> <td align="left"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="eff0eb"> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="0"> <form method="post" name="myform" action="?mark=southidc"> <tr bgcolor="eff0eb"> <td width="120" height="25" align="right">新闻标题:</td> <td width="374"><input name="P_title" type="text" id="P_title" size="20"></td> <td width="688">栏目类型: <select name="P_leixing"> <option value="1">最新动态</option> <option value="0">常见问题</option> </select></td> </tr> <tr bgcolor="eff0eb"> <td width="120" height="25" align="right" bgcolor="eff0eb">新闻内容:</td> <td colspan="2"> <input type="hidden" name="P_content" value=""> <iframe ID="eWebEditor1" src="Southidceditor/ewebeditor.htm?id=P_content&style=" frameborder="0" scrolling="no" width="96%" HEIGHT="450"></iframe> </td> </tr> <tr align="center" bgcolor="eff0eb"> <td height="25" colspan="3"><input type="submit" name="Submit" value=" 添 加 " /> </td> </tr> </form> </ta