<?php
/*
* @ServerMon v1.1
* @Developed by Maksa988
* @www.Server-Mon.ru
* @Copyright (C) 2014
*/
 if(!defined('SMON'))
	die('Hacking attempt!');
?>
<div id="content">
	<div class="breadcrumb"><i class="fa fa-angle-right"></i> <?=$navbarName?> <i class="fa fa-long-arrow-right"></i> <?=$news['news_name']?></div>
	<div class="page">
		<?=htmlspecialchars_decode($news['news_text'])?>
		<br><br>
		<i class="fa fa-calendar"></i> <?php echo date("d.m.Y в H:i", strtotime($news['news_time'])) ?>
	</div>
	<div class="blocks">
		<div class="block">
			<div class="block-header"><i class="fa fa-th"></i> Навигация</div>
			<div class="block-body">
			<ul class="block-nav">
				<li><a href="#">Проверка лицензии</a></li>
				<li><a href="#">Партнеры</a></li>
				<li><a href="#">ServerMon Web API</a></li>
			</ul>
			</div>
		</div>
		
		<div class="block">
			<div class="block-header"><i class="fa fa-th"></i> Другие новости</div>
			<div class="block-body">
			<ul class="block-nav">
				<?php foreach($news_last as $item): ?>
				<li><a href="/news/view/<?=$item['news_id']?>"><?=$item['news_name']?></a></li>
				<?php endforeach ?>
			</ul>
			</div>
		</div>
	</div>
	<div class="clear"></div>
</div>