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


Viewing file:     users_maint.php (25.93 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 @20-39DC296A
include_once("./Header.php");
//End Include Page implementation

class clsRecordusers { //users Class @2-9BE1AF6F

//Variables @2-5C5E2D83

    // 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
$ds;
    var
$EditMode;
    var
$ValidatingControls;
    var
$Controls;

    
// Class variables
//End Variables

//Class_Initialize Event @2-B25DE481
    
function clsRecordusers()
    {

        global
$FileName;
        
$this->Visible = true;
        
$this->Errors = new clsErrors();
        
$this->ErrorBlock = "Record users/Error";
        
$this->ds = new clsusersDataSource();
        
$this->InsertAllowed = true;
        
$this->UpdateAllowed = true;
        
$this->DeleteAllowed = true;
        
$this->ReadAllowed = true;
        if(
$this->Visible)
        {
            
$this->ComponentName = "users";
            
$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->user = new clsControl(ccsTextBox, "user", "User", ccsText, "", CCGetRequestParam("user", $Method));
            
$this->user->Required = true;
            
$this->pass = new clsControl(ccsTextBox, "pass", "Pass", ccsText, "", CCGetRequestParam("pass", $Method));
            
$this->pass->Required = true;
            
$this->superuser = new clsControl(ccsTextBox, "superuser", "Superuser", ccsInteger, "", CCGetRequestParam("superuser", $Method));
            
$this->superuser->Required = true;
            
$this->email = new clsControl(ccsTextBox, "email", "Email", ccsText, "", CCGetRequestParam("email", $Method));
            
$this->email->Required = true;
            
$this->notify = new clsControl(ccsTextBox, "notify", "Notify", ccsInteger, "", CCGetRequestParam("notify", $Method));
            
$this->notify->Required = true;
            
$this->active = new clsControl(ccsTextBox, "active", "Active", ccsInteger, "", CCGetRequestParam("active", $Method));
            
$this->active->Required = true;
            
$this->manageUsers = new clsControl(ccsTextBox, "manageUsers", "Manage Users", ccsInteger, "", CCGetRequestParam("manageUsers", $Method));
            
$this->manageUsers->Required = true;
            
$this->addNews = new clsControl(ccsTextBox, "addNews", "Add News", ccsInteger, "", CCGetRequestParam("addNews", $Method));
            
$this->addNews->Required = true;
            
$this->manageNews = new clsControl(ccsTextBox, "manageNews", "Manage News", ccsInteger, "", CCGetRequestParam("manageNews", $Method));
            
$this->manageNews->Required = true;
            
$this->manageNewsSpool = new clsControl(ccsTextBox, "manageNewsSpool", "Manage News Spool", ccsInteger, "", CCGetRequestParam("manageNewsSpool", $Method));
            
$this->manageNewsSpool->Required = true;
            
$this->manageTopics = new clsControl(ccsTextBox, "manageTopics", "Manage Topics", ccsInteger, "", CCGetRequestParam("manageTopics", $Method));
            
$this->manageTopics->Required = true;
            
$this->manageImages = new clsControl(ccsTextBox, "manageImages", "Manage Images", ccsInteger, "", CCGetRequestParam("manageImages", $Method));
            
$this->manageImages->Required = true;
            
$this->Button_Insert = new clsButton("Button_Insert");
            
$this->Button_Update = new clsButton("Button_Update");
            
$this->Button_Delete = new clsButton("Button_Delete");
        }
    }
//End Class_Initialize Event

//Initialize Method @2-085B63B1
    
function Initialize()
    {

        if(!
$this->Visible)
            return;

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

//Validate Method @2-C52131C2
    
function Validate()
    {
        
$Validation = true;
        
$Where = "";
        
$Validation = ($this->user->Validate() && $Validation);
        
$Validation = ($this->pass->Validate() && $Validation);
        
$Validation = ($this->superuser->Validate() && $Validation);
        
$Validation = ($this->email->Validate() && $Validation);
        
$Validation = ($this->notify->Validate() && $Validation);
        
$Validation = ($this->active->Validate() && $Validation);
        
$Validation = ($this->manageUsers->Validate() && $Validation);
        
$Validation = ($this->addNews->Validate() && $Validation);
        
$Validation = ($this->manageNews->Validate() && $Validation);
        
$Validation = ($this->manageNewsSpool->Validate() && $Validation);
        
$Validation = ($this->manageTopics->Validate() && $Validation);
        
$Validation = ($this->manageImages->Validate() && $Validation);
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate");
        return ((
$this->Errors->Count() == 0) && $Validation);
    }
//End Validate Method

//CheckErrors Method @2-1350929B
    
function CheckErrors()
    {
        
$errors = false;
        
$errors = ($errors || $this->user->Errors->Count());
        
$errors = ($errors || $this->pass->Errors->Count());
        
$errors = ($errors || $this->superuser->Errors->Count());
        
$errors = ($errors || $this->email->Errors->Count());
        
$errors = ($errors || $this->notify->Errors->Count());
        
$errors = ($errors || $this->active->Errors->Count());
        
$errors = ($errors || $this->manageUsers->Errors->Count());
        
$errors = ($errors || $this->addNews->Errors->Count());
        
$errors = ($errors || $this->manageNews->Errors->Count());
        
$errors = ($errors || $this->manageNewsSpool->Errors->Count());
        
$errors = ($errors || $this->manageTopics->Errors->Count());
        
$errors = ($errors || $this->manageImages->Errors->Count());
        
$errors = ($errors || $this->Errors->Count());
        
$errors = ($errors || $this->ds->Errors->Count());
        return
$errors;
    }
//End CheckErrors Method

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

        global
$Redirect;
        global
$FileName;

        
$this->ds->Prepare();
        
$this->EditMode = $this->ds->AllParametersSet;
        if(!
$this->FormSubmitted)
            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 = "users_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-AEFECF72
    
function InsertRow()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeInsert");
        if(!
$this->InsertAllowed) return false;
        
$this->ds->user->SetValue($this->user->GetValue());
        
$this->ds->pass->SetValue($this->pass->GetValue());
        
$this->ds->superuser->SetValue($this->superuser->GetValue());
        
$this->ds->email->SetValue($this->email->GetValue());
        
$this->ds->notify->SetValue($this->notify->GetValue());
        
$this->ds->active->SetValue($this->active->GetValue());
        
$this->ds->manageUsers->SetValue($this->manageUsers->GetValue());
        
$this->ds->addNews->SetValue($this->addNews->GetValue());
        
$this->ds->manageNews->SetValue($this->manageNews->GetValue());
        
$this->ds->manageNewsSpool->SetValue($this->manageNewsSpool->GetValue());
        
$this->ds->manageTopics->SetValue($this->manageTopics->GetValue());
        
$this->ds->manageImages->SetValue($this->manageImages->GetValue());
        
$this->ds->Insert();
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterInsert");
        return (!
$this->CheckErrors());
    }
//End InsertRow Method

//UpdateRow Method @2-2BC61784
    
function UpdateRow()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeUpdate");
        if(!
$this->UpdateAllowed) return false;
        
$this->ds->user->SetValue($this->user->GetValue());
        
$this->ds->pass->SetValue($this->pass->GetValue());
        
$this->ds->superuser->SetValue($this->superuser->GetValue());
        
$this->ds->email->SetValue($this->email->GetValue());
        
$this->ds->notify->SetValue($this->notify->GetValue());
        
$this->ds->active->SetValue($this->active->GetValue());
        
$this->ds->manageUsers->SetValue($this->manageUsers->GetValue());
        
$this->ds->addNews->SetValue($this->addNews->GetValue());
        
$this->ds->manageNews->SetValue($this->manageNews->GetValue());
        
$this->ds->manageNewsSpool->SetValue($this->manageNewsSpool->GetValue());
        
$this->ds->manageTopics->SetValue($this->manageTopics->GetValue());
        
$this->ds->manageImages->SetValue($this->manageImages->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-1260F518
    
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;
        
$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 users";
                }
                else if(
$this->ds->next_record())
                {
                    
$this->ds->SetValues();
                    if(!
$this->FormSubmitted)
                    {
                        
$this->user->SetValue($this->ds->user->GetValue());
                        
$this->pass->SetValue($this->ds->pass->GetValue());
                        
$this->superuser->SetValue($this->ds->superuser->GetValue());
                        
$this->email->SetValue($this->ds->email->GetValue());
                        
$this->notify->SetValue($this->ds->notify->GetValue());
                        
$this->active->SetValue($this->ds->active->GetValue());
                        
$this->manageUsers->SetValue($this->ds->manageUsers->GetValue());
                        
$this->addNews->SetValue($this->ds->addNews->GetValue());
                        
$this->manageNews->SetValue($this->ds->manageNews->GetValue());
                        
$this->manageNewsSpool->SetValue($this->ds->manageNewsSpool->GetValue());
                        
$this->manageTopics->SetValue($this->ds->manageTopics->GetValue());
                        
$this->manageImages->SetValue($this->ds->manageImages->GetValue());
                    }
                }
                else
                {
                    
$this->EditMode = false;
                }
            }
        }
        if(!
$this->FormSubmitted)
        {
        }

        if(
$this->FormSubmitted || $this->CheckErrors()) {
            
$Error .= $this->user->Errors->ToString();
            
$Error .= $this->pass->Errors->ToString();
            
$Error .= $this->superuser->Errors->ToString();
            
$Error .= $this->email->Errors->ToString();
            
$Error .= $this->notify->Errors->ToString();
            
$Error .= $this->active->Errors->ToString();
            
$Error .= $this->manageUsers->Errors->ToString();
            
$Error .= $this->addNews->Errors->ToString();
            
$Error .= $this->manageNews->Errors->ToString();
            
$Error .= $this->manageNewsSpool->Errors->ToString();
            
$Error .= $this->manageTopics->Errors->ToString();
            
$Error .= $this->manageImages->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->user->Show();
        
$this->pass->Show();
        
$this->superuser->Show();
        
$this->email->Show();
        
$this->notify->Show();
        
$this->active->Show();
        
$this->manageUsers->Show();
        
$this->addNews->Show();
        
$this->manageNews->Show();
        
$this->manageNewsSpool->Show();
        
$this->manageTopics->Show();
        
$this->manageImages->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 users Class @2-FCB6E20C

class clsusersDataSource extends clsDBConnection1 {  //usersDataSource Class @2-DF0C03ED

//DataSource Variables @2-2BF7278B
    
var $CCSEvents = "";
    var
$CCSEventResult;
    var
$ErrorBlock;
    var
$BlockExecution;

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


    
// Datasource fields
    
var $user;
    var
$pass;
    var
$superuser;
    var
$email;
    var
$notify;
    var
$active;
    var
$manageUsers;
    var
$addNews;
    var
$manageNews;
    var
$manageNewsSpool;
    var
$manageTopics;
    var
$manageImages;
//End DataSource Variables

//Class_Initialize Event @2-0FFED283
    
function clsusersDataSource()
    {
        
$this->ErrorBlock = "Record users/Error";
        
$this->Initialize();
        
$this->user = new clsField("user", ccsText, "");
        
$this->pass = new clsField("pass", ccsText, "");
        
$this->superuser = new clsField("superuser", ccsInteger, "");
        
$this->email = new clsField("email", ccsText, "");
        
$this->notify = new clsField("notify", ccsInteger, "");
        
$this->active = new clsField("active", ccsInteger, "");
        
$this->manageUsers = new clsField("manageUsers", ccsInteger, "");
        
$this->addNews = new clsField("addNews", ccsInteger, "");
        
$this->manageNews = new clsField("manageNews", ccsInteger, "");
        
$this->manageNewsSpool = new clsField("manageNewsSpool", ccsInteger, "");
        
$this->manageTopics = new clsField("manageTopics", ccsInteger, "");
        
$this->manageImages = new clsField("manageImages", ccsInteger, "");

    }
//End Class_Initialize Event

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

//Open Method @2-DC1AA46D
    
function Open()
    {
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect");
        
$this->SQL = "SELECT *  " .
        
"FROM users";
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect");
        
$this->query(CCBuildSQL($this->SQL, $this->Where, $this->Order));
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect");
        
$this->MoveToPage($this->AbsolutePage);
    }
//End Open Method

//SetValues Method @2-DAC15CBA
    
function SetValues()
    {
        
$this->user->SetDBValue($this->f("user"));
        
$this->pass->SetDBValue($this->f("pass"));
        
$this->superuser->SetDBValue(trim($this->f("superuser")));
        
$this->email->SetDBValue($this->f("email"));
        
$this->notify->SetDBValue(trim($this->f("notify")));
        
$this->active->SetDBValue(trim($this->f("active")));
        
$this->manageUsers->SetDBValue(trim($this->f("manageUsers")));
        
$this->addNews->SetDBValue(trim($this->f("addNews")));
        
$this->manageNews->SetDBValue(trim($this->f("manageNews")));
        
$this->manageNewsSpool->SetDBValue(trim($this->f("manageNewsSpool")));
        
$this->manageTopics->SetDBValue(trim($this->f("manageTopics")));
        
$this->manageImages->SetDBValue(trim($this->f("manageImages")));
    }
//End SetValues Method

//Insert Method @2-A3F6228F
    
function Insert()
    {
        
$this->BlockExecution = true;
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildInsert");
        
$this->SQL = "INSERT INTO users ("
             
. "`user`, "
             
. "pass, "
             
. "superuser, "
             
. "email, "
             
. "notify, "
             
. "active, "
             
. "manageUsers, "
             
. "addNews, "
             
. "manageNews, "
             
. "manageNewsSpool, "
             
. "manageTopics, "
             
. "manageImages"
             
. ") VALUES ("
             
. $this->ToSQL($this->user->GetDBValue(), $this->user->DataType) . ", "
             
. $this->ToSQL($this->pass->GetDBValue(), $this->pass->DataType) . ", "
             
. $this->ToSQL($this->superuser->GetDBValue(), $this->superuser->DataType) . ", "
             
. $this->ToSQL($this->email->GetDBValue(), $this->email->DataType) . ", "
             
. $this->ToSQL($this->notify->GetDBValue(), $this->notify->DataType) . ", "
             
. $this->ToSQL($this->active->GetDBValue(), $this->active->DataType) . ", "
             
. $this->ToSQL($this->manageUsers->GetDBValue(), $this->manageUsers->DataType) . ", "
             
. $this->ToSQL($this->addNews->GetDBValue(), $this->addNews->DataType) . ", "
             
. $this->ToSQL($this->manageNews->GetDBValue(), $this->manageNews->DataType) . ", "
             
. $this->ToSQL($this->manageNewsSpool->GetDBValue(), $this->manageNewsSpool->DataType) . ", "
             
. $this->ToSQL($this->manageTopics->GetDBValue(), $this->manageTopics->DataType) . ", "
             
. $this->ToSQL($this->manageImages->GetDBValue(), $this->manageImages->DataType)
             .
")";
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteInsert");
        if(
$this->Errors->Count() == 0 && $this->BlockExecution) {
            
$this->query($this->SQL);
            
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteInsert");
        }
        
$this->close();
    }
//End Insert Method

//Update Method @2-E22726C1
    
function Update()
    {
        
$this->BlockExecution = true;
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildUpdate");
        
$this->SQL = "UPDATE users SET "
             
. "`user`=" . $this->ToSQL($this->user->GetDBValue(), $this->user->DataType) . ", "
             
. "pass=" . $this->ToSQL($this->pass->GetDBValue(), $this->pass->DataType) . ", "
             
. "superuser=" . $this->ToSQL($this->superuser->GetDBValue(), $this->superuser->DataType) . ", "
             
. "email=" . $this->ToSQL($this->email->GetDBValue(), $this->email->DataType) . ", "
             
. "notify=" . $this->ToSQL($this->notify->GetDBValue(), $this->notify->DataType) . ", "
             
. "active=" . $this->ToSQL($this->active->GetDBValue(), $this->active->DataType) . ", "
             
. "manageUsers=" . $this->ToSQL($this->manageUsers->GetDBValue(), $this->manageUsers->DataType) . ", "
             
. "addNews=" . $this->ToSQL($this->addNews->GetDBValue(), $this->addNews->DataType) . ", "
             
. "manageNews=" . $this->ToSQL($this->manageNews->GetDBValue(), $this->manageNews->DataType) . ", "
             
. "manageNewsSpool=" . $this->ToSQL($this->manageNewsSpool->GetDBValue(), $this->manageNewsSpool->DataType) . ", "
             
. "manageTopics=" . $this->ToSQL($this->manageTopics->GetDBValue(), $this->manageTopics->DataType) . ", "
             
. "manageImages=" . $this->ToSQL($this->manageImages->GetDBValue(), $this->manageImages->DataType);
        
$this->SQL = CCBuildSQL($this->SQL, $this->Where, "");
        
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteUpdate");
        if(
$this->Errors->Count() == 0 && $this->BlockExecution) {
            
$this->query($this->SQL);
            
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteUpdate");
        }
        
$this->close();
    }
//End Update Method

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

} //End usersDataSource Class @2-FCB6E20C

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

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

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

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

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

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

// Controls
$Header = new clsHeader();
$Header->BindEvents();
$Header->TemplatePath = "./";
$Header->Initialize();
$users = new clsRecordusers();
$Footer = new clsFooter();
$Footer->BindEvents();
$Footer->TemplatePath = "./";
$Footer->Initialize();
$users->Initialize();

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

if(
$Charset) {
    
header("Content-Type: text/html; charset=" . $Charset);
}
//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-AB1E45CE
$Header->Operations();
$users->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-8D0414C5
$Header->Show("Header");
$users->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.0067 ]--