7.asp
上传用户:angela
上传日期:2022-05-11
资源大小:853k
文件大小:14k
- <!--#include file="../Inc/Cls_Conn.asp"-->
- <!--#include file="../Inc/Cls_Config.asp"-->
- <script language="JavaScript">
- <!--
- self.moveTo(0,0)
- self.resizeTo(screen.availWidth,screen.availHeight)
- //-->
- </script>
- <script language="JavaScript">
- function findobj(n, d) {
- var p,i,x; if(!d) d=document;
- if((p=n.indexOf("?"))>0 && parent.frames.length) {
- d=parent.frames[n.substring(p+1)].document;
- n=n.substring(0,p);
- }
- if(!(x=d[n])&&d.all) {
- x=d.all[n];
- }
- for(i=0;!x && i<d.forms.length;i++) {
- x=d.forms[i][n];
- }
- for(i=0;!x && d.layers&&i>d.layers.length;i++) {
- x=MM_findObj(n,d.layers[i].document);
- }
- return x;
- }
- function copycode(obj) {
- var rng = document.body.createTextRange();
- rng.moveToElementText(obj);
- rng.scrollIntoView();
- rng.select();
- rng.execCommand("Copy");
- rng.collapse(false);
- }
- </script>
- <%
- '=====================================================================
- ' 作者声明:转载请保留版权信息,鄙视不要脸的人
- '=====================================================================
- ' 程序名称:蓝宇网络发布系统
- ' 软件版本:Version 3.3.0 Sp1
- ' 程序作者:蓝宇 QQ:18159079 ╲、随心゛ QQ:6821845
- '=====================================================================
- ' 联系方式:Tel:13203117383,QQ:18159079,hi.baidu.com/hezeyu
- ' 程序开发:蓝宇,╲、随心゛
- ' 官方网站:蓝宇网络(http://hi.baidu.com/hezeyu)
- '=====================================================================
- ' Copyright 2004-2007 蓝宇 - All Rights Reserved.
- '=====================================================================
- dim id,rs3,TopNum
- TopNum = 10
- id=tee5.CheckStr(request("id"))
- if id="" or (not isnumeric(id)) then
- tee5.OutClertScript ("非法操作,请正确操作,您的操作已被记录!")
- end if
- set rs = server.createobject("adodb.recordset")
- if tee5.Showhtml > 0 then
- sql="update Gq_SFdata set hits=hits+" & tee5.sfhits & " where ulock<>0 and id="&id
- conn.execute sql
- end if
- sql="select Gq_sfdata.id,Gq_sfdata.name,Gq_sfdata.IP,Gq_sfdata.service,Gq_sfdata.Sdate,Gq_sfdata.hour,Gq_sfdata.minute,Gq_sfdata.addr,Gq_sfdata.QQ,Gq_sfdata.xingzhi,Gq_sfdata.homepage,Gq_sfdata.download,Gq_sfdata.addtime,Gq_sfdata.hits,Gq_sfdata.isBest,Gq_sfdata.hot,Gq_sfdata.fine,Gq_sfdata.gameid,Gq_GameType.game"
- sql=sql&" from Gq_SFdata,Gq_GameType where Gq_SFdata.gameid=Gq_GameType.id and Gq_SFdata.ulock=1 and Gq_SFdata.id="&id
- rs.open sql,conn,1,3
- if rs.bof and rs.eof then
- rs.close
- Response.Write "<meta http-equiv=""refresh"" content=""2;url='/"">" & vbCrLf
- Response.Write "<p align=""center"" style=""font-size: 16px;color: red;"">对不起,该页面发生了错误,无法访问! 系统两秒后自动转到网站首页......</p>"
- response.end
- else
- start=""&rs("name")&","&rs("xingzhi")&""
- tee5.head()
- dim callname,callip
- if left(rs("ip"),1)="1" or left(rs("ip"),1)="2" or left(rs("ip"),1)="3" or left(rs("ip"),1)="4" or left(rs("ip"),1)="5" or left(rs("ip"),1)="6" or left(rs("ip"),1)="7" or left(rs("ip"),1)="8" or left(rs("ip"),1)="9" then
- callname=" <a href='javascript:' onclick='clipboardData.setData(""Text"","""&rs("name")&""");alert(""服务器名:【"&rs("name")&"】复制成功"");' title=""点击复制此服务器名""><b><font color=""FF0000"">点这复制游戏名</font></b></a>"
- callip=" <a href='javascript:' onclick='clipboardData.setData(""Text"","""&rs("ip")&""");alert(""服务器IP:【"&rs("ip")&"】复制成功"");' title=""点击复制此服务器IP""><b><font color=""FF0000"">点这复制游戏IP</font></b></a>"
- end if
- Response.Write "<TABLE width=" & tee5.TabWidth & " border=0 align=center cellPadding=0 cellSpacing=0 bgcolor=""#FFFFFF"">"
- Response.Write " <tr>"
- Response.Write " <td width=""72%"" valign=""top"" style=""border-right:1px dashed #d1d1d1;"">"
- Response.Write " <table width=""99%"" border=0 cellspacing=0 cellpadding=0>"
- Response.Write " <tr>"
- Response.Write " <th>" & rs("xingzhi") & "</th>"
- Response.Write " </tr>"
- Response.Write " <tr>"
- Response.Write " <td height=""3"" bgcolor=""#CCCCCC""></td>"
- Response.Write " </tr>"
- Response.Write " <tr>"
- Response.Write " <td height=""37"" align=""center"">"
- Response.Write " <table width=""90%"" border=0 cellspacing=0 cellpadding=0>"
- Response.Write " <tr>"
- Response.Write " <td align=""center"">私服名称:" & rs("name") & "</td>"
- Response.Write " <td align=""center"">私服IP:" & rs("ip") & "</td>"
- Response.Write " <td align=""center"">更新时间:" & rs("addtime") & "</td>"
- Response.Write " </tr>"
- Response.Write " </table></td>"
- Response.Write " </tr>"
- Response.Write " <tr>"
- Response.Write " <td height=""1"" bgcolor=""#CCCCCC""></td>"
- Response.Write " </tr>"
- Response.Write " <tr>"
- Response.Write " <td align=""center"">"
- %>
- <TABLE cellSpacing=0 cellPadding=0 width="98%" bgColor=#e4e4de border=0>
- <TR bgColor=#f8f8f5>
- <TD align="right"></TD>
- <TD width="10"></TD>
- <TD width="80%" height=30><b>如果想发给您的好友一起耍,点击下方图片即可↓</b></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">游戏复制:</TD>
- <TD></TD>
- <TD align="left" height=30><input type="image" src="/images/sf_qq.gif" align=middle height=24 title="点击复制此游戏,发给您的好友一起分享!" onclick="copyToClipBoard()"></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">游戏名称:</TD>
- <TD></TD>
- <TD align="left" height=30><%=rs("name")%><%=callname%></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">游戏IP:</TD>
- <TD></TD>
- <%if instr(lcase(rs("download")),".rar")>0 or instr(lcase(rs("download")),".exe")>0 then%>
- <TD align="left" height=30><a href=<%=rs("download")%> target=_blank><%=rs("ip")%></a><%=callip%></TD>
- <%else%>
- <TD align="left" height=30><%=rs("ip")%><%=callip%></TD>
- <%end if%>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">开机时间:</TD>
- <TD></TD>
- <TD align="left" height=30>
- <%if rs("Sdate")<>"" then response.write year(rs("sdate"))&"年/"&month(rs("sdate"))&"月/"&day(rs("Sdate"))&"日/"%><%if rs("hour")>=0 and rs("hour")<7 then
- Response.Write "凌晨"&rs("hour")&"点"
- else
- if rs("hour")>17 and rs("hour")<24 then
- Response.Write "晚上"&rs("hour")-12&"点"
- else
- if rs("hour")<12 then
- Response.Write "上午"&rs("hour")&"点"
- else
- if rs("hour")>12 and rs("hour")<=17 then
- Response.Write "下午"&rs("hour")-12&"点"
- else
- if rs("hour")=12 then
- Response.Write "中午"&rs("hour")&"点"
- end if
- end if
- end if
- end if
- end if%><% if rs("minute")<30 then
- response.write"开放"
- else
- if rs("minute")>=30 then
- Response.Write "/30分开放"
- end if
- end if%></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">游戏类型:</TD>
- <TD></TD>
- <TD align="left" height=30><b><font color="0000FF"><%=rs("game")%></font></b></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">地区线路:</TD>
- <TD></TD>
- <TD align="left" height=30><%=rs("addr")%><%=split(tee5.ssign,",")(rs("Service"))%></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">客服QQ:</TD>
- <TD></TD>
- <TD align="left" height=30><%=rs("qq")%></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">推荐星级:</TD>
- <TD></TD>
- <TD align="left" height=30><%if rs("isBest")=1 and rs("hot")=0 and rs("fine")=0 then
- Response.Write "<img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12>"
- end if
- if rs("hot")=1 and rs("isBest")=1 and rs("fine")=0 then
- Response.Write "<img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12>"
- end if
- if rs("fine")=1 and rs("isBest")=1 and rs("hot")=0 then
- Response.Write "<img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12>"
- end if
- if rs("isBest")=1 and rs("hot")=1 and rs("fine")=1 then
- Response.Write "<img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12><img src=""/images/star.gif"" width=13 height=12>"
- end if
- %></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <%if tee5.Showhtml < 1 then%>
- <%else%>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">人气指数:</TD>
- <TD></TD>
- <TD align="left" height=30><span class=prspan><img src="/images/hits.gif" width="<%if rs("hits")>100 then%>100%<%else%><%=rs("hits")%>%<%end if%>" height=7 title="人气指数:<%=rs("hits")%>"></span></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <%end if%>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">官方主页:</TD>
- <TD></TD>
- <TD align="left" height=30><%if rs("homepage")="" or rs("homepage")="无" or rs("homepage")="http://" then Response.Write "--" else Response.Write "<a href=/open.asp?action=go&id="&rs("id")&" title=""点击访问官方站点"" target=_blank>"&rs("homepage")&"</a>" end if%></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#E7E7E7>
- <TD align="center"></TD>
- <TD align="left" height=1></TD>
- </TR>
- <TR vAlign=center align=middle bgColor=#ffffff>
- <TD align="right">游戏简介:</TD>
- <TD></TD>
- <TD align="left" height=30><%=rs("xingzhi")%></TD>
- </TR>
- </TABLE>
- <%
- Response.Write " </td>"
- Response.Write " </tr>"
- Response.Write "</TABLE>"
- Response.Write "</td>"
- Response.Write " <td width=""5""></td>"
- Response.Write " <td width=""27%"" valign=""top"">"
- %>
- <table width="99%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <th width="195">最新游戏</th>
- </tr>
- <tr height="3">
- <td height="3" bgcolor="#CCCCCC" width="195"></td>
- </tr>
- <tr>
- <td valign="top">
- <%
- set rs3=server.createobject("adodb.recordset")
- sql="select top " & CInt(TopNum) & " id,xingzhi,hits,addtime,Sdate from Gq_sfdata where Ulock=1 order by addtime DESC,ID DESC"
- rs3.open sql,conn,1,1
- do while not rs3.eof
- %>
- <TABLE cellSpacing=1 cellPadding=1 width="95%" border=0 align="center">
- <TR>
- <%if tee5.Showhtml < 1 then%>
- <TD height="20" valign="middle">· <a href='/html/Game/<%=tee5.ContentHtml(rs3)%>.html' target='_blank' Title='私服名称:<%=rs3("xingzhi")%>
更新时间:<%=rs3("addtime")%>
人气指数:<%=rs3("hits")%>'><font color="#333333"><%=left(rs3("xingzhi"),20)%>...</font></a></TD>
- <%else%>
- <TD height="20" valign="middle">· <a href='/showsf.asp?id=<%=rs3("id")%>' target='_blank' Title='私服名称:<%=rs3("xingzhi")%>
更新时间:<%=rs3("addtime")%>
人气指数:<%=rs3("hits")%>'><font color="#333333"><%=left(rs3("xingzhi"),20)%>...</font></a></TD>
- <%end if%>
- </TR>
- </TABLE>
- <%
- rs3.movenext
- loop
- if rs3.eof and rs3.bof then
- Response.Write "<div align=center><br>当前还没有任何游戏<br><br></div>"
- end if
- rs3.close
- set rs3=nothing
- %>
- </td>
- </tr>
- </table>
- <table width="99%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <th width="195">热门游戏</th>
- </tr>
- <tr height="3">
- <td height="3" bgcolor="#CCCCCC" width="195"></td>
- </tr>
- <tr>
- <td valign="top">
- <%
- set rs3=server.createobject("adodb.recordset")
- sql="select top " & CInt(TopNum) & " id,xingzhi,hits,addtime,Sdate from Gq_sfdata where Ulock=1 order by hits DESC,ID DESC"
- rs3.open sql,conn,1,1
- do while not rs3.eof
- %>
- <TABLE cellSpacing=1 cellPadding=1 width="95%" border=0 align="center">
- <TR>
- <%if tee5.Showhtml < 1 then%>
- <TD height="20" valign="middle">· <a href='/html/Game/<%=tee5.ContentHtml(rs3)%>.html' target='_blank' Title='私服名称:<%=rs3("xingzhi")%>
更新时间:<%=rs3("addtime")%>
人气指数:<%=rs3("hits")%>'><font color="#333333"><%=left(rs3("xingzhi"),20)%>...</font></a></TD>
- <%else%>
- <TD height="20" valign="middle">· <a href='/showsf.asp?id=<%=rs3("id")%>' target='_blank' Title='私服名称:<%=rs3("xingzhi")%>
更新时间:<%=rs3("addtime")%>
人气指数:<%=rs3("hits")%>'><font color="#333333"><%=left(rs3("xingzhi"),20)%>...</font></a></TD>
- <%end if%>
- </TR>
- </TABLE>
- <%
- rs3.movenext
- loop
- if rs3.eof and rs3.bof then
- Response.Write "<div align=center><br>当前没有热门游戏<br><br></div>"
- end if
- rs3.close
- set rs3=nothing
- %>
- </td>
- </tr>
- </table>
- <%
- Response.Write "</td>"
- Response.Write " </tr>"
- Response.Write "</TABLE>"
- %>
- <script language="javascript">
- <!--
- function copyToClipBoard(){
- var clipBoardContent=document.location;
- clipBoardContent+='rn这个私服很经典!n服务器名:<%=rs("name")%>n服务器IP:<%=rs("ip")%>n《hi.baidu.com/hezeyu》还有爆多经典的私服游戏!';
- window.clipboardData.setData("Text",clipBoardContent);
- alert("耶!复制成功喽!你可以粘贴在QQ消息里发给你的好朋友一起玩了!");
- }
- //-->
- </script>
- <%
- tee5.footer()
- end if
- call CloseConn()
- %>