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/core.php
<?php
/**
 * doris Comments
 */
if ( ! function_exists( 'doris_comments') ) {
    function doris_comments($comment, $args, $depth) {
		$GLOBALS['comment'] = $comment; ?>
		<li id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>>
			<div id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                <footer class="comment-meta">
                    <div class="comment-author vcard"> 
                        <?php
                            echo get_avatar($comment, '70');
                        ?>
                        <b><?php printf('<span class="comment-author-name">%s</span>', get_comment_author_link()) ?></b>
                        <span class="says">says:</span>
                    </div>
                    <div class="comment-metadata">
                        <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>" class="comment-timestamp"><?php comment_time('j F, Y'); ?> <?php esc_html_e('at', 'doris');?> <?php comment_time('g:i a'); ?></a>
                        <span class="edit-link">
                            <?php edit_comment_link(__('Edit', 'doris'),'  ','');?>
                        </span>
                    </div>
                </footer><!-- .comment-meta -->
                <div class="comment-content">
    				<?php if ($comment->comment_approved == '0') : ?>
    				<div class="alert info">
    					<p><?php esc_html_e('Your comment is awaiting moderation.', 'doris') ?></p>
    				</div>
    				<?php endif; ?>
    				<?php comment_text() ?>
                </div>
                <div class="reply">
                    <?php
                        comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
                    ?>
                </div>
			</div>
		<!-- </li> is added by WordPress automatically -->
		<?php
    }
}
/**
 * ************* Pagination *****************
 *---------------------------------------------------
 */ 
if ( ! function_exists( 'doris_paginate') ) {
    function doris_paginate(){  
        global $wp_query, $wp_rewrite;
        if ( $wp_query->max_num_pages > 1 ) : ?>
        <nav class="doris-pagination">
            <h4 class="doris-pagination__title sr-only"><?php esc_html_e('Posts navigation', 'doris');?></h4>
            <div class="doris-pagination__links text-center">
        	<?php
        		$wp_query->query_vars['paged'] > 1 ? $current = $wp_query->query_vars['paged'] : $current = 1;

            		$pagination = array(
            			'base' => add_query_arg( 'paged','%#%' ),
            			'format' => '',
            			'total' => $wp_query->max_num_pages,
            			'current' => $current,
            			'prev_text' => '<i class="mdicon mdicon-arrow_back"></i>',
            			'next_text' => '<i class="mdicon mdicon-arrow_forward"></i></i>',
            			'type' => 'plain'
            		);
        		
        		if( $wp_rewrite->using_permalinks() )
        			$pagination['base'] = user_trailingslashit( trailingslashit( esc_url(remove_query_arg( 's', get_pagenum_link( 1 ) )) ) . 'page/%#%/', 'paged' );
        
        		if( !empty( $wp_query->query_vars['s'] ) )
        			$pagination['add_args'] = array( 's' => get_query_var( 's' ) );
        
        		echo paginate_links( $pagination );

        	?>
            </div>
        </nav>
<?php
    endif;
    }
}