<!--#include file="inc.asp"-->
<!--#include file="conn.asp"-->
<%call head
call saycardd("虚拟管理")%>
<%=now%><br/>
<%
  dim bigpay,fortime,votename,Hacontent
  set rs=Server.CreateObject("ADODB.Recordset")
  rs.open"select bigpay,fortime,votename from YD_all where id=1",ydzqconn,1,1
if not rs.eof then
bigpay=rs("bigpay")
fortime=rs("fortime")
end if
rs.close
set rs=nothing
%>
欢迎管理,本期为第<%=qinum%>期<br/>
<%dim qinum2,pm,tm2
set rs=Server.CreateObject("ADODB.Recordset")
rs.open"select * from YD_info where qinum='"&abs(int(qinum))-1&"'",ydzqconn,1,1
if not rs.eof then
qinum2=rs("qinum")
pm1=rs("pm1")
pm2=rs("pm2")
pm3=rs("pm3")
pm4=rs("pm4")
pm5=rs("pm5")
pm6=rs("pm6")
tm2=rs("tm")
%>上期<%=qinum2%>期,平码<%=pm1%>-<%=pm2%><%=pm3%>-<%=pm4%>-<%=pm5%>-<%=pm6%>,特码<%=tm2%><br/>
<%
end if
rs.close
set rs=nothing

TP=request("TP")
IF TP<>"" then
jietime=request("jietime")
if jietime="" then
  Call Error("时间不能为空！")
end if
if IsDate(jietime)=False then
  Call Error("时间格式不对！")
end if
set rs=Server.CreateObject("ADODB.Recordset")
rs.open"select top 1 jietime from YD_info order by id desc",YdZQconn,1,2
if not rs.eof then
rs("jietime")=jietime
rs.update
end if
rs.close
set rs=nothing
Response.Write "截止时间修改成功！<br/>"
Response.Write "<a href='adminvote.asp?sid="&sid&"'>返回</a><br/>"
Response.Write "</p></card></wml>"
Response.end
END IF
set rs=Server.CreateObject("ADODB.Recordset")
rs.open"select top 1 jietime from YD_info order by id desc",ydzqconn,1,1
if not rs.eof then
jietime=rs("jietime")
end if
rs.close
set rs=nothing
response.write"【本期截止时间】<br/>"
if saytk>1 then
call xlanlj("adminvote.asp?sid="&sid&"&amp;saytk="&saytk&"")
response.write"<input name=""jietime"" value="""&jietime&"""/>"
call xltjlj("tp","1")
call xlanlj1("更改")
else
response.write"<input name=""jietime"&tt&""" value="""&jietime&"""/>"
response.write"<anchor>更改<go href='adminvote.asp?sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='jietime' value='$(jietime"&tt&")'/>"
response.write"<postfield name='TP' value='1'/>"
response.write"</go></anchor><br/>"
end if
Response.Write "【常规管理】<a href='vote_so.asp?sid="&sid&"&amp;saytk="&saytk&"'>搜索</a><br/>"
Response.Write "<a href='Configvote.asp?sid="&sid&"&amp;saytk="&saytk&"'>投注设置</a><br/>"

Response.Write "<a href='Openvote.asp?sid="&sid&"&amp;saytk="&saytk&"'>开通下期</a>|"
Response.Write "<a href='tmadd.asp?sid="&sid&"&amp;saytk="&saytk&"'>增加开奖</a><br/>"
Response.Write "<a href='tmlist.asp?sid="&sid&"&amp;saytk="&saytk&"'>开奖记录</a>|"
Response.Write "<a href='votedel.asp?sid="&sid&"&amp;saytk="&saytk&"'>高级管理</a>"
Response.Write "<br/>【奖励会员】<br/>"
Response.Write "<a href='winning_1.asp?sid="&sid&"&amp;saytk="&saytk&"'>特码开奖</a>|"
Response.Write "<a href='winning_2.asp?sid="&sid&"&amp;saytk="&saytk&"'>生肖开奖</a><br/>"
Response.Write "<a href='winning_3.asp?sid="&sid&"&amp;saytk="&saytk&"'>波色开奖</a>|"
Response.Write "<a href='winning_4.asp?sid="&sid&"&amp;saytk="&saytk&"'>单双开奖</a><br/>"
Response.Write "<a href='winning_5.asp?sid="&sid&"&amp;saytk="&saytk&"'>大小开奖</a>|"
Response.Write "<a href='winning_6.asp?sid="&sid&"&amp;saytk="&saytk&"'>五行开奖</a><br/>"
Response.Write "<a href='winning_7.asp?sid="&sid&"&amp;saytk="&saytk&"'>特码多选</a>|"
Response.Write "<a href='winning_8.asp?sid="&sid&"&amp;saytk="&saytk&"'>生肖多选</a><br/>"
Response.Write "<a href='winning_9.asp?sid="&sid&"&amp;saytk="&saytk&"'>平码特肖</a>|"
Response.Write "<a href='winning_10.asp?sid="&sid&"&amp;saytk="&saytk&"'>平码独平</a><br/>"
Response.Write "<a href='winning_11.asp?sid="&sid&"&amp;saytk="&saytk&"'>平码独尾</a>|"
Response.Write "<a href='winning_12.asp?sid="&sid&"&amp;saytk="&saytk&"'>平码二选</a><br/>"
Response.Write "<a href='winning_13.asp?sid="&sid&"&amp;saytk="&saytk&"'>平码三选</a>|"
Response.Write "<a href='adminvote.asp?sid="&sid&"&amp;saytk="&saytk&"'>等待添加</a>"
Response.Write "<br/>---------------"
%>
<!--#include file="fanhui.asp"-->
<%call head1%>