84d6e1476f58ae81e184f16dbd37b36cdcfe38f2
2 require("config.inc.php");
3 require("header.inc.php");
4 $res = mysql_query("select path from file where id=$id");
5 if (!list($page)=mysql_fetch_row($res)) {
7 include("footer.inc.php");
12 <h1
>Dependencies
for <?php
echo $page; ?
></h1
>
21 $res = mysql_query("select dep.id,dep.dir,dep.dep,file.path from dep left join file on dep.dep=file.id where page=$id order by dep.dir");
22 while (list($id,$dir,$dep,$path)=mysql_fetch_row($res)) {
23 $res2 = mysql_query("select path from dir where id=$dir");
24 list($dirname)=mysql_fetch_row($res2);
27 <td
><?php
echo $dirname; ?
></td
>
28 <td
><a href
="file.php?id=<?php echo $dep; ?>"><?php
echo $path; ?
></a
></td
>
36 require("footer.inc.php");