summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index bacb356..6807fa6 100644
--- a/index.php
+++ b/index.php
@@ -1885,6 +1885,11 @@ else if(myisset("me"))
while( $r = mysql_fetch_array($result,MYSQL_NUM))
echo " ".$r[0]." ".$r[1]."<br />\n";
+ $queryresult = mysql_query("SELECT timediff(mod_date,create_date) ".
+ " FROM Game WHERE id='$gameid'");
+ $r = mysql_fetch_array($queryresult,MYSQL_NUM);
+ echo "<p>This game took ".$r[0]." hours.</p>";
+
echo "<div class=\"re\">\n Points Re: <br />\n";
$queryresult = mysql_query("SELECT score FROM Score ".
" WHERE game_id=$gameid AND party='re'".