hello
Server : Apache/2.4.52 (Ubuntu) System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : servadmin ( 1000) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE Directory : /www/docs/www.obusignal.com/www.obusignal.com/wp-content/themes/eNews/includes/ |
<div id="post-top">
<div class="breadcrumb">
<?php if(function_exists('bcn_display')) { bcn_display(); }
else { ?>
<?php if( is_tag() ) { ?>
<?php _e('You are currently viewing','eNews') ?>: <em><?php _e('Posts Tagged "','eNews') ?> <?php single_tag_title(); ?>"</em>
<?php } elseif (is_day()) { ?>
<?php _e('You are currently viewing','eNews') ?>: <em><?php _e('Posts made in','eNews') ?> <?php the_time('F jS, Y'); ?></em>
<?php } elseif (is_month()) { ?>
<?php _e('You are currently viewing','eNews') ?>: <em><?php _e('Posts made in','eNews') ?> <?php the_time('F, Y'); ?></em>
<?php } elseif (is_year()) { ?>
<?php _e('You are currently viewing','eNews') ?>: <em><?php _e('Posts made in','eNews') ?> <?php the_time('Y'); ?></em>
<?php } elseif (is_search()) { ?>
<?php _e('Search results for','eNews') ?>: <em><?php the_search_query() ?></em>
<?php } ?>
<?php }; ?>
</div> <!-- end breadcrumb -->
</div> <!-- end post-top -->
<div id="main-area-wrap">
<div id="wrapper">
<div id="main" class="noborder">
<?php
if (is_archive() || is_search() || is_tag()) {
if (is_archive()) $post_number = get_option('enews_archivenum_posts');
if (is_search()) $post_number = get_option('enews_searchnum_posts');
if (is_tag()) $post_number = get_option('enews_tagnum_posts');
global $query_string; query_posts($query_string . "&showposts=$post_number&paged=$paged");
}
?>
<?php $i = 0; if (have_posts()) : while (have_posts()) : the_post();
$i++; ?>
<?php $width = 291;
$height = 114;
$titletext = get_the_title();
$thumbnail = get_thumbnail($width,$height,'',$titletext,$titletext);
$thumb = $thumbnail["thumb"]; ?>
<div class="mainpost-wrap<?php if (($i%2)<>0) echo (" fst") ?>">
<h2><a href="<?php the_permalink() ?>" title="<?php printf(__('Permanent Link to %s','eNews'), get_the_title()) ?>"><?php truncate_title(37); ?></a></h2>
<p><?php truncate_post(119); ?></p>
<?php if ( $thumb <> '' ) { ?>
<a href="<?php the_permalink() ?>" title="<?php printf(__('Permanent Link to %s','eNews'), get_the_title()) ?>">
<?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height); ?>
</a>
<?php }; ?>
<div class="info"><em><?php _e('posted on','eNews') ?></em>: <?php the_time(get_option('enews_date_format')) ?> | <em><?php _e('author','eNews') ?></em>: <?php echo get_the_author(); ?></div>
</div> <!-- end mainpost-wrap-->
<?php endwhile; ?>
<?php if( function_exists('wp_pagenavi') ) { wp_pagenavi(); }
else { ?>
<p class="pagination">
<?php next_posts_link(__('« Previous Entries','eNews')) ?>
<?php previous_posts_link(__('Next Entries »','eNews')) ?>
</p>
<?php } ?>
<?php else : ?>
<!--If no results are found-->
<div id="post-content">
<h1><?php _e('No Results Found','eNews') ?></h1>
<p><?php _e('The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.','eNews') ?></p>
<!--End if no results are found-->
</div>
<?php endif; ?>
<?php if (is_archive() || is_search() || is_tag()) wp_reset_query(); ?>
</div> <!-- end main -->