Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Debate_Action.asp
Package: eat.rar [view]
Upload User: jisenq
Upload Date: 2014-06-29
Package Size: 7216k
Code Size: 2k
Category:
ADO-ODBC
Development Platform:
ASP/ASPX
- <% Option Explicit %>
- <!--#include file="../FS_Inc/Const.asp" -->
- <!--#include file="../FS_InterFace/MF_Function.asp" -->
- <!--#include file="../FS_Inc/Function.asp" -->
- <!--#include file="../FS_Inc/Func_Page.asp"-->
- <!--#include file="lib/strlib.asp" -->
- <!--#include file="lib/UserCheck.asp" -->
- <%'Copyright (c) 2006 Foosun Inc. Code by Einstein.liu
- Dim groupid,debateid,action,DebateRs,parentID
- action=request.QueryString("act")
- groupid=NoSqlHack(request.QueryString("classid"))
- debateid=NoSqlHack(request.QueryString("debateid"))
- if action="delete" then
- Set DebateRs=User_Conn.execute("Select parentID from FS_ME_GroupDebate where Debateid="&debateID)
- if not DebateRs.eof then
- parentID=DebateRs("parentID")
- Else
- parentID=0
- ENd if
- if parentID=0 then
- User_Conn.execute("Delete From FS_ME_GroupDebate where DebateID="&debateID)
- User_Conn.execute("Delete From FS_ME_GroupDebate where DebateID in (Select DebateID from FS_ME_GroupDebate where parentID="&debateID&")")
- Else
- User_Conn.execute("Delete * From FS_ME_GroupDebate where DebateID="&debateID)
- End if
- ENd if
- User_Conn.close
- Set User_Conn=nothing
- Set Fs_User = Nothing
- if err.number=0 then
- if Cint(parentID)<>0 then
- Response.Redirect("lib/success.asp?ErrCodes=<li>修改成功</li>&ErrorURL=../Debate_unit.asp?gdid="&groupid&"***DebateID="&parentID)
- Else
- Response.Redirect("lib/success.asp?ErrCodes=<li>修改成功</li>&ErrorURL=../Group_unit.asp?gdid="&groupid)
- End if
- Response.End()
- else
- Response.Redirect("lib/error.asp?ErrCodes=<li>"&err.description&"</li>")
- Response.End()
- end if
- %>