<? if (defined('USER')) : ?><nav class="menu"><ul class="menu"><li>
<a class="ajax button<?=$color['garden']?>menu" href="/garden"><img alt="" class="icon" src="/design/icons/plant.png">
Растения</a></li><li><a class="ajax button<?=$color['animal']?>menu" href="/animal">
<img alt="" class="icon" src="/design/icons/animal.png">Животные</a>
</li></ul><ul class="menu"><li><a class="ajax button<?=$color['technic']?>menu" href="/technic">
<img alt="" class="icon" src="/design/icons/technic.png">Техника</a></li>
<li><a class="ajax button<?=$color['tasks']?>menu" href="/tasks"><img alt="" class="icon" src="/design/icons/task.png">
Задания</a></li></ul><ul class="menu"><li><a class="ajax button menu" href="/storage">
<img alt="" class="icon" src="/design/icons/storage.png">Склад</a></li><li>
<a class="ajax button menu" href="/shop"><img alt="" class="icon" src="/design/icons/shop.png">
Магазин</a></li></ul><ul class="menu"><li><a class="ajax button menu" href="/bank">
<img alt="" class="icon" src="/design/icons/bank.png">Банк</a></li>
<li><a class="ajax button menu" href="/fortune"><img alt="" class="icon" src="/design/icons/fortune.png">
Фортуна</a></li></ul><ul class="menu"><li><a class="ajax button menu" href="/rating">
<img alt="" class="icon" src="/design/icons/rating.png">Рейтинги</a></li><li>
<a class="ajax button menu" href="/users"><img alt="" class="icon" src="/design/icons/users.png">
Игроки</a></li></ul><ul class="menu"><li><a class="ajax button<?=$color['news']?>menu" href="/news">
<img alt="" class="icon" src="/design/icons/news.png">Новости</a></li>
<li><a class="ajax button<?=$color['chat']?>menu" href="/chat"><img alt="" class="icon" src="/design/icons/chat.png">
Чат</a></li></ul><? if (USER['status'] != 'guest') : ?><ul class="menu"><li>
<a class="ajax button<?=$color['mail']?>menu" href="/mail"><img alt="" class="icon" src="/design/icons/mail.png">
Почта</a></li><li><a class="ajax button<?=$color['gifts']?>menu" href="/gifts">
<img alt="" class="icon" src="/design/icons/gift.png">Подарки</a>
</li></ul><? endif; ?><ul class="menu"><li><a class="ajax button menu" href="/profile">
<img alt="" class="icon" src="/design/icons/<?=$USER->sex(USER['sex'])?>.png">Профиль</a></li>
<li><a class="ajax button menu" href="/friends"><img alt="" class="icon" src="/design/icons/friend.png">
Друзья</a></li></ul><ul class="menu"><li><a class="ajax button menu" href="/settings">
<img alt="" class="icon" src="/design/icons/setting.png">Настройки</a></li>
<li><a class="button menu" href="/logout/token/<?=TOKEN?>"><img alt="" class="icon" src="/design/icons/exit.png">
Выход</a></li></ul><ul class="menu"><li><a class="ajax button menu" href="/about">
<img alt="" class="icon" src="/design/icons/about.png">Справка</a></li>
<li><a class="button menu" href="https://vk.com/<?=VK['group']?>" target="_blank">
<img alt="" class="icon" src="/design/icons/vk.png">Группа ВК</a></li></ul>
<? if (USER['status'] == 'guest') : ?><ul class="menu"><li><a class="ajax button save" href="/save">
<img alt="" class="icon" src="/design/icons/save.png">Сохранить игру</a></li></ul><? endif; ?>
<p class="online"><img alt="" class="icos" src="/design/icons/users.png">
Игроков: <span class="color"><?=$users?></span>, онлайн: <span class="color"><?=$online?></span>.
</p></nav><footer><p>Онлайн - игра "<span class="color"><?=SERV['name']?></span>"</p>
<p>© Проект "<span class="color"><?=SERV['copy']?></span>" <?=date('Y')?></p></footer><? endif; ?></body></html>