!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/mina/promonte/   drwxr-xr-x
Free 3.94 GB of 27.03 GB (14.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     informacij_maint.php (25.57 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 @17-3DD2EFDC
include_once(RelativePath . "/Header.php");
//End Include Page implementation

//Include Page implementation @22-9090FF7A
include_once(RelativePath . "/Header1.php");
//End Include Page implementation

class clsRecordinformacije { //informacije Class @2-F6F7EB92

//Variables @2-B2F7A83E

    // 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
$InsertAllowed = false;
    var
$UpdateAllowed = false;
    var
$DeleteAllowed = false;
    var
$ReadAllowed   = false;
    var
$EditMode      = false;
    var
$ds;
    var
$ValidatingControls;
    var
$Controls;

    
// Class variables
//End Variables

//Class_Initialize Event @2-092512B2
    
function clsRecordinformacije()
    {

        global
$FileName;
        
$this->Visible = true;
        
$this->Errors = new clsErrors();
        
$this->ErrorBlock = "Record informacije/Error";
        
$this->ds = new clsinformacijeDataSource();
        
$this->InsertAllowed = true;
        
$this->UpdateAllowed = true;
        
$this->DeleteAllowed = true;
        
$this->ReadAllowed = true;
        if(
$this->Visible)
        {
            
$this->ComponentName = "informacije";
            
$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->naslov = new clsControl(ccsTextArea, "naslov", "Naslov", ccsMemo, "", CCGetRequestParam("naslov", $Method));
            
$this->naslov->Required = true;
            
$this->tekst = new clsControl(ccsTextArea, "tekst", "Tekst", ccsMemo, "", CCGetRequestParam("tekst", $Method));
            
$this->tekst->Required = true;
            
$this->datum = new clsControl(ccsTextBox, "datum", "Datum", ccsDate, Array("dd", "/", "mm", "/", "yyyy"), CCGetRequestParam("datum", $Method));
            
$this->DatePicker_datum = new clsDatePicker("DatePicker_datum", "informacije", "datum");
            
$this->slika = new clsControl(ccsListBox, "slika", "Slika", ccsInteger, "", CCGetRequestParam("slika", $Method));
            
$this->slika->DSType = dsTable;
            list(
$this->slika->BoundColumn, $this->slika->TextColumn, $this->slika->DBFormat) = array("idslike", "nazivslike", "");
            
$this->slika->ds = new clsDBConnection1();
            
$this->slika->ds->SQL = "SELECT *  " .
"FROM slike";
            
$this->rubrika = new clsControl(ccsListBox, "rubrika", "Rubrika", ccsInteger, "", CCGetRequestParam("rubrika", $Method));
            
$this->rubrika->DSType = dsTable;
            list(
$this->rubrika->BoundColumn, $this->rubrika->TextColumn, $this->rubrika->DBFormat) = array("idrubrike", "nazivrubr", "");
            
$this->rubrika->ds = new clsDBConnection1();
            
$this->rubrika->ds->SQL = "SELECT *  " .
"FROM rubrike";
            
$this->rubrika->ds->wp = new clsSQLParameters();
            
$this->rubrika->ds->wp->Criterion[1] = "podrubrika=0";
            
$this->rubrika->ds->Where =
                 
$this->rubrika->ds->wp->Criterion[1];
            
$this->rubrika->Required = true;
            
$this->wap = new clsControl(ccsCheckBox, "wap", "Wap", ccsInteger, "", CCGetRequestParam("wap", $Method));
            
$this->wap->CheckedValue = $this->wap->GetParsedValue(1);
            
$this->wap->UncheckedValue = $this->wap->GetParsedValue(0);
            
$this->portal = new clsControl(ccsCheckBox, "portal", "Portal", ccsInteger, "", CCGetRequestParam("portal", $Method));
            
$this->portal->CheckedValue = $this->portal->GetParsedValue(1);
            
$this->portal->UncheckedValue = $this->portal->GetParsedValue(0);
            
$this->CheckBox1 = new clsControl(ccsCheckBox, "CheckBox1", "CheckBox1", ccsInteger, "", CCGetRequestParam("CheckBox1", $Method));
            
$this->CheckBox1->CheckedValue = $this->CheckBox1->GetParsedValue(1);
            
$this->CheckBox1->UncheckedValue = $this->CheckBox1->GetParsedValue(0);
            
$this->link = new clsControl(ccsTextBox, "link", "Link", ccsMemo, "", CCGetRequestParam("link", $Method));
            
$this->Button_Insert = new clsButton("Button_Insert");
            
$this->Button_Update = new clsButton("Button_Update");
            
$this->Button_Delete = new clsButton("Button_Delete");
            if(!
$this->FormSubmitted) {
                if(!
is_array($this->datum->Value) && !strlen($this->datum->Value) && $this->datum->Value !== false)
                
$this->datum->SetValue(time());
            }
        }
    }
//End Class_Initialize Event

//Initialize Method @2-79F154E4
    
function Initialize()
    {

        if(!
$this->Visible)
            return;

        
$this->ds->Order = "idvijesti desc";

        
$this->ds->Parameters["urlidvijesti"] = CCGetFromGet("idvijesti", "");
    }
//End Initialize Method

//Validate Method @2-01170121
    
function Validate()
    {
        
$Validation = true;
        
$Where = "";
        
$Validation = ($this->naslov->Validate() && $Validation);
        
$Validation = ($this->tekst->Validate() && $Validation);
        
$Validation = ($this->datum->Validate() && $Validation);
        
$Validation = ($this->slika->Validate() && $Validation);
        
$Validation = ($this->rubrika->Validate() && $Validation);
        
$Validation = ($this->wap->Validate() && $Validation);
        
$Validation = ($this->portal->Validate() && $Validation);
        
$Validation = ($this->CheckBox1->Validate() && $Validation);
        
$Validation = ($this->link->Validate() && $Validation);
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate");
        
$Validation =  $Validation && ($this->naslov->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->tekst->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->datum->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->slika->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->rubrika->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->wap->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->portal->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->CheckBox1->Errors->Count() == 0);
        
$Validation =  $Validation && ($this->link->Errors->Count() == 0);
        return ((
$this->Errors->Count() == 0) && $Validation);
    }
//End Validate Method

//CheckErrors Method @2-2D19D32C
    
function CheckErrors()
    {
        
$errors = false;
        
$errors = ($errors || $this->naslov->Errors->Count());
        
$errors = ($errors || $this->tekst->Errors->Count());
        
$errors = ($errors || $this->datum->Errors->Count());
        
$errors = ($errors || $this->DatePicker_datum->Errors->Count());
        
$errors = ($errors || $this->slika->Errors->Count());
        
$errors = ($errors || $this->rubrika->Errors->Count());
        
$errors = ($errors || $this->wap->Errors->Count());
        
$errors = ($errors || $this->portal->Errors->Count());
        
$errors = ($errors || $this->CheckBox1->Errors->Count());
        
$errors = ($errors || $this->link->Errors->Count());
        
$errors = ($errors || $this->Errors->Count());
        
$errors = ($errors || $this->ds->Errors->Count());
        return
$errors;
    }
//End CheckErrors Method

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

        global
$Redirect;
        global
$FileName;

        
$this->ds->Prepare();
        if(!
$this->FormSubmitted) {
            
$this->EditMode = $this->ds->AllParametersSet;
            return;
        }

        if(
$this->FormSubmitted) {
            
$this->PressedButton = $this->EditMode ? "Button_Update" : "Button_Insert";
            if(
strlen(CCGetParam("Button_Insert", ""))) {
                
$this->PressedButton = "Button_Insert";
            } else if(
strlen(CCGetParam("Button_Update", ""))) {
                
$this->PressedButton = "Button_Update";
            } else if(
strlen(CCGetParam("Button_Delete", ""))) {
                
$this->PressedButton = "Button_Delete";
            }
        }
        
$Redirect = "informacij_list.php" . "?" . CCGetQueryString("QueryString", Array("ccsForm"));
        if(
$this->PressedButton == "Button_Delete") {
            if(!
CCGetEvent($this->Button_Delete->CCSEvents, "OnClick") || !$this->DeleteRow()) {
                
$Redirect = "";
            }
        } else if(
$this->Validate()) {
            if(
$this->PressedButton == "Button_Insert") {
                if(!
CCGetEvent($this->Button_Insert->CCSEvents, "OnClick") || !$this->InsertRow()) {
                    
$Redirect = "";
                }
            } else if(
$this->PressedButton == "Button_Update") {
                if(!
CCGetEvent($this->Button_Update->CCSEvents, "OnClick") || !$this->UpdateRow()) {
                    
$Redirect = "";
                }
            }
        } else {
            
$Redirect = "";
        }
    }
//End Operation Method

//InsertRow Method @2-D1F6CBC0
    
function InsertRow()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeInsert");
        if(!
$this->InsertAllowed) return false;
        
$this->ds->naslov->SetValue($this->naslov->GetValue());
        
$this->ds->tekst->SetValue($this->tekst->GetValue());
        
$this->ds->datum->SetValue($this->datum->GetValue());
        
$this->ds->slika->SetValue($this->slika->GetValue());
        
$this->ds->rubrika->SetValue($this->rubrika->GetValue());
        
$this->ds->wap->SetValue($this->wap->GetValue());
        
$this->ds->portal->SetValue($this->portal->GetValue());
        
$this->ds->CheckBox1->SetValue($this->CheckBox1->GetValue());
        
$this->ds->link->SetValue($this->link->GetValue());
        
$this->ds->Insert();
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterInsert");
        return (!
$this->CheckErrors());
    }
//End InsertRow Method

//UpdateRow Method @2-CE80DB6C
    
function UpdateRow()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeUpdate");
        if(!
$this->UpdateAllowed) return false;
        
$this->ds->naslov->SetValue($this->naslov->GetValue());
        
$this->ds->tekst->SetValue($this->tekst->GetValue());
        
$this->ds->datum->SetValue($this->datum->GetValue());
        
$this->ds->slika->SetValue($this->slika->GetValue());
        
$this->ds->rubrika->SetValue($this->rubrika->GetValue());
        
$this->ds->wap->SetValue($this->wap->GetValue());
        
$this->ds->portal->SetValue($this->portal->GetValue());
        
$this->ds->CheckBox1->SetValue($this->CheckBox1->GetValue());
        
$this->ds->link->SetValue($this->link->GetValue());
        
$this->ds->Update();
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterUpdate");
        return (!
$this->CheckErrors());
    }
