X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/0fc7deecbeed58bc99c94a1e0b89ac51f006a163..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 '