📄 templet_downstyledel.asp
字号:
<% Option Explicit %>
<!--#include file="../../../Inc/NosqlHack.asp" -->
<!--#include file="../../../Inc/Const.asp" -->
<!--#include file="../../../Inc/Cls_DB.asp" -->
<%
Dim DBC,Conn
Set DBC = New DataBaseClass
Set Conn = DBC.OpenConnection()
Set DBC = Nothing
%>
<!--#include file="../../../Inc/Session.asp" -->
<!--#include file="../../../Inc/CheckPopedom.asp" -->
<%
if Not JudgePopedomTF(Session("Name"),"P031004") then Call ReturnError()
Dim StyleID,Operation
StyleID = Request("ID")
Operation = Request("Operation")
if Operation = "Del" then
if StyleID <> "" then
Dim DelSql
On Error Resume Next
DelSql = "Delete from FS_DownListStyle where ID in (" & Replace(StyleID,"***",",") & ")"
Conn.Execute(DelSql)
if Err.Number = 0 then
%>
<script language="javascript">
dialogArguments.location.reload();
window.close();
</script>
<%
else
%>
<script language="javascript">
alert('删除失败');
dialogArguments.location.reload();
window.close();
</script>
<%
end if
else
%>
<script language="javascript">
alert('没有要删除的样式');
dialogArguments.location.reload();
window.close();
</script>
<%
end if
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除下载列表样式</title>
</head>
<link href="../../../CSS/ModeWindow.css" rel="stylesheet">
<body scroll=no bgcolor="#FFFFFF" topmargin="0" leftmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="DelForm" method="post" action="">
<tr>
<td width="45%" height="60">
<div align="center"><img src="../../Images/Question.gif" width="39" height="37"></div></td>
<td width="75%" height="80" colspan="2" valign="middle"> 确定要删除此样式吗?
<input name="hiddenField" type="hidden" value="<% = StyleID %>">
<input type="hidden" name="Operation" value="Del"></td>
</tr>
<tr>
<td colspan="3"> <div align="center">
<input name="Submitsadf" type="submit" id="Submitsadf" value=" 删 除 ">
<input type="button" onClick="window.close();" name="Submit3" value=" 取 消 ">
</div></td>
</tr>
</form>
</table>
</body>
</html>
<%
Set Conn = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -