View file pages/profile.php

File size: 1.48Kb
<?php
/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\//
// Sitchi CMS - Mobile Content Management System //
// The author:  Nikoloz Sitchinava [sitchi]      //
// Link:        http://sitchicms.num.ge          //
// Skype:       SitchiCMS                        //
// License:     LICENSE.txt (see attached file)  //
// Version:     VERSION.txt (see attached file)  //
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
define('_SITCHICMS', 1);
$root_path='../'; 
require $root_path.'includes/db_connect.php';
require $root_path.'includes/start.php';
require $root_path.'includes/header.php';
require $root_path.'includes/functions.php';
require $root_path.'includes/head.php'; // თავი
$lng_profile = load_lng('profile');
head($lng_profile['1_1'].' | '.$user['login']); 
echo'<div class="hdr"><b>'.$lng['1_4'].'</b></div>';
aut_off();
echo'<div class="menu">' .
'<a href="info.php">'.$lng_profile['1_1'].'</a><br/>' .
'<a href="mail.php">'.$lng_profile['1_3'].'</a><br/>' .
'<a href="avatars.php"> '.$lng_profile['1_4'].'</a><br/>' .
'<a href="info_edit.php"> '.$lng_profile['1_5'].'</a><br/>' .
'<a href="password.php"> '.$lng_profile['1_6'].'</a><br/>' .
'<a href="settings.php"> '.$lng_profile['1_7'].'</a><br/>';
if(isset($user) && $user['level']>=2)
echo'<a href="'.$root_path.'apanel/"> '.$lng_profile['1_9'].'</a><br/>';
echo'<a href="exit.php"> '.$lng_profile['1_10'].'</a>';
echo'</div>';
require $root_path.'includes/end.php'; // დასასრული
?>