userid','$t')"; $db->insert_data($SQL); $db->update_data("UPDATE b_cricket_log SET vt='$t' WHERE uid='$user->userid'"); print "
MSPN Cricket
"; if($err) { echo "

$err

"; } echo "Single Player"; print "
"; echo "
Your Bet:
"; print "
"; echo "Double Player"; print ""; echo "
Your Bet:
Challenger
Overs"; print "
"; $t=time()-600; $games=$db->select("SELECT * FROM b_cricket_multi WHERE won='0' order by st desc limit 0,10"); foreach($games as $game) { $u=$db->get_row("SELECT * FROM b_cricket_multi_runs WHERE gid='$game->gid' AND uid='$user->userid' OR gid='$game->gid' AND fid='$user->userid' "); //$f=$db->get_row("SELECT * FROM b_cricket_multi_runs WHERE gid='$game->fid' "); if($game->uid==$user->userid||$game->fid==$user->userid&&$u->finish==0) { echo "gid\">Continue play for $game->amt coins(".getusernamebyid($game->uid)." and ".getusernamebyid($game->fid).")
"; } } $games=$db->select("SELECT * FROM b_cricket_multi WHERE won!='0' order by st desc limit 0,5"); foreach($games as $game) { echo "$game->message
"; } print "How to play?"; print "\".\""; include "footer.php"; } else { include "login.php"; } ?>