handle require_once and include_once, allow single quotes
[old-projects.git] / depview / index.php
index 03502b6..10d2ddd 100644 (file)
@@ -3,24 +3,11 @@ require("config.inc.php");
 require("header.inc.php");
 ?>
 
-<table>
-<tr>
-  <th>id</th>
-  <th>path</th>
-</tr>
+<h1>depview main menu</h1>
 
-<?php
-$res = mysql_query("select id,path from file where type='page'");
-while (list($id,$path)=mysql_fetch_row($res)) {
-?>
-<tr>
-  <td><?php echo $id; ?></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");