PageRenderTime 36ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/classes/options/md5.php

http://rapidleech.googlecode.com/
PHP | 29 lines | 29 code | 0 blank | 0 comment | 1 complexity | 7b2edf7cde95b8236805231aad281de5 MD5 | raw file
  1. <?php
  2. function rl_md5() {
  3. global $list;
  4. ?>
  5. <table class="md5table" align="center" border="0" cellspacing="2" cellpadding="4">
  6. <tr>
  7. <th align="center"><?php echo lang(104); ?></th>
  8. <th align="center"><?php echo lang(56); ?></th>
  9. <th align="center">MD5</th>
  10. </tr>
  11. <?php
  12. foreach ($_GET["files"] as $k => $v) {
  13. $file = $list[$v];
  14. if (file_exists($file["name"])) {
  15. ?>
  16. <tr>
  17. <td nowrap="nowrap">&nbsp;<b><?php echo htmlentities(basename($file["name"])); ?></b></td>
  18. <td align="center">&nbsp;<?php echo $file['size']; ?>&nbsp;</td>
  19. <td nowrap="nowrap"><b>&nbsp;<?php echo md5_file($file['name'])?>&nbsp;</b></td>
  20. </tr>
  21. <?php
  22. }
  23. }
  24. ?>
  25. </table>
  26. <br />
  27. <?php
  28. }
  29. ?>