/classes/options/md5.php
PHP | 29 lines | 29 code | 0 blank | 0 comment | 1 complexity | 7b2edf7cde95b8236805231aad281de5 MD5 | raw file
- <?php
- function rl_md5() {
- global $list;
- ?>
- <table class="md5table" align="center" border="0" cellspacing="2" cellpadding="4">
- <tr>
- <th align="center"><?php echo lang(104); ?></th>
- <th align="center"><?php echo lang(56); ?></th>
- <th align="center">MD5</th>
- </tr>
- <?php
- foreach ($_GET["files"] as $k => $v) {
- $file = $list[$v];
- if (file_exists($file["name"])) {
- ?>
- <tr>
- <td nowrap="nowrap"> <b><?php echo htmlentities(basename($file["name"])); ?></b></td>
- <td align="center"> <?php echo $file['size']; ?> </td>
- <td nowrap="nowrap"><b> <?php echo md5_file($file['name'])?> </b></td>
- </tr>
- <?php
- }
- }
- ?>
- </table>
- <br />
- <?php
- }
- ?>