//End UpdateRow Method

//DeleteRow Method @2-91867A4A
    
function DeleteRow()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeDelete");
        if(!
$this->DeleteAllowed) return false;
        
$this->ds->Delete();
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterDelete");
        return (!
$this->CheckErrors());
    }
//End DeleteRow Method

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

        if(!
$this->Visible)
            return;

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

        
$this->slika->Prepare();
        
$this->rubrika->Prepare();

        
$RecordBlock = "Record " . $this->ComponentName;
        
$ParentPath = $Tpl->block_path;
        
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
        
$this->EditMode = $this->EditMode && $this->ReadAllowed;
        if(
$this->EditMode)
        {
            
$this->ds->open();
            if(
$this->Errors->Count() == 0)
            {
                if(
$this->ds->Errors->Count() > 0)
                {
                    echo
"Error in Record informacije";
                }
                else if(
$this->ds->next_record())
                {
                    
$this->ds->SetValues();
                    if(!
$this->FormSubmitted)
                    {
                        
$this->naslov->SetValue($this->ds->naslov->GetValue());
                        
$this->tekst->SetValue($this->ds->tekst->GetValue());
                        
$this->datum->SetValue($this->ds->datum->GetValue());
                        
$this->slika->SetValue($this->ds->slika->GetValue());
                        
$this->rubrika->SetValue($this->ds->rubrika->GetValue());
                        
$this->wap->SetValue($this->ds->wap->GetValue());
                        
$this->portal->SetValue($this->ds->portal->GetValue());
                        
$this->CheckBox1->SetValue($this->ds->CheckBox1->GetValue());
                        
$this->link->SetValue($this->ds->link->GetValue());
                    }
                }
                else
                {
                    
$this->EditMode = false;
                }
            }
        }
        if(!
$this->FormSubmitted)
        {
        }

        if(
$this->FormSubmitted || $this->CheckErrors()) {
            
$Error .= $this->naslov->Errors->ToString();
            
$Error .= $this->tekst->Errors->ToString();
            
$Error .= $this->datum->Errors->ToString();
            
$Error .= $this->DatePicker_datum->Errors->ToString();
            
$Error .= $this->slika->Errors->ToString();
            
$Error .= $this->rubrika->Errors->ToString();
            
$Error .= $this->wap->Errors->ToString();
            
$Error .= $this->portal->Errors->ToString();
            
$Error .= $this->CheckBox1->Errors->ToString();
            
$Error .= $this->link->Errors->ToString();
            
$Error .= $this->Errors->ToString();
            
$Error .= $this->ds->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->Button_Insert->Visible = !$this->EditMode && $this->InsertAllowed;
        
$this->Button_Update->Visible = $this->EditMode && $this->UpdateAllowed;
        
$this->Button_Delete->Visible = $this->EditMode && $this->DeleteAllowed;

        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
        if(!
$this->Visible) {
            
$Tpl->block_path = $ParentPath;
            return;
        }

        
$this->naslov->Show();
        
$this->tekst->Show();
        
$this->datum->Show();
        
$this->DatePicker_datum->Show();
        
$this->slika->Show();
        
$this->rubrika->Show();
        
$this->wap->Show();
        
$this->portal->Show();
        
$this->CheckBox1->Show();
        
$this->link->Show();
        
$this->Button_Insert->Show();
        
$this->Button_Update->Show();
        
$this->Button_Delete->Show();
        
$Tpl->parse();
        
$Tpl->block_path = $ParentPath;
        
$this->ds->close();
    }
