?¡ë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
function date_to_string(date){
var year = date.getFullYear();
var month = date.getMonth()+1;
if (month < 10) {month = '0'+month;}
var day = date.getDate();
if (day < 10) {day = '0'+day;}
return year+'-'+month+'-'+day;
}
var days_previos_default=2;
$(function(){
var date = new Date();
var date_text = date_to_string(date);
var timestamp = parseInt(date.getTime());
var ddays = days_previos_default*(60*60*24*1000);
var prev_timestamp = timestamp-ddays;
var prevdate = new Date(prev_timestamp);
var prevdate_text = date_to_string(prevdate);
$('.std-date-input').each(function(){
$(this).datepicker({
numberOfMonths: 1,
dateFormat: 'yy-mm-dd',
showOn: "both",
buttonImage: "http://"+document.location.host+"/cms/admin/_images/calendar.png",
buttonImageOnly: true,
maxDate: 0,
setDate : date
});
var name = $(this).attr('Name');
if (name == 'Date_from') { $(this).attr('value',prevdate_text); }
if (name == 'Date_to') { $(this).attr('value',date_text); }
//$(this).attr('value',xdate_text);
});
$('.std-datetame-input').each(function(){
$(this).datepicker({
numberOfMonths: 1,
dateFormat: 'yy-mm-dd',
showOn: "both",
buttonImage: "http://"+document.location.host+"/cms/admin/_images/calendar.png",
buttonImageOnly: true,
maxDate: 0,
setDate : date
});
});
$('.button-as-link').click(function(){
var href = $(this).attr('href');
document.location.href = 'http://'+document.location.host+href;
});
$('input[name=ExternalURL]').keyup(function(){
var val = $(this).attr('value');
var display = $('.ext-link-redirect-block').css('display');
var showed = (display == 'block') ? true : false;
if (val && !showed){
$('.ext-link-redirect-block').slideDown();
$('.ext-link-redirect-block').show();
}
if (!val && showed){
$('.ext-link-redirect-block').stop();
$('.ext-link-redirect-block').slideUp();
}
});
});