Файл: modules/user/panel.php
Строк: 60
<?php
/**
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) 2013, Taras Chornyi, Sergiy Mazurenko, Ivan Kotliar
* @link http://perf-engine.net
* @package PerfEngine
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
if(!User::logged())
{
go('/');
}
$locate = 'in_cabinet';
$title = _t('user_panel');
include_header($title);
Template::div('title', _t('hello').', <b> '.$user['nick'].'!</b>');
Template::div('menu', img('edit_profile.png') .' <a href="/user/edit/">'. _t('edit_profile') .'</a><br/>');
Template::div('menu', img('profile.png') .' <a href="/user/profile/'. $user['id'] .'/">'. _t('view_profile') .'</a><br/>');
Template::div('menu', img('avatar.png') .' <a href="/user/avatar/">'. _t('user_avatar') .'</a><br/>');
Template::div('menu', img('users.png') .' <a href="/friends/">'. _t('friends') .'</a> <br/>');
Template::div('menu', img('shop.png') .' <a href="/user/shop/">'. _t('shop') .'</a> <br/>');
Template::div('menu', img('user-ban.png') .' <a href="/black_list/">'. _t('black_list') .'</a> <br/>');
Template::div('menu', img('settings.png') .' <a href="/user/settings/">'. _t('settings') .'</a><br/>');
Template::div('menu', img('safe.png') .' <a href="/user/security/">'. _t('security') .'</a><br/>');
Template::div('menu', img('mail.png') .' <a href="/mail/">'. _t('u_mail') .'</a><br/>');
Template::div('menu', img('privacy.png') .' <a href="/user/privacy/">'. _t('privacy') .'</a><br/>');
Template::div('menu', img('error.png') .' <a href="/user/exit">'. _t('sign_out') .'</a>');
Template::div('block', HICO .'<a href="/">'. _t('home') .'</a>');
include_footer();
?>