<!--#include file="_header.html" -->
<div class="mainbox"><!--#include file="_nav.html" --></div>
<!--{if("2" == A)}-->
<div id="is_008" name="is_008" style="display:block; margin-bottom:50px" align="center">
<form method=Post action="">
<br />
<br />
<table width="260" border="0" cellpadding="4" cellspacing="4" class="tablebox border">
<tr>
<th>
参与PK！
</th>
</tr>
  <tr>
    <td align="left">
      您一共<span style="font-weight: bold; color: #FF0000"><%=user.Money%></span>金钱；请下注支持您的观点。</td>
  </tr>
  <tr>
    <td align="left">支持方：
      &nbsp;
      <input name=uPkType type=radio class=radio id="radio2" value=1 <!--{if(null != Request.QueryString["s"] && "1" == Request.QueryString["s"].ToString())}-->checked="checked"<!--{endif}--> />      &nbsp;
	  正方
	  <input class=radio type=radio value=2 name=uPkType id="uPkType" <!--{if(null != Request.QueryString["s"] && "2" == Request.QueryString["s"].ToString())}-->checked="checked"<!--{endif}--> />
	  反方&nbsp;</td>
    </tr>
  <tr>
    <td align="left"  nowrap="nowrap">下注金额：
      <input type=text onmouseover="this.className='TextBoxFocus'" onmouseout="this.className='TextBox'" name="inmoney" id="inmoney" vlaue="" /></td>
    </tr>
  <tr>
    <td align="left">说明：您曾经支持正方<span style="font-weight: bold; color: #FF0000"><%=zhengfangs%></span>金钱，反方金<span style="font-weight: bold; color: #FF0000"><%=fanfangs%></span>钱。</td>
    </tr>
  <tr>
    <td align="left"><input style="margin-left:65px" type=submit id="send" name="send" value="马上支持" class="button_off" />
      &nbsp;<input type=button id="reload" name="reload" value=" 刷 新 " onclick="window.location.reload()"  class="button_off" /></td>
    </tr>
</table>
	<br />
	</form>
	</div>
<!--{else if("1" == A || "3" == A)}-->
<div style="clear:both"></div>
<table cellpadding="0" cellspacing="0" width="auto" class="tablebox border" style="background:#F7FAFD;margin-top:10px">
 <tr>
   <th colspan="5">下注祥细表</th>
</tr>
<tr>
  <td width="150" class="thematic" style="font-weight:bold;text-align:center">帐号</td>
  <td width="100" class="thematic" style="font-weight:bold;text-align:center">金额</td>
  <td width="200" class="thematic" style="font-weight:bold;text-align:center">观点类型</td>
  <td width="200" class="thematic" style="font-weight:bold;text-align:center">所得的手续费</td>
  <td width="200" class="thematic" style="font-weight:bold;text-align:center">下注起始时间</td>
</tr>
<!--{foreach (System.Data.DataRow dr in mGetDealedPost.Rows)} -->
<tr>
  <td width="150" style="padding:2px;line-height:23px;background:#fff"><%=dr["username"]%></td>
  <td width="100" style="padding:2px;line-height:23px;background:#fff"><%=dr["money"]%></td>
  <td width="200" style="padding:2px;line-height:23px;background:#fff"><%=("1"==dr["type"].ToString() ? "正方" : "反方")%></td>
  <td width="200" style="padding:2px;line-height:23px;background:#fff"><%=dr["topmoney"]%></td>
  <td width="200" style="padding:2px;line-height:23px;background:#fff"><%=dr["createdate"]%></td>	
</tr>
<!--{endforeach}-->
<!--{if("1" == A && mGetDealedPost.Rows.Count<=0 )}-->
<tr>
  <td colspan="5" style="padding:2px;line-height:23px;background:#fff;">
  没有找到下注信息
  </td>	
</tr>
<tr>
  <td   colspan="5">
  <form id="form1" name="form1" method="post" action="" >
  <input name="uPkType" type="radio" class="radio" id="radio" value="1" checked="checked" />正方&nbsp;&nbsp;&nbsp;&nbsp;
    <input class="radio" type="radio" value="2" name="uPkType" id="radio3" />反方&nbsp;&nbsp;&nbsp;&nbsp;
    <input class="radio" type="radio" value="3" name="uPkType" id="radio3" />中立&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="submit" name="send" value=" 获 胜 " class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" /><br />
	</form>
  </td>	
</tr>
<!--{else}-->
<tr>
  <td colspan="5">
<!--{if(mGetDealedPost.Rows.Count>0)}-->
	  <form id="form1" name="form1" method="post" action="">
	正方一共<span style="font-weight: bold; color: #FF0000">&nbsp;
		<%=mGetDealedPost.Rows[0]["winusers"]%>&nbsp;</span>
		支持；反方一共<span style="font-weight: bold; color: #FF0000">&nbsp;
		<%=mGetDealedPost.Rows[0]["loseusers"]%>&nbsp;</span>
		人支持；中立<span style="color: #FF0000; font-weight: bold">&nbsp;
		<%=mGetDealedPost.Rows[0]["thirdusers"]%>&nbsp;</span>
		人；正方集资<span style="color: #FF0000; font-weight: bold">&nbsp;
		<%=mGetDealedPost.Rows[0]["squaremoneys"]%>&nbsp;</span>
		金钱；反方集资<span style="font-weight: bold; color: #FF0000">&nbsp;
		<%=mGetDealedPost.Rows[0]["againstmoneys"]%>&nbsp;</span>金钱。
		<!--{if("0" == mGetDealedPost.Rows[0]["closed"].ToString() && "1" == A)}-->
		<br />
		<input name="uPkType" type="radio" class="radio" id="radio" value="1" checked="checked" />
		&nbsp;
			  正方
			  <input class="radio" type="radio" value="2" name="uPkType" id="radio3" />
		反方&nbsp;
			  <input class="radio" type="radio" value="3" name="uPkType" id="radio3" />
		中立&nbsp;
		
		  <input type="submit" name="send" value=" 获 胜 " class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"  /><br />
		<!--{else}-->
		<span style="font-weight: bold; color: #FF0000">
		&nbsp;胜方：<!--{if("1" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
		正方
		<!--{else if("2" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
		反方
		<!--{else if("3" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
		中立
		<!--{else}-->
		非法查看数据
		<!--{endif}-->
		</span>
	<!--{endif}-->
	</form>
<!--{else}-->
<div align=center>没有数据</div>
<!--{endif}-->
</td>
  </tr>
<!--{endif}-->
</table>
</div>

<!--{else if("4" == A)}-->
<form id="form1" name="form1" method="post" action="">

<table width="260" border="0" cellpadding="0" cellspacing="0" class="tablebox border">
<tr>
<th>领取下注获胜金钱</th>
</tr>
<tr><td align="center" style="padding:30px 0px 30px 0px">
您在此番下注中，您支持
&nbsp;<span style="font-weight: bold; color: #FF0000">
<!--{if("1" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
正方
<!--{else if("2" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
反方
<!--{else}-->
中立
<!--{endif}-->
</span>&nbsp;，可以领取&nbsp;<span style="font-weight: bold; color: #FF0000"><%=mGetDealedPost.Rows[0]["winmoney"].ToString()%></span>&nbsp;的金钱。<br />该方总共获得<span style="font-weight: bold; color: #FF0000">
<!--{if("1" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
<%=mGetDealedPost.Rows[0]["againstmoneys"].ToString()%>
<!--{else if("2" == mGetDealedPost.Rows[0]["winstat"].ToString())}-->
<%=mGetDealedPost.Rows[0]["squaremoneys"].ToString()%>
<!--{else}-->
0
<!--{endif}-->
</span>金钱。
您的下注成本是&nbsp;<span style="font-weight: bold; color: #FF0000"><%=mGetDealedPost.Rows[0]["inmoney"].ToString()%></span>&nbsp;金钱。您的获得的陪率为&nbsp;<span style="font-weight: bold; color: #FF0000"><%=mGetDealedPost.Rows[0]["peilu"].ToString()%></span>&nbsp;。<br />
  <input type=submit name=getnow value="马上领取" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"  /></td>
</tr></table>
</form>
<!--{endif}-->
<!--#include file="_footer.html" -->