View file modules/news/views/default/detail.tpl

File size: 923B
<?php $this->display('header.tpl', array('sub_title' => 'Новости')) ?>

<div class="title"><img src="<?php echo URL ?>views/<?php echo THEME ?>/img/titl.gif" class="ico" alt="" /><b><?php echo $news['subject'] ?></b> (<?php echo date('d.m.Y', $news['time']) ?>)</div>
<div class="menu">
<?php echo $news['text'] ?><br />
<img src="<?php echo URL ?>modules/comments/images/comment.png" alt="" border="0" /> <a href="<?php echo a_url('comments', 'module=news&amp;item_id='. $news['news_id'] .'&amp;return='. urlencode(a_url('news', 'start='. @$_GET['start'], TRUE))) ?>">Комментарии</a> [<?php echo $news['comments'] ?>]
</div>

<?php if($pagination)
	echo '<div class="block">'. $pagination .'</div>';
?>

<div class="block">
<a href="<?php echo a_url('news') ?>">Все новости</a><br />
<a href="<?php echo URL ?>">На главную</a>
</div>

<?php $this->display('footer') ?>