if (strlen($objUser->EmailAddress) > 0) { $emailAddressInputHTML = "<input id='emailAddress' name='emailAddress' type='text' maxlength='100' placeholder=' Email Address' value='" . $objUser->EmailAddress . "'>"; } // Birthday $dobHTML = "<input type='text' id='DOBDatePicker' name='DOBDatePicker'>"; if (strlen($objUser->Birthdate) > 0) { $dobHTML = "<input type='text' id='DOBDatePicker' name='DOBDatePicker' value='" . $objUser->Birthdate . "'>"; } // Time zone $selectedTimeZoneID = 15; // Default to EST if ($objUser->TimezoneID > 0) { $selectedTimeZoneID = $objUser->TimezoneID; } $dataAccess = new DataAccess(); $gamingHandler = new GamingHandler(); $timeZoneHTML = $gamingHandler->GetTimezoneList($dataAccess, $selectedTimeZoneID); // Biography $bioHTML = "<textarea name='message' id='message' placeholder='This is your bio! What are your favorite games? When do you do most of your online gaming? etc..' " . "rows='6' required></textarea>"; if (strlen($objUser->Autobiography) > 0) { $bioHTML = "<textarea name='message' id='message' placeholder='This is your bio! What are your favorite games? When do you do most of your online gaming? etc..' " . "rows='6' required>" . $objUser->Autobiography . "</textarea>"; } ?> <!DOCTYPE HTML> <!-- Project OGS by => Stephen Giles and Paul Morrell --> <html> <head> <?php
<?php $mobileLoginPage = false; $sessionRequired = true; $sessionAllowed = true; include "Header.php"; $gamingHandler = new GamingHandler(); ?> <!DOCTYPE HTML> <!-- Project OGS by => Stephen Giles and Paul Morrell --> <html> <head> <?php echo $pageHeaderHTML; ?> <script src="js/moment.min.js"></script> <script src="js/moment-timezone-with-data.min.js"></script> <script src="js/jTable/jquery.jtable.min.js"></script> <script src="js/jquery.slidereveal.min.js"></script> <?php if (Constants::$isDebugMode) { ?> <script src="js/GamerTagViewer.js"></script> <?php } else { ?> <script src="js/GamerTagViewer.min.js"></script>
<?php $mobileLoginPage = false; $sessionRequired = true; $sessionAllowed = true; include "Header.php"; $gamingHandler = new GamingHandler(); ?> <!DOCTYPE HTML> <!-- Project OGS by => Stephen Giles and Paul Morrell --> <html> <head> <?php echo $pageHeaderHTML; ?> <script src="js/jTable/jquery.jtable.min.js"></script> <script src="js/jquery.slidereveal.min.js"></script> <?php if (Constants::$isDebugMode) { ?> <script src="js/GamerTagViewer.js"></script> <?php } else { ?> <script src="js/GamerTagViewer.min.js"></script> <?php }
<?php include_once 'DataAccess.class.php'; include_once 'GamingHandler.class.php'; include_once 'Logger.class.php'; include_once 'Constants.class.php'; include_once 'EventReminderData.class.php'; $dataAccess = new DataAccess(); $loggerDataAccess = new DataAccess(); $logger = new Logger($loggerDataAccess); $gamingHandler = new GamingHandler(); // Poll next 24 hours' worth of events, getting the next scheduled event for // each user who has one or more scheduled events in that time range $eventListByUser = $gamingHandler->GetListNextScheduledGamesByUser($dataAccess, $logger); // Insert events into reminder email batch table, for later inclusion in an email batch $gamingHandler->QueueReminderEmailBatch($dataAccess, $logger, $eventListByUser); // Poll reminder email batch table, starting with oldest reminder, and send emails $gamingHandler->SendNextReminderEmailBatch($dataAccess, $logger);
<?php include_once 'classes/DataAccess.class.php'; include_once 'classes/SecurityHandler.class.php'; include_once 'classes/GamingHandler.class.php'; include_once 'classes/PayPalMsgHandler.class.php'; include_once 'classes/DBSessionHandler.class.php'; include_once 'classes/Logger.class.php'; include_once 'classes/User.class.php'; include_once 'classes/EventSearchParameters.class.php'; include_once 'classes/UserSearchParameters.class.php'; include_once 'securimage/securimage.php'; $dataAccess = new DataAccess(); $loggerDataAccess = new DataAccess(); $securityHandler = new SecurityHandler(); $gamingHandler = new GamingHandler(); $logger = new Logger($loggerDataAccess); $objUser = User::constructDefaultUser(); $action = isset($_GET['action']) ? filter_var($_GET['action'], FILTER_SANITIZE_STRING) : filter_var($_POST['action'], FILTER_SANITIZE_STRING); if (isset($action)) { // Only proceed if this page is accessed due to signup/login, or from a logged-in user if ($action != "Login" && $action != "Signup" && $action != "PasswordRecoveryDialogLoad" && $action != "SendPasswordRecoveryEmailToUser" && $action != "ResetUserPassword") { $sessionDataAccess = new DataAccess(); $sessionHandler = new DBSessionHandler($sessionDataAccess); session_set_save_handler($sessionHandler, true); session_start(); if (isset($_SESSION['WebUser'])) { $objUser = $_SESSION['WebUser']; $_SESSION['lastActivity'] = time(); session_write_close(); } else {