⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e_smallclasskill.asp

📁 zheng fu wang zhan gong neng qi quan
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="chkuser.asp" -->

<%
dim smallclassid
smallclassID = ChkRequest(Request("smallclassID"),1)	'防注入
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from "& db_SmallClass_Table &" where smallclassID=" & smallclassID
rs.Open rs.Source,conn,1,3
set rs2=server.createobject("adodb.recordset")
sql2="select * from "& db_Type_Table &" where typeid="&rs("typeid")
rs2.open sql2,conn,1,3
master=rs2("typemaster")
if master<>"" then
	tmaster=split(master,"|")
	for i=0 to ubound(tmaster)
		if request.cookies(eChuang)("username")=trim(tmaster(i)) then
			typemaster=true
			exit for
		else
			typemaster=false
		end if
	next
end if
rs2.close
set rs2=nothing
set rs2=server.createobject("adodb.recordset")
sql2="select * from "& db_BigClass_Table &" where bigclassid="&rs("bigclassid")
rs2.open sql2,conn,1,3
master2=rs2("bigclassmaster")
if master2<>"" then
	bigmaster=split(master2,"|")
 	for i=0 to ubound(bigmaster)
		if request.cookies(eChuang)("username")=trim(bigmaster(i)) then
			bigclassmaster=true
			exit for
		else
			bigclassmaster=false
		end if
	next
end if

rs2.close
set rs2=nothing
if (request.cookies(eChuang)("key")="bigmaster" and bigclassmaster=true) or request.cookies(eChuang)("key")="super" or (request.cookies(eChuang)("KEY")="typemaster" and typemaster=true) then%>

<html><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%>&nbsp;<%=ver%> - 删除小类_建站铺修正版_bbs.jzpu.com</title>
</head>
<body topmargin="0">
<!--#include file=Admin_Top.asp-->
<div align="center">
<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="<%=border%>">
<form action=E_SmallClassKillOK.asp method=post>
<tr class="TDtop">
	<td height=25 class="TDtop" align="center">┊ <B>删除文章小类确认</B> ┊ </td>
</tr>
<input type="hidden" name="smallclassid" value="<%=smallclassid%>">
<tr>
	<td width="100%" align=center bgcolor="#FFFFFF"> 
		<p> </p>
		<p>删除文章小类:[<font color="#FF0000"> <%=rs("E_smallclassname")%> </font>]?
			<font color=red><br><br>(此操作将一起删除相应的所有文章!并且删除后将无法恢复!)</font>
		</p>
		<p> </p>
	</td>
</tr>
<tr>
	<td width="100%" align=center class="TDtop" height="55"> 
		<input type="hidden" name="delsmallclass" value="1">
		<input type=submit value="  是  " name="alert_button" style="font-size: 9pt;  color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">&nbsp;&nbsp;&nbsp;&nbsp;
		<input type=submit value="  否  " name="alert_button" style="font-size: 9pt;  color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
	</td>
</tr>
</form>
</table>
</div>
</body>
</html>
<!--#include file=Admin_Bottom.asp-->
<%else
	Show_Err("您无权删除此小类!<br><br><a href='javascript:history.back()'>返回</a>")
	response.end
end if%>

⌨️ 快捷键说明

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