header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-cache"); header("Pragma: no-cache"); ob_start("ob_gzhandler"); #Configuration $debug = false; $allow_referrals = true; #intiating... Default allow... $allow = true; if($debug){ error_reporting(E_ALL);ini_set("display_errors", 1); } if($debug) echo "
".print_r($_SERVER, true).""; require_once("../../../config/config.php"); #Required to even begin to know where we are! require_once(root."/engine/classes/autoload.php"); require_once(root."/engine/shaunware.php"); $ware = new shaunware( array("facebook_api"=>$facebook_api, "countries"=>$countries, "acl"=>lcs) ); #REQUIRED $width = (isset($_GET['width']) && is_numeric($_GET['width']))?$_GET['width']:"100%"; $height = (isset($_GET['height']) && is_numeric($_GET['height']))?$_GET['height']:die("Must set height"); #Needed also... $loc = (isset($_REQUEST['loc']))?$_REQUEST['loc']:""; $pos = (isset($_GET['pos']))?$_GET['pos']:""; $page = (isset($_GET['page']))?$_GET['page']:"magazine"; $site = strtolower((isset($_GET['site']))?$_GET['site']:"aus"); $uniID = (isset($_GET['id']))?$_GET['id']:null; if($uniID == null){ //die("Unique ID not set!"); } ?>