<!--#include file="../Inc.asp"-->
<!--#include file="../ydzq.asp"-->
<!--#include file="conn.asp"-->
<%
conn.close
set conn=nothing
dim TP
TP=clng(request("TP"))
if TP=0 then TP=1

set rs=Server.CreateObject("ADODB.Recordset")
  rs.open"select * from YD_payCent where id=1",ydzqconn,1,1
if not rs.eof then
tmcent=rs("tmcent")
sxcent=rs("sxcent")
dscent=rs("dscent")
dxcent=rs("dxcent")
bscent=rs("bscent")
wxcent=rs("wxcent")
end if
rs.close
set rs=nothing
ydzqconn.close
set ydzqconn=nothing

dim apptext,ttcent
if TP=1 then 
apptext="特码投注"
ttcent=tmcent
elseif TP=2 then 
apptext="生肖投注"
ttcent=sxcent
elseif TP=3 then
apptext="波色投注"
ttcent=bscent
elseif TP=4 then
apptext="单双投注"
ttcent=dscent
elseif TP=5 then
apptext="大小投注"
ttcent=dxcent
elseif TP=6 then 
apptext="五行投注"
ttcent=wxcent
end  if
Call head()
Call saycarda(""&apptext&"")

Response.write "您目前共有"&myjb&getcent&"<br/>"
Response.write "第"&qinum&"期"&apptext&",买中赔率"&ttcent&"倍！<br/>"

If saytk>1 then
%>
<form name="form" method="post" action="voteaddsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">
<%
End if


Response.write "请输入您的下注额:<input name=""paycent"" emptyok=""true"" format=""*N"" value=""0""/>"&getcent&"<br/>"
if TP=1 then
Response.write "请选择特码号码:<input name=""vote"" emptyok=""true""  format=""*N"" value=""1""/><br/>"
end if
if TP=2 then
response.write "请选择特码生肖:"
response.write "<select title='生肖' name='vote' value='鼠'>"&chr(13)
response.write "<option title='鼠' value='鼠'>鼠</option>"&chr(13)
response.write "<option title='牛' value='牛'>牛</option>"&chr(13)
response.write "<option title='虎' value='虎'>虎</option>"&chr(13)
response.write "<option title='兔' value='兔'>兔</option>"&chr(13)
response.write "<option title='龙' value='龙'>龙</option>"&chr(13)
response.write "<option title='蛇' value='蛇'>蛇</option>"&chr(13)
response.write "<option title='马' value='马'>马</option>"&chr(13)
response.write "<option title='羊' value='羊'>羊</option>"&chr(13)
response.write "<option title='猴' value='猴'>猴</option>"&chr(13)
response.write "<option title='鸡' value='鸡'>鸡</option>"&chr(13)
response.write "<option title='狗' value='狗'>狗</option>"&chr(13)
response.write "<option title='猪' value='猪'>猪</option>"&chr(13)
response.write "</select><br/>"
end if
if TP=3 then
response.write "请选择特码波色:"
response.write "<select name=""vote"" value=""红波"">"
response.write "<option value=""红波"">红波</option>"
response.write "<option value=""蓝波"">蓝波</option>"
response.write "<option value=""绿波"">绿波</option>"
response.write "</select><br/>"
end if
if TP=4 then
response.write "请选择特码单双:"
response.write "<select name=""vote"" value=""单数"">"
response.write "<option value=""单数"">单数</option>"
response.write "<option value=""双数"">双数</option>"
response.write "</select><br/>"
end if
if TP=5 then
response.write "特码大小一律不打和！开25为小数"
response.write "<br/>请选择特码大小::"
response.write "<select name=""vote"" value=""大数"">"
response.write "<option value=""大数"">大数</option>"
response.write "<option value=""小数"">小数</option>"
response.write "</select><br/>"
end if
if TP=6 then
response.write "请选择特码五行:"
response.write "<select name=""vote"" value=""金数"">"
response.write "<option value=""金数"">金数</option>"
response.write "<option value=""木数"">木数</option>"
response.write "<option value=""水数"">水数</option>"
response.write "<option value=""火数"">火数</option>"
response.write "<option value=""土数"">土数</option>"
response.write "</select><br/>"
end If
If saytk>1 Then
response.write "<input type=""hidden"" name=""tp"" value="""&TP&"""/>"

response.write "<input type=""submit"" name=""Submit"" value=""OK!决定了""></form><br/>"

else
response.write "<anchor>OK!决定了"
response.write "<go href=""voteaddsave.asp?sid="&sid&"&amp;saytk="&saytk&""" method=""post"" accept-charset=""utf-8"">"

response.write "<postfield name=""paycent"" value=""$(paycent)""/>"
response.write "<postfield name=""vote"" value=""$(vote)""/>"
response.write "<postfield name=""TP"" value="""&TP&"""/>"
response.write "</go></anchor><br/>"
End if
response.write "【我的投注】<br/>"
response.write "<a href=""mynowvote.asp?sid="&sid&"&amp;saytk="&saytk&""">我的投注</a>"&chr(13)
response.write "<a href=""myvote.asp?sid="&sid&"&amp;saytk="&saytk&""">历史投注</a><br/>"&chr(13)

response.write "<a href=""index.asp?sid="&sid&"&amp;saytk="&saytk&""">返回虚拟投注</a>"
%>
<!--#include file="fanhui.asp"-->
<%Call headsay()
%>