Example #1
0
    header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-0C2E73E8
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
$Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "CP1252", "replace");
$Tpl->block_path = "/{$BlockToParse}";
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage);
$Attributes->SetValue("pathToRoot", "");
$Attributes->Show();
//End Initialize HTML Template
//Execute Components @1-E7624C9E
$footer->Operations();
$meta_head->Operations();
$Login->Operation();
$header_login->Operations();
$sidebar_login->Operations();
//End Execute Components
//Go to destination page @1-5476D832
if ($Redirect) {
    $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
    header("Location: " . $Redirect);
    $footer->Class_Terminate();
    unset($footer);
    $meta_head->Class_Terminate();
    unset($meta_head);
    unset($Login);
    $header_login->Class_Terminate();
    unset($header_login);
    $sidebar_login->Class_Terminate();