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/inc/modules/horizontal_4.php
<?php
if (!class_exists('doris_horizontal_4')) {
    class doris_horizontal_4 {
        
        function render($postAttr) {
            ob_start();
            global $post;
            $postID = $postAttr['postID'];
            if(isset($postAttr['postIcon']) && ($postAttr['postIcon'] != '')) {
                $postIcon = $postAttr['postIcon']; 
            }else {
                $postIcon = '';
            }
            if(isset($postAttr['catClass']) && ($postAttr['catClass'] != '')) {
                $catClass = $postAttr['catClass']; 
            }else {
                $catClass = '';
            }
            $authorCity = get_the_author_meta('city', $post->post_author);
            $thumbAttr = array (
                'postID'        => $postID,
                'thumbSize'     => $postAttr['thumbSize'],                                
            );
            $theBGLink = atbs_core::bk_get_post_thumbnail_bg_link($thumbAttr);
            ?>
            <article class="post post--horizontal <?php if(isset($postAttr['additionalClass']) && ($postAttr['additionalClass'] != null)) echo esc_attr($postAttr['additionalClass']);?>">
                <div class="post__thumb <?php if(isset($postAttr['additionalThumbClass']) && ($postAttr['additionalThumbClass'] != null)) echo esc_attr($postAttr['additionalThumbClass']);?>">
                    <div class="background-img" style="background-image: url('<?php echo esc_url($theBGLink);?>');"></div>
                    <a href="<?php echo get_permalink($postID);?>" class="link-overlay"></a>
                </div>
                <div class="post__text">
                    <div class="post-meta-top">
                        <div class="author-meta">
                            <?php 
                                $bk_author_name = get_the_author_meta('display_name', $post->post_author);
                                $authorImgALT = $bk_author_name;
                                $authorArgs = array(
                                    'class' => 'author__avatar',
                                );
                                echo get_avatar($post->post_author, '34', '', $authorImgALT, $authorArgs);
                            ?>
                              <div class="author__text">
                                <?php echo ' <a class="author__name" title="'.esc_attr__('Posts by','doris').' '.esc_attr($bk_author_name).'" rel="author" href="'.get_author_posts_url($post->post_author).'">'.esc_attr($bk_author_name).'</a>';?>
                                 <p class=""><?php echo esc_html($authorCity);?></p>
                              </div>
                           </div>
                    </div>
            
                    <h3 class="post__title <?php echo esc_attr($postAttr['typescale']);?>"><?php echo atbs_core::bk_get_post_title_link($postAttr['postID']);?></h3>
                    <?php if(isset($postAttr['except_length']) && ($postAttr['except_length'] != null)) {?>
                        <div class="post__excerpt <?php if(isset($postAttr['additionalExcerptClass']) && ($postAttr['additionalExcerptClass'] != null)) echo esc_attr($postAttr['additionalExcerptClass']);?>">
    						<?php echo atbs_core::bk_get_post_excerpt($postAttr['except_length']);?>
    					</div>
                        <?php }?>
                    <div class="post-meta">
                       <div class="meta__item">
                           <p class="title"><?php esc_html_e('Date', 'doris');?></p>
                           <?php echo atbs_core::bk_meta_cases('date_without_icon');?>
                        </div>
                     </div>
                 </div>
            </article>
            <?php return ob_get_clean();
        }
        
    }
}