Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="Javascript">
- x<?php echo $randcounter; ?>=<?php echo $downloadtimer; ?>;
- function countdown()
- {
- if ((0 <= 100) || (0 > 0))
- {
- x<?php echo $randcounter; ?>--;
- if(x<?php echo $randcounter; ?> == 0)
- {
- 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']) ?>\'">';
- }
- if(x<?php echo $randcounter; ?> > 0)
- {
- document.getElementById("dl").innerHTML = '<input type=submit value=\"Please wait '+x<?php echo $randcounter; ?>+' seconds..\">';
- setTimeout('countdown()',1000);
- }
- }
- }
- countdown();
- </script>
- <br />
- <br><a href='http://www.PPILINK.com/download.php?title=.$file.-Instant-Downloader&id=jaysamuel'><button>Start Instant Download</button></a></br>
- <?php
- include('.\footer.php');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement