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

📄 index.asp

📁 wap系统程序源码 用户名密码:admin
💻 ASP
字号:
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> 
<!--#include file="conn.inc"-->
<!--#include file="yksb.asp"-->
<%set zhlhp=Server.CreateObject("ADODB.Recordset")
  zhhssqllp="select * from ltjb where CStr(id)=1"
  zhlhp.open zhhssqllp,conn,1,1
ltname=zhlhp("name")
ltlogo=zhlhp("logo")
zhlhp.close
set zhlhp=nothing
if vvvvv<>"" then
'关闭了下线识别
set jszx=Server.CreateObject("ADODB.Recordset")
jssql="select tj,zx,id from 66hc_gr where cstr(zx)=1 order by tj asc"
jszx.open jssql,conn,1,3
if clng(ttvv)-jszx("tj")>60 then jszx("zx")=0
jszx.update
jszx.close
set jszx=nothing
end if%>
<wml>
<head><meta http-equiv='Cache-Control' content='no-cache'/>
</head>
<card title="<%=ltname%>">
<p>
<%
bb=request("bb")
if bb="" then bb="2"
if bb="1" then fl="tm"
if bb="2" then fl="hhsj"
if bb<>"1" or bb<>"2" then bb="2"
%>
<%if glsb="youke" or glsb="" then%>
<a href="66hc_grdl.asp">登陆/注册</a><br/>
<%end if%>
<%
if len(ltlogo)>7 then
response.write("<img src='" & ltlogo & "' alt='ing'/><br/>")
end if
sql="update 66hc_gr set z=0 Where CStr(id)="&myid
conn.Execute(sql)
%>
<%if glsb<>"youke" and glsb<>"" then%>
<!--#include file="xxts.asp"-->
欢迎您:<b><a href="gr_zl.asp?id=<%=myid%>&amp;glsb=<%=glsb%>"><%=myni%></a></b><br/>
<a href="hy.asp?glsb=<%=glsb%>">会员中心</a>|<a href="bangzhu.asp?glsb=<%=glsb%>">新手帮助</a><br/>
<%end if%>
<!--#include file="gg.asp"-->
<%if fl="tm" then%>
最新动态:<a href="index.asp?glsb=<%=glsb%>&amp;bb=2&amp;sj=<%=time%>">热</a>|新<br/>
<%else%>
最新动态:热|<a href="index.asp?glsb=<%=glsb%>&amp;bb=1&amp;sj=<%=time%>">新</a><br/>
<%end if%>
<%set brs=Server.CreateObject("ADODB.Recordset")
     ssql="select top 3 * from lttz where CStr(yc)=0 and ltid<>0 and ltid<>9999 order by "&fl&" desc"
  brs.open ssql,conn,1,1
if brs.eof then
   Response.write "暂无帖子<br/>"
Else

For i=1 to 3
    spmc=left(brs("name"),8)
   if len(brs("name"))>8 then
    spmc=spmc+"。。"
   End if
    Response.write ""&i&".<a href='lt_view.asp?tid=" & brs("id") & "&amp;glsb="&glsb&"'>" & ubb(spmc) & "</a><br/>"
    brs.Movenext
  if brs.EOF then Exit for
    Next
  End if
brs.close
set brs=nothing
%>
<%if fl="tm" then%>
<a href="lt_spjs.asp?glsb=<%=glsb%>&amp;bb=1">更多最新帖子..</a><br/>
<%end if%>
<%if fl="hhsj" then%>
<a href="lt_spjs.asp?glsb=<%=glsb%>&amp;bb=2">更多热门帖子..</a><br/>
<%end if%>
=聊天大厅=<br/>
<%
set rsroom=Server.CreateObject("ADODB.Recordset")
rssptm="select name,pid,id,brr from ltlb where cjz=0 order by pid asc"
rsroom.open rssptm,conn,1,2
if rsroom.eof then 
response.write("暂无聊天室,请登陆后台添加")
   else
rsroom.Move(0)
dim v
v=1
do while ((not rsroom.EOF) and v <=5000)
set lssz=Server.CreateObject("ADODB.Recordset")
ssqlb="select z from 66hc_gr where cstr(z)='"&rsroom("id")&"'"
lssz.open ssqlb,conn,1,1

response.write("<a href='ROOM.asp?glsb="&glsb&"&amp;ltid="&rsroom("id")&"'>"&ubb(rsroom("name"))&"</a>(" & lssz.recordcount & "人)")

if rsroom("brr")="1" then response.write("<br/>")


rsroom.MoveNext
v=v+1
loop
lssz.close
set lssz=nothing
end if
rsroom.close
set rsroom=nothing

response.write("<a href='ROOMT.asp?glsb="&glsb&"'>自建聊天室</a><br/>=论坛列表=<br/>")

set rsql=Server.CreateObject("ADODB.Recordset")
rsspt="select * from sclt order by pid asc"
rsql.open rsspt,conn,1,2
if rsql.eof then 
response.write("暂无论坛,请登陆后台添加")
   else
rsql.Move(0)
dim j
j=1
do while ((not rsql.EOF) and j <=5000)
%>
<%if rsql("lx")="1" then%>
<a href='lt_list.asp?ltid=<%=rsql("id")%>&amp;glsb=<%=glsb%>'><%=ubb(rsql("name"))%></a>
<%elseif rsql("lx")="2" then%>
<a href='<%=ubb(rsql("shuo"))%>'><%=ubb(rsql("name"))%></a>
<%elseif rsql("lx")="0" then%>
<%=ubb2(rsql("name"))%>
<%end if%>
<%if rsql("brr")=1 then%><br/><%end if%>
<%
rsql.MoveNext
j=j+1
loop
end if
rsql.close
set rsql=nothing
set brsz=Server.CreateObject("ADODB.Recordset")
ssqlz="select zx from 66hc_gr where zx=1"
brsz.open ssqlz,conn,1,1
response.write("--------<br/>在线会员共<a href='lt_zxhy.asp?glsb="&glsb&"'>" & brsz.recordcount & "</a>人<br/>")
brsz.close
set brsz=nothing%>
<!--#include file="w.asp"--><br/>
QQ:32298
</p>
</card>
</wml>

⌨️ 快捷键说明

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