From ba7d92fad7b3ac0cfe4a6733339aa474991315a2 Mon Sep 17 00:00:00 2001
From: Arun Persaud
Date: Thu, 22 Oct 2009 22:56:21 -0700
Subject: NEW FEATURE: use gravatars as icons for players
use icons at the table and on the user page (for last players logged in).
---
include/user.php | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
(limited to 'include/user.php')
diff --git a/include/user.php b/include/user.php
index bac4398..a027f40 100644
--- a/include/user.php
+++ b/include/user.php
@@ -206,9 +206,14 @@ else
echo "
\n";
/* display last 5 users that logged on */
- $names = DB_get_names_of_last_logins(5);
echo "Players last logged in:
\n\n";
- echo implode(", ",$names).",...\n";
+
+ $names = DB_get_names_of_last_logins(7);
+ $emails = DB_get_emails_of_last_logins(7);
+ for($i=0;$i<7;$i++)
+ {
+ echo "
\n";
+ }
echo "
\n";
echo "\n";
--
cgit v1.2.3-18-g5258