if (stristr($_SERVER['HTTP_USER_AGENT'],"MSIE")) header('P3P: CP="CAO PSA OUR"');
error_reporting(E_ALL & ~E_NOTICE); //for testing purpose only, please comment this on the live version
session_start();
if ($_GET['sess']) $_SESSION['session'] = unserialize(base64_decode($_GET['sess']));
# constanta definition
define(_ROOT_,dirname(__FILE__));
# declaring cloaking class
include_once _ROOT_."/facebook-php-sdk-3.0/src/base_facebook.php";
include_once _ROOT_."/facebook-php-sdk-3.0/src/facebook.php";
include_once _ROOT_.'/config.php';
include_once _ROOT_.'/class.php';
$facebook = new Facebook(array('appId'=>$app_id,
'secret'=>$appsecret,
'cookie'=>true,
'domain'=>'brightannica.com'));
$c = new Study();
if (stristr($_SERVER['HTTP_REFERER'],"google")) header("location:http://www.brightannica.com/studyinaustraliauniversity/index.php?".$c->array_link());
if ($_GET['rewrite']) $c->TranslateURL($_GET['rewrite']);
?>
if ($c->display == "wap") {
?>
Like us in Facebook to get the most updated Scholarships News.
}
echo "Details Search
";
echo $c->PageLogic();
?>