?PNG
IHDR ? f ??C1 sRGB ?? gAMA ?a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]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
PK R9[! ! function.inc.phpnu W+A
function ShowSystem_Config () {
global $LinkID, $ADMIN_DOMAIN, $SYSTEM_NAME;
global $_COOKIE;
$Select = "SELECT * FROM System_Config ORDER BY System_Config_ID";
$Result = mysql_query ($Select, $LinkID);
if (!$count=mysql_num_rows($Result)) return;
$Array = mysql_fetch_assoc($Result);
mysql_free_result($Result);
?>
=_LANG_COMMON_INFO?>
=_LANG_SYS_VERSION?>: | =$Array["VersionNumber"]?> =$SYSTEM_NAME?> |
=_LANG_REGKEY?>: | =$Array["ProductNumber"]?> =$PRODUCT_NUMBER?> |
=_LANG_PRJ_TITLE?>: | =$Array["ProjectName"]?> |
=_LANG_SEC_OBJ_FILE_MANAGER?>: |
if ($Array["FileManagerSection"]) {
$res = mysql_query("SELECT `Section_Name` FROM `".(LOWER_CASE_TABLES ? "section" : "Section")."` WHERE `Section_ID`='".$Array["FileManagerSection"]."'",$LinkID);
list($filemansection_name) = mysql_fetch_row($res);
mysql_free_result($res);
echo $filemansection_name." (".$Array["FileManagerSection"].")";
} else {
echo "отсутствует";
}
?> |
=($Array["PlugsInstallType"]?_LANG_INSTALL_INTERFACE_EXT:_LANG_INSTALL_INTERFACE_INT)?> |
=_LANG_TOOLS_EXT?>
=_LANG_MYSQLDUMP_PLACE?>: |
=$Array["MySQLPath"]?>
|
=_LANG_WINRAR_PLACE?>: |
=$Array["WinRARPath"]?> |
=_LANG_MAILLISTS?>
=_LANG_FIELD_USER_TABLE?>: |
if ($Array["UserEmailObject_Field"]) {
$res = mysql_query("SELECT `Object_Field_Name` FROM `".(LOWER_CASE_TABLES ? "object_field" : "Object_Field")."` WHERE `Object_Field_ID`='".$Array["UserEmailObject_Field"]."'",$LinkID);
list($field_name) = mysql_fetch_row($res);
mysql_free_result($res);
echo $field_name;
} else {
echo "отсутствует";
}
?> |
=_LANG_SENDER_NAME?>: | =$Array["SpamFromName"]?> |
=_LANG_SENDER_EMAIL?>: | =$Array["SpamFromEmail"]?> |
=_LANG_SYS_LANG?>
=_LANG_INTERFACE_LANG?>: | =__LANG_TITLE?> |
=_LANG_INTERFACE_LANG_VER?>: | =__LANG_VERSION?> |
}
###############################################################################
function System_ConfigForm ()
{
global $LinkID,$ADMIN_DOMAIN;
global $_COOKIE;
$Result = mysql_query("SELECT * FROM `".(LOWER_CASE_TABLES ? "system_config" : "System_Config")."`",$LinkID);
$Array = mysql_fetch_assoc($Result);
mysql_free_result($Result);
?>
}
###############################################################################
function System_ConfigCompleted () {
global $LinkID, $HTTP_POST_VARS, $_POST;
while (list($key, $val) = each($HTTP_POST_VARS))
eval("global \$".$key.";");
if (!$ProjectName) {
print _LANG_SETTINGS_ERROR2."
";
System_ConfigForm ();
} else {
$System_Update = "UPDATE `".(LOWER_CASE_TABLES ? "system_config" : "System_Config")."` SET ";
$System_Update .= "`ProjectName`='".$ProjectName."',";
$System_Update .= "`UserEmailObject_Field`='".$UserEmailObject_Field."',";
$System_Update .= "`SpamFromName`='".$SpamFromName."',";
$System_Update .= "`SpamFromEmail`='".$SpamFromEmail."',";
$System_Update .= "`WinRARPath`='".$WinRARPath."',";
$System_Update .= "`MySQLPath`='".$MySQLPath."',";
$System_Update .= "`FileManagerSection`='".$FileManagerSection."',";
$System_Update .= "`PlugsInstallType`='".($PlugsInstallType+0)."'";
$Result = mysql_query ($System_Update, $LinkID);
}
return ($Result);
}
?>PK R9[g index.phpnu W+A
require_once ("../../cms.conf");
require_once ("../function.inc.php");
require_once ("function.inc.php");
$Delimeter = " > ";
$main_section = "settings";
$item_id = 5;
$Title1 = "";
$Title2 = _LANG_SYS_SETTINGS_BASIC;
$Title3 = "".$Title2."";
$Title4 = _LANG_ADD;
$Title5 = _LANG_EDIT;
if (! ($perm->isSupervisor() || $perm->isManager() || $perm->isGuest()) ) {
BeginHtml ($Title2, $Title2);
NoRightsMessage();
EndHtml ();
exit;
}
if ( isset ($step) ) {
switch ($step) {
case 1:
# форма изменения
BeginHtml ($Title5, $Title3.$Delimeter.$Title5);
System_ConfigForm ();
break;
case 2:
# собственно изменение
BeginHtml ($Title2, $Title2);
if ( !$perm->isGuest () ) {
if (System_ConfigCompleted ())
print('');
} else {
NoRightsMessage();
}
break;
}
} else {
BeginHtml ($Title2, $Title2);
ShowSystem_Config ();
}
EndHtml ();
?>PK R9[! ! function.inc.phpnu W+A PK R9[g ! index.phpnu W+A PK &