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

Размер файла: 2.27Kb
<?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_index = load_lng('index');
head($set['title']); 
require $root_path.'includes/main_counters.php';// მთვლელის გამოტანა
require $root_path.'includes/news_header.php'; // სიახლის გამოტანა
echo'<div class="menu"><img src="/images/icons/news.gif" alt="'.$lng_index['1_1'].'" /> <a href="modules/news/">'.$lng_index['1_1'].'</a> '.$news_count. '<br/></div>';
echo'<div class="menu"><img src="/images/icons/book.gif" alt="'.$lng_index['1_2'].'" /> <a href="modules/guestbook/">'.$lng_index['1_2'].'</a> '.$guestbook_count. '<br/></div>';
echo'<div class="menu"><img src="/images/icons/forum.gif" alt="'.$lng_index['1_3'].'" /> <a href="modules/forum/">'.$lng_index['1_3'].'</a> '.$forum_count. '<br/></div>';
echo'<div class="menu"><img src="/images/icons/down.gif" alt="'.$lng_index['1_4'].'" /> <a href="modules/down/">'.$lng_index['1_4'].'</a><br/></div>';
require $root_path.'includes/users_counters.php';// მთვლელის გამოტანა
echo'<div class="menu"><img src="/images/icons/users.gif" alt="'.$lng_index['1_5'].'" /> <a href="/pages/users.php">'.$lng_index['1_5'].'</a> '.$user_reg_count. '<br/></div>';
echo'<div class="menu"><img src="/images/icons/adm.gif" alt="'.$lng_index['1_6'].'" /> <a href="/pages/admins.php">'.$lng_index['1_6'].'</a> '.$user_adm_count. '<br/></div>';
echo'<div class="menu"><img src="/images/icons/faq.gif" alt="'.$lng_index['1_7'].'" /> <a href="pages/site.php">'.$lng_index['1_7'].'</a></div>';
echo'</div>';
require $root_path.'includes/end.php'; // დასასრული
?>