Index.asp
上传用户:angela
上传日期:2022-05-11
资源大小:853k
文件大小:13k
源码类别:

外挂编程

开发平台:

ASP/ASPX

  1. <!--#include file="Inc/Cls_Conn.asp"-->
  2. <!--#include file="Inc/Cls_Config.asp"-->
  3. <!--#include file="Inc/Cls_New.asp"-->
  4. <%
  5. Dim Menu,Rs2,Sql2,Rankings,Rs3,Rs4,Rs5,Rs6,Rs7,Rs8,strHtmlFront,strListFront
  6. Menu = tee5.IndexGame
  7. dim w1,w2,w3,w4,w5,w6,w7
  8. w1="100"
  9. w2="100"
  10. w3="145"
  11. w4="80"
  12. w5="75"
  13. w6="55"
  14. w7="55"
  15. Rankings = 20
  16. start="传奇私服"
  17. tee5.head()
  18. Response.Write "<TABLE cellSpacing=1 cellPadding=5 width=" & tee5.TabWidth & " align=center class=tableBorder1 border=0>" & vbCrLf
  19. Response.Write "<tr>" & vbCrLf
  20. Response.Write "<th width="&w1&">服务器名</th>" & vbCrLf
  21. Response.Write "<th width="&w2&">服务器IP</th>" & vbCrLf
  22. Response.Write "<th width="&w3&">开机时间[月/日/时间]</th>" & vbCrLf
  23. Response.Write "<th width="&w4&">地区线路</th>" & vbCrLf
  24. Response.Write "<th width="&w5&">客服QQ</th>" & vbCrLf
  25. Response.Write "<th>版本介绍</th>" & vbCrLf
  26. Response.Write "<th width="&w6&">详细介绍</th>" & vbCrLf
  27. Response.Write "<th width="&w7&">推荐星级</th>" & vbCrLf
  28. Response.Write "</TR>" & vbCrLf
  29. TeGq.SetRed_ads()
  30. If tee5.Indexsf1 = 1 then
  31. If minute(now) < 30 then
  32. TeGq.Today_00()
  33. End If
  34. If minute(now) >= 30 then
  35. TeGq.Today_30()
  36. End If
  37. If hour(now) > Clng(tee5.hottime_1) then
  38. TeGq.Overnight_aa()
  39. TeGq.Overnight_a()
  40. End If
  41. If hour(now) < Clng(tee5.hottime_2) then
  42. TeGq.Overnight_bb()
  43. TeGq.Overnight_b()
  44. End If
  45. Response.Write "</TBODY>"
  46. Response.Write "</TABLE>" & vbCrLf
  47. Response.Write "<TABLE cellSpacing=1 cellPadding=5 width=" & tee5.TabWidth & " align=center class=tableBorder1 border=0>" & vbCrLf
  48. Response.Write "<TBODY>"
  49. End If
  50. If tee5.Indexsf1 = 1 then
  51. If minute(now) >= 30 then
  52. TeGq.Today_30_1()
  53. End If
  54. TeGq.Today_00_30_1()
  55. If minute(now) < 30 then
  56. TeGq.Today_30_2()
  57. End If
  58. TeGq.Today_00_30_2()
  59. If hour(now) <= Clng(tee5.hottime_1) then
  60. TeGq.Beforea()
  61. TeGq.Before()
  62. End If
  63. End If
  64. Response.Write "</TBODY>"
  65. Response.Write "</TABLE>" & vbCrLf
  66. If tee5.Indexsf2 = 1 then
  67. TeGq.days_1()
  68. TeGq.night_1()
  69. End If
  70. If tee5.Indexsf3 = 1 then
  71. TeGq.days_2()
  72. TeGq.night_2()
  73. End If
  74. If tee5.Indexsf4 = 1 then
  75. TeGq.yesterday()
  76. End If
  77. If tee5.Indexsf5 = 1 then
  78. TeGq.yesterday1()
  79. End If
  80. 'If SFstatus=1 then
  81. '    TeGq.free()
  82. 'End If
  83. %>
  84. <%
  85. Dim t
  86. Response.Write "<TABLE cellSpacing=1 cellPadding=3 width=" & tee5.TabWidth & " align=center class=tableBorder1 border=0>"
  87. Response.Write "<tr>"
  88. Response.Write "<th>家族名称</th>"
  89. Response.Write "<th>家族QQ群</th>"
  90. Response.Write "<th>家族老大</th>"
  91. Response.Write "<th>游戏版本</th>"
  92. Response.Write "<th>主页</th>"
  93. Response.Write "<th>地区线路</th>"
  94. Response.Write "<th>家族创建日期</th>"
  95. Response.Write "<th>支持度</th>"
  96. Response.Write "<th>TOP排名</th>"
  97. Response.Write "</tr>"
  98. '固顶家族列表
  99. sql="select Gq_Jzdata.id,Gq_Jzdata.name,Gq_Jzdata.qq,Gq_Jzdata.master,Gq_Jzdata.bulid,Gq_Jzdata.peo,Gq_Jzdata.addr,Gq_Jzdata.web,Gq_Jzdata.tel,Gq_Jzdata.hits,Gq_Jzdata.gameid,Gq_GameType.game"
  100. sql=sql&" from Gq_Jzdata,Gq_GameType where Gq_Jzdata.gameid=Gq_GameType.id"
  101. sql=sql&" and Gq_Jzdata.ulock=true and Gq_Jzdata.top=true order by Gq_Jzdata.hits desc"
  102. rs.open sql,conn,1,1 
  103. if rs.eof and rs.bof then
  104. response.write "<tr><td align='center' bgcolor='#FFFFFF' colspan='9'><FONT color=#FF0000>超强家族等你来拿,家族超强实力象征</FONT></td></tr>"
  105. rs.close
  106. else
  107. do while not rs.eof
  108. t=t+1
  109. if t mod 2=1 then
  110. Response.Write "<tr bgcolor=#FFFF00>"
  111. else
  112. Response.Write "<tr bgcolor=#FFFF55>"
  113. end if
  114. %>
  115. <form method=POST action='JzVote.asp' target=_blank>
  116. <input type=hidden name=IsSub value=YES><input type=hidden name=SS value=<%=rs("id")%>>
  117. <td align=center><%=rs("name")%></td>
  118. <td align=center><%=rs("QQ")%></td>
  119. <td align=center><%=rs("master")%></td>
  120. <td><%=rs("TEL")%></td>
  121. <td align="center"><%if rs("web")="" or rs("web")="无" or rs("web")="http://" then response.write "--" else response.write "<a href="&rs("web")&" target=_blank>访问</a>" end if%></td>
  122. <td align="center"><%=rs("addr")%><%=rs("peo")%></td>
  123. <td align="center"><%=formatdatetime(rs("Bulid"),1)%></td>
  124. <td align="center"><INPUT id=hits maxLength=20 size=5 value=<%=rs("hits")%> name=hits></td>
  125. <td align="center"><B><FONT color=#ff0000>超强家族</FONT></B><input type=submit value=" 支 持 " style=background-color:></td>
  126. <input type="hidden" name="rc" value="<%=rs("id")%>">
  127. </form>
  128. <%
  129. Response.Write "</tr>"
  130. rs.movenext
  131. loop
  132. rs.close
  133. end if
  134. '人气过百家族排名列表
  135. sql="select top "&Rankings&" Gq_Jzdata.id,Gq_Jzdata.name,Gq_Jzdata.qq,Gq_Jzdata.master,Gq_Jzdata.bulid,Gq_Jzdata.peo,Gq_Jzdata.addr,Gq_Jzdata.web,Gq_Jzdata.tel,Gq_Jzdata.hits,Gq_Jzdata.gameid,Gq_GameType.game"
  136. sql=sql&" from Gq_Jzdata,Gq_GameType where Gq_Jzdata.gameid=Gq_GameType.id"
  137. sql=sql&" and Gq_Jzdata.ulock=true and Gq_Jzdata.hits>=100 order by Gq_Jzdata.hits desc"
  138. rs.open sql,conn,1,1 
  139. if rs.eof and rs.bof then
  140. response.write "<tr><td align='center' bgcolor='#FFFFFF' colspan='9'>当前没有最佳人气家族,想在这里出现吗,赶快发动您族员来点击吧!</td></tr>"
  141. Rs.Close
  142. else
  143. do while not rs.eof
  144. t=t+1
  145. if t mod 2=1 then
  146. Response.Write "<tr bgcolor=#FFFF00>"
  147. else
  148. Response.Write "<tr bgcolor=#FFFF55>"
  149. end if
  150. %>
  151. <form method=POST action='JzVote.asp' target=_blank>
  152. <input type=hidden name=IsSub value=YES><input type=hidden name=SS value=<%=rs("id")%>>
  153. <td align=center><%=rs("name")%></td>
  154. <td align=center><%=rs("QQ")%></td>
  155. <td align=center><%=rs("master")%></td>
  156. <td><%=rs("TEL")%></td>
  157. <td align="center"><%if rs("web")="" or rs("web")="无" or rs("web")="http://" then response.write "--" else response.write "<a href="&rs("web")&" target=_blank>访问</a>" end if%></td>
  158. <td align="center"><%=rs("addr")%><%=rs("peo")%></td>
  159. <td align="center"><%=formatdatetime(rs("Bulid"),1)%></td>
  160. <td align="center"><INPUT id=hits maxLength=20 size=5 value=<%=rs("hits")%> name=hits></td>
  161. <td align="center"><B><FONT color=#ff0000>人气第<%= t %>名·</FONT></B><input type=submit value=" 支 持 " style=background-color:></td>
  162. <input type="hidden" name="rc" value="<%=rs("id")%>">
  163. </form>
  164. <%
  165. Response.Write "</tr>"
  166. if t>=Rankings then exit do
  167. rs.movenext
  168. loop
  169. rs.close
  170. end if
  171. Response.Write "</table>" & vbCrLf%>
  172. <%
  173. Response.Write "<TABLE cellSpacing=1 cellPadding=3 width=" & tee5.TabWidth & " align=center class=tableBorder1 border=0>" & vbCrLf
  174. Response.Write "<tr>" & vbCrLf
  175. Response.Write "<th>最新文章top10</th>" & vbCrLf
  176. Response.Write "<th>热门文章top10</th>" & vbCrLf
  177. Response.Write "<th>最新软件top10</th>" & vbCrLf
  178. Response.Write "<th>热门软件top10</th>" & vbCrLf
  179. Response.Write "</tr>" & vbCrLf%>
  180. <tr>
  181. <td width="25%" bgcolor="#FFFFFF" class="you"><TABLE cellSpacing=1 cellPadding=1 width="100%" border=0 align="center"><%
  182. set rs4=server.createobject("adodb.recordset")
  183. sql="select top 10 id,art_title,art_count,cat_id,art_date from Gq_article  order by id DESC,ID DESC"
  184. rs4.open sql,conn,1,1
  185. if rs4.eof and rs4.bof then
  186.    response.write "<div align=center><br>当前没有最新文章<br><br></div>"
  187. Else
  188. do while not rs4.eof
  189. %>
  190.         <tr>
  191.           <td height="20" valign="middle" class="xiamian">· <a href='html/Article/<%=rs4("cat_id")%>/<%if rs4("art_date")<>"" then response.write year(rs4("art_date"))&""&month(rs4("art_date"))&""&day(rs4("art_date"))&""%>/News_<%=rs4("id")%>.html' target='_blank' Title='文章标题:<%=rs4("art_title")%>&#13&#10发表时间:<%=rs4("art_date")%>&#13&#10阅读次数:<%=rs4("art_count")%>次'><font color="#333333"><%=left(rs4("art_title"),15)%>...</font></a></td>
  192.         </tr>
  193. <%
  194.    rs4.movenext
  195.    loop
  196.    End If
  197.    rs4.close
  198.    set rs4=nothing
  199.    %>
  200.       </table>
  201.   </td>
  202.     <td  width="25%" bgcolor="#FFFFFF"><table cellspacing=1 cellpadding=1 width="98%" border=0 align="left"><%
  203. set rs5=server.createobject("adodb.recordset")
  204. sql="select top 10 id,art_title,art_count,cat_id,art_date from Gq_article  order by art_count DESC,ID DESC"
  205. rs5.open sql,conn,1,1
  206. if rs5.eof and rs5.bof then
  207.    response.write "<div align=center><br>当前没有热门文章<br><br></div>"
  208. Else
  209. do while not rs5.eof
  210. %>
  211.         <tr>
  212.           <td height="20" valign="middle" class="xiamian">· <a href='html/Article/<%=rs5("cat_id")%>/<%if rs5("art_date")<>"" then response.write year(rs5("art_date"))&""&month(rs5("art_date"))&""&day(rs5("art_date"))&""%>/News_<%=rs5("id")%>.html' target='_blank' Title='文章标题:<%=rs5("art_title")%>&#13&#10发表时间:<%=rs5("art_date")%>&#13&#10阅读次数:<%=rs5("art_count")%>次'><font color="#333333"><%=left(rs5("art_title"),15)%>...</font></a></td>
  213.         </tr>
  214. <%
  215.    rs5.movenext
  216.    loop
  217.    End If
  218.    rs5.close
  219.    set rs5=nothing
  220.    %>
  221.       </table>
  222.     </td>
  223.     <td width="25%" bgcolor="#FFFFFF"><TABLE cellSpacing=1 cellPadding=1 width="100%" border=0 align="center"><%
  224. set rs7=server.createobject("adodb.recordset")
  225. sql="select top 10 id,wgtype,Title,url,Content,wgtime,Hits from Gq_soft order by wgtime desc,ID DESC"
  226. rs7.open sql,conn,1,1
  227. if rs7.eof and rs7.bof then
  228.    response.write "<div align=center><br>当前没有最新文章<br><br></div>"
  229. Else
  230. do while not rs7.eof
  231. %>
  232. <TR>
  233. <TD height="20" valign="middle" class="xiamian">· <a href='open.asp?action=down&id=<%=rs7("id")%>' target='_blank' Title='软件标题:<%=rs7("title")%>&#13&#10发表时间:<%=rs7("wgtime")%>&#13&#10下载次数:<%=rs7("Hits")%>次'><%=left(rs7("title"),15)%>...</a></TD>
  234. </TR>
  235. <%
  236.    rs7.movenext
  237.    loop
  238.    End If
  239.    rs7.close
  240.    set rs7=nothing
  241.    %></TABLE></td>
  242.    <td width="25%" bgcolor="#FFFFFF"><TABLE cellSpacing=1 cellPadding=1 width="100%" border=0 align="center"><%
  243. set rs8=server.createobject("adodb.recordset")
  244. sql="select top 10 id,wgtype,Title,url,Content,wgtime,Hits from Gq_soft order by Hits desc,ID DESC"
  245. rs8.open sql,conn,1,1
  246. if rs8.eof and rs8.bof then
  247.    response.write "<div align=center><br>当前没有热门文章<br><br></div>"
  248. Else
  249. do while not rs8.eof
  250. %>
  251. <TR>
  252. <TD height="20" valign="middle" class="xiamian">· <a href='open.asp?action=down&id=<%=rs8("id")%>' target='_blank' Title='软件标题:<%=rs8("title")%>&#13&#10发表时间:<%=rs8("wgtime")%>&#13&#10下载次数:<%=rs8("Hits")%>次'><%=left(rs8("title"),15)%>...</a></TD>
  253. </TR>
  254. <%
  255.    rs8.movenext
  256.    loop
  257.    End If
  258.    rs8.close
  259.    set rs8=nothing
  260.    %></TABLE></td>
  261.   </tr>
  262. </table>
  263. <script language="JavaScript">
  264. <!-- 
  265. var limit="5:00"
  266. if (document.images){
  267. var parselimit=limit.split(":")
  268. parselimit=parselimit[0]*60+parselimit[1]*1
  269. }
  270. function beginrefresh(){
  271. if (!document.images)
  272. return
  273. if (parselimit==1)
  274. window.location.reload()
  275. else{ 
  276. parselimit-=1
  277. curmin=Math.floor(parselimit/60)
  278. cursec=parselimit%60
  279. if (curmin!=0)
  280. curtime=curmin+"分"+cursec+"秒后重刷本页!"
  281. else
  282. curtime=cursec+"秒后重刷本页!"
  283. window.status=curtime
  284. setTimeout("beginrefresh()",1000)
  285. }
  286. }
  287. window.onload=beginrefresh
  288. //-->
  289. </script>
  290. <%
  291. Response.Write "<TABLE cellSpacing=1 cellPadding=5 width=" & tee5.TabWidth & " align=center class=tableBorder1 border=0>" & vbCrLf
  292. Response.Write "<tr>" & vbCrLf
  293. Response.Write "<th>百度国内娱乐新闻导航</th>" & vbCrLf
  294. Response.Write "<th>百度国内私服动态新闻</th>" & vbCrLf
  295. Response.Write "</tr>" & vbCrLf%><td  width="50%" bgcolor="#ffffff"><table cellspacing=1 cellpadding=1 width="98%" border=0 align="left">
  296. <script language="JavaScript" type="text/JavaScript" src="http://news.baidu.com/n?cmd=1&class=enternews&pn=1&tn=newsbrofcu"></script>
  297.       </table>
  298.     </td>
  299.     <td width="50%" bgcolor="#ffffff"><TABLE cellSpacing=1 cellPadding=1 width="100%" border=0 align="center">
  300. <script language="JavaScript" type="text/JavaScript" src="http://news.baidu.com/ns?word=私服&tn=newsfcu&from=news&cl=2&rn=10&ct=0"></script>
  301. </TABLE></td>
  302.   </tr>
  303. </table>
  304. <%Response.Write "<table width=" & tee5.TabWidth & " border=0 align=center cellpadding=2 cellspacing=1 bgcolor='#EDEDED'>" & vbCrLf
  305. Response.Write "<tr>" & vbCrLf
  306. Response.Write "<td>"
  307. set rs2 = server.createobject("adodb.recordset")
  308. sql2="select id,imgurl,imglink,LinkType,title from Gq_link where LinkType=0 and top=1 order by id asc"
  309. rs2.open sql2,conn,1,1
  310. If rs2.eof and rs2.bof then
  311. 'Response.Write "<div align=center>首页当前没有图片连接。如需连接,请与管理员QQ:(" & tee5.webmaster & ")联系。</center>"
  312. End If
  313. do while not rs2.eof
  314. Response.Write "&nbsp;<a href="&rs2("imglink")&" target=_blank>" & rs2("title") & "</a> "
  315. rs2.movenext
  316. loop
  317. rs2.close
  318. set rs2=nothing
  319. Response.Write "</td>" & vbCrLf
  320. Response.Write "</tr>" & vbCrLf
  321. Response.Write "</table>" & vbCrLf
  322. Response.Write "<table width=" & tee5.TabWidth & " height=24 border=0 align=center cellpadding=2 cellspacing=1 bgcolor='#EDEDED'>" & vbCrLf
  323. Response.Write "<tr>" & vbCrLf
  324. Response.Write "<td height=22>" & vbCrLf
  325. set rs2 = server.createobject("adodb.recordset")
  326. sql2="select id,imgurl,imglink,LinkType,title from Gq_link where LinkType=1 and top=1 order by id asc"
  327. rs2.open sql2,conn,1,1
  328. If rs2.eof and rs2.bof then
  329. Response.Write "<div align=center>首页当前没有图片连接。如需连接,请与管理员QQ:(" & tee5.webmaster & ")联系。</center>"
  330. End If
  331. do while not rs2.eof
  332. Response.Write "&nbsp;<a href="&rs2("imglink")&" target=_blank><img src="&rs2("imgurl")&" width=88 height=31 border=0 title="&rs2("title")&"></a> "
  333. rs2.movenext
  334. loop
  335. rs2.close
  336. set rs2=nothing
  337. Response.Write "</td>" & vbCrLf
  338. Response.Write "</tr>" & vbCrLf
  339. Response.Write "</table>" & vbCrLf
  340. tee5.footer()
  341. CloseConn()
  342. %>