<?php
include_once("inc/conn.php");
include_once("inc/function.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>猜拳-游戏中心-<?=$web_name;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<?=$web_keywords;?>" />
<meta name="description" content="<?=$web_description;?>" />
<META http-equiv=X-UA-Compatible content=IE=EmulateIE7>
<link href="style/default.css" rel="stylesheet" type="text/css" />
</head>
<?php include_once("top.php");?>
<script language="javascript">
qiehuan(2);
document.getElementById("qh_con2").getElementsByTagName('li')[6].className="current";
</script>
<DIV class="wrapper">
	<DIV class="page_content">
		<DIV class="webgame-info-title">
		  <UL>
			<LI><A href="dodge.php">猜拳首页</A></LI>
			<LI><A href="dodgeinsert.php">我要摆擂</A></LI>
			<LI><A href="dodgemylist.php">我的投注记录</A></LI>
			<LI><A href="bbs/forum.php?forumsid=5">玩家交流</A></LI>
		  </UL>
		</DIV>
		<DIV class="webgame-info">
			<DIV class="webgame-info-tabs">
			  <?
				$query=$db->query("Select * from {$web_dbtop}gamedodge where id=".intval($_GET["dodgeno"])." and zt=1 Order by id desc");
				if($rs=$db->fetch_array($query)){
				?>
              <table width="940" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#B63A2A">
                <tr>
                  <td width="50%" height="28" align="center" background="images/dn02.jpg" bgcolor="#FBE4DE"><A href="user.php?id=<?=$rs["uid"]?>" target=_blank>
                    <?=$rs["uid"]?>
                  </A></td>
                  <td align="center" background="images/dn02.jpg" bgcolor="#FBE4DE"><A href="user.php?id=<?=$rs["tzid"]?>" target=_blank>
                    <?=$rs["tzid"]?>
                  </a></td>
                </tr>
                <tr>
                  <td height="100" align="center" bgcolor="#FFFFFF"><img src="images/dodge/<?=$rs["dodge"]?>.gif"></td>
                  <td height="100" align="center" bgcolor="#FFFFFF"><img src="images/dodge/<?=$rs["tzdodge"]?>.gif"></td>
                </tr>
                <tr align="center">
                  <td height="30" colspan="2" bgcolor="#FFFFFF" class="rbf"><?
					$dodgejg=dodgejg($rs["tzdodge"],$rs["dodge"]);
					if($dodgejg==1){
						echo $rs["tzid"]."获胜赢得".number_format($rs["points"]).$web_moneyname;
					}else if($dodgejg==2){
						echo $rs["uid"]."获胜赢得".number_format($rs["points"]).$web_moneyname;
					}else{
						echo "平局无人获胜";
					}
					?></td>
                </tr>
              </table>
              <?
				}
				?>
		  </DIV>
			<DIV class=cl></DIV>
		</DIV>
		<DIV class="area960-b h5px"></DIV>
	<!--Flink End-->
	<div class="blank10"></div>
	<!--Footer Start-->
<?php include_once("footer.php");?>
</DIV>