<div class="title"><?=Lang::get('padmin_static_pages', 'padmin'); ?></div>
<?php if($pages->rowCount() == 0): ?>
<div class="error">Pages not found</div>
<?php else: ?>
<?php foreach( $pages as $page): ?>
<div class="menu"><?=System::image('arrow.png'); ?> <a href="/pages/<?=$page['id']?>-<?=$page['translit_name']; ?>.html"><?=$page['name']; ?></a> [<a href="/padmin/index/page_edit?id=<?=$page['id']?>">+</a>]</div>
<?php endforeach; ?>
<?php endif; ?>
<div class="block">
	<?=System::image('app-import.png'); ?> <a href="/padmin/index/page_add"><?=Lang::get('padmin_static_pages_add', 'padmin'); ?></a><br/>
	<?=System::image('back.png'); ?> <a href="/padmin/index"><?=Lang::get('padmin_title', 'padmin'); ?></a><br/>
	<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>