403Webshell
Server IP : 10.19.1.101  /  Your IP : 216.73.216.158
Web Server : Apache
System : Linux web1f13.kinghost.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User : schererimoveisrs ( 170628)
PHP Version : 7.4.33
Disable Function : apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/schererimoveisrs/www/pre backup/wp-content/themes/sauron/inc/meta/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/schererimoveisrs/www/pre backup/wp-content/themes/sauron/inc/meta/meta_layout_model.php
<?php

class sauron_meta_layout_model extends WDWT_meta_model{
  public $params; 
  function __construct(){
    $this->params = array( 
      'default_layout' => array(
        "name" => "default_layout", 
        "title" => __("Choose Default Layout","sauron"), 
        'type' => 'layout_open', 
        "description" => __( "Select the default layout for pages and posts on the website.", "sauron" ), 
        'valid_options' => array( 
          array('index' => '1', 'title'=>'No Sidebar', 'description'=>''),
          array('index' => '2', 'title'=>'Right Sidebar', 'description'=>''),
          array('index' => '3', 'title'=>'Left Sidebar', 'description'=>''),
          array('index' => '4', 'title'=>'Two Right Sidebars', 'description'=>''),
          array('index' => '5', 'title'=>'Two Left Sidebars', 'description'=>''),
          array('index' => '6', 'title'=>'One Right One Left Sidebars', 'description'=>''),

        ),
        'show' => array(
                      '2'=>'main_column',
                      '3'=>'main_column',
                      '4'=>array('main_column', 'pwa_width'),
                      '5'=>array('main_column', 'pwa_width'),
                      '6'=>array('main_column', 'pwa_width'),
                      ),
        'hide' => array(),
        'img_src' => 'sprite-layouts.png',
        'img_height' => 289,
        'img_width' => 50,
        'default' =>  $this->get_param('default_layout'),
      ),
    'full_width' => array( 
      "name" => "full_width", 
      "title" => __( "Full Width", "sauron"),
      'type' => 'checkbox_open', 
      'show' => array(''),
      'hide' => array('content_area_percent'),
      "description" => __( "Check to have full width content. Uncheck to have boxed layout.", "sauron"),
      'default' => $this->get_param('full_width'),
    ),    
    'content_area_percent' => array( 
      "name" => "content_area_percent", 
      "title" => __( "Box Width", "sauron"),
      'type' => 'number', 
      "sanitize_type" => "sanitize_text_field",
      "description" => __( "Specify the width of the Content area if boxed layout", "sauron"),
      'unit_symbol' => '%',
      'step' => '1',
      'min' => '75',
      'max' => '99',
      'default' => $this->get_param('content_area_percent'),
    ),
      'main_column' => array( 
        "name" => "main_column", 
        "title" => __("Main Column Width","sauron"), 
        'type' => 'number',
        "sanitize_type" => "sanitize_text_field",
        "description" => __("Specify the width of the Main Column", "sauron"),
        'unit_symbol' => '%',
        'step' => '1',
        'min' => '1',
        'max' => '100',
        'default' => $this->get_param('main_column'),
      ),
      'pwa_width' => array( 
        "name" => "pwa_width", 
        "title" => __("Primary Widget Area width", "sauron"), 
        'type' => 'number',
        "sanitize_type" => "sanitize_text_field", 
        "description" => __("Specify the width of the Primary Widget Area", "sauron"),
        'unit_symbol' => '%',
        'step' => '1',
        'min' => '1',
        'max' => '100',
        'default' => $this->get_param('pwa_width'),
      ),
    );

  }
 
}

Youez - 2016 - github.com/yon3zu
LinuXploit