%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.188.254.131
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/sale/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/sale/options.min.js
(function(e){if(!BX.Sale)BX.Sale={};if(BX.Sale.Options)return;BX.Sale.Options={lang:null,reqTimeIntervalId:null,reqDelay:1e3,countryPrf:"sales_zone_countries_",regionPrf:"sales_zone_regions_",cityPrf:"sales_zone_cities_",onCountrySelect:function(t){if(BX.Sale.Options.reqTimeIntervalId)e.clearInterval(BX.Sale.Options.reqTimeIntervalId);var t=t||e.event;var i=t.target||t.srcElement;var s=i.id.replace(BX.Sale.Options.countryPrf,"");var a=BX.Sale.Options.getValuesFromMultiselect(i);BX.Sale.Options.reqTimeIntervalId=e.setInterval(function(){ShowWaitWindow();BX.selectUtils.deleteAllOptions(BX(BX.Sale.Options.regionPrf+s));BX.selectUtils.deleteAllOptions(BX(BX.Sale.Options.cityPrf+s));BX.Sale.Options.getLocationRegions(a,s)},BX.Sale.Options.reqDelay)},setLocationRegions:function(e,t){if(!t)return false;var i=BX(BX.Sale.Options.regionPrf+t);if(!i)return false;BX.selectUtils.addNewOption(i,"",BX.message("SMO_LOCATION_ALL"),false,false);BX.selectUtils.addNewOption(i,"NULL",BX.message("SMO_LOCATION_NO_REGION"),false,false);BX.selectUtils.addNewOption(BX(BX.Sale.Options.cityPrf+t),"",BX.message("SMO_LOCATION_ALL"),false,false);for(var s in e)if(e.hasOwnProperty(s))BX.selectUtils.addNewOption(i,s,e[s],false,false)},getLocationRegions:function(t,i){e.clearInterval(BX.Sale.Options.reqTimeIntervalId);var s="/bitrix/services/ajax/sale/location/index.php";var a={action:"getRegionList",countryIds:t,lang:BX.Sale.Options.lang,sessid:BX.bitrix_sessid()};BX.ajax({timeout:30,method:"POST",dataType:"json",url:s,data:a,onsuccess:function(e){CloseWaitWindow();if(e&&e.DATA&&!e.ERROR)BX.Sale.Options.setLocationRegions(e.DATA,i);else if(e&&e.ERROR)alert(BX.message("SMO_LOCATION_JS_GET_DATA_ERROR")+": "+e.ERROR);else alert(BX.message("SMO_LOCATION_JS_GET_DATA_ERROR"))},onfailure:function(){CloseWaitWindow();alert(BX.message("SMO_LOCATION_JS_GET_DATA_ERROR"))}})},getValuesFromMultiselect:function(e){var t=[];for(var i=0;i<e.options.length;i++)if(e.options[i].selected==true)t.push(e.options[i].value);return t},onRegionSelect:function(t){if(BX.Sale.Options.reqTimeIntervalId)e.clearInterval(BX.Sale.Options.reqTimeIntervalId);var t=t||e.event;var i=t.target||t.srcElement;var s=i.id.replace(BX.Sale.Options.regionPrf,"");var a=BX.Sale.Options.getValuesFromMultiselect(i);var n=BX.Sale.Options.getValuesFromMultiselect(BX(BX.Sale.Options.countryPrf+s));BX.Sale.Options.reqTimeIntervalId=e.setInterval(function(){ShowWaitWindow();BX.selectUtils.deleteAllOptions(BX(BX.Sale.Options.cityPrf+s));BX.Sale.Options.getLocationCities(n,a,s)},BX.Sale.Options.reqDelay)},getLocationCities:function(t,i,s){e.clearInterval(BX.Sale.Options.reqTimeIntervalId);var a="/bitrix/services/ajax/sale/location/index.php";var n={action:"getCityList",regionIds:i,countryIds:t,lang:BX.Sale.Options.lang,sessid:BX.bitrix_sessid()};BX.ajax({timeout:30,method:"POST",dataType:"json",url:a,data:n,onsuccess:function(e){CloseWaitWindow();if(e&&e.DATA&&!e.ERROR)BX.Sale.Options.setLocationCities(e.DATA,s);else if(e&&e.ERROR)alert(BX.message("SMO_LOCATION_JS_GET_DATA_ERROR")+": "+e.ERROR);else alert(BX.message("SMO_LOCATION_JS_GET_DATA_ERROR"))},onfailure:function(){CloseWaitWindow();alert(BX.message("SMO_LOCATION_JS_GET_DATA_ERROR"))}})},setLocationCities:function(e,t){if(!t)return false;var i=BX(BX.Sale.Options.cityPrf+t);if(!i)return false;BX.selectUtils.deleteAllOptions(i);BX.selectUtils.addNewOption(i,"",BX.message("SMO_LOCATION_ALL"),false,false);for(var s in e)if(e.hasOwnProperty(s))BX.selectUtils.addNewOption(i,s,e[s],false,false)}}})(window);
//# sourceMappingURL=options.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit