Файл: _modules/pda/index.php
Строк: 37
<?php
# mark core v1.0
# author Drk in
# date 24.10.19
# core
require_once ( $_SERVER['DOCUMENT_ROOT']."/_core/system.php" );
# user
system::access(true);
# meta
$title = 'PDA :: '.domain;
# head
require_once ( head );
echo '
<div style="margin: 5px;">
<a href="/friends" class="weapon">
<table width="100%"><tbody><tr>
<td class="attack-icon" width="16px" valign="top"><img width="16px" src="'.ico.'friends.png"></td>
<td class="attack-text">Друзья<br>
<small>Список ваших друзей</small></td></tr></tbody></table></a>
<a href="/invite" class="weapon">
<table width="100%"><tbody><tr>
<td class="attack-icon" width="16px" valign="top"><img width="16px" src="'.ico.'add_user.png"></td>
<td class="attack-text">Пригласить друзей<br>
<small>Пригласите друзей и получайте бонус</small></td></tr></tbody></table></a>
<a href="/mail" class="weapon">
<table width="100%"><tbody><tr>
<td class="attack-icon" width="16px" valign="top"><img width="16px" src="'.ico.'mail.png"></td>
<td class="attack-text">Сообщения<br>
<small>Общение с другими сталкерами</small></td></tr></tbody></table></a>
<a href="/setting" class="weapon">
<table width="100%"><tbody><tr>
<td class="attack-icon" width="16px" valign="top"><img width="16px" src="'.ico.'settings.png"></td>
<td class="attack-text">Настройки<br>
<small>Ваши настройки</small></td></tr></tbody></table></a>
'.($user['admin'] > 0 ? '
<a href="/admin" class="weapon">
<table width="100%"><tbody><tr>
<td class="attack-icon" width="16px" valign="top"><img width="16px" src="'.ico.'menu.png"></td>
<td class="attack-text">Панель управления<br>
<small>Для админов</small></td></tr></tbody></table></a>
':null).'
</div>
<div class="line"></div>
';
# foot
require_once ( foot );
?>