Файл: modules/user/panel.php
Строк: 49
<?
if(isset($user)) {
$locate = 'in_cabinet';
$title = $lang->word('user_panel');
require_once(SYS.'/view/header.php');
$tpl->div('title', $lang->word('user_panel').', <b> '.$user['nick'].'!</b>');
$tpl->div('menu', img('profile.png') .'<a href="/user/'. $user['id'] .'/">'. $lang->word('view_profile').'</a> | '.'<a href="/user/edit/">'. $lang->word('edit_profile_1') .'</a><br/>');
$tpl->div('menu', img('4.png') .'<a href="/user/wmid/">'. $lang->word('wmid_p') .'</a><br/>');
$tpl->div('menu', img('avatar.png') .'<a href="/user/avatar/">'. $lang->word('user_avatar') .'</a><br/>');
$tpl->div('menu', img('add_friend.png') .'<a href="/friends/">'. $lang->word('friends') .'</a> <br/>');
$tpl->div('menu', img('shop.png') .'<a href="/user/shop/">Услуги</a> <br/>');
$tpl->div('menu', img('album.png') .'<a href="/work/port">'. $lang->word('user_album') .'</a><br/>');
$tpl->div('menu', img('settings.png') .'<a href="/user/settings/">'. $lang->word('settings') .'</a><br/>');
$tpl->div('menu', img('safe.png') .'<a href="/user/security/">'. $lang->word('security') .'</a><br/>');
$tpl->div('menu', img('privacy.png') .'<a href="/user/privacy/">'. $lang->word('privacy') .'</a><br/>');
$tpl->div('menu', img('key2.png') .'<a href="/user/autologin/">'. $lang->word('autologin') .'</a><br/>');
$tpl->div('block',HICO .'<a href="/">'. $lang->word('home') .'</a>');
require_once(SYS.'/view/footer.php');
} else { go('/'); }
?>