Example #1
0
define("Product", "Effect Web");
# Version
$version = new Version();
$version->setVersion("v1.8.5", "v1.8.5 Finish Edition");
$version->compareVersions(constant("Update_Key"), true);
# Login
if (!empty($_SESSION['Hash_Account'])) {
    $_SESSION["Hash_Account"] = str_replace(array("'", ";", "--"), NULL, $_SESSION["Hash_Account"]);
    $Login = str_replace(array("'", ";", "--"), NULL, $_SESSION["Hash_Account"]);
}
# Class Load
$CTM_Security = new CTM_Security();
$CTM_Template = new CTM_Template();
$CTM_Pages = new CTM_Pages();
$CTM_Crypt = new CTM_Crypt();
if ($CTM_Crypt->CallSecuritySite() != "YTc2ZGJiMmZlNDY5ZThkNzkwYmU0ZjJhYWUyNDUwMDI=") {
    exit("Files corrupted.");
}
$CTM_MSSQL = new CTM_MSSQL();
# PagSeguro
if ($_GET['module'] == "pagseguro") {
    $CTM_PagSeguro = new CTM_PagSeguro();
    $CTM_PagSeguro->PagSeguroReturn();
}
# Reference
if (strlen($_GET['ref']) > 0) {
    $CTM_Reference = new CTM_Reference();
    $CTM_Reference->ReferenceLink($_GET['ref']);
}
$CTM_Ajax = new CTM_Ajax();
ob_clean();