home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.americansys.com
/
2014.06.ftp.americansys.com.tar
/
ftp.americansys.com
/
spamcrusherenterprise.exe
/
web
/
procbodyfilters.asp
< prev
next >
Wrap
Text File
|
2003-10-17
|
2KB
|
66 lines
<html>
<head>
<title>Spam Crusher Login</title>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<script LANGUAGE="VBScript" RUNAT="Server">
</script>
<p><img border="0" src="smflaglogo.jpg" align="middle"><font size="5">Spam
Crusher Enterprise</font></p>
<p align="center"><font size="5">Processing...</font></p>
<%
EOLN = chr(13) + chr(10)
Set SpamCrusher = Server.CreateObject("SpamCrusherEnterprise.SpamCrusherEnte.1")
SpamCrusher.SetCurrentUser(Session("UserId"))
Add = Request.Form("btnAdd")
Delete = Request.Form("btnDelete")
if (Delete<>"") then
Set SpamCrusher = Server.CreateObject("SpamCrusherEnterprise.SpamCrusherEnte.1")
SpamCrusher.SetCurrentUser(Session("UserId"))
Phrases = Request.Form("lstBodyFilters")
'************Delete multiple phrases at once
StartPos = 1
EndPos = InStr(StartPos, Phrases, ", ")
do while (EndPos>0)
Str = Mid(Phrases, StartPos, EndPos-StartPos)
StartPos = EndPos+2
EndPos = InStr(StartPos, Phrases, ", ")
SpamCrusher.DeleteBodyFilter(Str)
loop
Str = Mid(Phrases, StartPos)
SpamCrusher.DeleteBodyFilter(Str)
SpamCrusher.Logoff()
Response.Redirect("bodyfilters.asp")
Else
' add button
Response.Redirect("addbodyfilter.asp")
End If
SpamCrusher.Logoff
Response.Redirect(URL)
Response.Write("")
%>
</body>
</html>