<?
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# DataDivisions, Build 1.0, 12/11/2003 #
# FileName: deleteDisplay.php #
# File Description: #
# Sets up functionality for user to delete a saved display (popup) #
# #
# +-----------------------------------------------------------------------+ #
# | DataDivisions - Website Statistic Visualization Software | #
# | Copyright (c) 2003, Brian Willison | #
# +-----------------------------------------------------------------------+ #
# | The contents of this file are subject to the GNU General Public | #
# | License version 2 (June 1991). This file and all its contents (incl. | #
# | functions, methods, etc.) are free for general use within any | #
# | community. This software is distributed with the intent to allow | #
# | developers the opportunity to copy, manipulate and revamp this | #
# | application in part or whole for best use cases. | #
# | | #
# | This software is distributed "AS-IS" with no warranties of any kind | #
# | either expressed or implied. | #
# | | #
# | Please refer to the GPL license document for more information: | #
# | (_docs/gplLicense.pdf) | #
# +-----------------------------------------------------------------------+ #
# | Developer, Designer, Initial Creator: | #
# | Brian Willison (hide@address.com) | #
# +-----------------------------------------------------------------------+ #
# | Initial Download Reference: | #
# | http://datadivisions.sourceforge.net | #
# +-----------------------------------------------------------------------+ #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
// Include Necessary Files
require("includes/varFile.php");
require(funcGlobalFile);
require(funcDeleteDisplayFile);
// Generate Base-Page Edit Display Form
if (!isset($_POST['submit'])) {
genDeleteDisplayForm(0);
}
// Check Edit Display Info If Submitted
else {
$registerCheck = checkDeleteDisplayForm($_POST);
// Perform Next Step From checkLogin Check
if ($registerCheck == "blankSubmit") {
genDeleteDisplayForm(1);
} else {
redirectToDeleteDisplayConfirmPage(); // save okay, generate confirmation page
}
}
?>