\n";
while($r = mysql_fetch_array($result,MYSQL_NUM))
{
$name = $r[0];
$pos = $r[1];
$user = $r[2];
$party = $r[3];
$sickness = $r[4];
$call = $r[5];
$hash = $r[7];
$timezone = $r[8];
date_default_timezone_set($defaulttimezone);
$lastlogin = strtotime($r[6]);
date_default_timezone_set($timezone);
$timenow = strtotime(date("Y-m-d H:i:s"));
echo "
\n";
if(!$debug)
echo " $name \n";
else
echo "
$name\n";
/* add hints for poverty, wedding, solo, etc */
if($GT=="poverty" && $party=="re")
if($sickness=="poverty")
{
$userhash = DB_get_hash_from_gameid_and_userid($gameid,$user);
$cards = DB_get_all_hand($userhash);
$trumpNR = count_trump($cards);
if($trumpNR)
echo "
";
else
echo "
";
}
else
echo "
\" />";
if($GT=="dpoverty")
if($party=="re")
if($sickness=="poverty")
{
$userhash = DB_get_hash_from_gameid_and_userid($gameid,$user);
$cards = DB_get_all_hand($userhash);
$trumpNR = count_trump($cards);
if($trumpNR)
echo "
";
else
echo "
";
}
else
echo "
\" />";
else
if($sickness=="poverty")
{
$userhash = DB_get_hash_from_gameid_and_userid($gameid,$user);
$cards = DB_get_all_hand($userhash);
$trumpNR = count_trump($cards);
if($trumpNR)
echo "
";
else
echo "
";
}
else
echo "
\" />";
if($GT=="wedding" && $party=="re")
if($sickness=="wedding")
echo "
";
else
echo "
";
if(ereg("solo",$GT) && $party=="re")
{
if(ereg("queen",$GT))
echo "
";
else if(ereg("jack",$GT))
echo "
";
else if(ereg("club",$GT))
echo "
";
else if(ereg("spade",$GT))
echo "
";
else if(ereg("heart",$GT))
echo "
";
else if(ereg("trumpless",$GT))
echo "
";
else if(ereg("trump",$GT))
echo "
";
}
/* add point calls */
if($call!=NULL)
{
if($party=="re")
echo "
";
else
echo "
";
switch($call)
{
case "0":
echo "
";
break;
case "30":
echo "
";
break;
case "60":
echo "
";
break;
case "90":
echo "
";
break;
}
}
echo "
\n";
echo "
local time\n";
echo "
last login\n";
echo "