?? delete_smile.asp
字號(hào):
<%
'#############################################################
'# 中國(guó)在線--極酷論壇 ver.2001 3.0
'#
'# 版權(quán)所有: 中國(guó)在線 (ChinaXP.Net)
'#
'# 制作人 : 周周 (SeeYa!)
'#
'#
'# 主頁(yè)地址: http://www.ChinaXP.net/ 中國(guó)在線
'# http://www.ChinaXP.Net/bbs/ 中國(guó)在線--極酷論壇
'#
'#############################################################
%>
<!--#INCLUDE FILE="config.asp" -->
<% If Session(strCookieURL & "Approval") = "15916941253" Then %>
<!--#INCLUDE file="inc_functions.asp" -->
<!--#INCLUDE file="inc_top.asp" -->
<%
if request.querystring("type") = "cat" then
cat_id = request.form("cat_id")
strsql = "Delete from "&strTablePrefix&"smile_cat where cat_id="&cat_id
my_conn.execute(strsql)
strsql = "Delete from "&strTablePrefix&"smiles where cat_id="&cat_id
my_conn.execute(strsql)
response.redirect("admin_smiles.asp")
else
smile_id = request.querystring("smile_id")
strsql = "DELETE FROM "&strTablePrefix&"smiles WHERE id="&smile_id
my_conn.execute(strsql)
response.redirect("admin_smiles.asp")
end if
%>
<!--#INCLUDE file="inc_footer.asp" -->
<%else
response.write("Only Administrators can modify Smiles, Please Log In as an Admin")
%>
<!--#include file="inc_footer.asp" -->
<%end if%>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -