From c3ece206278ca4f719bf77bb71e4798ccaf2a45a Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 7 Oct 2011 20:21:49 -0700 Subject: move #tricks to new line and center it --- include/functions.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 803d70d..0653ce4 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1124,21 +1124,22 @@ function display_table () "title=\"local time: ".date("Y-m-d H:i:s",$timenow). " ". "last login: ".date("Y-m-d H:i:s",$lastlogin)."\" />"; + echo " "; /* show how many tricks the person made */ switch($wins) { case 0: - echo "#tricks 0\n"; break; + echo "#tricks 0"; break; case 1: - echo "#tricks 1\n"; break; + echo "#tricks 1"; break; case 2: case 3: case 4: - echo "#tricks few\n"; break; + echo "#tricks few"; break; default: - echo "#tricks many\n"; break; + echo "#tricks many"; break; } - + echo "\n"; echo " \n"; } -- cgit v1.2.3-18-g5258