Viewing file: Footer.php (2.79 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php class clsFooter { //Footer class @1-D2159D74
//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-24C28DFC function clsFooter($RelativePath, $ComponentName, & $Parent) { global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = $ComponentName; $this->RelativePath = $RelativePath; $this->Visible = true; $this->Parent = & $Parent; $this->FileName = "Footer.php"; $this->Redirect = ""; $this->TemplateFileName = "Footer.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-718EF555 function Initialize() { global $FileName; global $CCSLocales; global $DefaultDateFormat; if(!$this->Visible) return ""; $this->Attributes = & $this->Parent->Attributes; $this->BindEvents(); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnInitializeView", $this); } //End Initialize Method
//Show Method @1-DB18A0ED 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(); $Tpl->Parse(); $Tpl->block_path = $block_path; $Tpl->SetVar($this->ComponentName, $Tpl->GetVar($this->ComponentName)); } //End Show Method
} //End Footer Class @1-FCB6E20C
?>
|