X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/a257ef8b6e9d435938803471bd655be9d9734370..d96a8550867531e92b109a0a675cd12ce1ff7843:/issue/index.php diff --git a/issue/index.php b/issue/index.php index 35a1116..547547a 100644 --- a/issue/index.php +++ b/issue/index.php @@ -83,6 +83,12 @@ if ($id == 'feed') { } ob_start(); +$stats = $Db->query( + "SELECT count(*) AS total, count(closed) AS closed FROM issues" +)->fetch(); +printf("

%d lopende zaken, %s opgelost

\n", + $stats->total - $stats->closed, $stats->closed +); print '