<?

?></div>
<div class="foot-center text-center text-bold">
	<a class="foot-bottom-center" href="/user/news-add/">
		Предложить новость
	</a>
</div>

<div class="text-center foot">
	<a class="foot-bottom" href="/main/rules/">
		Соглашение
	</a>
	<a class="foot-bottom" href="/ads">
		<span style="color:#9eb3dc;">
			Купить
		</span>
		<span style="color:#61b37f;">Рекламу</span>
	</a>
	<?
		if ($user) {
			?>
				<a class="foot-bottom" href="/user/signout/">Выход</a>
			<?
		}

		if ($user AND $sql->SqlCount() != 0 AND $set['show_SqlCount'] == 1 AND $user['id_level'] > 0) {
			?>
				<span class="foot-bottom" style="color:#cea221;">SqlCount [<?=$sql->SqlCount()?>]</span>
			<?
		}
	?>	
	<?
		if ($user AND $set['show_GenPage'] == 1 AND $user['id_level'] > 0) {
			?>
				<span class="foot-bottom" style="color:#d0965b;">GenPage [<?=$GenPage?>]</span>
			<?
		}
		if ($set['copyfoot'] != null) {
			?>
				<br/> <?=output($set['copyfoot'], 'html')?>
			<?
		}		
?></div></body><?
ob_end_flush();
exit;