<?PHP
ob_start();
session_start();
include("includes/globals.php.inc");
include("includes/functions.php");
include("lang/English.php");
if(strtolower($sxSetup['Language']) != 'english') include("lang/".$sxSetup['Language'].".php");
include("themes/$THEME_FOLDER/config.php.inc");
if($sxMaintenance)
die($sxLang['MessageMaintenance']);
else
{
if($vote)
setcookie("voted","$vote",time()+7776000); // Hold info for 90 days
include("themes/$THEME_FOLDER/homepage.php");
}
ob_end_flush();
?>