home *** CD-ROM | disk | FTP | other *** search
/ ftp.americansys.com / 2014.06.ftp.americansys.com.tar / ftp.americansys.com / spamcrusherenterprise.exe / web / deletedomain.asp < prev    next >
Text File  |  2004-05-03  |  1KB  |  50 lines

  1. <html>
  2.     <head>
  3.         <title>Spam Crusher</title>
  4.         <meta http-equiv="Content-Language" content="en-us">
  5.         <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  6.         <meta name="ProgId" content="FrontPage.Editor.Document">
  7.         <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  8.     </head>
  9.     <body>
  10.         <script LANGUAGE="VBScript" RUNAT="Server">
  11.         </script>
  12.         
  13.  
  14.         <p><img border="0" src="smflaglogo.jpg" align="middle"><font size="5">Spam Crusher Enterprise</font></p>
  15.  
  16.  
  17.         <p align="center"><font size="5">Processing...</font></p>
  18.  
  19.  
  20. <%
  21.     EOLN = chr(13) + chr(10)
  22.  
  23.     if (Request.Form("btnAdd")<>"") then
  24.         Response.Redirect("adddomain.asp")
  25.     End If    
  26.  
  27.     Set SpamCrusher = Server.CreateObject("SpamCrusherEnterprise.SpamCrusherEnte.1")
  28.     SpamCrusher.SetCurrentUser(Session("UserId"))
  29.  
  30.     DomainName = Request.Form("lbDomains")
  31.     
  32.     SpamCrusher.DeleteDomain(DomainName)
  33.     
  34.     SpamCrusher.Logoff()
  35.  
  36.     Response.Write(Request.Form("lbDomains"))
  37.     MsgText = ""
  38. For Each x In Request.Form
  39.     Value = Request.Form(x)
  40.     if (Value <> "Submit") then
  41.         MsgText = MsgText + x + "=" + Request.Form(x) & chr(10)
  42.         End If
  43. Next
  44.     Response.Write(MsgText)
  45.  
  46. '    Response.Redirect("serversettings.asp")
  47.     Response.Write("")
  48. %>          
  49.     </body>
  50. </html>