Viewing file: Header.php (4.01 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php class clsHeader { //Header class @1-CC982CB1
//Variables @1-51D7F06F public $ComponentType = "IncludablePage"; public $Connections = array(); public $FileName = ""; public $Redirect = ""; public $Tpl = ""; public $TemplateFileName = ""; public $BlockToParse = ""; public $ComponentName = ""; public $Attributes = "";
// Events; public $CCSEvents = ""; public $CCSEventResult = ""; public $RelativePath; public $Visible; public $Parent; //End Variables
//Class_Initialize Event @1-72F4DC07 function clsHeader($RelativePath, $ComponentName, & $Parent) { global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = $ComponentName; $this->RelativePath = $RelativePath; $this->Visible = true; $this->Parent = & $Parent; $this->FileName = "Header.php"; $this->Redirect = ""; $this->TemplateFileName = "Header.html"; $this->BlockToParse = "main"; $this->TemplateEncoding = "CP1252"; } //End Class_Initialize Event
//Class_Terminate Event @1-32FD4740 function Class_Terminate() { $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeUnload", $this); } //End Class_Terminate Event
//BindEvents Method @1-0DAD0D56 function BindEvents() { $this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterInitialize", $this); } //End BindEvents Method
//Operations Method @1-7E2A14CF function Operations() { global $Redirect; if(!$this->Visible) return ""; } //End Operations Method
//Initialize Method @1-FE1ED8F0 function Initialize() { global $FileName; global $CCSLocales; global $DefaultDateFormat; if(!$this->Visible) return ""; $this->Attributes = & $this->Parent->Attributes;
// Create Components $this->Link2 = new clsControl(ccsLink, "Link2", "Link2", ccsText, "", CCGetRequestParam("Link2", ccsGet, NULL), $this); $this->Link2->Parameters = CCGetQueryString("QueryString", array("ccsForm")); $this->Link2->Page = $this->RelativePath . "e_mail_izd_list.php"; $this->statistika_list = new clsControl(ccsLink, "statistika_list", "statistika_list", ccsText, "", CCGetRequestParam("statistika_list", ccsGet, NULL), $this); $this->statistika_list->Page = $this->RelativePath . "statistika_list.php"; $this->phpSP_user_list = new clsControl(ccsLink, "phpSP_user_list", "phpSP_user_list", ccsText, "", CCGetRequestParam("phpSP_user_list", ccsGet, NULL), $this); $this->phpSP_user_list->Page = $this->RelativePath . "phpSP_user_list.php"; $this->Link4 = new clsControl(ccsLink, "Link4", "Link4", ccsText, "", CCGetRequestParam("Link4", ccsGet, NULL), $this); $this->Link4->Parameters = CCGetQueryString("QueryString", array("ccsForm")); $this->Link4->Page = $this->RelativePath . "izdanja_list.php"; $this->BindEvents(); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnInitializeView", $this); } //End Initialize Method
//Show Method @1-442B64E5 function Show() { global $Tpl; global $CCSLocales; $block_path = $Tpl->block_path; $Tpl->LoadTemplate("/" . $this->TemplateFileName, $this->ComponentName, $this->TemplateEncoding, "remove"); $Tpl->block_path = $Tpl->block_path . "/" . $this->ComponentName; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this); if(!$this->Visible) { $Tpl->block_path = $block_path; $Tpl->SetVar($this->ComponentName, ""); return ""; } $this->Attributes->Show(); $this->Link2->Show(); $this->statistika_list->Show(); $this->phpSP_user_list->Show(); $this->Link4->Show(); $Tpl->Parse(); $Tpl->block_path = $block_path; $Tpl->SetVar($this->ComponentName, $Tpl->GetVar($this->ComponentName)); } //End Show Method
} //End Header Class @1-FCB6E20C
?>
|