<div id="pageSmoothBackground" style="background-image: url(<?= $randomPoint->getImg('middle') ?>);"></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;">Лента событий</h1>
			<hr/>
			<?php if ($notifications): foreach ($notifications as $notification): ?>
			<div>
				<?= self::renderPartial('/user/notification.php', array('notification'=>$notification),true) ?>
			</div>
				<?php endforeach; ?>
			<?php else: ?>
				Нет уведомлений.
			<?php endif; ?>

		</div>
	</div>

	<hr style="margin-bottom: 25px;"/>
	<?= self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
</div>
