template.asp

来自「这是我根据动网新闻核心自行设计的校园新闻系统」· ASP 代码 · 共 36 行

ASP
36
字号
<%
pageadmin=10
%>
<!--#include file="../login/check.asp" -->
<!-- #include file="../../inc/conn.asp" -->
<!-- #include file="../../inc/function.asp" -->
<!--#include file="../category/category_class.asp"-->
<link rel="stylesheet" href="../../inc/lbstyle.css" type="text/css">
<body>
<!--#include file="template_class.asp" -->
<%
Dim tp
Set tp=new LBTemplate
Dim action
action=LCase(Request.QueryString("action"))
If InStr("add,list,modify,delete,set",action)=0 Then
	Response.Write "错误的参数"
	Response.End
End If
Select Case action
  Case "add"
	tp.AddPage()
  Case "modify"
	tp.ModifyPage()
  Case "delete"
	tp.DeletePage()
  Case "list"
	tp.ListPage()
  Case Else
End Select
conn.close
set conn=nothing
set ct=nothing
Set tp=Nothing
%>
</body>

⌨️ 快捷键说明

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