//End Show Method

} //End informacije Class @2-FCB6E20C

class clsinformacijeDataSource extends clsDBConnection1 {  //informacijeDataSource Class @2-A134AC2A

//DataSource Variables @2-0C6CCB53
    
var $CCSEvents = "";
    var
$CCSEventResult;
    var
$ErrorBlock;
    var
$CmdExecution;

    var
$InsertParameters;
    var
$UpdateParameters;
    var
$DeleteParameters;
    var
$wp;
    var
$AllParametersSet;


    
// Datasource fields
    
var $naslov;
    var
$tekst;
    var
$datum;
    var
$slika;
    var
$rubrika;
    var
$wap;
    var
$portal;
    var
$CheckBox1;
    var
$link;
//End DataSource Variables

//DataSourceClass_Initialize Event @2-F9909DDF
    
function clsinformacijeDataSource()
    {
        
$this->ErrorBlock = "Record informacije/Error";
        
$this->Initialize();
        
$this->naslov = new clsField("naslov", ccsMemo, "");
        
$this->tekst = new clsField("tekst", ccsMemo, "");
        
$this->datum = new clsField("datum", ccsDate, Array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss"));
        
$this->slika = new clsField("slika", ccsInteger, "");
        
$this->rubrika = new clsField("rubrika", ccsInteger, "");
        
$this->wap = new clsField("wap", ccsInteger, "");
        
$this->portal = new clsField("portal", ccsInteger, "");
        
$this->CheckBox1 = new clsField("CheckBox1", ccsInteger, "");
        
$this->link = new clsField("link", ccsMemo, "");

    }
//End DataSourceClass_Initialize Event

//Prepare Method @2-78F1C23B
    
function Prepare()
    {
        
$this->wp = new clsSQLParameters($this->ErrorBlock);
        
$this->wp->AddParameter("1", "urlidvijesti", ccsInteger, "", "", $this->Parameters["urlidvijesti"], "", false);
        
$this->AllParametersSet = $this->wp->AllParamsSet();
        
$this->wp->Criterion[1] = $this->wp->Operation(opEqual, "idvijesti", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsInteger),false);
        
$this->Where =
             
$this->wp->Criterion[1];
    }
//End Prepare Method

//Open Method @2-1384FB5C
    
function Open()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect");
        
$this->SQL = "SELECT *  " .
        
"FROM informacije";
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect");
        
$this->PageSize = 1;
        
$this->query($this->OptimizeSQL(CCBuildSQL($this->SQL, $this->Where, $this->Order)));
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect");
    }
