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

📄 index.asp

📁 在线点播系统
💻 ASP
字号:
<!--#include file="../chklogin.asp"-->
<%
starttime=timer()
'################登陆状态及网吧用户判断#########################
if request.cookies("userid")="" then '如果账号值为空,视为没登陆,转到登陆页
	Response.Redirect ("login.asp")  '转到用户正常登陆
end if
if request.cookies("u_type")=3 and request.cookies("center")="" then '如果是网吧用户,并且没有登陆管理中心
	Response.Redirect ("login.asp?action=center") '转到网吧管理中心登陆
end if
'################登陆状态及网吧用户判断#########################
set rs=server.createobject("adodb.recordset")
rs.open "select * from setup where id=1",conn,1,1
website_name=rs("website_name")
rs.close
set rs=server.createobject("adodb.recordset")
rs.open "select * from member where userid='"&request.cookies("userid")&"'",conn,1,1
id=rs("id")
is_vip=rs("is_vip")
is_free=rs("is_free")
if rs("u_type")=1 then
point=rs("point")
else
end_time=rs("end_time")
end if
if rs("u_type")=3 then
bd_ip=rs("bd_ip")
max_online=rs("max_online")
end if
last_film=rs("last_film")
reg_time=rs("reg_time")
rs.close
set rs=server.createobject("adodb.recordset")
rs.open "select * from users where member_id="&id&"",conn,1,1
now_online=rs.recordcount
set rs=nothing
conn.close
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=website_name%> - 用户管理中心</title>
<style type="text/css">
<!--
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
}
a:link {
	color: #000000;
}
a:visited {
	color: #000000;
}
a:hover {
	color: #FF6600;
}
-->
</style>
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>

<body leftMargin="0" topMargin="0" bgcolor="#FFFFFF">
<!--#include file="header.asp"-->
<table width="776" height="450" border="0" align="center" cellpadding="0" cellspacing="0" class="t1">
  <tr>
    <td width="260" height="36" rowspan="2" background="../images/img22.gif"><img src="../images/img29.gif" width="220" height="36"></td>
    <td width="9" height="36" rowspan="2" valign="top"><img src="../images/1_04.jpg" width="9" height="36"></td>
    <td height="11" background="../images/1_05.jpg"></td>
  </tr>
  <tr>
    <td height="25">&nbsp;</td>
  </tr>
  <tr>
    <td width="260" align="center" valign="top"><table width="240" height="30" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
        <table width="120" height="35" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="30" align="center"><img src="../images/img18.gif" width="23" height="21"></td>
            <td align="left"><strong>管理首页←</strong></td>
          </tr>
        </table>
        <table width="120" height="35" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="30" align="center"><img src="../images/img25.gif" width="23" height="21"></td>
            <td align="left"><strong><a href="user_data.asp">修改资料</a></strong></td>
          </tr>
        </table>
        <table width="120" height="35" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="30" align="center"><img src="../images/img26.gif" width="23" height="21"></td>
            <td align="left"><strong><a href="user_cz.asp">影卡充值</a></strong></td>
          </tr>
        </table>
        <table width="120" height="35" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="30" align="center"><img src="../images/img27.gif" width="23" height="21"></td>
            <td align="left"><a href="user_msg.asp"><strong>站内短信</strong></a></td>
          </tr>
        </table>
        <table width="120" height="35" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="30" align="center"><img src="../images/img28.gif" width="23" height="21"></td>
            <td align="left"><a href="user_filmfav.asp"><strong>影片收藏</strong></a></td>
          </tr>
        </table>
        <table width="120" height="35" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="30" align="center"><img src="../images/img16.gif" width="23" height="21"></td>
            <td align="left"><a href="login.asp?action=logout"><strong>退出登陆</strong></a></td>
          </tr>
        </table></td>
    <td valign="top" background="../images/1_24.jpg">&nbsp;</td>
    <td align="center" valign="top">
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from webmessage where to_userid='"&request.cookies("userid")&"' and is_read=0",conn,1,1
new_msg_count=rs.recordcount
rs.close
%>
	<table width="450" height="25" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center"><strong>用户管理中心首页</strong></td>
      </tr>
    </table>
      <table width="450" border="0" cellpadding="0" cellspacing="0">
<%if new_msg_count>0 then%>
        <tr>
          <td height="25" align="center"><img src="../images/new_msg.gif" width="18" height="12"> <a href="user_msg.asp" class="f2">您有新的未读站内短信,请注意查收</a><bgsound src="../images/msg.wav" autostart="true" loop="0"></td>
        </tr>
<%end if%>
        <tr>
          <td height="25" align="left">用户账号:<%=request.cookies("userid")%></td>
        </tr>
        <tr>
          <td height="25" align="left">用户类型:<%if request.cookies("u_type")=1 then%>个人计点用户<%end if%><%if request.cookies("u_type")=2 then%>个人包月用户<%end if%><%if request.cookies("u_type")=3 then%>网吧包月用户<%end if%></td>
        </tr>
        <tr>
          <td height="25" align="left">用户属性:<%if is_vip=false and is_free=false then%>普通用户<%end if%><%if is_vip=true then%>VIP用户<%end if%><%if is_vip=true and is_free=true then%>/<%end if%><%if is_free=true then%>免费用户<%end if%></td>
        </tr>
<%if request.cookies("u_type")=1 then%>
        <tr>
          <td height="25" align="left">影币点数:<%=point%> 点</td>
        </tr>
<%else%>
        <tr>
          <td height="25" align="left">到期时间:<%=end_time%></td>
        </tr>
<%
end if
if request.cookies("u_type")=3 then
%>
        <tr>
          <td height="25" align="left">当前同时在线点播的客户机数量:<%=now_online%></td>
        </tr>
        <tr>
          <td height="25" align="left">最多允许同时在线点播的客户机数量:<%=max_online%></td>
        </tr>
        <tr>
          <td height="25" align="left">与本账号绑定的IP地址:<%=bd_ip%></td>
        </tr>
<%end if%>
        <tr>
          <td height="25" align="left">当前客户端的IP地址:<%=myobj.getIP()%></td>
        </tr>
        <tr>
          <td height="25" align="left">账号注册时间:<%=reg_time%></td>
        </tr>
        <tr>
          <td height="25" align="left">上一次点播的影片:<%=last_time%></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="774" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="776" height="3">
        <param name="movie" value="../images/line.swf">
        <param name="quality" value="high">
        <embed src="../images/line.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="776" height="3"></embed>
    </object></td>
  </tr>
</table>
<table width="776" height="80" border="0" align="center" cellpadding="0" cellspacing="0" class="t1">
  <tr>
    <td width="400" align="center">&nbsp;</td>
    <td align="right"><a href="../agent/login.asp" class="f2">代理商登陆</a> Precessed in <%=(timer()-starttime)*1000%> sillisecond (ms)<br>
      Copyright &copy; 2005-2006 86see.com,All Rights Reserved<br>
      Powered by <span style="color: #3399ff; font-weight: bold"><a href="http://www.cnlong.cn" target="_blank" class="f2">龙青视频点播系统2005</a></span></td>
    <td width="10" align="left">&nbsp;</td>
  </tr>
</table>
<%
call nr()
%>

⌨️ 快捷键说明

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