www.gusucode.com > 艺帆全站DIV+CSS体育用品公司网站源码 1.7.5源码程序 > i5808/add_about.asp
<!--#include file="../Conn.asp" --> <% Dim htmlData htmlData = Request.Form("body") Function htmlspecialchars(str) str = Replace(str, "&", "&") str = Replace(str, "<", "<") str = Replace(str, ">", ">") str = Replace(str, """", """) htmlspecialchars = str End Function %> <!--#include file="seeion.asp"--> <!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=utf-8" /> <link rel="stylesheet" type="text/css" id="css" href="images/style.css"> <link rel="stylesheet" href="themes/default/default.css" /> <SCRIPT language=JavaScript src="../js/digital.js" type=text/javascript ></SCRIPT> <link rel="stylesheet" href="plugins/code/prettify.css" /> <script charset="utf-8" src="kindeditor.js"></script> <script charset="utf-8" src="lang/zh_CN.js"></script> <script charset="utf-8" src="plugins/code/prettify.js"></script> <script> KindEditor.ready(function(K) { var editor1 = K.create('textarea[name="body"]', { cssPath : 'plugins/code/prettify.css', uploadJson : 'asp/upload_json.asp', fileManagerJson : 'asp/file_manager_json.asp', allowFileManager : true, afterCreate : function() { var self = this; K.ctrl(document, 13, function() { self.sync(); K('form[name=add]')[0].submit(); }); K.ctrl(self.edit.doc, 13, function() { self.sync(); K('form[name=add]')[0].submit(); }); } }); prettyPrint(); }); </script> <title>增加页面</title> </head> <body> <form name="add" method="post" action="add_about_pass.asp"> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" > <tr> <td height="30" background="images/bg_list.gif"><div style="padding-left:10px; font-weight:bold; color:#0075a9">增加页面</div></td> </tr> <tr> <td bgcolor="#FFFFFF"><%if session("qx")=2 then%><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" > <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8" > <td height="30" width="199" class="td">网页标题</td> <td colspan="2" class="td"> <input name="title" type="text" size="30" /></td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8" > <td height="30" class="td">单页分类</td> <td colspan="2" class="td"><select name="clas" id="select"> <% dim rsc set rsc=server.CreateObject("adodb.recordset") rsc.open "select * from about_fl",conn,1,1 while not rsc.eof response.Write("<option value=""" & rsc("id") & """>" & rsc("title") & "</option>") rsc.movenext wend rsc.close set rsc=nothing %> </select> </td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF"> <td height="30" width="199" class="td">网页关键词</td> <td colspan="2" class="td"><input name="keywords" type="text" size="50" /> , 分开</td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8"> <td height="30" width="199" class="td">网页描述</td> <td colspan="2" class="td"><input name="description" type="text" size="50" /></td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF"> <td height="30" class="td">排序ID</td> <td colspan="2" class="td"><input name="px_id" type="text" size="30" onKeyPress="event.returnValue=IsDigit();"/></td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF"> <td height="3" bgcolor="#F1F5F8" class="td">顶部Bennd</td> <td width="241" bgcolor="#F1F5F8" class="td"><input name="img" type="text" id="img" size="30" maxlength="200" /></td> <td width="837" bgcolor="#F1F5F8" class="td"><iframe style="top:2px" id="UploadFiles" src="upload_Photo.asp?PhotoUrlID=0" frameborder="0" scrolling="No" width="320" height="25"></iframe></td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8"> <td height="30" bgcolor="#FFFFFF" class="td">页面内容<br><script> function oCopy(obj){ obj.select(); js=obj.createTextRange(); js.execCommand("Copy") } </script> 点击一下即可复制<input onClick="oCopy(this)" value="[YiFanPage]" size="13" maxlength="13"> 分页符</td> <td colspan="2" bgcolor="#FFFFFF" class="td"> <textarea name="body" id="body" style="width:700px;height:300px;visibility:hidden;"></textarea></td> </tr> <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF"> <td height="30" bgcolor="#F1F5F8" class="td"> </td> <td colspan="2" bgcolor="#F1F5F8" class="td"><input type="submit" name="button" id="button" value="确认提交" class="btn"/>(提交快捷键: Ctrl + Enter)</td> </tr> </table> <%else%> <div style=" padding:20px;font-size:14px; color:#990000; font-weight:bold; text-align:center">您没有权限操作!</div> <%response.end end if%></td> </tr> </table></form> </body> </html>