<div class="title"><?=Lang::get('forum_new_posts', 'forum'); ?></div>
<?php foreach($posts as $post): ?>
<div class="post">
	<?=User::nick($post['user_id']); ?>
	<?=Filters::output($post['text']); ?>
	<br/>
	<small class="gray">[<?=Filters::viewTime($post['time']); ?> / <?=$this->topicNew($post['topic_id']); ?>]</small>
</div>
<?php endforeach ?>
<? $pages->view(); ?>
<div class="block">
<?=System::image('back.png'); ?> <a href="/forum/"><?=Lang::get('forum_title', 'forum'); ?></a><br/>
<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>