| Server IP : 103.82.32.14 / Your IP : 216.73.217.55 Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : lonmakmf ( 524) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/forumhet/public_html/ |
Upload File : |
<?php
/**
* @package JohnCMS
* @link http://johncms.com
* @copyright Copyright (C) 2008-2011 JohnCMS Community
* @license LICENSE.txt (see attached file)
* @version VERSION.txt (see attached file)
* @author http://johncms.com/about
*/
define('_IN_JOHNCMS', 1);
require('incfiles/core.php');
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
if (isset($_GET['err']))
$act = 404;
switch ($act) {
case '404':
/*
-----------------------------------------------------------------
Сообщение об ошибке 404
-----------------------------------------------------------------
*/
$headmod = 'error404';
require('incfiles/head.php');
echo functions::display_error($lng['error_404']);
break;
default:
/*
-----------------------------------------------------------------
Главное меню сайта
-----------------------------------------------------------------
*/
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
$headmod = 'mainpage';
require('incfiles/head.php');
include 'pages/mainmenu.php';
/*
-----------------------------------------------------------------
Карта сайта
-----------------------------------------------------------------
*/
if (isset($set['sitemap'])) {
$set_map = unserialize($set['sitemap']);
if (($set_map['forum'] || $set_map['lib']) && ($set_map['users'] || !$user_id) && ($set_map['browsers'] || !$is_mobile)) {
$map = new sitemap();
echo '<div class="sitemap">' . $map->site() . '</div>';
}
}
}
require('incfiles/end.php');