<?php if($notModeratedPoints):?>
	<h3>Точки на модерации</h3>
	<?php foreach ($notModeratedPoints as $point): ?>
		#<?=$point['id']?> <img src="/ico/lock.png" />
		<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
		<img src="<?=$point['categoryIcon']?>" /> <a href="/page/point/id/<?=$point['id']?>"><?=$point['name']?></a>
		<?=$point['author']?>
		<br/>
	<?php endforeach; ?>
	<hr/>
<?php endif; ?>

<h3>Список точек</h3>

<?php foreach ($points as $point): ?>
	#<?=$point['id']?> <img src="<?=$point['categoryIcon']?>" /> <a href="/page/point/id/<?=$point['id']?>"><?=$point['name']?></a>
	<?=$point['author']?>
	<br/>
<?php endforeach; ?>
<?= self::renderPartial('modals/categories.php', array('categories' => $categories), true) ?>
