Просмотр файла apanel/index.php

Размер файла: 1.66Kb
<?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_a = load_lng('a_index');
if($user['level']<2)
header("Location: /");
head(''.$lng['1_54'].''); 
echo'<div class="hdr"><b>'.$lng['1_54'].'</b></div>';
echo'<div class="menu">';
if(isset($user) && $user['level']==10)
echo'<a href="settings.php">'.$lng_a['1_1'].'</a><br/>';
if(isset($user) && $user['level']==10)
echo'<a href="ads.php">'.$lng_a['1_2'].'</a><br/>';
if(isset($user) && $user['level']>=6)
echo'<a href="settings_guest.php">'.$lng_a['1_3'].'</a><br/>';
if(isset($user) && $user['level']>=6)
echo'<a href="settings_reg.php">'.$lng_a['1_4'].'</a><br/>';
if(isset($user) && $user['level']>=4)
echo'<a href="ban_ip.php">'.$lng_a['1_5'].'</a><br/>';
if(isset($user) && $user['level']>=2)
echo'<a href="banlist.php">'.$lng_a['1_6'].'</a><br/>';
echo'</div>';
if (file_exists($root_path.'install') && !empty($user['level'])) {
echo'<div class="errmenu">'.$lng_a['1_10'].'<br/>';
}
require $root_path.'includes/end.php'; // დასასრული
?>