1. <?php  
  2.     /*
  3.     getKAT v1.0
  4.     by QGQ
  5.     input URL without "www." AND / OR "http:/", "https".
  6.     -- download from qgq.pw/getKAT
  7.     */
  8.     $tpb = array("kickassunblock.info/", "katunblock.com/", "kickassproxy.info/", "kickassunblock.com/", "katproxy.com/", "kat.dashitz.com/", "kat.kleisauke.nl/", "kat.ph.proxy.piratenpartij.nl/");
  9.     $rand_keys = array_rand($tpb, 2);
  10.     $tryURL =  $tpb[$rand_keys[0]];
  11.  
  12.     $waitTime = 7;
  13.    
  14.         header("Refresh: $waitTime; URL=http://$tryURL");
  15. ?>
  16. <script language="javascript">
  17.  
  18. var time_left = 5;
  19. var cinterval;
  20.  
  21. function time_dec(){
  22.   time_left--;
  23.   document.getElementById('countdown').innerHTML = time_left;
  24.   if(time_left == 0){
  25.     clearInterval(cinterval);
  26.   }
  27. }
  28.  
  29. cinterval = setInterval('time_dec()', 1000);
  30.  
  31. </script>
  32. <center>
  33. Selecting one of a <?php echo count($tpb); ?> random proxies...
  34. <br />...<br />
  35. Proxy found!<br /><br />
  36. Connecting to... <br />
  37. <h2><?php echo $tryURL; ?></h2> <br /> <strong>in</strong><br />
  38. <h1><span id="countdown">5</span></h1> seconds.
  39. </center>