HEX
Server: LiteSpeed
System: Linux sinope.sitehostingserver.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: aprilnet (1155)
PHP: 8.2.32
Disabled: popen,imap_mail,exec,passthru,system,shell_exec,proc_open,pcntl_exec,eval,allow_url_fopen,allow_url_include,mail,proc_get_status,get_cfg_var,disk_free_space,disk_total_space,diskfreespace,getmygid,getmyinode,getmypid,geymyuid,proc_nice,proc_terminate,proc_close,apache_child_terminate,chown,lchgrp,lchown,link,readlink,highlight_file,show_source,php_strip_whitespace,get_meta_tags,dl,leak,pfsockopen,event_new,pcntl_signal,pcntl_alarm,register_tick_function,apache_setenv,define_syslog_variables,escapeshellarg,escapeshellcmd,ini_alter,ini_restore,inject_code,openlog,syslog,xmlrpc_entity_decode,phpAds_remoteInfo,phpAds_XmlRpc,phpAds_xmlrpcDecode,phpAds_xmlrpcEncode,chgrp,php_eval,safe_dir,root,ftok,egy_perl,symlink,wscript
Upload Files
File: /home/aprilnet/public_html/sciohost.org/wp-content/themes/doris/library/ajax/ajax-post-list.php
<?php
if (!class_exists('doris_ajax_post_list')) {
    class doris_ajax_post_list {
        //Search Query
        static function doris_query($args) {    
            $the_query = new WP_Query($args);
            unset($args);
            wp_reset_postdata();                                                            
            return $the_query;
        }
    }
}
//FW
add_action('wp_ajax_nopriv_doris_posts_listing_grid_fw', 'doris_posts_listing_grid_fw');
add_action('wp_ajax_doris_posts_listing_grid_fw', 'doris_posts_listing_grid_fw');
if (!function_exists('doris_posts_listing_grid_fw')) {
    function doris_posts_listing_grid_fw()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args       = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $type       = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid_fw;
            $dataReturn = $thismodule->render_modules($the_query, $moduleInfo);
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_large_grid_fw', 'doris_posts_listing_large_grid_fw');
add_action('wp_ajax_doris_posts_listing_large_grid_fw', 'doris_posts_listing_large_grid_fw');
if (!function_exists('doris_posts_listing_large_grid_fw')) {
    function doris_posts_listing_large_grid_fw()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args       = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $type       = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_large_grid_fw;
            $dataReturn = $thismodule->render_modules($the_query, $moduleInfo);
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}
//Has SB
add_action('wp_ajax_nopriv_doris_posts_listing_list_first_large', 'doris_posts_listing_list_first_large');
add_action('wp_ajax_doris_posts_listing_list_first_large', 'doris_posts_listing_list_first_large');
if (!function_exists('doris_posts_listing_list_first_large')) {
    function doris_posts_listing_list_first_large()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_first_large;
            $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}

add_action('wp_ajax_nopriv_doris_posts_listing_grid_first_large', 'doris_posts_listing_grid_first_large');
add_action('wp_ajax_doris_posts_listing_grid_first_large', 'doris_posts_listing_grid_first_large');
if (!function_exists('doris_posts_listing_grid_first_large')) {
    function doris_posts_listing_grid_first_large()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_grid_first_large;
            $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}

add_action('wp_ajax_nopriv_doris_posts_listing_grid', 'doris_posts_listing_grid');
add_action('wp_ajax_doris_posts_listing_grid', 'doris_posts_listing_grid');
if (!function_exists('doris_posts_listing_grid')) {
    function doris_posts_listing_grid()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args       = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $type       = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid;
            $dataReturn = $thismodule->render_modules($the_query, $moduleInfo);
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}

add_action('wp_ajax_nopriv_doris_posts_listing_large_grid', 'doris_posts_listing_large_grid');
add_action('wp_ajax_doris_posts_listing_large_grid', 'doris_posts_listing_large_grid');
if (!function_exists('doris_posts_listing_large_grid')) {
    function doris_posts_listing_large_grid()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args       = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $type       = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_large_grid;
            $dataReturn = $thismodule->render_modules($the_query, $moduleInfo);
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}

add_action('wp_ajax_nopriv_doris_posts_listing_list', 'doris_posts_listing_list');
add_action('wp_ajax_doris_posts_listing_list', 'doris_posts_listing_list');
if (!function_exists('doris_posts_listing_list')) {
    function doris_posts_listing_list()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args       = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_list;
            $dataReturn = $thismodule->render_modules($the_query, $moduleInfo);
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}
/*
add_action('wp_ajax_nopriv_doris_author_results', 'doris_author_results');
add_action('wp_ajax_doris_author_results', 'doris_author_results');
if (!function_exists('doris_author_results')) {
    function doris_author_results()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null; 
        $args['offset'] = $postOffset;
        $dataReturn = 'no-result';
        
        $users = new WP_User_Query( $args );
        $users_found = $users->get_results();
        $user_count = count($users_found);
        
        if ( $user_count > 0 ) :
            $dataReturn = doris_archive::bk_render_authors($users_found);
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_list_alt_a', 'doris_posts_listing_list_alt_a');
add_action('wp_ajax_doris_posts_listing_list_alt_a', 'doris_posts_listing_list_alt_a');
if (!function_exists('doris_posts_listing_list_alt_a')) {
    function doris_posts_listing_list_alt_a()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_alt_a;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_list_alt_a_no_sidebar', 'doris_posts_listing_list_alt_a_no_sidebar');
add_action('wp_ajax_doris_posts_listing_list_alt_a_no_sidebar', 'doris_posts_listing_list_alt_a_no_sidebar');
if (!function_exists('doris_posts_listing_list_alt_a_no_sidebar')) {
    function doris_posts_listing_list_alt_a_no_sidebar()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_alt_a_no_sidebar;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_list_alt_b_no_sidebar', 'doris_posts_listing_list_alt_b_no_sidebar');
add_action('wp_ajax_doris_posts_listing_list_alt_b_no_sidebar', 'doris_posts_listing_list_alt_b_no_sidebar');
if (!function_exists('doris_posts_listing_list_alt_b_no_sidebar')) {
    function doris_posts_listing_list_alt_b_no_sidebar()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
    
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_alt_b_no_sidebar;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_list_alt_c_no_sidebar', 'doris_posts_listing_list_alt_c_no_sidebar');
add_action('wp_ajax_doris_posts_listing_list_alt_c_no_sidebar', 'doris_posts_listing_list_alt_c_no_sidebar');
if (!function_exists('doris_posts_listing_list_alt_c_no_sidebar')) {
    function doris_posts_listing_list_alt_c_no_sidebar()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
    
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_alt_c_no_sidebar;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_list_alt_b', 'doris_posts_listing_list_alt_b');
add_action('wp_ajax_doris_posts_listing_list_alt_b', 'doris_posts_listing_list_alt_b');
if (!function_exists('doris_posts_listing_list_alt_b')) {
    function doris_posts_listing_list_alt_b()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;      
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_alt_b;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_list_alt_c', 'doris_posts_listing_list_alt_c');
add_action('wp_ajax_doris_posts_listing_list_alt_c', 'doris_posts_listing_list_alt_c');
if (!function_exists('doris_posts_listing_list_alt_c')) {
    function doris_posts_listing_list_alt_c()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) :
            $thismodule = new doris_posts_listing_list_alt_c;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        else :
            $dataReturn = 'no-result';        
        endif;
        
        die(json_encode($dataReturn));
    }
}

add_action('wp_ajax_nopriv_doris_posts_listing_list_no_sidebar', 'doris_posts_listing_list_no_sidebar');
add_action('wp_ajax_doris_posts_listing_list_no_sidebar', 'doris_posts_listing_list_no_sidebar');
if (!function_exists('doris_posts_listing_list_no_sidebar')) {
    function doris_posts_listing_list_no_sidebar()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args       = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_list_no_sidebar;
            $dataReturn = $thismodule->render_modules($the_query, $moduleInfo);
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}

add_action('wp_ajax_nopriv_doris_posts_listing_grid_alt_a', 'doris_posts_listing_grid_alt_a');
add_action('wp_ajax_doris_posts_listing_grid_alt_a', 'doris_posts_listing_grid_alt_a');
if (!function_exists('doris_posts_listing_grid_alt_a')) {
    function doris_posts_listing_grid_alt_a()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid_alt_a;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules_loadmore($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_grid_alt_b', 'doris_posts_listing_grid_alt_b');
add_action('wp_ajax_doris_posts_listing_grid_alt_b', 'doris_posts_listing_grid_alt_b');
if (!function_exists('doris_posts_listing_grid_alt_b')) {
    function doris_posts_listing_grid_alt_b()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null; 
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid_alt_b;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules_loadmore($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_grid_no_sidebar', 'doris_posts_listing_grid_no_sidebar');
add_action('wp_ajax_doris_posts_listing_grid_no_sidebar', 'doris_posts_listing_grid_no_sidebar');
if (!function_exists('doris_posts_listing_grid_no_sidebar')) {
    function doris_posts_listing_grid_no_sidebar()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid_no_sidebar;
                                    
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        }else {
            $dataReturn = 'no-result';        
        }
        
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_grid_small', 'doris_posts_listing_grid_small');
add_action('wp_ajax_doris_posts_listing_grid_small', 'doris_posts_listing_grid_small');
if (!function_exists('doris_posts_listing_grid_small')) {
    function doris_posts_listing_grid_small()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid_small;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
    }
}
add_action('wp_ajax_nopriv_doris_posts_listing_grid_small_no_sidebar', 'doris_posts_listing_grid_small_no_sidebar');
add_action('wp_ajax_doris_posts_listing_grid_small_no_sidebar', 'doris_posts_listing_grid_small_no_sidebar');
if (!function_exists('doris_posts_listing_grid_small_no_sidebar')) {
    function doris_posts_listing_grid_small_no_sidebar()
    {        
        check_ajax_referer( 'doris_ajax_security', 'securityCheck' );
        $args      = isset( $_POST['args'] ) ? $_POST['args'] : null;    
        $postOffset = isset( $_POST['postOffset'] ) ? $_POST['postOffset'] : null;    
        $type      = isset( $_POST['type'] ) ? $_POST['type'] : null;   
        $moduleInfo = isset( $_POST['moduleInfo'] ) ? $_POST['moduleInfo'] : null;   
        $the__lastPost = isset( $_POST['the__lastPost'] ) ? $_POST['the__lastPost'] : 0;   
        
        $dataReturn = 'no-result';
        
        $args['offset'] = $postOffset;
        
        $the_query = doris_ajax_post_list::doris_query($args);
        
        if ( $the_query->have_posts()) {
            $thismodule = new doris_posts_listing_grid_small_no_sidebar;
            if($type == 'loadmore') :
                $dataReturn = $thismodule->render_modules_loadmore($the_query, $the__lastPost, $moduleInfo);
            else :
                $dataReturn = $thismodule->render_modules($the_query, 0, $moduleInfo);
            endif;
        }else {
            $dataReturn = 'no-result';        
        }
        die(json_encode($dataReturn));
        
    }
}*/