%@ 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" %> <% Banner_ID = Request("Banner_ID") If Banner_ID = "" Then Response.Redirect("default.asp") End If Action = Request("Action") %> <% If Action <> "Delete" Then %> <% Set ConnBannerSystem = Server.CreateObject("ADODB.Connection") Set CmdViewBanner = Server.CreateObject("ADODB.Recordset") ConnBannerSystem.Open BannerConnectionString SQL = "SELECT Banners.* FROM Banners WHERE (Banner_ID = " & Banner_ID & ")" CmdViewBanner.Open SQL, ConnBannerSystem %>

ARE YOU SURE YOU WANT TO DELETE THIS BANNER ?
"<% =CmdViewBanner("Banner_Name") %>"