Ejemplo n.º 1
0
} else {
    $Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "UTF-8");
}
$Tpl->SetVar("CCS_PathToRoot", $PathToRoot);
$Tpl->block_path = "/{$BlockToParse}";
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage);
$Attributes->SetValue("pathToRoot", "");
$Attributes->Show();
//End Initialize HTML Template
//Execute Components @1-0037A4DF
$header_print_report->Operations();
//End Execute Components
//Go to destination page @1-8AFCC774
if ($Redirect) {
    $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
    $DBConnection1->close();
    header("Location: " . $Redirect);
    $header_print_report->Class_Terminate();
    unset($header_print_report);
    unset($title_users_sub_dept_sex);
    unset($Tpl);
    exit;
}
//End Go to destination page
//Show Page @1-651C8111
$header_print_report->Show();
$title_users_sub_dept_sex->Show();
$patID->Show();
$resultID->Show();
$startDate->Show();
$deptShort->Show();