Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector..

Decoded Output download

<?  <script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-0-children"),e=document.querySelectorAll('[id="mphb_room_details-0-guest-name"] , [for="mphb_room_details-0-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-0-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-0-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-0-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script><script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-1-children"),e=document.querySelectorAll('[id="mphb_room_details-1-guest-name"] , [for="mphb_room_details-1-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-1-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-1-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-1-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script><script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-2-children"),e=document.querySelectorAll('[id="mphb_room_details-2-guest-name"] , [for="mphb_room_details-2-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-2-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-2-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-2-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script><script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-3-children"),e=document.querySelectorAll('[id="mphb_room_details-3-guest-name"] , [for="mphb_room_details-3-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-3-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-3-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-3-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script> ?>

Did this file decode correctly?

Original Code

<script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-0-children"),e=document.querySelectorAll('[id="mphb_room_details-0-guest-name"] , [for="mphb_room_details-0-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-0-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-0-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-0-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script><script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-1-children"),e=document.querySelectorAll('[id="mphb_room_details-1-guest-name"] , [for="mphb_room_details-1-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-1-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-1-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-1-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script><script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-2-children"),e=document.querySelectorAll('[id="mphb_room_details-2-guest-name"] , [for="mphb_room_details-2-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-2-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-2-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-2-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script><script>window.addEventListener("DOMContentLoaded",function(){var o=document.querySelector("#mphb_room_details-3-children"),e=document.querySelectorAll('[id="mphb_room_details-3-guest-name"] , [for="mphb_room_details-3-guest-name"]');function t(){[].forEach.call(e,function(e){if(e.removeAttribute("style","display:none"),e.checked=!1,""==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"0"==o.value&&(e.checked=!0,e.setAttribute("style","display:none")),"1"!==o.value)for(var t=document.querySelectorAll('[for="mphb_room_details-3-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="    ";if("1"==o.value)for(t=document.querySelectorAll('[for="mphb_room_details-3-guest-name"]'),n=0;n<t.length;n++)t[n].innerHTML="  "})}document.querySelector("#mphb_room_details-3-guest-name").addEventListener("input",function(e){var t=this.value.replace(new RegExp(/[^0-9]+/g,"ig"),",");this.value=t}),o.addEventListener("change",t),t()})</script>

Function Calls

None

Variables

None

Stats

MD5 e8b559f3cdb7f7d860ee2a2655d6ec78
Eval Count 0
Decode Time 65 ms