File size: 1.01Kb
<h1>Дополнения</h1><br>
<div>
<img src="<?=BASEDIR?>images/img/link.svg" alt="+">
<a href="<?=BASEDIR?>pages/pravila.php">Правила</a><br>
</div>
<div>
<img src="<?=BASEDIR?>images/img/link.svg" alt="+">
<a href="<?=BASEDIR?>pages/referer.php">Ссылки</a>
<small>(<?=stats_referer()?>)</small>
</div>
<div>
<img src="<?=BASEDIR?>images/img/link.svg" alt="+">
<a href="<?=BASEDIR?>book/">Стена</a> <small>(<?=stats(0)?>)</small>
</div>
<div>
<img src="<?=BASEDIR?>images/img/link.svg" alt="+">
<a href="<?=BASEDIR?>pages/?action=copyleft">Контакты</a>
</div>
<?php
if (is_user()){
echo'<div><img src="/images/img/link.svg" alt="+">
<a href="/pages/index.php?action=menu">Меню</a></div>';
if (is_admin(array(101,102))){
echo'<div><img src="/images/img/link.svg" alt="+">
<a href="'.ADMINDIR.'index.php">Админ</a></div>';
}
} else {
echo' <a style="font-size:0.8em" href="/pages/login.php">Вход</a><br>';
}
?>
<?php
include(''.BASEDIR.'includes/skin.php');
?>