BVB Source Codes

PeterCMS3 v3.2 Show admin_onepage.asp Source code

Return Download PeterCMS3 v3.2: download admin_onepage.asp Source code - Download PeterCMS3 v3.2 Source code - Type:.asp
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  5. <title>onepage</title>
  6. <link href="petercms3.css" rel="stylesheet" type="text/css" />
  7. </head>
  8.  
  9. <body>
  10. <%
  11. '=====================================================================================================
  12. 'PeterCMS 3.2
  13. 'www.sirensoft.cn
  14. 'SIREN工作室版权所有!
  15. 'QQ:272745495
  16. 'MAIL:siren_315@126.com
  17. 'TEL:还是保密吧
  18. '=====================================================================================================
  19. %>
  20. <!-- #include file="system/system.asp" -->
  21. <%
  22.  
  23.  
  24. condb "admin"
  25. '检测登陆和登陆信息'
  26. chkcookies "no",""
  27. clodb
  28.  
  29. dim act,f
  30. act=request("act")
  31.  
  32. condb "b"
  33.  
  34. if act="" then
  35. %>
  36. <table width="98%" border="1" cellspacing="0" cellpadding="0">
  37.   <tr>
  38.     <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  39.       <tr>
  40.         <td><div align="center" class="dingbat">单页面管理</div></td>
  41.       </tr>
  42.     </table>
  43.         <table width="100%" border="0" cellspacing="3" cellpadding="0">
  44.           <tr>
  45.             <td class="small"><%=showop%></td>
  46.           </tr>
  47.       </table></td>
  48.   </tr>
  49. </table>
  50. <%
  51. elseif act="add" then
  52. %>
  53. <form id="form1" name="form1" method="post" action="?act=toadd">
  54.   <table width="98%" border="1" cellspacing="0" cellpadding="0">
  55.     <tr>
  56.       <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  57.           <tr>
  58.             <td><div align="center" class="dingbat">新建单页面</div></td>
  59.           </tr>
  60.         </table>
  61.           <table width="100%" border="0" cellspacing="3" cellpadding="0">
  62.             <tr>
  63.               <td class="small"><table border="0" cellspacing="3" cellpadding="3">
  64.                   <tr>
  65.                     <td>排序机制:</td>
  66.                     <td><input name="idp" type="text" class="navLink" id="idp"  onkeypress="event.returnValue=IsDigit();" value="0" size="10" maxlength="10" /></td>
  67.                   </tr>
  68.                   <tr>
  69.                     <td>页面标题:</td>
  70.                     <td><input name="name" type="text" class="navLink" id="name" size="40" maxlength="50" /></td>
  71.                   </tr>
  72.                   <tr>
  73.                     <td valign="top">页面内容:</td>
  74.                     <td><!-- 编辑器 -->
  75.                         <script language="JavaScript1.2" type="text/javascript">
  76. _editor_url = "editor/";
  77. var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
  78. if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
  79. if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
  80. if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
  81. if (win_ie_ver >= 5.5) {
  82.   document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
  83.   document.write(' language="Javascript1.2"></scr' + 'ipt>');  
  84. } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
  85. // --></script>
  86.                         <textarea name="cont" cols="75" rows="20" id="regpact" style="width:800; height:150"> </textarea>
  87.                         <script language="JavaScript1.2" type="text/javascript">
  88. editor_generate('cont');
  89.       </script>
  90.                         <!-- 编辑器 -->
  91.                     </td>
  92.                   </tr>
  93.                   <tr>
  94.                     <td>&nbsp;</td>
  95.                     <td><input type="submit" name="Submit" value="新 建" /></td>
  96.                   </tr>
  97.               </table></td>
  98.             </tr>
  99.         </table></td>
  100.     </tr>
  101.   </table>
  102. </form>
  103. <%
  104. elseif act="edit" then
  105. showop1 request("id")
  106. %>
  107. <form id="form1" name="form1" method="post" action="?act=toedit">
  108.   <table width="98%" border="1" cellspacing="0" cellpadding="0">
  109.     <tr>
  110.       <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  111.           <tr>
  112.             <td><div align="center" class="dingbat">编辑单页面</div></td>
  113.           </tr>
  114.         </table>
  115.           <table width="100%" border="0" cellspacing="3" cellpadding="0">
  116.             <tr>
  117.               <td class="small"><table border="0" cellspacing="3" cellpadding="3">
  118.                   <tr>
  119.                     <td>排序机制:</td>
  120.                     <td><input name="idp" type="text" class="navLink" id="idp"  onkeypress="event.returnValue=IsDigit();" value="<%=idp%>" size="10" maxlength="10" /></td>
  121.                   </tr>
  122.                   <tr>
  123.                     <td>页面标题:</td>
  124.                     <td><input name="name" type="text" class="navLink" id="name" value="<%=name%>" size="40" maxlength="50" /></td>
  125.                   </tr>
  126.                   <tr>
  127.                     <td valign="top">页面内容:</td>
  128.                     <td><!-- 编辑器 -->
  129.                         <script language="JavaScript1.2" type="text/javascript">
  130. _editor_url = "editor/";
  131. var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
  132. if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
  133. if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
  134. if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
  135. if (win_ie_ver >= 5.5) {
  136.   document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
  137.   document.write(' language="Javascript1.2"></scr' + 'ipt>');  
  138. } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
  139. // --></script>
  140.                         <textarea name="cont" cols="75" rows="20" id="regpact" style="width:800; height:150"><%=cont%></textarea>
  141.                         <script language="JavaScript1.2" type="text/javascript">
  142. editor_generate('cont');
  143.       </script>
  144.                         <!-- 编辑器 -->
  145.                     </td>
  146.                   </tr>
  147.                   <tr>
  148.                     <td><input name="id" type="hidden" id="id" value="<%=request("id")%>" /></td>
  149.                     <td><input type="submit" name="Submit" value="编 辑" /></td>
  150.                   </tr>
  151.               </table></td>
  152.             </tr>
  153.         </table></td>
  154.     </tr>
  155.   </table>
  156. </form>
  157. <%
  158. elseif act="del" then
  159. %>
  160. <table width="98%" border="1" cellspacing="0" cellpadding="0">
  161.   <tr>
  162.     <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  163.       <tr>
  164.         <td><div align="center" class="dingbat">删除单页面</div></td>
  165.       </tr>
  166.     </table>
  167.         <table width="100%" border="0" cellspacing="3" cellpadding="0">
  168.  
  169.           <tr>
  170.             <td class="small">
  171. &nbsp;&nbsp;&nbsp;您确定要删除这个单页面么?&nbsp;&nbsp;&nbsp;&nbsp;
  172. <a href="?act=todel&id=<%=request("id")%>">是</a>&nbsp;&nbsp;&nbsp;
  173. <a href="#" onclick="history.go(-1);">否</a>
  174. </td>
  175.           </tr>
  176.         </table>
  177.     </td>
  178.   </tr>
  179. </table>
  180. <%
  181. elseif act="todel" then
  182.         delop request("id")
  183. elseif act="toadd" then
  184.         addop "","",request("name"),request("cont"),request("idp")
  185. elseif act="toedit" then
  186.         addop "yes",request("id"),request("name"),request("cont"),request("idp")
  187. end if
  188.  
  189. clodb
  190. %>
  191. </body>
  192. </html>
  193.  
downloadadmin_onepage.asp Source code - Download PeterCMS3 v3.2 Source code
Related Source Codes/Software:
Subdomain hosting edition v1.9 s taobao, pat - The background site admin 2016-09-21
Imitation green download station perfect version - Before increased | software home page, on the basi... 2016-09-21
C9 v2.1.1 static post system - Program USES ASP + ACC structure design and develo... 2016-09-21
Age design website information management system SDCMS v1.1 SP1 - SDCMS is designed to build the information managem... 2016-09-21
Age design website information management system SDCMS v1.1 SP1 - SDCMS is designed to build the information managem... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
Download IT mop stand (with site to download the database ACC) - Background management: http://www.xxx.com/admin/ad... 2016-09-21
Jie Yang v0.6.3 article system - System functions: 1, the system settings A confi... 2016-09-21
Seven VIP jubilee dance CMS management system - The Admin \ Inc \ Mold_Inc Asp 2016-09-21
126oo CMS film station system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top