?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
home/user1137782/www/user1137782.atservers.net/js/reactive.js 0000666 00000032103 15047113565 0017176 0 ustar 00 $(document).ready(function(){
$.ajax({
url: 'http://api.vk.com/method/groups.getById?gid=55145715&fields=members_count',
dataType: "jsonp",
success:function(e){
$('.vk span').html(e.response[0].members_count);
}
});
$.ajax({
url: 'http://api.facebook.com/restserver.php?method=facebook.fql.query&query=SELECT%20fan_count%20FROM%20page%20WHERE%20page_id=584651154943902',
dataType: "xml",
success:function(e){
var xml = e.documentElement.childNodes[1].childNodes[1].firstChild.nodeValue;
$('.fb span').html(xml);
}
});
var picW = $('.bPicsB').width();
$('.bPicsB').find('a').css('width', picW + 'px');
var picW2 = $('.bPic').width();
$('.bPic').find('a').css('width', picW2 + 'px');
/* VK.init(function() {
VK.api('groups.getMembers',{gid: '55145715'},function(data) {
if (data.response) {
var memebers_n = data.response.count;
$('.vk span').text(memebers_n);
}
});
}); */
$(document).on('click','a.ui-corner-all',function(){
var conn = new cms_connector('user');
var section = export_form('section');
var m;
$('#month option').each(function(i){
if($(this).text()==$('.sel1 input').val())
{
m = parseInt($(this).val());
return 0;
}
});
conn.execute({'filterDate' : {
'sParams' : section,
'year': parseInt($('.sel2 input').val()),
'month': m
}}, function() {
if($('div').is('.proBlocks'))
$('.proBlocks').html(this.result.out);
if($('.sel2').val())
{
$(".sel1 input").removeAttr('disabled');
$('#month').html(this.result.list);
}
else
$(".sel1 input").attr('disabled', 'disabled');
$( "select" ).combobox();
}
);
});
$( ".proBlocksW table tbody tr:even td" ).css( "background-color", "#fce8d3" );
if($(".contentBtm ul").size()){
jQuery('.contentBtm ul').jcarousel({
buttonNextHTML: "",
buttonPrevHTML: "",
visible:5,
wrap:"both",
scroll:1,
itemFallbackDimension: 247
});
};
if($(".visualIn").size()){
jQuery('.visualIn').jcarousel({
buttonNextHTML: "",
buttonPrevHTML: "",
visible:1,
wrap:"both",
scroll:1
});
};
$('.infoBlock').mouseover(function() {
$(this).addClass('infoHov');
});
$('.infoBlock').mouseout(function() {
$(this).removeClass('infoHov');
});
$('.servBlockL').mouseover(function() {
$(this).parent().find('.servBlockR a').addClass('linkHov');
});
$('.servBlockL').mouseout(function() {
$(this).parent().find('.servBlockR a').removeClass('linkHov');
});
$('.servBlockL a').mouseover(function() {
$(this).parent().parent().parent().find('.servBlockR a').addClass('aHov');
});
$('.servBlockL a').mouseout(function() {
$(this).parent().parent().parent().find('.servBlockR a').removeClass('aHov');
});
$(document).on('mouseover','.newsBlockkL a', function() {
$(this).parent().parent().find('.newsBlockkR a').addClass('aHov');
});
$(document).on('mouseout','.newsBlockkL a',function() {
$(this).parent().parent().find('.newsBlockkR a').removeClass('aHov');
});
$('.adsTabs li a').click(function() {
var tab_id=$(this).attr('id');
var lnk = $(this).attr('link');
if($(this).parents("li").hasClass("act"))
{
if(lnk)
location.pathname = lnk;
} else tabClick2(tab_id);
return false
});
function tabClick2(tab_id) {
if (tab_id != $('.adsTabs li.act a').attr('id') ) {
$('.adsBlocks').removeClass('active');
$('.adsTabs li').removeClass('act');
$('#'+tab_id).parent().addClass('act');
$('#con_' + tab_id).addClass('active');
return false
}
}
$(document).on('click','.newsHeadR li a',function() {
var tab_id=$(this).attr('id');
tabClick3(tab_id);
return false
});
function tabClick3(tab_id) {
if (tab_id != $('.newsHeadR li.act a').attr('id') ) {
$('.newsList').removeClass('active');
$('.newsHeadR li').removeClass('act');
$('#'+tab_id).parent().addClass('act');
$('#con_' + tab_id).addClass('active');
return false
}
}
$(document).on("click",'.contMap p a.toShow',function(){
//$(this).parent().parent().find('div').animate({height: "715px"}, 1500);
$(this).parent().parent().find('div').animate({height: "715px"}, {duration: 1500, complete: function() {getMap();}});
$(this).removeClass('toShow');
$(this).addClass('toHide');
$(this).find('img').attr({ src: '/img/up.png' });
return false;
});
$(document).on("click",'.contMap p a.toHide',function(){
$(this).parent().parent().find('div').animate({height: "100px"}, {duration: 1500, complete: function() {hideMap();}});
$(this).removeClass('toHide');
$(this).addClass('toShow');
$(this).find('img').attr({ src: '/img/down.png' });
return false;
});
$(".proPics a, .bPics a").click(function() {
var expr = /(jpg|jpeg|gif|png)$/gi;
var expr2 = /^\/image/gi;
var lnkt = /(php|html)$/gi;
if(expr.test($(this).attr("href")) || expr2.test($(this).attr("href")))
$(this).parents('.bPics, .proPics').find('.bPicsB a img, .proPicsB a img').attr({ src: $(this).attr("href") });
else if(lnkt.test($(this).attr("href")))
location.pathname = $(this).attr("href");
return false;
});
/**
* $('#visSlides').movingBoxes({
* startPanel : 1, // start with this panel
* reducedSize : 1, // non-current panel size: 80% of panel size
* wrap : true, // if true, the panel will "wrap" (it really rewinds/fast forwards) at the ends
* buildNav : true, // if true, navigation links will be added
* // navFormatter : function(){ return "●"; } // function which returns the navigation text for each panel
* // width and panelWidth options removed in v2.2.2, but still backwards compatible
* // width : 300, // overall width of movingBoxes (not including navigation arrows)
* panelWidth : 1, // current panel width
* speed: 300
* });
*/
// This resize demo only works properly with MovingBoxes v2.2.3+
//
$(window).resize(function(){
if($(document).hasClass('visSlides'))
{
clearTimeout(timer);
var timer;
var slider = $('#visSlides').data('movingBoxes');
slider.options.width = $(window).width() * 1; // make 50% browser width
slider.options.panelWidth = 1; // make 70% of wrapper width
// prevent updating continuously, aka throttle resize
timer = setTimeout(function(){
slider.update(false);
}, 100);
}
});
$('.visual2 img').load(function()
{
$('.load').hide();
$('.visual2').show();
});
$('.testBlockIn img').load(function()
{
$('.load').hide();
$('#visSlides').show();
$('#visSlides').movingBoxes({
// overall width of movingBoxes
// width: 300, // Deprecated, but still works in v2.2.2
// current panel width adjusted to 50% of overall width
// panelWidth: 0.5, // Deprecated, but still works in v2.2.2
// **** Appearance ****
// start with this panel
startPanel: 1,
// non-current panel size: 80% of panel size
reducedSize: 1,
// if true, slider height set to max panel height; if false, height will auto adjust.
fixedHeight: false,
// **** Behaviour ****
// animation time in milliseconds
speed: 600,
delayBeforeAnimate :600,
// if true, hash tags are enabled
hashTags: true,
// if true, the panel will "wrap" (it really rewinds/fast forwards) at the ends
wrap: true,
// if true, navigation links will be added
buildNav: true,
// function which returns the navigation text for each panel
navFormatter: function(index, panel){ return "●" },
// anything other than "linear" or "swing" requires the easing plugin
easing: 'swing',
// **** Selectors & classes ****
// current panel class
currentPanel: 'current',
// added to the navigation, but the title attribute is blank unless the link text-indent is negative
tooltipClass: 'tooltip',
// **** Callbacks ****
// e = event, slider = MovingBoxes Object, tar = current panel #
// callback when MovingBoxes has completed initialization
initialized: function(e, slider, tar){},
// callback upon change panel initialization
initChange: function(e, slider, tar){
// alert( 'Changing panels to #' + tar );
},
// callback before any animation occurs
beforeAnimation: function(e, slider, tar){
// callback after animation completes
$('.visText').slideUp();
},
completed: function(e, slider, tar){
// get name from title
// var name = slider.$panels.eq(tar-1).find('h2').text().split(' ')[0];
// alert( "Now on " + name + "'s panel" );
//$('.visSlides').show();
$('.visText').slideDown();
}
});
var index = $('.wrapIn').width();
$('.mb-scrollButtons').css('width', (index - 765)*0.5 + 'px');
$('.testBlock').css('width', index + 'px');
$('.testBlock').css('margin-left', -index*0.5 + 'px');
$('.mb-inside img').css('margin-left', -((1300 - index)*0.5) + 'px');
$('.visText11').css('left', ((index - 765)*0.5) -151 + 'px');
$('.visText13').css('right', ((index - 765)*0.5) -151 + 'px');
$('.visText12').css('left', ((index - 765)*0.5) + 10 + 'px');
$('.visText21').css('left', ((index - 765)*0.5) -151 + 'px');
$('.visText23').css('right', ((index - 765)*0.5) -151 + 'px');
$('.visText22').css('left', ((index - 765)*0.5) + 10 + 'px');
$('.visText31').css('left', ((index - 765)*0.5) -151 + 'px');
$('.visText33').css('right', ((index - 765)*0.5) -151 + 'px');
$('.visText32').css('left', ((index - 765)*0.5) + 10 + 'px');
});
$(document).on("click",'.mb-scrollButtons',function(){
$(this).parents().find('.visText').slideUp();
return false;
});
if($('.proButton').size()){
$('.proButton a').fancybox({
'padding' : 0,
'margin' : 0
});
};
if($('.proHead').size()){
$('.proHead a').fancybox({
'margin' : 0,
'padding' : 0
});
};
/*if($('a').hasClass('b2But4')){
$('.b2But4').fancybox({
'margin' : 0,
'padding' : 0
});
};*/
$('.bAdd a').fancybox({
'margin' : 0,
'padding' : 0
});
if($('a').hasClass('b2But3')){
$('.b2But3').fancybox({
'margin' : 0,
'padding' : 0
});
};
$(document).on('mouseover', '.bName a, .bPicsB a', function(){
$(this).parents('.bBlock').find('.bPic').eq(3).find('span').css({'text-decoration': 'underline'});
});
$(document).on('mouseout', '.bName a, .bPicsB a', function () {
$(this).parents('.bBlock').find('span').css({'text-decoration': ''});
});
$(document).on('mouseover', '.prAbs, .bPicsB a', function(){
$(this).parents('.bBlock').find('.bName a').css({'color':'#444','text-decoration':'none', 'border-bottom': '1px solid #444'});
});
$(document).on('mouseout', '.prAbs, .bPicsB a', function () {
$(this).parents('.bBlock').find('.bName a').css({'color':'', 'border-bottom': ''});
});
$('.proPic img + a, .proPicsB a').hover(function(){
$(this).parents('.proBlock').find('.proName a').css({'color':'#444','text-decoration':'none', 'border-bottom': '1px solid #444'});
}, function () {
$(this).parents('.proBlock').find('.proName a').css({'color':'', 'border-bottom': ''});
});
$('.proName a, .proPicsB a').hover(function(){
$(this).parents('.proBlock').find('.proPic').eq(5).find('span').css({'text-decoration': 'underline'});
}, function () {
$(this).parents('.proBlock').find('.proPic a').children().children().css({'text-decoration': ''});
});
$('#searchGoods .b2But2, .b2But').click(function() {
var section = export_form('searchGoods');
if($(this).hasClass('b2But'))
section.search = "";
if($(this).hasClass('b2But') || section.section==424 || $('.contBlock h2').data('all'))
section.all = true;
var conn = new cms_connector('user');
conn.execute({'Search' : {
'sParams' : section,
}}, function() {
$('.contBlock h2').data({'all' : false});
if(section.all) {
$('.contBlock h2').data({'all' : true, 'txt' : $('.contBlock h2').text()});
$('.contBlock h2').html("B2B-Каталог");
}
else if($('.contBlock h2').text = "B2B-Каталог") {
$('.contBlock h2').html($('.contBlock h2').data('txt'));
}
$('.bContent').html(this.result.out);
}
);
});
/*$('.b2But2').click(function(){console.log('так есть!!!')})*/
});
$(window).resize(function(){
var index2 = $('.wrapIn').width();
$('.mb-scrollButtons').css('width', (index2 - 765)*0.5 + 'px');
$('.testBlock').css('width', index2 + 'px');
$('.testBlock').css('margin-left', -index2*0.5 + 'px');
$('.mb-inside img').css('margin-left', -((1300 - index2)*0.5) + 'px');
$('.visText11').css('left', ((index2 - 765)*0.5) -151 + 'px');
$('.visText13').css('right', ((index2 - 765)*0.5) -151 + 'px');
$('.visText12').css('left', ((index2 - 765)*0.5) + 10 + 'px');
$('.visText21').css('left', ((index2 - 765)*0.5) -151 + 'px');
$('.visText23').css('right', ((index2 - 765)*0.5) -151 + 'px');
$('.visText22').css('left', ((index2 - 765)*0.5) + 10 + 'px');
$('.visText31').css('left', ((index2 - 765)*0.5) -151 + 'px');
$('.visText33').css('right', ((index2 - 765)*0.5) -151 + 'px');
$('.visText32').css('left', ((index2 - 765)*0.5) + 10 + 'px');
});
$(window).load(function(){
$("#prSlider").sliderkit({
circular:true,
mousewheel:true,
shownavitems:4,
verticalnav:true,
navclipcenter:true,
auto:false
});
});