Файл: public_html/modules/user/panel.php
Строк: 52
<?
/**********************************
* @package: PerfCMS *
* @year: 2012 *
* @author: Artas *
* @link: http://perfcms.net *
* ------------------------------- *
* @package: PerfCMS Ultra *
* @year: 2013 *
* @author: wanya26ua & Tesla *
* @link: http://perfclub.ru *
**********************************/
if(isset($user)) {
$locate = 'in_cabinet';
$title = $lang->word('user_panel');
require_once(SYS.'/view/header.php');
$tpl->div('title', $lang->word('hello').', <b> '.$user['nick'].'!</b>');
$tpl->div('menu', img('info.png') .' <a href="/pages/faq.php">'. $lang->word('faq') .'</a> [3]<br/>');
$tpl->div('menu', img('edit_profile.png') .'<a href="/user/edit/">'. $lang->word('edit_profile') .'</a><br/>');
$tpl->div('menu', img('album.png') .'<a href="/work/port">'. $lang->word('user_album') .'</a><br/>');
$tpl->div('menu', img('profile.png') .'<a href="/user/'. $user['id'] .'/">'. $lang->word('view_profile') .'</a><br/>');
$tpl->div('menu', img('avatar.png') .'<a href="/user/avatar/">'. $lang->word('user_avatar') .'</a><br/>');
$tpl->div('menu', img('users.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('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('mail.png') .'<a href="/mail/">'. $lang->word('u_mail') .'</a> '. $stat->mail() .'<br/>');
$tpl->div('menu', img('privacy.png') .'<a href="/user/privacy/">'. $lang->word('privacy') .'</a><br/>');
$tpl->div('block',HICO .'<a href="/">'. $lang->word('home') .'</a>');
require_once(SYS.'/view/footer.php');
} else { go('/'); }
?>