require_once('utils/site-config.inc'); // site constants //echo ''."\n"; //echo ''."\n"; $pagename = 'homepage'; $static_page = true; $page_title = 'Home'; $meta_title = 'Home'; $meta_desc = site_constants::display_site_name.' home page'; require_once(site_constants::procs_directory.'/main.inc'); /* if ($_SESSION['login_ok_u']=='Y' || $_SESSION['external_login_ok_u']=='Y') { if ($_SERVER['HTTPS']) { header('Location: http://'.site_constants::site_url.'/index.php'); // if user is logged in, they need to see the http:// index page exit; } $ads = true; $bg_class = 'faux-narrow'; $winners_list_size = 12; } else { if (!$_SERVER['HTTPS'] && $_SESSION['on_live_server']) { header('Location: https://'.site_constants::site_url.'/index.php'); // if user is NOT logged in, they need to see the https:// index page exit; } $ads = false; $bg_class = 'faux-wide'; $winners_list_size = 14; } */ require_once(site_constants::template_directory.'/main.tpl'); ?>