File: D:/web/secure/csl/bam/admin/deleteall.asp
<%Option Explicit%>
<%
' (SS,5/12/14) to delete all bookings ready for next BAM
Session("MenuName") = "Delete All Bookings"
Session("MenuLink") = "deleteall.asp"
%>
<!--#include virtual="bam1/dbfunctions.asp"-->
<!--#include virtual="bam1/commonutils.asp"-->
<!--#include file="apputils.asp"-->
<!--#include file="heading.asp"-->
<!--#include file="authenticate.asp"-->
<%
If gbAuthenticated Then
%><Strong><BR><BR><font size="4">Delete All Bookings</font></Strong>
<%
If Request("deleteconfirm") = "DELETE" Then
DeleteAllBookings
Response.Write "<p><b>All bookings have been deleted.</b></p>"
Else
%>
<form name="frmSearch" action="deleteall.asp" method="post">
<p>Once deleted, bookings cannot be recovered.<br>
Only do this when preparing for a new BAM.<br>
All bookings in this BAM will be deleted.
</p>
<p><b>Enter "DELETE" to confirm: </b><input type="text" name="deleteconfirm" size="15"></p>
<input type="submit" name="cmd" value="Delete"></td>
</form>
<%
End If
End If 'If gbAuthenticated Then
%>
<!--#include file="footing.asp"-->