X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fstats.php;h=095296edcd919223a5d340fc646a6a06c8a66d54;hp=97e1979a86a27f6d837a636168fc099e006cb634;hb=3951e6e5eb8e8960dad01e5acb14a9c83aca1dce;hpb=cd4cbd4a1cce2c35a6a78b1b957c17389001b4b1 diff --git a/include/stats.php b/include/stats.php index 97e1979..095296e 100644 --- a/include/stats.php +++ b/include/stats.php @@ -104,15 +104,16 @@ if( !$content = getCache("cache/stats.html",60*60*24) ) select g1.id, g2.id from game g1 left join game g2 on g1.randomnumbers=g2.randomnumbers where g1.id'silent' AND Game.status='gameover' ". + " WHERE type='solo' AND Game.status='gameover' ". " GROUP BY user_id ". " ORDER BY c DESC;"); array_unshift($result,array("Name","Number of solos","Solos/game")); @@ -227,6 +228,9 @@ if( !$content = getCache("cache/stats.html",60*60*24) ) how often is the last trick a non-trump trick */ + /* needs this so that all tables are within the div and don't float around */ + echo "

 

\n"; + echo "\n"; /* end output */ /* write file to cache */