//End Open Method

//SetValues Method @2-15F9C529
    
function SetValues()
    {
        
$this->naslov->SetDBValue($this->f("naslov"));
        
$this->tekst->SetDBValue($this->f("tekst"));
        
$this->datum->SetDBValue(trim($this->f("datum")));
        
$this->slika->SetDBValue(trim($this->f("slika")));
        
$this->rubrika->SetDBValue(trim($this->f("rubrika")));
        
$this->wap->SetDBValue(trim($this->f("wap")));
        
$this->portal->SetDBValue(trim($this->f("portal")));
        
$this->CheckBox1->SetDBValue(trim($this->f("prvastr")));
        
$this->link->SetDBValue($this->f("link"));
    }
//End SetValues Method

//Insert Method @2-D30F7EFE
    
function Insert()
    {
        
$this->CmdExecution = true;
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildInsert");
        
$this->SQL = "INSERT INTO informacije ("
             
. "naslov, "
             
. "tekst, "
             
. "datum, "
             
. "slika, "
             
. "rubrika, "
             
. "wap, "
             
. "portal, "
             
. "prvastr, "
             
. "link"
             
. ") VALUES ("
             
. $this->ToSQL($this->naslov->GetDBValue(), $this->naslov->DataType) . ", "
             
. $this->ToSQL($this->tekst->GetDBValue(), $this->tekst->DataType) . ", "
             
. $this->ToSQL($this->datum->GetDBValue(), $this->datum->DataType) . ", "
             
. $this->ToSQL($this->slika->GetDBValue(), $this->slika->DataType) . ", "
             
. $this->ToSQL($this->rubrika->GetDBValue(), $this->rubrika->DataType) . ", "
             
. $this->ToSQL($this->wap->GetDBValue(), $this->wap->DataType) . ", "
             
. $this->ToSQL($this->portal->GetDBValue(), $this->portal->DataType) . ", "
             
. $this->ToSQL($this->CheckBox1->GetDBValue(), $this->CheckBox1->DataType) . ", "
             
. $this->ToSQL($this->link->GetDBValue(), $this->link->DataType)
             .
")";
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteInsert");
        if(
$this->Errors->Count() == 0 && $this->CmdExecution) {
            
$this->query($this->SQL);
            
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteInsert");
        }
        
$this->close();
    }
