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/single.php
<?php
    $doris_option = atbs_core::bk_get_global_var('doris_option');
    
    if(function_exists('bk_set__cookie')) {
        $doris_cookie = bk_set__cookie();
    }else {
        $doris_cookie = 1;
    }
    
    get_header();
    
    if ( have_posts() ) : while ( have_posts() ) : the_post(); 
    
    $postID = get_the_ID();  
    
    if ($doris_cookie == 1) {
        atbs_core::bk_setPostViews($postID);
    }
    
    $doris_single_template = 'single-1';
    
    if (isset($doris_option) && ($doris_option != '')): 
        $bk_single_template = $doris_option['bk-single-template'];
    endif;
    
    if(function_exists('has_post_format')):
        $postFormat = get_post_format($postID);
    else :
        $postFormat = 'standard';
    endif;
    
    $bkPostLayout = get_post_meta($postID,'bk_post_layout_standard',true);
    
    if($bkPostLayout == '') {
        $bkPostLayout = 'single-1';
    }
    
    $sidebar_option = '';
    $sidebar        =  doris_single::bk_get_post_option($postID, 'bk_post_sb_select'); 
    if(!is_active_sidebar($sidebar)) {
        $sidebar_option = 'disable';
    }
    
    if($bkPostLayout == 'global_settings') {
        $finalPostLayout = $bk_single_template;
    }else {
        $finalPostLayout = $bkPostLayout;
    }
    
    if($finalPostLayout == 'single-1') {
        if($sidebar_option != 'disable') {
            get_template_part( '/library/templates/single/partials/single-1' ); //single-1
        }else {
            get_template_part( '/library/templates/single/partials/single-4' ); //single-4
        }
    }else if($finalPostLayout == 'single-2') {
        if($sidebar_option != 'disable') {
            get_template_part( '/library/templates/single/partials/single-2' ); //single-2
        }else {
            get_template_part( '/library/templates/single/partials/single-5' ); //single-5
        }
    }else if($finalPostLayout == 'single-3') {
        if($sidebar_option != 'disable') {
            get_template_part( '/library/templates/single/partials/single-3' ); //single-3
        }else {
            get_template_part( '/library/templates/single/partials/single-4' ); //single-4
        }
    }else if($finalPostLayout == 'single-4') {
        get_template_part( '/library/templates/single/partials/single-4' ); //single-2
    }else if($finalPostLayout == 'single-5') {
        get_template_part( '/library/templates/single/partials/single-5' ); //single-2-alt
    }else {
        get_template_part( '/library/templates/single/partials/single-4' ); //single-2
    }
    
    endwhile; endif;
    
    get_footer(); 
?>