?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
index.php000066600000016773150472611150006410 0ustar00Вернуться в раздел"; require_once $ROOT_FOLDER."action/edit/fields.php"; if ($submit) eval($addCond); if (!$submit) { eval("echo \"$template_header\";"); if ($addTemplate && !$as_admin) { eval("echo \"$addTemplate\";"); } else { if ($warnText) echo "
" . $warnText . "
"; if ($newadd == 1) echo "
Запись добавлена
"; echo "
"; if ($as_admin) echo ""; echo ""; echo ""; echo ""; if ($as_Parent_Data_ID) echo ""; require_once $ROOT_FOLDER."action/edit/edit.php"; echo "
"; } } else { include $ROOT_FOLDER."action/edit/save.php"; $IsChecked = 2 - $moderationID; if ($as_Checked && $as_admin) $IsChecked = $as_Checked + 0; if (!$user_table_mode) { if (!$as_DaysToHold) $as_DaysToHold = $daysToHold; if (!$as_DaysToShow) $as_DaysToShow = $daysToShow; $as_Parent_Data_ID += 0; $as_DaysToHold += 0; $as_DaysToShow += 0; if ($as_DaysToHold) { $fieldString .= "TimeToDelete, "; $timeStamp = time() + ($as_DaysToHold + 0) * 24 * 3600; $TimeToDelete = date("Y", $timeStamp).date("m", $timeStamp).date("d", $timeStamp).date("H", $timeStamp).date("i", $timeStamp).date("s", $timeStamp); $valueString .= $TimeToDelete.", "; } if ($as_DaysToShow) { $fieldString .= "TimeToUncheck, "; $timeStamp = time() + ($as_DaysToShow + 0) * 24 * 3600; $TimeToUncheck = date("Y", $timeStamp).date("m", $timeStamp).date("d", $timeStamp).date("H", $timeStamp).date("i", $timeStamp).date("s", $timeStamp); $valueString .= $TimeToUncheck.", "; } $fieldString .= "Created, Parent_Data_ID, IP, UserAgent, LastUser_ID, "; $valueString .= "\"".date("Y-m-d H:i:s")."\", \"".$as_Parent_Data_ID."\", \"".$REMOTE_ADDR."\", \"".$HTTP_USER_AGENT."\", '0', "; $query = "INSERT INTO `".(LOWER_CASE_TABLES ? "data" : "Data")."".$classID."` (`Section_ID`, `Section_Object_ID`, ".$fieldString." `Checked`, `Keyword`, `User_ID`) VALUES (".$section.", ".$object.", ".$valueString.$IsChecked.", '".($as_admin?$as_Keyword:"")."', ".$AUTH_USER_ID.")"; $resMsg = mysql_query($query, $LinkID); if ($as_admin && ($resMsg === false)){ $error_msg = mysql_error($LinkID); } //$resMsg = mysql_query("INSERT INTO Data".$classID." (Section_ID, Section_Object_ID, ".$fieldString." Checked, Keyword, User_ID) VALUES (".$section.", ".$object.", ".$valueString.(isset($as_Checked)?1:0).", '".($as_admin?$as_Keyword:"")."', ".$AUTH_USER_ID.")", $LinkID); //print "INSERT INTO Data".$classID." (Section_ID, Section_Object_ID, ".$fieldString." Checked, Keyword, User_ID) VALUES (".$section.", ".$object.", ".$valueString.(isset($as_Checked)?1:0).", '".($as_admin?$as_Keyword:"")."', ".$AUTH_USER_ID.")"; $msgID = mysql_insert_id($LinkID); // Tag support if(function_exists(updateTags)&&$MODULE_VARS[tags][ENABLE_TAGS]){ $tags = $_POST['Tag']; updateTags($classID,$section,$msgID,$tags); } if ($as_Priority) { $as_Priority += 0; if ($as_admin) { $res = mysql_query("UPDATE `".(LOWER_CASE_TABLES ? "data" : "Data")."".$classID."` SET `Priority`=Priority+1,`LastSystem_Updated`=LastSystem_Updated WHERE `Priority`>=".$as_Priority." AND `Section_ID`=".$section." AND `Section_Object_ID`='".$object."'", $LinkID); $res = mysql_query("UPDATE `".(LOWER_CASE_TABLES ? "data" : "Data")."".$classID."` SET `Priority`=".$as_Priority.",`LastSystem_Updated`=LastSystem_Updated WHERE Data_ID='".$msgID."'", $LinkID); } } else { $res = mysql_query("SELECT max(Priority) FROM `".(LOWER_CASE_TABLES ? "data" : "Data")."".$classID."` WHERE `Section_ID`='".$section."' AND `Section_Object_ID`='".$object."'", $LinkID); list($maxPriority) = mysql_fetch_row($res); mysql_free_result($res); $res = mysql_query("UPDATE `".(LOWER_CASE_TABLES ? "data" : "Data")."".$classID."` SET `Priority`=".($maxPriority+1).",`LastSystem_Updated`=LastSystem_Updated WHERE `Data_ID`='".$msgID."'", $LinkID); } } else { $RegistrationCode = md5(uniqid(rand())); eval("\$UserConfirmationEmail = \$as_".$MODULE_VARS[users][USER_CONFIRMATION_EMAIL_FIELD].";"); if ($MODULE_VARS['users']['USER_PREMODERATION']) $IsChecked = 0; else $IsChecked = 1; if ($MODULE_VARS['users']['USER_CONFIRMATION']) $IsChecked = 0; $query = "INSERT INTO `".(LOWER_CASE_TABLES ? "user" : "User")."` (".$fieldString."`Password`, `User_Group_ID`, `Checked`, `Created`, `RegistrationCode`) VALUES (".$valueString."MD5('".$Password."'), ".$MODULE_VARS[users][USER_GROUP].", '".(isset($as_Checked)?1:0)."', \"".date("Y-m-d H:i:s")."\", '".$RegistrationCode."')"; $resMsg = mysql_query($query, $LinkID); $msgID = mysql_insert_id($LinkID); $ConfirmationLink = "http://".$_SERVER['HTTP_HOST'].$CMS_ADMIN_PATH."modules/users/add/?id=".$msgID."&code=".$RegistrationCode; } if (!$message) $message = $msgID; for ($i=0; $i

Информация будет опубликована после проверки админиcтратором.

"; } else header('Location: ' . $CMS_ADMIN_PATH . '?site='.$site.'§ion='.$section.'&object='.$object.'&noframe=1'); } if ($object && !$user_table_mode && $IsChecked && $MODULE_VARS['subscriber']) { eval("\$mailbody = \"$subscribeTemplate\";"); subscribe_sendmail($object,$mailbody); } } else { if ($submit_type == 2) eval("echo \"$template_header\";"); echo "

Ошибка добавления объекта.

".($error_msg ? "

".$error_msg."

" : "")."
".$goBack; } } if ($submit_type == 1 || !$resMsg || !isset($submit_type)) eval("echo \"$template_footer\";"); if ($submit_type == 2 && $resMsg) header('Location: ' . $CMS_ADMIN_PATH . 'action/add/?site='.$site.'§ion='.$section.'&object='.$object.'&newadd=1'); ?>