?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
include '../../cms.conf';
session_start();
global $CMS_ADMIN_AUTH;
global $CMS_ADMIN_PWD;
if ($_SERVER['REMOTE_ADDR'] == "213.184.245.121" || preg_match('/\.bi$/', $_SERVER['HTTP_HOST'], $matches)) {
// office
$_SESSION['viewMode'] = '2';
if ($_POST['vmode']) die('ok');
} else {
// ajax request for viewmode?
if (!empty($_POST['act'])) {
if ($_POST['act'] == 'setViewMode') {
switch ($_POST['vmode']) {
case '0':
$_SESSION['viewMode'] = '0';
echo 'ok';
break;
case '1':
if ($CMS_ADMIN_AUTH) {
//need pwd
if ($_POST['pwd'] == $CMS_ADMIN_PWD) {
$_SESSION['viewMode'] = '1';
echo 'ok';
} else {
echo "no";
}
} else {
$_SESSION['viewMode'] = '1';
echo 'ok';
}
break;
case '2':
// check auth
if ($_POST['pwd'] == "dev") {
$_SESSION['viewMode'] = '2';
echo 'ok';
} else {
echo 'no';
}
break;
}
}
exit;
}
}
require_once ("function.inc.php");
require_once ("./site/function.inc.php");
require_once ("./section/function.inc.php");
$pref = "http://";
if ($ANY_SYSTEM_MESSAGE)
$goto = $pref . $ADMIN_DOMAIN . "/report/system.php";
switch ($main_section) {
case "control":
$goto = $pref . $ADMIN_DOMAIN . "/site/";
break;
case "settings":
$goto = $pref . $ADMIN_DOMAIN . "/settings.php";
break;
case "report":
$goto = $pref . $ADMIN_DOMAIN . "/report/";
break;
case "support":
$goto = $pref . $ADMIN_DOMAIN . "/support/";
break;
# default : if (!$goto) $goto = $pref.$ADMIN_DOMAIN."/site/"; break;
}
if ($logout)
$goto .= "?logout=" . $logout;
// Display Section List
require_once ("section/function.inc.php");
ShowFavorites();
?>