?¡ë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
home/user1137782/www/user1137782.atservers.net/cms/admin/module.inc.php 0000666 00000005636 15047260617 0021056 0 ustar 00
function GetModuleSection ($Keyword)
{
global $LinkID;
$select = "SELECT `Section_ID` FROM `".(LOWER_CASE_TABLES ? "module" : "Module")."` WHERE `Keyword`='".$Keyword."'";
$Result = mysql_query ($select, $LinkID);
#echo mysql_errno().": ".mysql_error()."
";
$Array = mysql_fetch_row ($Result);
return (int) $Array[0];
}
function GetModuleSectionByID ($ModuleID)
{
global $LinkID;
$select = "SELECT `Section_ID` FROM `".(LOWER_CASE_TABLES ? "module" : "Module")."` WHERE `Module_ID`='".$ModuleID."'";
$Result = mysql_query ($select, $LinkID);
#print $select."
";
#echo mysql_errno().": ".mysql_error()."
";
$Array = mysql_fetch_row ($Result);
return (int) $Array[0];
}
function GetModuleKeyword ($ModuleID)
{
global $LinkID;
$select = "SELECT `Keyword` FROM `".(LOWER_CASE_TABLES ? "module" : "Module")."` WHERE `Module_ID`='".$ModuleID."'";
$Result = mysql_query ($select, $LinkID);
#print $select."
\n";
#echo mysql_errno().": ".mysql_error()."
";
$Array = mysql_fetch_row ($Result);
return $Array[0];
}
function GetModuleName ($ModuleID)
{
global $LinkID;
$select = "SELECT `Module_Name` FROM `".(LOWER_CASE_TABLES ? "module" : "Module")."` WHERE `Module_ID`='".$ModuleID."'";
$Result = mysql_query ($select, $LinkID);
#print $select."
\n";
#echo mysql_errno().": ".mysql_error()."
";
@$Array = mysql_fetch_row ($Result);
return $Array[0];
}
function GetHelpURL ($ModuleID)
{
global $LinkID;
$select = "SELECT `Help_URL` FROM `".(LOWER_CASE_TABLES ? "module" : "Module")."` WHERE `Module_ID`='".$ModuleID."'";
$Result = mysql_query ($select, $LinkID);
#print $select."
\n";
#echo mysql_errno().": ".mysql_error()."
";
@$Array = mysql_fetch_row ($Result);
return $Array[0];
}
function DeleteModule ($ModuleID)
{
global $LinkID;
$delete = "DELETE FROM `".(LOWER_CASE_TABLES ? "module" : "Module")."` WHERE `Module_ID`='".$ModuleID."'";
$Result = mysql_query ($delete, $LinkID);
#echo mysql_errno().": ".mysql_error()."
";
}
############################################################
function DeleteFilesInDirectory ($Directory)
{
$win_Directory = str_replace("/","\\",$Directory);
if (substr(php_uname(), 0, 7) == "Windows") {
chdir($win_Directory);
$dir_list = recursive_listdir($win_Directory);
for($i=0;$i-1;$i--) rmdir($dir_list[dirs][$i]);
} else {
system("cd ".$Directory.";rm -rf *");
}
}
###############################################################
function ExecSQL ($FileWithSQL)
{
global $CMS_TEMP_PATH, $LinkID;
$fp = fopen ($FileWithSQL, "r");
while (!feof ($fp)) {
$statement = chop (fgets($fp, 4096));
if (strlen($statement) == 0) break;
@$Result = mysql_query ($statement, $LinkID);
#echo mysql_errno().": ".mysql_error()."
";
}
fclose ($fp);
}
###############################################################
?>