create.asp

来自「top-cms内容管理系统」· ASP 代码 · 共 71 行

ASP
71
字号
<%
'###########################################################################################
'*  程序名称: Top-CMS
'*---------------------------------------------------------------------------------------
'*  系统版本: 1.0 0215
'*  版权所有: www.Net-Develop.com
'*  程序设计: 江南行客
'*  联系方式:
'*            OICQ:2503086
'*            EMAIL:net-oa@sohu.com
'*  网站地址: 
'*            http://www.net-develop.com  
'*            http://www.top-cms.com   
'*---------------------------------------------------------------------------------------
'*  Copyright 2004 www.net-develop.com - All Rights Reserved.
'###########################################################################################
%>
<!--#include file="../common/common.asp" -->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/style.css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<%
Set objCMS = Server.CreateObject("TopCMS.CreateCategory")
if objCMS.ChkAdminPower then
	SystemI_Init
	objCMS.OpenDB()
	If Not objCMS.CheckAdminField("CreateCat") Then
        objCMS.OutInfo "对不起,你不具备此项权限。", ""
        Response.End
    End If
	
	If Request.ServerVariables("REQUEST_METHOD")="POST" Then
		objCMS.CreateShtml
	else

	%>	
		<form name="form1" method="post" action="create.asp">
  <table width="100%" border="1" bordercolor="#999999" cellspacing="0" cellpadding="2" align="center">
    <tr> 
      <td colspan="2" background="../Images/default_nav.gif"><font color="#FFFFFF">生成信息栏目&amp;类别页</font></td>
    </tr>
    <tr> 
      <td width="29%" align="right" bgcolor="#EEEEEE">请选择要生成的栏目&amp;类别 </td>
      <td width="71%" bgcolor="#EEEEEE">
        <%
			objCMS.ListCategory
	  %>
      </td>
    </tr>
    <tr> 
      <td colspan="2" align="center" bgcolor="#CCCCCC"> <input type="submit" name="B1" value=" 更新 "> 
        <input type="button" name="B2" value=" 取消 " onclick="history.back();"> 
      </td>
    </tr>
  </table>
</form>
<%
	end if
	objCMS.CloseDB	
else
	objCMS.OutInfo "对不起,您还没有登录,请先登录","Login"
end if
set objCMS=nothing
%>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?