PHP 9
Index.php Guest on 26th July 2020 02:53:44 PM
  1. <?php
  2. // version 1.03, 12/03/2012;
  3. require 'common.php';
  4.  
  5.  
  6. getparams();
  7.  
  8. $status = getdirs();
  9.  
  10. if ($status == 0)
  11. {
  12.     print "directory \"$archive_dir\" not found<br>";
  13.     exit;
  14. }
  15. getfiles();
  16.  
  17.  
  18.  
  19.  
  20. ?>
  21.  
  22. <html>
  23. <body>
  24.  
  25. <?php
  26. navigation_top();
  27.  
  28. ?>
  29.  
  30.     <?php print "<img src=\"$current\" name=\"refresh\">\n" ?>
  31.     <script language="JavaScript" type="text/javascript">
  32.     <!--
  33.         <?php print "image = \"$current\"\n"; ?>
  34.         function Reload() {
  35.         tmp = new Date();
  36.         tmp = "?"+tmp.getTime()
  37.         document.images["refresh"].src = image+tmp
  38.         setTimeout("Reload()",1000)
  39.         }
  40.         Reload();
  41.     // -->
  42.     </script>
  43.      
  44.      
  45. </body>
  46. </html>

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.