403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/burlakastudio.realcommenter/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/burlakastudio.realcommenter/drag_n_drop.min.js
function realcommenter_dragndrop_ajax_request(){if("undefined"!==typeof this&&this){var a=this.closest(realcommenter_get_selector("form"));a&&(a=a.getAttribute("data-form-to"),realcommenter_tint_area(1,this),BX.ajax({url:"/bitrix/admin/burlakastudio.realcommenter.dragndrop_ajax.php",method:"POST",data:{LANGUAGE_ID:BX.message("LANGUAGE_ID"),SITE_ID:BX.message("SITE_ID"),INPUT_NAME:"NEW_COMMENT_FILES_"+a+"_",CONTROL_ID:"BRCMD7_"+a+"_"},onsuccess:realcommenter_dragndrop_ajax_success,onfailure:function(){console.log("dragndrop error")}}))}}
function realcommenter_dragndrop_ajax_success(a){realcommenter_tint_area(0);if("undefined"!==typeof this&&this&&"undefined"!==typeof this.data&&this.data){var b=this.data.match(/&CONTROL_ID=BRCMD7_([0-9]+)_$/);if(b&&b[1]&&(b=b[1],b=document.querySelector(realcommenter_get_selector("form")+'[data-form-to="'+b+'"]'))){var c=b.querySelector(realcommenter_get_selector("submit_block"));if(c){var d=document.createElement("div");d.className="brf_uploads";d.innerHTML=a;c.parentNode.insertBefore(d,c);if(a=
b.querySelector(realcommenter_get_selector("upload_picker")))a.removeEventListener("click",realcommenter_dragndrop_ajax_request),a.setAttribute("data-indicator","0");realcommenter_dragndrop_ajax_MFIS_awaiter()}}}}function realcommenter_dragndrop_ajax_MFIS_awaiter(){"undefined"===typeof window.MFIDD?setTimeout(realcommenter_dragndrop_ajax_MFIS_awaiter,100):setTimeout(realcommenter_dragndrop_ajax_activator,500)}
function realcommenter_dragndrop_ajax_activator(){var a=document.querySelectorAll('[id^="file-selectdialogswitcher-"]');a&&a.length&&a.forEach(function(a){a.click();var b=a.id.replace(/-selectdialogswitcher-/,"-selectdialog-"),d=a.parentNode.querySelector("#"+b+" > .file-extended");d&&setTimeout(realcommenter_dragndrop_ajax_extended_block_check.bind(a,d),2E3);BX.addCustomEvent(BX(b).parentNode,"OnFileUploadSuccess",realcommenter_dragndrop_ajax_OnFileUploadSuccess);BX.addCustomEvent(BX(b).parentNode,
"OnFileUploadRemove",realcommenter_dragndrop_indicator_after_delete)})}function realcommenter_dragndrop_ajax_OnFileUploadSuccess(a,b){"undefined"!==typeof a&&a&&a.element_id&&(~a.element_content_type.indexOf("image/")&&BX.ajax({url:"/bitrix/admin/burlakastudio.realcommenter.image_processor.php",method:"POST",dataType:"json",data:{file_id:a.element_id},onsuccess:realcommenter_dragndrop_place_thumb}),realcommenter_dragndrop_indicator_after_upload(a.element_id))}
function realcommenter_dragndrop_indicator_after_upload(a){(a=document.querySelector("tr#wd-doc"+a).closest('div[id^="file-selectdialog-"]'))&&realcommenter_dragndrop_update_indicator(a)}function realcommenter_dragndrop_indicator_after_delete(a,b){"undefined"!==typeof b&&b&&b.controller&&setTimeout(realcommenter_dragndrop_update_indicator.bind(this,b.controller),500)}
function realcommenter_dragndrop_update_indicator(a){var b=a.closest(realcommenter_get_selector("form"));b&&(b=b.querySelector(realcommenter_get_selector("upload_picker")))&&(a=a.querySelectorAll('input[type="hidden"][id^="file-"]'),b.setAttribute("data-indicator",""+a.length))}function realcommenter_dragndrop_ajax_extended_block_check(a){this.parentNode.removeChild(this);a.style.display="block"}
function realcommenter_dragndrop_place_thumb(a){if("undefined"!==typeof a&&a&&a.file_info){var b=document.querySelector("tr#wd-doc"+a.file_info[0].file_id+" td.files-name");if(b){b.innerHTML="";var c=document.createElement("img");c.src=a.file_info[0].THUMB;b.appendChild(c)}}};

Youez - 2016 - github.com/yon3zu
LinuXploit