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> | |
9 | <th>path</th> | |
10 | </tr> | |
11 | ||
12 | <?php | |
13 | $res = mysql_query("select id,path from file where type='page'"); | |
14 | while (list($id,$path)=mysql_fetch_row($res)) { | |
15 | ?> | |
16 | <tr> | |
17 | <td><?php echo $id; ?></td> | |
18 | <td><a href="file.php?id=<?php echo $id; ?>"><?php echo $path; ?></a></td> | |
19 | </tr> | |
20 | <?php | |
21 | } | |
22 | ?> | |
23 | </table> | |
24 | ||
25 | <?php | |
26 | require("footer.inc.php"); | |
27 | ?> |