Viewing file: Header.php (2.92 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class clsHeader { //Header class @1-CC982CB1
//Variables @1-1987AB94
var $FileName = "";
var $Redirect = "";
var $Tpl = "";
var $TemplateFileName = "";
var $BlockToParse = "";
var $ComponentName = "";
// Events;
var $CCSEvents = "";
var $CCSEventResult = "";
var $TemplatePath;
var $Visible;
//End Variables
//Class_Initialize Event @1-9CA786F2
function clsHeader()
{
$this->Visible = true;
if($this->Visible)
{
$this->FileName = "Header.php";
$this->Redirect = "";
$this->TemplateFileName = "Header.html";
$this->BlockToParse = "main";
// Create Components
$this->fono_list = new clsControl(ccsLink, "fono_list", "fono_list", ccsText, "", CCGetRequestParam("fono_list", ccsGet));
$this->fono_list->Page = RelativePath . "/" . "fono_list.php";
$this->Rubrike = new clsControl(ccsLink, "Rubrike", "Rubrike", ccsText, "", CCGetRequestParam("Rubrike", ccsGet));
$this->Rubrike->Parameters = CCGetQueryString("QueryString", Array("ccsForm"));
$this->Rubrike->Page = RelativePath . "/" . "rubrike_list.php";
$this->korisnici_list = new clsControl(ccsLink, "korisnici_list", "korisnici_list", ccsText, "", CCGetRequestParam("korisnici_list", ccsGet));
$this->korisnici_list->Page = RelativePath . "/" . "korisnici_list.php";
}
}
//End Class_Initialize Event
//Class_Terminate Event @1-A3749DF6
function Class_Terminate()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeUnload");
}
//End Class_Terminate Event
//BindEvents Method @1-236CCD5D
function BindEvents()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterInitialize");
}
//End BindEvents Method
//Operations Method @1-7E2A14CF
function Operations()
{
global $Redirect;
if(!$this->Visible)
return "";
}
//End Operations Method
//Initialize Method @1-EDD74DD5
function Initialize()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnInitializeView");
if(!$this->Visible)
return "";
}
//End Initialize Method
//Show Method @1-C64D4563
function Show($Name)
{
global $Tpl;
$block_path = $Tpl->block_path;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
if(!$this->Visible)
return "";
$Tpl->LoadTemplate($this->TemplatePath . $this->TemplateFileName, $Name);
$Tpl->block_path = $Name;
$this->fono_list->Show();
$this->Rubrike->Show();
$this->korisnici_list->Show();
$Tpl->Parse();
$Tpl->SetVar($Name, $Tpl->GetVar());
$Tpl->block_path = $block_path;
}
//End Show Method
} //End Header Class @1-FCB6E20C
?>
|