\n";
while($r = DB_fetch_array($result))
{
$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 "
";
if($vacation = check_vacation($user))
{
$start = $vacation[0];
$stop = substr($vacation[1],0,10);
$comment = $vacation[2];
$title = "begin: $start end: $stop $comment";
echo " $name (on vacation until $stop) \n";
}
else
echo " $name \n";
if($debug)
echo"\n";
/* add hints for poverty, wedding, solo, etc */
if( $gametype != "solo")
if( $RULES["schweinchen"]=="both" && $GAME["schweinchen-who"]==$hash )
echo " Schweinchen.
";
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,'all');
if($trumpNR)
echo "
";
else
echo "
";
}
else
echo "
\" title=\"poverty partner\" />";
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,'all');
if($trumpNR)
echo "
";
else
echo "
";
}
else
echo "
\" title=\"poverty partner\" />";
else
if($sickness=="poverty")
{
$userhash = DB_get_hash_from_gameid_and_userid($gameid,$user);
$cards = DB_get_all_hand($userhash);
$trumpNR = count_trump($cards,'all');
if($trumpNR)
echo "
";
else
echo "
";
}
else
echo "
\" title=\"poverty2 partner\" />";
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 "
".
"".
"\n";
echo "