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

<%


call head()
Call cardgame("吹牛挑战记录",yanse6)
%>





【我的历史吹牛记录】<br/>
我的吹牛记录<br/>







<%
dim rs,ssql,TP,gettxt
  set rs=Server.CreateObject("ADODB.Recordset")
  gettxt="暂时还没有吹牛记录!<br/>"
  ssql="select * from YD_jd where useid=" & myid & "  order by id desc"
  rs.open ssql,ydzqconn,1,1
if rs.eof then
response.write gettxt
Else
Dim PageSize,i
	PageSize=listnum					
	Dim Count,page,pagecount,gopage			
	gopage="mypklist.asp?saytk="&saytk&"&amp;sid="&sid&"&amp;"
	Count=rs.recordcount	
	page=int(request.QueryString ("page"))
	if page<=0 or page="" then page=1		
	pagecount=(count+pagesize-1)\pagesize	
        if page>pagecount then page=pagecount
	rs.move(pagesize*(page-1))
	For i=1 To PageSize     						
	If rs.eof Then Exit For	
if rs("num")=1 then
	dim getname
	if rs("num1")=1 then
	getname="游戏获胜!"
	else
	getname="游戏失败!"
	end if
elseif rs("num")=2 then
	if rs("num1")=2 then
	getname="游戏获胜!"
	else
	getname="游戏失败!"
	end if
else
getname ="未回应"
end if
 
If rs("op")=1 Then

    Response.write "编号<a href='words.asp?id=" & rs("id") & "&amp;sid=" & sid & "'>"&rs("id")&"</a>被ID<a href='../uinfo.asp?id=" & id2 & "&amp;sid=" & sid & "'>" & rs("reuseid") & "</a>应战,"&getname

else
if rs("reuseid")<>0 then
Response.write "编号<a href='words.asp?id=" & rs("id") & "&amp;sid=" & sid & "'>"&rs("id")&"</a>被ID<a href='../uinfo.asp?id=" & id2 & "&amp;sid=" & sid & "'>" & rs("reuseid") & "</a>应战,未回应"
    else
    Response.write "编号<a href='words.asp?id=" & rs("id") & "&amp;sid=" & sid & "'>"&rs("id")&"</a>未回应"
    end if
    Response.write "<a href='delwords.asp?id=" & rs("id") & "&amp;sid=" & sid & "'>[删]</a>"
end if

    Response.write "<br/>"
rs.moveNext
 	Next
	'response.write "<br/>"&chr(13)
	if page-pagecount<0 then response.write "<a href="""&gopage&"page="&page+1&""">下一页</a>"&chr(13)
	if page>1 then response.write "<a href="""&gopage&"page="&page-1&""">上一页</a>"&chr(13)

response.write "<br/>["&page&"/"&pagecount&"页 "&count&"条]<br/>"
	if pagecount>1 then response.write "<input name=""page"" format=""*N"" value="""&page&""" type=""text"" maxlength=""5"" emptyok=""true"" size=""2""/><a href="""&gopage&"page=$(page)"">跳到该页</a><br/>"
rs.close
set rs=nothing
end if
ydzqconn.close
set ydzqconn=nothing
conn.close
set conn=nothing
%>-------------
<!--#include file="fanhui.asp"-->
<%
call headsay()
%>