Commit | Line | Data |
---|---|---|
6a5681a1 JL |
1 | <?php |
2 | require("config.inc.php"); | |
3 | require("header.inc.php"); | |
4 | ?> | |
5 | ||
6 | <table> | |
7 | <tr> | |
8 | <th>id</th> | |
53135250 | 9 | <th>type</th> |
6a5681a1 JL |
10 | <th>path</th> |
11 | </tr> | |
12 | ||
13 | <?php | |
53135250 JL |
14 | $res = mysql_query("select id,path,type from file"); |
15 | while (list($id,$path,$type)=mysql_fetch_row($res)) { | |
6a5681a1 | 16 | ?> |
53135250 | 17 | <tr<?php if ($type=="dead") echo ' bgcolor="red"'; ?>> |
6a5681a1 | 18 | <td><?php echo $id; ?></td> |
53135250 | 19 | <td><?php echo $type; ?></td> |
6a5681a1 JL |
20 | <td><a href="file.php?id=<?php echo $id; ?>"><?php echo $path; ?></a></td> |
21 | </tr> | |
22 | <?php | |
23 | } | |
24 | ?> | |
25 | </table> | |
26 | ||
27 | <?php | |
28 | require("footer.inc.php"); | |
29 | ?> |