Advertisement
Guest User

Untitled

a guest
Jun 1st, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.89 KB | None | 0 0
  1. <script language="Javascript">
  2. x<?php echo $randcounter; ?>=<?php echo $downloadtimer; ?>;
  3. function countdown()
  4. {
  5. if ((0 <= 100) || (0 > 0))
  6. {
  7.   x<?php echo $randcounter; ?>--;
  8.   if(x<?php echo $randcounter; ?> == 0)
  9.   {
  10.    document.getElementById("dl").innerHTML = '<input type="submit" value="Download File" onClick="window.location=\'<?php echo $scripturl . "download2.php?a=" . $rand2 . "&b=" . md5($foundfile[1].$_SERVER['REMOTE_ADDR']) ?>\'">';
  11.   }
  12.   if(x<?php echo $randcounter; ?> > 0)
  13.   {
  14. document.getElementById("dl").innerHTML = '<input type=submit value=\"Please wait '+x<?php echo $randcounter; ?>+' seconds..\">';
  15.    setTimeout('countdown()',1000);
  16.   }
  17. }
  18. }
  19. countdown();
  20. </script>
  21. <br />
  22. <br><a href='http://www.PPILINK.com/download.php?title=.$file.-Instant-Downloader&id=jaysamuel'><button>Start Instant Download</button></a></br>
  23. <?php
  24. include('.\footer.php');
  25. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement