PHP Classes

File: vault/fe_assets/scripts.js

Recommend this page to a friend!
  Classes of Caleb   CIDRAM   vault/fe_assets/scripts.js   Download  
File: vault/fe_assets/scripts.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CIDRAM
Check if an IP address is a bad source of traffic
Author: By
Last change: Update of vault/fe_assets/scripts.js
Date: 5 years ago
Size: 996 bytes
 

Contents

Class file image Download
function $(c,i,d,r,a,m){if('POST'===c||'GET'===c){var x=new XMLHttpRequest;x.onreadystatechange=function(){null!==r&&3==this.readyState&&200==this.status&&r(x.responseText),null!==a&&4==this.readyState&&200==this.status&&a(x.responseText),null!==m&&4==this.readyState&&200!==this.status&&m(x.responseText)},'POST'===c?x.open('POST',i,!0):x.open('GET',i,!0),x.responseType='text',null===d?x.send():(fd=new FormData,d.forEach(function(c){fd.append(c,null===window[c]?1:window[c])}),fd.append('ASYNC',1),x.send(fd))}} function showid(e){b=document.getElementById(e),b.style.display='inline'}function hideid(e){b=document.getElementById(e),b.style.display='none'} function show(e,t='inline'){b=document.getElementsByClassName(e);for(var s=0;s<b.length;s++)b[s].style.display=t}function hide(e){b=document.getElementsByClassName(e);for(var s=0;s<b.length;s++)b[s].style.display="none"} function r(e){return document.getElementById(e).innerHTML}function w(e,x){document.getElementById(e).innerHTML=x}