?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
function in_array(arr, value) { if (typeof arr != 'object') return false; for (var key in arr) { if (arr[key] == value) return true; } return false; } function show_hide(id, sid) { var el = document.getElementById('p' + id); dt = new Date(); dt.setHours(dt.getHours()+1); $("#p"+id).slideToggle("fast"); if (el.style.display != 'none') { document.cookie = 's_'+sid+'_'+id+'=0;expires='+dt.toGMTString()+';path=/'; } else { document.cookie = 's_'+sid+'_'+id+'=1;expires='+dt.toGMTString()+';path=/'; } } function refreshJSection(){ $("#bottomInfo").load("http://"+$("#logo").attr("url")+"/cms/admin/seo/index.php?step=2",{},function(){ $("#sitemap_refresh").click(function(){ $("#jSection").slideDown("fast"); $("#jSection").load("http://"+$("#logo").attr("url")+"/cms/admin/seo/index.php?step=1",{},function(){ refreshJSection(); }); }); $("#sitemap_create").click(function(){ $("#jSection").slideDown("fast"); $("#jSection").load("http://"+$("#logo").attr("url")+"/cms/admin/seo/index.php?step=1",{},function(){ refreshJSection(); }); }); }); } function jBlockClose(){ $("#jSection").slideUp("fast"); } function refreshTagList(){ $(".tagsList").load('/cms/modules/tags/admin/?step=refresh'); } function saveEditedTag(){ var newTag = $("#editTag").val(); if(newTag.length>0){ $("#editTagResult").load("/cms/modules/tags/admin/?step=edit",{tag:newTag,tagID:$("#editTag").attr("editid")},function(data){ switch(data){ case '1': // ok $("#editTag").val(""); $("#editTag").focus(); $("#editTagResult").html("

Уведомление: Метка "+newTag+" успешно обновлена

"); $("#addTagResult").fadeOut(3500,function(){ $("#editTagResult").html(""); $("#editTagResult").show(); // close $("#dialog-modal").dialog('close'); refreshTagList(); }); break; case '2': // have one $("#editTagResult").html("

Ошибка: Данная метка уже создана

"); $("#editTagResult").fadeOut(3500,function(){ $("#editTagResult").html(""); $("#editTagResult").show(); }); break; default: // unrecognized error $("#editTagResult").html("

Ошибка: Неопознанная ошибка

"); $("#editTagResult").fadeOut(5500,function(){ $("#editTagResult").html(""); $("#editTagResult").show(); }); } }); } else { $("#editTagResult").html("

Ошибка: Заполните поле

"); } } function deleteTag(currentID){ $.post("/cms/modules/tags/admin/?step=del",{tagID:currentID},function(data){ switch(data){ case '1': // ok $("#dialog-modal").dialog('close'); refreshTagList(); break; case '2': // no id $("#delTagResult").html("

Ошибка: Метка с данным ID не найдена

"); $("#delTagResult").fadeOut(5500,function(){ $("#dialog-modal").dialog('close'); refreshTagList(); }); break; default: $("#delTagResult").html("

Ошибка: Неопознанная ошибка

"); $("#delTagResult").fadeOut(5500,function(){ $("#dialog-modal").dialog('close'); refreshTagList(); }); } }); } // image deletion function function deleteImage($item) { $item.fadeOut(function() { var $list = $('ul', $('#trash')).length ? $('ul', $('#trash')) : $('