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 _e('You are currently viewing','eNews') ?>: <em><?php single_cat_title("") ?></em>
<?php }; ?>
</div> <!-- end breadcrumb -->
</div> <!-- end post-top -->
<div id="main-area-wrap">
<div id="wrapper">
<div id="main" class="noborder">
<?php query_posts("cat=$cat&showposts=$enews_catnum_posts&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>
</div>
<!--End if no results are found-->
<?php endif; ?>
<?php wp_reset_query(); ?>
</div> <!-- end main -->