.=< { Star Gans Tq } >=.

  • Home

  • Killme
  • Download
  • Current Path : /home/m/e/h/meharicl/home2/meharicl/www/recensement2/
    Upload File
    @Command ~ $  
    Current File : /home/m/e/h/meharicl/home2/meharicl/www/recensement2/top.php

    <?php
    class clstop { //top class @1-9F271397
    
    //Variables @1-EEEBE252
        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;
        public $TemplateSource;
    //End Variables
    
    //Class_Initialize Event @1-92951EE8
        function clstop($RelativePath, $ComponentName, & $Parent)
        {
            global $CCSLocales;
            global $DefaultDateFormat;
            $this->ComponentName = $ComponentName;
            $this->RelativePath = $RelativePath;
            $this->Visible = true;
            $this->Parent = & $Parent;
            $this->FileName = "top.php";
            $this->Redirect = "";
            $this->TemplateFileName = "top.html";
            $this->BlockToParse = "main";
            $this->TemplateEncoding = "UTF-8";
            $this->ContentType = "text/html";
        }
    //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-BED42215
        function BindEvents()
        {
            $this->CCSEvents["BeforeShow"] = "top_BeforeShow";
            $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-5D1F6CE6
        function Initialize($Path = "")
        {
            global $FileName;
            global $CCSLocales;
            global $DefaultDateFormat;
            global $Scripts;
            $IncScripts = "|";
            $SList = explode("|", $IncScripts);
            foreach ($SList as $Script) {
                if ($Script != "" && strpos($Scripts, "|" . $Script . "|") === false)  $Scripts = $Scripts . $Script . "|";
            }
            $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeInitialize", $this);
            if(!$this->Visible)
                return "";
            $this->Attributes = & $this->Parent->Attributes;
    
            // Create Components
            $this->lblText = new clsControl(ccsLabel, "lblText", "lblText", ccsText, "", CCGetRequestParam("lblText", ccsGet, NULL), $this);
            $this->lblText->HTML = true;
            $this->BindEvents();
            $this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnInitializeView", $this);
        }
    //End Initialize Method
    
    //Show Method @1-09E03219
        function Show()
        {
            global $Tpl;
            global $CCSLocales;
            $block_path = $Tpl->block_path;
            if ($this->TemplateSource) {
                $Tpl->LoadTemplateFromStr($this->TemplateSource, $this->ComponentName, $this->TemplateEncoding);
            } else {
                $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->lblText->Show();
            $Tpl->Parse();
            $Tpl->block_path = $block_path;
            $TplData = $Tpl->GetVar($this->ComponentName);
            $Tpl->SetVar($this->ComponentName, $TplData);
            $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeOutput", $this);
        }
    //End Show Method
    
    } //End top Class @1-FCB6E20C
    
    //Include Event File @1-786A87AC
    include_once(RelativePath . "/top_events.php");
    //End Include Event File
    
    
    ?>