include('./library.php');
if(preg_replace("/^www\./", "", $_SERVER['HTTP_HOST'])=="ioi.beer") {
//
//include('./library.php');
$pageinfo = Array("access" => "0", "pagetitle" => "Register", "stylesheet" => "./default.css", "suspendAccess" => TRUE);
$page = new pageclass();
$page->startphp($pageinfo); $rightBar = NULL;
$page->addKeyWords("Regsiter");
$followerArray = array('');
if($followerArray[0] != '')
$page->displayFollower($followerArray);
if(isset($_SESSION['logged_in_id'])) {
$toDisplayString = ''.$page->returnInnerHeader('Register').'
';
} else {
$toDisplayString = ''.$page->returnInnerHeader('Register').'
';
}
if(isset($thisformtoDisplaySpecialVarDIE))
$toDisplayString = ''.$thisformtoDisplaySpecialVarDIE.' |
';
$toDisplayString = $page->swapoutFileLinks($toDisplayString);
$toDisplayString = $page->returnSiteSpecificSpecialVars($toDisplayString);
$toDisplayString = $page->replaceSomeDisplayPageVars($toDisplayString);
$result=$page->dbQuery('SELECT page_name, page_content, page_title, page_height, page_height_logged_in, page_merge, page_access,page_description,page_content_logged_in FROM l_createpages WHERE page_name="this_register_splash"');
$bannerPagename='this_register_splash';
if(mysqli_num_rows($result) < 1) {
$result=$page->dbQuery('SELECT page_name, page_content, page_title, page_height, page_height_logged_in, page_merge, page_access,page_description,page_content_logged_in FROM l_createpages WHERE page_name="'.$page->prefixwebpages.'_splash"');
$bannerPagename=$page->prefixwebpages.'_splash';
if(isset($_COOKIE["splash_viewed_this_register"]))
$_SESSION['splash_viewed']['this_register'] = true;
}
if(mysqli_num_rows($result) >= 1 && !isset($_SESSION['splash_viewed']['this_register'])) {
$_SESSION['splash_viewed']['this_register'] = true;
if(defined("PDOMAIN")) {
setcookie("splash_viewed_this_register", "", time()+60*60*24*30, "/", PDOMAIN);//splash_viewed
} else {
setcookie("splash_viewed_this_register", "", time()+60*60*24*30, "/");//splash_viewed
}
list($page_name, $page_content, $page_title, $page_height, $page_height_logged_in, $page_merge, $page_access,$page_description,$page_content_logged_in) = mysqli_fetch_row($result);
$page->contentDivTop = (!isset($_SESSION['logged_in'])) ? $page_height : $page_height_logged_in;
$page->addExlusionsNav('index.php;this_;library', 'index.php;this_;library', 'index.php;this_;library');
$toDisplayString_banner = $page->createPage_auto($bannerPagename, true);
$toDisplayString_banner = $page->swapoutFileLinks($toDisplayString_banner);
$toDisplayString_banner = $page->returnSiteSpecificSpecialVars($toDisplayString_banner);
$toDisplayString_banner = $page->replaceSomeDisplayPageVars($toDisplayString_banner);
$toDisplayString = $toDisplayString_banner;
}
$page->addHeader(true, false, NULL, true);
$page->addHTML($toDisplayString);
$page->addFooter();
$page->displayPage();
}
?>