Uname:Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64

403WebShell
403Webshell
Server IP : 119.59.104.26  /  Your IP : 216.73.217.55
Web Server : Apache/2
System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64
User : com12370 ( 1517)
PHP Version : 7.2.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/com12370/.trash/files/wp-content.wFk3kz_syhg/themes/titan/wiloke/sidebar/pilayout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/com12370/.trash/files/wp-content.wFk3kz_syhg/themes/titan/wiloke/sidebar/pilayout/setting.php
<?php

/**

 * Created by ninhle - wiloke team

 * User: wiloke

 * Date: 7/16/15

 * Time: 9:21 PM

 */



add_action('pi_hook_before_copyright', 'pi_add_sidebar_section', 10, 3);

function pi_add_sidebar_section($wp_customize, $piSectionPriority, $piContentPriority)

{

    $wp_customize->add_section(

        'pi_sidebar_section',

        array(

            'title'     => __('Sidebar', 'titan'),

            'priority'  => 6

        )

    );



    $wp_customize->add_setting(

        'pi_options[sidebar_layout]',

        array(

            'type'              => 'option',

            'default'           => 'sidebar-right',

            'capability'        => 'edit_theme_options',

            'sanitize_callback' => 'pi_sanitize_data'

        )

    );



    $wp_customize->add_control(

        'pi_option[sidebar_layout]',

        array(

            'label'         => __('Main Sidebar Position', 'titan'),

            'type'          => 'select',

            'priority'      => $piContentPriority,

            'section'       => 'pi_sidebar_section',

            'settings'      => 'pi_options[sidebar_layout]',

            'choices'       => array(

                'sidebar-right'  => __('Right', 'titan'),

                'left-sidebar'   => __('Left', 'titan'),

                'no-sidebar'     => __('No', 'titan')

            )

        )

    );



    $wp_customize->add_setting(

        'pi_options[secondary_sidebar_toggle]',

        array(

            'type'              => 'option',

            'default'           => 1,

            'capability'        => 'edit_theme_options',

            'sanitize_callback' => 'pi_sanitize_data'

        )

    );



    $wp_customize->add_control(

        'pi_option[secondary_sidebar_toggle]',

        array(

            'label'         => __('Secondary Sidebar', 'titan'),

            'type'          => 'select',

            'priority'      => $piContentPriority++,

            'section'       => 'pi_sidebar_section',

            'settings'      => 'pi_options[secondary_sidebar_toggle]',

            'choices'       => array(

                1 => __('Enable', 'wiloke'),

                0 => __('Disable', 'wiloke')

            )

        )

    );



    $wp_customize->add_setting(

        'pi_options[secondary_sidebar_text]',

        array(

            'type'              => 'option',

            'default'           => 'Widgets',

            'capability'        => 'edit_theme_options',

            'sanitize_callback' => 'pi_sanitize_data'

        )

    );



    $wp_customize->add_control(

        'pi_option[secondary_sidebar_text]',

        array(

            'label'         => __('Expand Text (Secondary Sidebar)', 'titan'),

            'type'          => 'text',

            'priority'      => $piContentPriority++,

            'section'       => 'pi_sidebar_section',

            'settings'      => 'pi_options[secondary_sidebar_text]'

        )

    );

}

Youez - 2016 - github.com/yon3zu
LinuXploit