<div id="pageSmoothBackground" style="background-image: url(<?= $background ?>);"></div>
<div class="container" style="background-color: rgba(255,255,255, 0.8);margin-top: -10px;padding-bottom: 30px;">
	<div class="row">
		<div class="col-md-12">
			<h1 style="text-align: right;"><?= $article->title ?></h1>
			<div class="coords-container">
				Вернуться <a href="/">на карту</a>.
			</div>

			<div class="mainTextBlock">
				<?= $article->html; ?>
			</div>
			<p style="margin-top: 25px; text-align: right;">
				[ <?= date('H:i | d.m.Y',$article->pubDate) ?> ] [ <span class="glyphicon glyphicon-user"></span> <a href="/user/<?= $article->author ?>">блог автора <?= $article->authorUser->nick ?></a> - <span class="glyphicon glyphicon-pencil" title="<?= date('d-m-Y H:i', $article->pubDate) ?>"></span>  ]
			</p>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12" style="text-align: center;">
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- Article DOWN -->
			<ins class="adsbygoogle"
				 style="display:block"
				 data-ad-client="ca-pub-0069680015252793"
				 data-ad-slot="1336705944"
				 data-ad-format="auto"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
		</div>
	</div>

	<div class="row">
		<div class="col-md-12">
			<?= self::renderPartial('comments/all.php',array('parentId'=>$article->id, 'parentType' => 'article'),TRUE); ?>
		</div>
	</div>
	<hr/>
	<?= self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
</div>
