require("header.inc.php");
?>
-<table>
-<tr>
- <th>id</th>
- <th>type</th>
- <th>path</th>
-</tr>
+<h1>depview main menu</h1>
-<?php
-$res = mysql_query("select id,path,type from file");
-while (list($id,$path,$type)=mysql_fetch_row($res)) {
-?>
-<tr<?php if ($type=="dead") echo ' bgcolor="red"'; ?>>
- <td><?php echo $id; ?></td>
- <td><?php echo $type; ?></td>
- <td><a href="file.php?id=<?php echo $id; ?>"><?php echo $path; ?></a></td>
-</tr>
-<?php
-}
-?>
-</table>
+<ul>
+ <li><a href="list.php">file list</a></li>
+</ul>
<?php
require("footer.inc.php");