//End Insert Method

//Update Method @2-48C27682
    
function Update()
    {
        
$this->CmdExecution = true;
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildUpdate");
        
$this->SQL = "UPDATE informacije SET "
             
. "naslov=" . $this->ToSQL($this->naslov->GetDBValue(), $this->naslov->DataType) . ", "
             
. "tekst=" . $this->ToSQL($this->tekst->GetDBValue(), $this->tekst->DataType) . ", "
             
. "datum=" . $this->ToSQL($this->datum->GetDBValue(), $this->datum->DataType) . ", "
             
. "slika=" . $this->ToSQL($this->slika->GetDBValue(), $this->slika->DataType) . ", "
             
. "rubrika=" . $this->ToSQL($this->rubrika->GetDBValue(), $this->rubrika->DataType) . ", "
             
. "wap=" . $this->ToSQL($this->wap->GetDBValue(), $this->wap->DataType) . ", "
             
. "portal=" . $this->ToSQL($this->portal->GetDBValue(), $this->portal->DataType) . ", "
             
. "prvastr=" . $this->ToSQL($this->CheckBox1->GetDBValue(), $this->CheckBox1->DataType) . ", "
             
. "link=" . $this->ToSQL($this->link->GetDBValue(), $this->link->DataType);
        
$this->SQL = CCBuildSQL($this->SQL, $this->Where, "");
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteUpdate");
        if(
$this->Errors->Count() == 0 && $this->CmdExecution) {
            
$this->query($this->SQL);
            
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteUpdate");
        }
        
$this->close();
    }
//End Update Method

//Delete Method @2-963CC189
    
function Delete()
    {
        
$this->CmdExecution = true;
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildDelete");
        
$this->SQL = "DELETE FROM informacije";
        
$this->SQL = CCBuildSQL($this->SQL, $this->Where, "");
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteDelete");
        if(
$this->Errors->Count() == 0 && $this->CmdExecution) {
            
$this->query($this->SQL);
            
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteDelete");
        }
        
$this->close();
    }
//End Delete Method

} //End informacijeDataSource Class @2-FCB6E20C

//Include Page implementation @18-58DBA1E3
include_once(RelativePath . "/Footer.php");
//End Include Page implementation

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

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

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

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

//Initialize Objects @1-91D7D9FE
$DBConnection1 = new clsDBConnection1();

// Controls
$Header = new clsHeader("");
$Header->BindEvents();
$Header->Initialize();
$Header1 = new clsHeader1("");
$Header1->BindEvents();
$Header1->Initialize();
$informacije = new clsRecordinformacije();
$Footer = new clsFooter("");
$Footer->BindEvents();
$Footer->Initialize();
$informacije->Initialize();

$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize");

$Charset = $Charset ? $Charset : $TemplateEncoding;
if (
$Charset)
    
header("Content-Type: text/html; charset=" . $Charset);
//End Initialize Objects

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

//Execute Components @1-C3AF496D
$Header->Operations();
$Header1->Operations();
$informacije->Operation();
$Footer->Operations();
//End Execute Components

//Go to destination page @1-E336CB16
if($Redirect)
{
    
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
    
$DBConnection1->close();
    
header("Location: " . $Redirect);
    
$Header->Class_Terminate();
    unset(
$Header);
    
$Header1->Class_Terminate();
    unset(
$Header1);
    unset(
$informacije);
    
$Footer->Class_Terminate();
    unset(
$Footer);
    unset(
$Tpl);
    exit;
}
//End Go to destination page

//Show Page @1-EBDDB6C6
$Header->Show("Header");
$Header1->Show("Header1");
$informacije->Show();
$Footer->Show("Footer");
$Tpl->PParse("main", false);
//End Show Page

//Unload Page @1-3E24A492
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
$DBConnection1->close();
$Header->Class_Terminate();
unset(
$Header);
$Header1->Class_Terminate();
unset(
$Header1);
unset(
$informacije);
$Footer->Class_Terminate();
unset(
$Footer);
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.0075 ]--