projects
/
old-projects.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
affichage en rouge des fichiers 'dead' et dependances vers le haut et le
[old-projects.git]
/
depview
/
index.php
diff --git
a/depview/index.php
b/depview/index.php
index
03502b6
..
1347f31
100644
(file)
--- a/
depview/index.php
+++ b/
depview/index.php
@@
-6,15
+6,17
@@
require("header.inc.php");
<table>
<tr>
<th>id</th>
<table>
<tr>
<th>id</th>
+ <th>type</th>
<th>path</th>
</tr>
<?php
<th>path</th>
</tr>
<?php
-$res = mysql_query("select id,path
from file where type='page'
");
-while (list($id,$path)=mysql_fetch_row($res)) {
+$res = mysql_query("select id,path
,type from file
");
+while (list($id,$path
,$type
)=mysql_fetch_row($res)) {
?>
?>
-<tr>
+<tr
<?php if ($type=="dead") echo ' bgcolor="red"'; ?>
>
<td><?php echo $id; ?></td>
<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
<td><a href="file.php?id=<?php echo $id; ?>"><?php echo $path; ?></a></td>
</tr>
<?php