www.gusucode.com > 盐城分类信息网asp源码程序 > admin/listabout_add.asp
<!--#include file=conn.asp--> <!--#include file=cookies.asp--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> <style type="text/css"> <!-- body { background-color: #E7EEF5; margin-top: 30px; } --> </style></head> <script language = "JavaScript"> function cc(){ IframeID.document.body.innerHTML=document.all("content").value; document.all("content").value=""; } function chk() {document.all("content").value=IframeID.document.body.innerHTML;} </script> <body onload="cc()"> <%set rs=server.createobject("adodb.recordset") sql="select * from lgwzjs_contact where id=1" rs.open sql,conn,1,1%> <table width="88%" border="1" align="center" cellpadding="3" cellspacing="0" bordercolorlight="#335078" bordercolordark="#FFFFFF" bgcolor="#C5D5E4"> <form name="g_form" method="post" action="about_save.asp" onsubmit="return chk()"> <tr> <td height="30" align="center"><strong>网站公告管理</strong></td> </tr> <tr> <td align="center" bgcolor="#DBE4EE"> <textarea name="contact" style="display:none"> <%=rs("contact")%> </textarea> <iframe ID="Editor" name="Editor" src="../HtmlEditor/index.html?ID=contact"" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320px;width:100%"></iframe> </td> </tr> <tr> <td align="center" bgcolor="#EBF0F5"><input type="submit" value="添加公告"> </td> </tr> </form> </table> </body> </html>