File size: 898B
<div class="menu">Новости:</div>
<?php if($news_count > 0) : ?>
<?php foreach($news_sql as $view) : ?>
<div class="content">
<i class="icon-rss"></i> <b><?php echo $view['news_title']; ?> (<?php echo $rt->print_date($view['news_date']); ?>)</b><br/>
<?php echo $rt->print_news($view['news_text']); ?>
</div>
<div class="separator"></div>
<?php endforeach; ?>
<?php if($navigator->count()) : ?>
<div class="menu2">Навигация:</div>
<div class="content">Страницы: <?php echo $navigator->pagination(); ?></div>
<div class="separator"></div>
<div class="content"><?php echo $navigator->back_forward_links('Туды', 'Сюды'); ?></div>
<div class="separator"></div>
<div class="content"><?php echo $navigator->show_form('Перейти'); ?></div>
<?php endif; ?>
<?php else : ?>
<div class="content">Новостей нет!</div>
<?php endif; ?>