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


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

class clsRecordLogin { //Login Class @2-58926B8F

//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-8773475B
    
function clsRecordLogin()
    {

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

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

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

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

        global
$Redirect;
        global
$FileName;

        if(!
$this->FormSubmitted) {
            return;
        }

        if(
$this->FormSubmitted) {
            
$this->PressedButton = "Button_DoLogin";
            if(
strlen(CCGetParam("Button_DoLogin", ""))) {
                
$this->PressedButton = "Button_DoLogin";
            }
        }
        
$Redirect = "informacij_list.php";
        if(
$this->Validate()) {
            if(
$this->PressedButton == "Button_DoLogin") {
                if(!
CCGetEvent($this->Button_DoLogin->CCSEvents, "OnClick")) {
                    
$Redirect = "";
                }
            }
        } else {
            
$Redirect = "";
        }
    }
//End Operation Method

//Show Method @2-F64E47DF
    
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->FormSubmitted)
        {
        }

        if(
$this->FormSubmitted || $this->CheckErrors()) {
            
$Error .= $this->login->Errors->ToString();
            
$Error .= $this->password->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->login->Show();
        
$this->password->Show();
        
$this->Button_DoLogin->Show();
        
$Tpl->parse();
        
$Tpl->block_path = $ParentPath;
    }
//End Show Method

} //End Login Class @2-FCB6E20C

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

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

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

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

//Initialize Objects @1-15FEAFA1

// Controls
$Header = new clsHeader("");
$Header->BindEvents();
$Header->Initialize();
$Login = new clsRecordLogin();
$Footer = new clsFooter("");
$Footer->BindEvents();
$Footer->Initialize();

// Events
include("./Login_events.php");
BindEvents();

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

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-5D676E38
$Header->Operations();
$Login->Operation();
$Footer->Operations();
//End Execute Components

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

//Show Page @1-0A56E5AB
$Header->Show("Header");
$Login->Show();
$Footer->Show("Footer");
$Tpl->PParse("main", false);
//End Show Page

//Unload Page @1-BB275A85
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
$Header->Class_Terminate();
unset(
$Header);
unset(
$Login);
$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.0036 ]--