initial commit
[old-projects.git] / depview / index.php
diff --git a/depview/index.php b/depview/index.php
new file mode 100644 (file)
index 0000000..03502b6
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+require("config.inc.php");
+require("header.inc.php");
+?>
+
+<table>
+<tr>
+  <th>id</th>
+  <th>path</th>
+</tr>
+
+<?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>
+
+<?php
+require("footer.inc.php");
+?>