** Attribution-Noncommercial-Share Alike 3.0 United States License. ** ** ** ** All other code are released under the Public Domain ** ** by the ACC Development Team. ** ** ** ** See CREDITS for the list of developers. ** ***************************************************************************/ // Get all the classes. require_once 'config.inc.php'; require_once 'functions.php'; require_once 'includes/PdoDatabase.php'; require_once 'includes/SmartyInit.php'; // Check to see if the database is unavailable. // Uses the true variable as the public uses this page. if (Offline::isOffline()) { echo Offline::getOfflineMessage(true); die; } // TODO: move me to a maintenance job if ($enableEmailConfirm == 1) { Request::cleanExpiredUnconfirmedRequests(); } $antispoofProvider = new $antispoofProviderClass(); $xffTrustProvider = new $xffTrustProviderClass($squidIpList); $database = gGetDb(); // Display the header of the interface. BootstrapSkin::displayPublicHeader(); if (isset($_GET['action']) && $_GET['action'] == "confirm") { try { if (!isset($_GET['id']) || !isset($_GET['si'])) { BootstrapSkin::displayAlertBox("Please check the link you received", "alert-error", "Missing parameters", true, false);
** ** ** See CREDITS for the list of developers. ** ***************************************************************************/ global $session; // load the configuration require_once 'config.inc.php'; // Initialize the session data. session_start(); // Get all the classes. require_once 'functions.php'; require_once 'includes/PdoDatabase.php'; require_once 'includes/SmartyInit.php'; // Check to see if the database is unavailable. // Uses the false variable as its the internal interface. if (Offline::isOffline()) { echo Offline::getOfflineMessage(false); die; } if (isset($_SESSION['user'])) { $sessionuser = $_SESSION['user']; } else { $sessionuser = ""; } BootstrapSkin::displayInternalHeader(); // protect against logged out users if (User::getCurrent()->isCommunityUser()) { showlogin(); BootstrapSkin::displayInternalFooter(); die; } ///////////////// Page code