projects
/
banana.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c33c60
)
new posts count in index.php
author
x99bachelart
<x99bachelart>
Mon, 8 Sep 2003 23:52:08 +0000
(23:52 +0000)
committer
x99bachelart
<x99bachelart>
Mon, 8 Sep 2003 23:52:08 +0000
(23:52 +0000)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index
9a7275e
..
0ea5aca
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-71,13
+71,14
@@
$pair = true;
foreach ($groups->overview as $g => $d) {
$pair = !$pair;
$groupinfo = $nntp->group($g);
+ $newarts = $nntp->newnews($profile['lastnews'],$g);
?>
<tr class="<?php echo ($pair?"pair":"impair");?>" >
<td class="total">
<?php echo $groupinfo[0]; ?>
</td>
<td class="unread">
- 0
+ <?php echo sizeof($newarts); ?>
</td>
<td class="group">
<?php echo "<a href=\"thread.php?group=$g\">$g</a>";?>