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/plugins/doris-extension/doris-extension.php
<?php
/*
Plugin Name: Doris Extension
Plugin URI: 
Description: Doris extension (more functional, widgets, etc.)
Author: bkninja
Version: 2.2
Author URI: http://bk-ninja.com
*/

if (!defined('DORIS_EXTENSION')) {
    define('DORIS_EXTENSION', 1 );
}

if (!defined('DORIS_FUNCTIONS_PLUGIN_DIR')) {
    define('DORIS_FUNCTIONS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}

include(DORIS_FUNCTIONS_PLUGIN_DIR."/widgets/widget-about.php");
include(DORIS_FUNCTIONS_PLUGIN_DIR."/widgets/widget-twitter.php");
include(DORIS_FUNCTIONS_PLUGIN_DIR."/widgets/widget-posts-list.php");
include(DORIS_FUNCTIONS_PLUGIN_DIR."/widgets/widget-subscribe.php");
include(DORIS_FUNCTIONS_PLUGIN_DIR."/widgets/widget-category-tiles.php");
include(DORIS_FUNCTIONS_PLUGIN_DIR."/widgets/widget-social-counters.php");

if ( ! function_exists( 'bk_contact_data' ) ) {  
    function bk_contact_data($contactmethods) {
    
        unset($contactmethods['aim']);
        unset($contactmethods['yim']);
        unset($contactmethods['jabber']);
        $contactmethods['city'] = 'City';
        $contactmethods['publicemail'] = 'Public Email';
        $contactmethods['twitter'] = 'Twitter URL';
        $contactmethods['facebook'] = 'Facebook URL';
         
        return $contactmethods;
    }
}
add_filter('user_contactmethods', 'bk_contact_data');

/**-------------------------------------------------------------------------------------------------------------------------
 * remove redux sample config & notice
 */
if ( ! function_exists( 'tnm_redux_remove_notice' ) ) {
	function tnm_redux_remove_notice() {
		if ( class_exists( 'ReduxFrameworkPlugin' ) ) {
			remove_filter( 'plugin_row_meta', array( ReduxFrameworkPlugin::instance(), 'plugin_metalinks' ), null, 2 );
			remove_action( 'admin_notices', array( ReduxFrameworkPlugin::get_instance(), 'admin_notices' ) );
		}
	}
	add_action( 'redux/loaded', 'tnm_redux_remove_notice' );
}
if ( ! function_exists( 'bk_set__cookie' ) ) {
    function bk_set__cookie(){
        if (class_exists('tnm_core')) {
            $tnm_option = tnm_core::bk_get_global_var('tnm_option');
            $cookietime = $tnm_option['bk-post-view--cache-time'];
            //echo (preg_replace('/[^A-Za-z0-9]/', '', $_SERVER["REQUEST_URI"]));
            $bk_uri = explode('/', $_SERVER["REQUEST_URI"]);
            $bkcookied = 0;
            if($bk_uri[count($bk_uri) - 1] !== '') {
                $cookie_name = preg_replace('/[^A-Za-z0-9]/', '', $bk_uri[count($bk_uri) - 1]);
            }else {
                $cookie_name = preg_replace('/[^A-Za-z0-9]/', '', $bk_uri[count($bk_uri) - 2]);
            }
            if(!isset($_COOKIE[$cookie_name])) {
                setcookie($cookie_name, '1', time() + $cookietime);  /* expire in 1 hour */
                $bkcookied = 1;
            }else {
                $bkcookied = 0;
            }
            return $bkcookied;
        }
    }
}
if ( ! function_exists( 'bk_single_post_share' ) ) {
    function bk_single_post_share($postID) {
        $htmlRet = '';
        $htmlRet = doris_single::bk_entry_interaction_share($postID);
        return $htmlRet;
    }
}
/**-------------------------------------------------------------------------------------------------------------------------
 * tnm_extension_single_entry_interaction
 */
if ( ! function_exists( 'tnm_extension_single_entry_interaction' ) ) {
	function tnm_extension_single_entry_interaction($postID) {
	   ?>
        <div class="entry-interaction entry-interaction--horizontal">
        	<div class="entry-interaction__left">
        		<div class="post-sharing post-sharing--simple">
        			<ul>
        				<?php echo tnm_single::bk_entry_interaction_share($postID);?>
        			</ul>
        		</div>
        	</div>
        
        	<div class="entry-interaction__right">
        		<?php echo tnm_single::bk_entry_interaction_comments($postID);?>
        	</div>
        </div>
    <?php
    }
}
?>