%@ LANGUAGE="VBSCRIPT" %> <% Response.Buffer = "True" %> <% '*********************************************************************** ' System : ASPBanner Unlimited ' Author : Christopher Williams of CJWSoft www.CJWSoft.com ' ' COPYRIGHT NOTICE ' ' See attached Software License Agreement ' ' (c) Copyright 2000 - 2003 by CJWSoft. All rights reserved '*********************************************************************** %> <% CHECKFOR = "Admin" %> <% User_ID = Request("User_ID") If User_ID = "" Then Response.Redirect("default.asp") End If Action = Request("Action") If Action <> "Delete" Then Set ConnBannerSystem = Server.CreateObject("ADODB.Connection") Set CmdViewUser = Server.CreateObject("ADODB.Recordset") ConnBannerSystem.Open BannerConnectionString SQL = "SELECT Banner_Users.* FROM Banner_Users WHERE (User_ID = " & User_ID & ")" CmdViewUser.Open SQL, ConnBannerSystem %>

ARE YOU SURE YOU WANT TO DELETE THIS USER ?<% If CmdViewUser("First_Name") <> "" And CmdViewUser("Last_Name") <> "" Then %>
"<%=CmdViewUser("First_Name")%> <%=CmdViewUser("Last_Name")%>"<% End If %>
You cannot
delete this user because they have Banners(s) in the system.
You must delete the Banners first before you
can delete this user.
Click here to view this
user's Banners(s)