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.216.226
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/public_html/wp-content/themes/titan/admin/page/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/com12370/public_html/wp-content/themes/titan/admin/page/func.page.php
<?php

/**

 * Created by ninhle - wiloke team.

 * Date: 7/18/15

 * Time: 4:42 PM

 */





add_action('save_post', 'pi_save_page_template_data');

add_action('edit_form_after_title', 'pi_add_page_builder_button');



function pi_add_page_builder_button()

{

    if ( isset($_GET['post']) )

    {

        $_GET['post'] = (int)$_GET['post'];

        $getTemplateName = get_page_template_slug($_GET['post']);



        if ( $getTemplateName == 'page-template.php' )

        {

            $pageUrl = admin_url('post.php') . '?post='.$_GET['post'].'&amp;action=edit';

            $pageUrl = urlencode($pageUrl);

            $url  = admin_url('customize.php') . '?return='.$pageUrl;

            ?>

            <a class="button button-primary pi-page-templates-button button-large" href="<?php echo esc_url( $url ) ; ?>"><?php _e('Content Builder', 'titan'); ?></a>

        <?php

        }

    }

}





function pi_save_page_template_data($postID)

{

    if ( isset($_POST['post_type']) && $_POST['post_type'] == 'page'  )

    {

        if ( isset($_POST['pi_page_template']) )

        {

            $_POST['pi_page_template'] = pi_unslashed_before_update($_POST['pi_page_template']);

            update_post_meta($postID, "_pi_page_template", $_POST['pi_page_template']);

        }

    }

}




Youez - 2016 - github.com/yon3zu
LinuXploit