From dd22bb40f82d96ee744ee723c78852228d88df32 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 15 Jan 2009 21:48:19 -0800 Subject: [PATCH] CLEANUP: fixed a typo, changed copyright, added Jeff for database scheme --- include/output.php | 2 +- include/stats.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/output.php b/include/output.php index e4a06e8..48f31e4 100644 --- a/include/output.php +++ b/include/output.php @@ -317,7 +317,7 @@ function output_footer() echo "\n\n"; echo "
\n"; - echo "

copyright 2006-2008 Arun Persaud, Lance Thornton
\n". + echo "

copyright 2006-2009 Arun Persaud, Lance Thornton(graphics), Jeff Zerger(database support)
\n". " Verwendung der [deutschen] Kartenbilder mit Genehmigung
der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger
\n". " - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH
\n". " a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com

\n"; diff --git a/include/stats.php b/include/stats.php index dad254c..8c83b6d 100644 --- a/include/stats.php +++ b/include/stats.php @@ -207,7 +207,7 @@ if( !$content = getCache("cache/stats.html",60*60*24) ) array_unshift($result,array("Name","Number of active games")); echo output_table($result,"Active games","stats"); - /* respones by user*/ + /* response time of users*/ $result = DB_query_array_all("SELECT User.fullname,". "IFNULL(AVG(if(P1.sequence in (2,3,4),". "-timestampdiff(MINUTE,mod_date,(select mod_date from Play P2 where P1.trick_id=P2.trick_id and P2.sequence=P1.sequence-1)),NULL )),1e9) as a, ". @@ -219,7 +219,7 @@ if( !$content = getCache("cache/stats.html",60*60*24) ) "GROUP BY user_id ". "HAVING na>8 ". "ORDER BY a " ); - array_unshift($result,array("Name","Average minutes before respond","NR")); + array_unshift($result,array("Name","Average minutes before response","trick count")); echo output_table($result,"Response","stats"); /* -- 2.25.1