Файловый менеджер - Редактировать - /var/www/html/components/com_community/assets/window-1.0.min.js
Ðазад
function cWindowShow(windowCall,winTitle,contentWidth,contentHeight,winType){if(winType instanceof Array&&(winType=winType.join(" ")),/^.+\"\s*admin\s*,.+\;$/.test(windowCall))return void cAdminWindowShow(windowCall,winTitle,contentWidth,contentHeight,winType);joms.jQuery("body").unbind("mouseup"),joms.jQuery("#cWindow").remove();var cWindowHTML=decodeURIComponent("%3Cdiv%20id%3D%22cWindow%22%20class%3D%22%7BcWindoClass%7D%22%3E%0A%09%3Cdiv%20id%3D%22cwin_tl%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20id%3D%22cwin_tm%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20id%3D%22cwin_tr%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22clear%3A%20both%3B%22%3E%3C%2Fdiv%3E%0A%0A%09%3Cdiv%20id%3D%22cwin_ml%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20id%3D%22cWindowContentOuter%22%3E%0A%0A%09%09%3Cdiv%20id%3D%22cWindowContentTop%22%3E%0A%09%09%09%3Ca%20href%3D%22javascript%3Avoid(0)%3B%22%20onclick%3D%22cWindowHide()%3B%22%20id%3D%22cwin_close_btn%22%3E%3C%2Fa%3E%0A%09%09%09%3Cdiv%20id%3D%22cwin_logo%22%3E%3C%2Fdiv%3E%0A%09%09%09%3Cdiv%20class%3D%22clr%22%3E%3C%2Fdiv%3E%0A%09%09%3C%2Fdiv%3E%0A%0A%09%09%3Cdiv%20id%3D%22cWindowContentWrap%22%3E%0A%09%09%09%3Cdiv%20id%3D%22cWindowContent%22%3E%3C%2Fdiv%3E%0A%09%09%3C%2Fdiv%3E%0A%0A%09%3C%2Fdiv%3E%0A%09%3Cdiv%20id%3D%22cwin_mr%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22clear%3A%20both%3B%22%3E%3C%2Fdiv%3E%0A%0A%09%3Cdiv%20id%3D%22cwin_bl%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20id%3D%22cwin_bm%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20id%3D%22cwin_br%22%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20style%3D%22clear%3A%20both%3B%22%3E%3C%2Fdiv%3E%0A%3C%2Fdiv%3E");cWindowHTML=cwindow_is_modeless?cWindowHTML.replace("{cWindoClass}","dialog modeless"):cWindowHTML.replace("{cWindoClass}","dialog"),cwindow_is_modeless=!1;var cWindow=joms.jQuery(cWindowHTML),cWindowSize,cBrowserWidth=joms.jQuery(window).width();cWindowSize="480">=cBrowserWidth?{contentWrapHeight:function(){return+contentHeight},contentOuterWidth:function(){return+cBrowserWidth-20},contentOuterHeight:function(){return+contentHeight+40},width:function(){return this.contentOuterWidth()-50},height:function(){return this.contentOuterHeight()+2},left:function(){return(joms.jQuery(window).width()-this.width())/2},top:function(){return joms.jQuery(document).scrollTop()+(joms.jQuery(window).height()-this.height())/2},zIndex:function(){return cGetZIndexMax()+1}}:{contentWrapHeight:function(){return+contentHeight},contentOuterWidth:function(){return+contentWidth},contentOuterHeight:function(){return+contentHeight+40},width:function(){return this.contentOuterWidth()+2},height:function(){return this.contentOuterHeight()+2},left:function(){return(joms.jQuery(window).width()-this.width())/2},top:function(){return joms.jQuery(document).scrollTop()+(joms.jQuery(window).height()-this.height())/2},zIndex:function(){return cGetZIndexMax()+1}},cWindow.find("#cwin_logo").html(winTitle),cWindow.find("#cWindowContentWrap").css({height:cWindowSize.contentWrapHeight()}),cWindow.find("#cWindowContentOuter, #cwin_tm, #cwin_bm").css({width:cWindowSize.contentOuterWidth()}),cWindow.find("#cWindowContentOuter, #cwin_ml, #cwin_mr").css({height:cWindowSize.contentOuterHeight()+40}),cWindow.attr({"class":winType}).css({width:cWindowSize.width(),height:cWindowSize.height(),top:cWindowSize.top(),left:cWindowSize.left(),zIndex:cWindowSize.zIndex()}).prependTo("body"),winType&&winType.match(/noresize/)&&cWindowResize(contentHeight),jax.loadingFunction=function(){joms.jQuery("#cWindowContentWrap").addClass("loading")},jax.doneLoadingFunction=function(){joms.jQuery("#cWindowContentWrap").removeClass("loading").css({overflow:"auto",overflowX:"hidden",overflowY:"auto"})},void 0!=windowCall&&"string"==typeof windowCall&&eval(windowCall),"function"==typeof windowCall&&windowCall(),joms.jQuery.browser.msie&&joms.jQuery.browser.version.substr(0,1)<7&&"undefined"!=typeof jomsIE6&&1==jomsIE6&&joms.jQuery("#cwin_tm, #cwin_bm, #cwin_ml, #cwin_mr").each(function(){joms.jQuery(this)[0].filters(0).sizingMethod="crop"}),cWindowHelper.hideIframe(),cWindowHelper.save(),cWindowHelper.start(),cWindowHelper.startRotationHandle()}function cMiniWindowShow(a,b,c,d,e){cwindow_is_modeless=!0,cWindowShow(a,b,c,d,e),joms.jQuery("#cWindow").hover(function(){mouse_is_inside=!0},function(){mouse_is_inside=!1}),joms.jQuery("body").mouseup(function(a){return!joms.jQuery.browser.msie||"SELECT"!=a.target.tagName&&"OPTION"!=a.target.tagName?void(mouse_is_inside||cMiniWindowHide()):!1})}function cAdminWindowShow(windowCall,winTitle,contentWidth,contentHeight,winType){joms.jQuery("body").unbind("mouseup"),joms.jQuery("#cWindow").remove();var cWindowHTML=decodeURIComponent("%3Cdiv%20id%3D%22cWindow%22%20class%3D%22modal%20%7BcWindoClass%7D%22%3E%20%3Cdiv%20class%3D%22modal-header%20cWindowContentTop%22%3E%20%3Ca%20href%3D%22javascript%3Avoid(0)%3B%22%20onclick%3D%22cWindowHide()%3B%22%20class%3D%22close%22%3E%C3%97%3C%2Fa%3E%20%3Ch3%20id%3D%22cwin_logo%22%3E%3C%2Fh3%3E%20%3C%2Fdiv%3E%20%3Cdiv%20id%3D%22cWindowContentOuter%22%3E%20%3Cdiv%20class%3D%22modal-body%22%3E%20%3Cdiv%20id%3D%22cWindowContentWrap%22%3E%20%3Cdiv%20id%3D%22cWindowContent%22%3E%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E");cWindowHTML=cwindow_is_modeless?cWindowHTML.replace("{cWindoClass}","dialog modeless"):cWindowHTML.replace("{cWindoClass}","dialog"),cwindow_is_modeless=!1;var cWindow=joms.jQuery(cWindowHTML),cWindowSize;cWindowSize={contentWrapHeight:function(){return+contentHeight},contentOuterHeight:function(){return+contentHeight+55},height:function(){return this.contentOuterHeight()+2}},cWindow.find("#cwin_logo").html(winTitle),cWindow.find("#cWindowContentOuter, #cwin_ml, #cwin_mr").css({}),cWindow.find(".modal-body").css({"max-height":joms.jQuery(window).height()-290+"px"}),cWindow.attr({"class":winType}).hide().prependTo("#js-cpanel").fadeIn(),jax.loadingFunction=function(){joms.jQuery("#cWindowContentWrap").addClass("loading")},jax.doneLoadingFunction=function(){joms.jQuery("#cWindowContentWrap").removeClass("loading").css({overflow:"auto",overflowX:"hidden",overflowY:"auto"})},void 0!=windowCall&&"string"==typeof windowCall&&eval(windowCall),"function"==typeof windowCall&&windowCall(),cWindowHelper.hideIframe(),cWindowHelper.save(),cWindowHelper.start()}function cWindowHide(){var a=joms.jQuery("#cWindow");a.find("#cWindowAction").add("<div>").animate({bottom:"-30px"},"fast",function(){a.fadeOut("fast",function(){a.find("iframe").prop("src",""),a.remove(),cWindowHelper.unhideIframe(),cWindowHelper.stop(),cWindowHelper.startRotationHandle()})})}function cMiniWindowHide(){var a=joms.jQuery("#cWindow");a.remove(),cWindowHelper.unhideIframe()}function cWindowAddContent(html,actions,cmd){var cWindow=joms.jQuery("#cWindow"),cWindowContent;cWindow.length&&(cWindowContent=cWindow.find("#cWindowContent"),cWindowContent.html(html),actions&&(joms.jQuery("#cWindowAction").remove(),joms.jQuery('<div id="cWindowAction" style="position:relative; height:50px">').html(actions).appendTo("#cWindowContentOuter")),setTimeout(function(){cWindowResize(cWindowContent.innerHeight()),cWindowContent.find("img").load(function(){cWindowResize(cWindowContent.innerHeight())})},0),void 0!=cmd&&""!=cmd&&eval(cmd))}function cWindowResize(a){var b,c,d=joms.jQuery("#cWindow");if(d.length){if(b=.85*joms.jQuery(window).height(),c=d.find(".modal-body"),c&&c.length)return b=+c.css("max-height").replace(/[^\d]+/g,""),void d.find("#cWindowContentWrap").css({height:b});if((!a||0>a)&&(d.find("#cWindowContentWrap").css({height:""}),a=d.find("#cWindowContentWrap").height()),a>b&&(a=b),!d.hasClass("noresize-after")){d.hasClass("noresize")&&d.removeClass("noresize").addClass("noresize-after"),d.css({paddingBottom:0});var e=d.find("#cWindowAction"),f=e.length>0?e.innerHeight():0,g=d.find("#cWindowContentTop"),h=g.length>0?g.innerHeight():0,i=(cWindowHelper.contentWrapHeight,cWindowHelper.contentOuterHeight,parseInt(a)+4),j=i+f+h;d.find("#cWindowContentWrap").css({maxHeight:b,height:"auto"}),d.find("#cWindowContentOuter, #cwin_ml, #cwin_mr").css({height:"auto"});var k=document.documentElement,l=(window.pageYOffset||k.scrollTop)-(k.clientTop||0),m=window.innerHeight||j;d.css({height:"auto",top:l+m/2-j/2},function(){cWindowHelper.save()})}}}function cWindowActions(a){joms.jQuery("#cWindowAction").remove(),a&&joms.jQuery('<div id="cWindowAction" class="modal-footer" style="position:relative; height:50px">').html(a).appendTo("#cWindowContentOuter"),jax.loadingFunction=function(){joms.jQuery("#cWindowAction").addClass("loading"),joms.jQuery("#cWindowContent").find("input, textarea, button").attr("disabled",!0)},jax.doneLoadingFunction=function(){joms.jQuery("#cWindowAction").removeClass("loading"),joms.jQuery("#cWindowContent").find("input, textarea, button").attr("disabled",!1)},cWindowHelper.save(),cWindowHelper.start()}function cGetZIndexMax(){for(var a=document.getElementsByTagName?document.getElementsByTagName("*"):document.all,b=0,c=0;c<a.length;c++){var d=a[c],e=null;d.currentStyle?e=d.currentStyle:document.defaultView&&document.defaultView.getComputedStyle&&(e=document.defaultView.getComputedStyle(d,""));var f;f=Number(e?e.zIndex:d.style.zIndex),isNaN(f)||(b=Math.max(b,f))}return b}function cWindowAutoResize(){if(cWindowHelper.getMark()===!1){cWindowHelper.setMark();var a=joms.jQuery("#cWindow #cWindowContent").outerHeight();cWindowHelper.stop(),cWindowResize(a)}}function cWindowDeviceRotation(){var a=joms.jQuery("#cWindow");if(a.length>0){var b=joms.jQuery(window).width(),c=Math.round(.85*b),d=(b-c)/2-parseInt(a.css("margin-left"));a.css("left",d+"px"),a.find("#cWindowContentOuter").css("width",c+"px"),a.css("width",c+"px")}}var mouse_is_inside=!1,cwindow_is_modeless=!1,cWindowHelper={contentOuterHeight:0,contentWrapHeight:0,contentHeight:0,intervalHandle:0,rotationHandle:0,save:function(){var a=joms.jQuery("#cWindow");a.length>0&&(this.contentOuterHeight=a.find("#cWindowContentOuter").height(),this.contentWrapHeight=a.find("#cWindowContentWrap").height(),this.contentHeight=a.find("#cWindowContent").outerHeight())},setMark:function(){0==this.getMark()&&joms.jQuery("#cWindow").find("#cWindowContent").append('<div id="oldcontentmark"></div>')},getMark:function(){var a=joms.jQuery("#cWindow");return a.length>0?a.find("#cWindowContent").find("#oldcontentmark").length>0?!0:!1:null},isMobile:function(){return a=navigator.userAgent||navigator.vendor||window.opera,/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))?!0:!1},start:function(){null!==this.getMark()&&this.stop()},stop:function(){this.intervalHandle>0&&window.clearInterval(this.intervalHandle)},startRotationHandle:function(){null!==this.getMark()&&this.isMobile()!==!1&&(this.stopRotationHandle(),this.rotationHandle=window.setInterval(function(){cWindowDeviceRotation()},500))},stopRotationHandle:function(){this.rotationHandle>0&&window.clearInterval(this.rotationHandle)},hostInfo:function(){var a=this.host;return a||(a={},a.ua=navigator.userAgent.toLowerCase(),a.ios=a.ua.match(/iphone|ipad|ipod/),this.host=a),a},hideIframe:function(){var a=joms.jQuery("#community-wrap iframe"),b=cWindowHelper.hostInfo();return b.ios?void a.each(function(a,b){var c=b.src.match(/liveleak/),d=joms.jQuery(b);return c?(d.parent(".cVideo-Wrapper").addClass("cVideo-WrapperX").css({height:d.height()}),void d.css("height",1)):void d.css("visibility","hidden")}):void a.css("visibility","hidden")},unhideIframe:function(){var a=joms.jQuery("#community-wrap iframe"),b=cWindowHelper.hostInfo();return b.ios?void a.each(function(a,b){var c=joms.jQuery(b),d=c.parent(".cVideo-Wrapper");d.hasClass("cVideo-WrapperX")?c.css("height",""):c.css("visibility","visible")}):void a.css("visibility","visible")}};
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка