<!--#include file="../inc.asp"-->
<!--#include file="../ydzq.asp"-->
<!--#include file="conn.asp"-->

<%'=============================
call head()
Call cardgame("球类投注中心",yanse12)
%>您目前共有<%=myjb%><%=getcent%><br/>
【投注比赛】<br/><%
dim id
id=request("id")
if id="" or Isnumeric(id)=false then
call error("ID无效！")
end if
set rs=Server.CreateObject("ADODB.Recordset")
  rs.open"select * from YD_vote where id=" & id & "  order by id desc",ydzqconn,1,1
if rs.eof then 
response.write "您好,这个比赛不存在或者已经结束,赶快再去<a href=""index.asp?sid="&sid&"&amp;saytk="&saytk&""">选一个</a>来玩吧!<br/>"
Else
response.write ""&rs("balltime1")&" "
response.write ""&rs("balltitle")&"<br/>"

response.write "<a href=""ball_z_z.asp?id="&rs("id")&"&amp;typeID=1&amp;sid="&sid&"&amp;saytk="&saytk&""">"&rs("ballvote1")&"("&rs("ballvotelu1")&")</a>"
response.write ""&rs("ballvote")&""

response.write "<a href=""ball_z_z.asp?id="&rs("id")&"&amp;typeID=2&amp;sid="&sid&"&amp;saytk="&saytk&""">"&rs("ballvote2")&"("&rs("ballvotelu2")&")</a><br/>"

if rs("balldx")<>"" then
response.write "<a href=""ball_z_d.asp?id="&rs("id")&"&amp;typeID=1&amp;sid="&sid&"&amp;saytk="&saytk&""">小("&rs("balldxlu1")&")</a>"
response.write "(大小球"&rs("balldx")&")"

response.write "<a href=""ball_z_d.asp?id="&rs("id")&"&amp;typeID=2&amp;sid="&sid&"&amp;saytk="&saytk&""">大("&rs("balldxlu2")&")</a><br/>"
end if
if rs("balldslu1")<>"" then
response.write "<a href=""ball_z_s.asp?id="&rs("id")&"&amp;typeID=1&amp;sid="&sid&"&amp;saytk="&saytk&""">单("&rs("balldslu1")&")</a>"
response.write ""&rs("ballds")&""

response.write "<a href=""ball_z_s.asp?id="&rs("id")&"&amp;typeID=2&amp;sid="&sid&"&amp;saytk="&saytk&""">双("&rs("balldslu2")&")</a><br/>"
end if
end if
rs.close
set rs=nothing
ydzqconn.close
set ydzqconn=nothing
conn.close
set conn=nothing
%>-------------
<!--#include file="fanhui.asp"-->
<%call headsay()%>