From 76798ff3f24b7c7b69bd12109228f769ceb650a6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Aug 2005 06:58:37 +0100 Subject: early title work --- backend.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backend.php') diff --git a/backend.php b/backend.php index d6e45098b..2dac4205f 100644 --- a/backend.php +++ b/backend.php @@ -28,6 +28,8 @@ $lnum = 0; + $total_unread = 0; + while ($line = pg_fetch_assoc($result)) { $feed = $line["title"]; @@ -40,6 +42,8 @@ if ($unread > 0) $class .= "Unread"; + $total_unread += $unread; + print ""; $feed = "$feed"; @@ -58,6 +62,8 @@ print ""; + print "
$total_unread
"; + } if ($op == "view") { -- cgit v1.2.3