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


Call head()



Server.ScriptTimeout=999


id=request("id")
set rs=server.createobject("adodb.recordset")
sql="select * from zhuqiu where id="&id
rs.open sql,connqiu,1,1

  

set rs1=Server.CreateObject("ADODB.Recordset")
rs1.open"select * from users where id="&rs("userid"),conn,1,1
yfname=rs1("name")
yfsex=rs1("sex")
yfcity=rs1("city")
yfsr=rs1("sr")
yfage=rs1("age")
rs1.close
Set rs1=Nothing

Call saycarda(""&yfname&":"&rs("about")&"")
%>


赛事名称:<%=rs("about")%><br/>
赛事简介:<br/>-----------------<br/><%=rs("txt")%><br/>-----------------<br/>
<%If rs("logo")<>"" Then%>
<img src="<%=rs("logo")%>" alt="."/><br/>
<%Else%>
暂无附图!
<%End if%>
<br/>
发布时间：<%=rs("times")%><br/>

-----------------<br/>
<%If rs("userid")=myid Or keys=1 Or keys=2 then%>
管理:<a href="edit.asp?id=<%=rs("id")%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>">修改</a><br/>-----------------<br/>
<%
End If 

rs.close
set rs=nothing
response.write "=+评论留言+=<br/>"


set rs=Server.CreateObject("ADODB.Recordset")
rs.open"select * from yfpin where fileid="&id&" order by id desc",connqiu,1,1
If rs.eof Then
	response.write"暂无！<br/>"					
else

rs.Move(0)
j=1

do while ((not rs.EOF) and j <=5)									
response.write""&j&".<a href=""/bbs/uinfo.asp?id="&rs("uid")&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"&ubb(rs("ip"))&"</a>说:"
response.write ""&rs("pin")&"<br/>["
response.write ""&date_gametalk(rs("pltime"))&"前]<br/>"
rs.MoveNext
j=j+1
loop
end if

rs.close
set rs=nothing
%>
<a href='yfpinlist.asp?id=<%=id%>&amp;class=<%=ids%>&amp;cid=<%=cid%>&amp;pa=<%=pa%>&amp;TP=1&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>'>更多评论</a>

<% If filepin="" Then
response.write "(0条)<br/>"
else
response.write "("&filepin&"条)<br/>"
End if
if saytk=>2 then
Response.write "<form name=""form"" method=""post"" action=""yfpin.asp?id="&id&"&amp;TP="&TP&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if%>
<input type="text" name="pin" title="输入内容" value="" maxlength="50"/><br/>
<%if saytk=>2 then
response.write "<input type=""submit"" name=""Submit"" value=""发表评论""></form><br/>"
else%>
<anchor title="确定">发表评论
<go method="post" href="yfpin.asp?id=<%=id%>&amp;TP=<%=TP%>&amp;sid=<%=sid%>&amp;saytk=<%=saytk%>">
<postfield name="pin" value="$(pin)"/>
</go></anchor><br/><% 
end If







response.write "-----------------<br/><a href='/saytkcom/lmzhuqiu/index.asp?saytk="&saytk&"&amp;sid="&sid&"'>返回足球赛事</a><br/>-----------------"

%>

<%

Call headsay()
connqiu.close
set connqiu=nothing
%>