load("START,UNO"); $result = $db->query_first("SELECT * FROM bb".$n."_uno_config"); if (!$result['gamecode']) eval("error(\"".$tpl->get("uno_notregged")."\");"); if (!$wbbuserdata['can_uno_play']) { access_error(); } else { $allowed = 0; $result = $db->query_first("SELECT * FROM bb".$n."_uno_config"); $allow = $result['uno_allowed'].","; $postings = $result['postings']; $unocolor = $result['unocolor']; $guthaben = $result['guthaben']; $pay = $result['pay']; if ($wbbuserdata['userposts'] < $postings) { eval("\$tpl->output(\"".$tpl->get("uno_no_post")."\");"); exit; } if ($guthaben) { $res = $db->query_first("SELECT * FROM bb".$n."_guthaben"); $waehrung = $res['waehrung']; $uid=$wbbuserdata['userid']; $spielt = $db->query_first("select gameid from bb".$n."_uno_users where userid='$uid'"); if ($wbbuserdata['guthaben'] < $pay && $spielt['gameid'] == 0) { eval("\$tpl->output(\"".$tpl->get("uno_no_money")."\");"); exit; } } } $currenttime=formatdate($wbbuserdata['timeformat'],time()); $toffset=(($wbbuserdata['timezoneoffset']>=0) ? ("+") : ("")).$wbbuserdata['timezoneoffset']; eval ("\$lang->items['LANG_START_TIMEZONE'] = \"".$lang->get4eval("LANG_START_TIMEZONE")."\";"); $lastvisitdate = formatdate($wbbuserdata['dateformat'],$wbbuserdata['lastvisit']); $lastvisittime = formatdate($wbbuserdata['timeformat'],$wbbuserdata['lastvisit']); eval("\$tpl->output(\"".$tpl->get("uno")."\");"); ?>