Ejemplo n.º 1
0
$resultID = new clsControl(ccsLabel, "resultID", "resultID", ccsText, "", CCGetRequestParam("resultID", ccsGet, NULL), $MainPage);
$startDate = new clsControl(ccsLabel, "startDate", "startDate", ccsText, "", CCGetRequestParam("startDate", ccsGet, NULL), $MainPage);
$deptShort = new clsControl(ccsLabel, "deptShort", "deptShort", ccsText, "", CCGetRequestParam("deptShort", ccsGet, NULL), $MainPage);
$Label1 = new clsControl(ccsLabel, "Label1", "Label1", ccsText, "", CCGetRequestParam("Label1", ccsGet, NULL), $MainPage);
$MainPage->header_print_report =& $header_print_report;
$MainPage->title_users_sub_dept_sex =& $title_users_sub_dept_sex;
$MainPage->patID =& $patID;
$MainPage->resultID =& $resultID;
$MainPage->startDate =& $startDate;
$MainPage->deptShort =& $deptShort;
$MainPage->Label1 =& $Label1;
if (!is_array($resultID->Value) && !strlen($resultID->Value) && $resultID->Value !== false) {
    $resultID->SetText(ccgetparam('result_id', ''));
}
if (!is_array($Label1->Value) && !strlen($Label1->Value) && $Label1->Value !== false) {
    $Label1->SetText(getUsername());
}
$title_users_sub_dept_sex->Initialize();
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
    header("Content-Type: " . $ContentType . "; charset=" . $Charset);
} else {
    header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-28F2FDD6
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
if (strlen($TemplateSource)) {
    $Tpl->LoadTemplateFromStr($TemplateSource, $BlockToParse, "UTF-8");
Ejemplo n.º 2
0
$occupation = new clsoccupation("../setup/", "occupation", $MainPage);
$occupation->Initialize();
$statistical_conclusion = new clsstatistical_conclusion("../setup/", "statistical_conclusion", $MainPage);
$statistical_conclusion->Initialize();
$MainPage->footer =& $footer;
$MainPage->header_admin_setup =& $header_admin_setup;
$MainPage->Label1 =& $Label1;
$MainPage->Label2 =& $Label2;
$MainPage->department =& $department;
$MainPage->ward_clinic =& $ward_clinic;
$MainPage->sub_dept =& $sub_dept;
$MainPage->title =& $title;
$MainPage->occupation =& $occupation;
$MainPage->statistical_conclusion =& $statistical_conclusion;
if (!is_array($Label2->Value) && !strlen($Label2->Value) && $Label2->Value !== false) {
    $Label2->SetText(getUserName());
}
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
    header("Content-Type: " . $ContentType . "; charset=" . $Charset);
} else {
    header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-6AE7B07D
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
if (strlen($TemplateSource)) {
    $Tpl->LoadTemplateFromStr($TemplateSource, $BlockToParse, "UTF-8");
} else {
Ejemplo n.º 3
0
$MainPage->header_receptionist_sa =& $header_receptionist_sa;
$MainPage->Label1 =& $Label1;
$MainPage->Label2 =& $Label2;
$MainPage->Label3 =& $Label3;
$MainPage->result =& $result;
$MainPage->result_users =& $result_users;
$MainPage->Label4 =& $Label4;
$MainPage->Label5 =& $Label5;
if (!is_array($Label2->Value) && !strlen($Label2->Value) && $Label2->Value !== false) {
    $Label2->SetText(getUserName());
}
if (!is_array($Label4->Value) && !strlen($Label4->Value) && $Label4->Value !== false) {
    $Label4->SetValue(time());
}
if (!is_array($Label5->Value) && !strlen($Label5->Value) && $Label5->Value !== false) {
    $Label5->SetText(ccgetparam('result_id'));
}
$result->Initialize();
$result_users->Initialize();
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
    header("Content-Type: " . $ContentType . "; charset=" . $Charset);
} else {
    header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-6AE7B07D
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
if (strlen($TemplateSource)) {