File size: 625B
<?php
if (is_user()){
if (is_admin(array(101,102,103,105))){
echo '<img src="images/img/act.png" alt="image" /> <a href="'.ADMINDIR.'index.php?'.SID.'">Админ-панель</a><br />';
}
echo '<img src="images/img/act.png" alt="image" /> <a href="'.BASEDIR.'pages/index.php?act=menu&'.SID.'">Мое меню</a><br />';
} else {
echo '<img src="images/img/act.png" alt="image" /> <a href="'.BASEDIR.'pages/login.php?'.SID.'">Авторизация</a><br />';
echo '<img src="images/img/act.png" alt="image" /> <a href="'.BASEDIR.'pages/registration.php?'.SID.'">Регистрация</a><br />';
}
?>