X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=5267bfb4e42105c33005af56152707fb75e2cec8;hp=28e5937c5a1259f5c9841fcf16f8aa1ef2967789;hb=a40c1ed8a796ad846a254da83a83ae92c3184228;hpb=924f395a39eeccbcd54d540613e440cbedd6ba3d
diff --git a/include/functions.php b/include/functions.php
index 28e5937..5267bfb 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1,5 +1,5 @@
\n".
" \n";
- while($r = mysql_fetch_array($result,MYSQL_NUM))
+ while($r = DB_fetch_array($result))
{
$name = $r[0];
$pos = $r[1];
@@ -703,6 +737,10 @@ function display_table ()
echo " $name\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")
{
@@ -808,27 +846,29 @@ function display_table ()
function display_user_menu()
{
- global $WIKI,$myid,$INDEX,$STATS;
+ global $WIKI,$myid,$INDEX;
echo "