⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jzz_display.asp

📁 本程序采用ACC数据核心构件!! 功能介绍: 程序代码重新设计与优化
💻 ASP
字号:
<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/code.asp"-->
<!--#include file="inc/SqlIn.Asp"-->
<%
dim id
id=htmlencode(request("id"))
if id="" or (not isnumeric(id)) then
response.write "<script>alert('参数不正确!!!');window.close()</script>"
response.end
end if

set rs = server.createobject("adodb.recordset")
sql="SELECT Gq_jzzdata.id,Gq_jzzdata.jzname,Gq_jzzdata.vsname,Gq_jzzdata.vstime,Gq_jzzdata.jzmaster,Gq_jzzdata.jzqq,Gq_jzzdata.jzTel,Gq_jzzdata.vsserver,Gq_jzzdata.about,Gq_jzzdata.gameover,Gq_jzzdata.vsweb,Gq_jzzdata.vswebqq,Gq_jzzdata.vswebtel,Gq_jzzdata.addtime,Gq_jzzdata.gameid,Gq_jzzdata.ulock,Gq_jzzdata.top,Gq_gametype.game FROM Gq_Jzzdata,Gq_gametype where Gq_Jzzdata.gameid=Gq_gametype.id and Gq_Jzzdata.id="&id
rs.open sql,conn,1,1 
if rs.bof and rs.eof then 
rs.close
response.write "<script>alert('无此数据!!!');window.close()</script>"
response.end
else
%>
<html>
<head>
<title><%=webname%> ≡ 家族战信息浏览</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/Index_Top/New_Au.css" rel="stylesheet" type="text/css">
</head>
<body leftMargin=0 bgcolor="#EFEFEF" topMargin=15>
<table width="98%" border="1" align="center" cellpadding="4" cellspacing="0" class=guiqibk style="border-collapse: collapse">
    <tr>
      <th colspan="2">浏览“<b><FONT color=#FF0000><%=rs("jzname")%></FONT></b>”发布的家族战信息</th>
    </tr>
    
    <tr>
      <td width="24%" align="center" class="TableRow1">家族名称:</td>
      <td width="76%" class="TableRow1"><b><%=rs("jzname")%></b> <FONT color=#c0c0c0>(<%=rs("addtime")%>发布)</FONT></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">Vs 对方家族名称:</td>
      <td width="76%" class="TableRow1"><%=rs("vsname")%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">Vs 时间:</td>
      <td width="76%" class="TableRow1"><%=rs("vstime")%> </td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">所在游戏:</td>
      <td width="76%" class="TableRow1"><%=rs("game")%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">家族联系人:</td>
      <td width="76%" class="TableRow1"><%=rs("jzmaster")%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">家族联系人QQ:</td>
      <td width="76%" class="TableRow1"><%=rs("jzqq")%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">对战服名称:</td>
      <td width="76%" class="TableRow1"><%=rs("vsserver")%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">对战服网站:</td>
      <td width="76%" class="TableRow1"><%if rs("vsweb")="" or rs("vsweb")="无" or rs("vsweb")="http://" then response.write "--" else response.write "<a href="&rs("vsweb")&" target=_blank>访问</a>" end if%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">家族战状态:</td>
      <td width="76%" class="TableRow1">关注程度:<%=rs("hits")%> &nbsp; &nbsp;&nbsp;</td>
    </tr>
	  <tr>
      <td align="center" class="TableRow1">对战结果:</td>
      <td width="76%" class="TableRow1"><%if rs("gameover")=0 then response.write "<font color=#ff0000>对战尚无结果</font>" else if rs("gameover")=1 then response.write ""&rs("jzname")&" <font color=#ff0000>胜</font>" else if rs("gameover")=2 then response.write ""&rs("vsname")&" <font color=#ff0000>胜</font>" else if rs("gameover")=3 then response.write "<font color=#ff0000>双方战和</font>" end if end if end if end if%></td>
    </tr>
    <tr>
      <td align="center" class="TableRow1">简要介绍:</td>
      <td width="76%" class="TableRow1"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><%=htmldecode(rs("about"))%></td>
        </tr>
      </table></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td colspan="5" align="center"><A href="javascript:window.close()"><IMG height=29 alt=关闭窗口 src="/index_img/close.gif" width=93 border=0></A></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td colspan="5" align="center">&nbsp;</td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td colspan="5" align="center">&nbsp;</td>
    </tr>
</table>
<table width=98% align="center" border="0" cellspacing="0" cellpadding="0">
<tr align="middle">
<td height="30" valign="bottom">Copyright (c) 2006-2008 <a target="_blank" href="http://www.xuncms.cn"><b><font color="#708796">XunCms.Cn</font></b></a>. All Rights Reserved .</td>
</tr>
<tr align="middle">
<td>Powered by:<a href="http://www.xuncms.cn" target="_blank"><b><font color="#708796"></font><font color="#cc0000">讯图设计联盟</font></b></font> Ver3.2.0 SP2</a></td>
</tr>
</table>
</body>
</html>
<%
rs.close
end if
set rs=nothing
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -