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

📄 control.asp

📁 家教育全站代码
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="info.asp"-->
<!--#include file="conn.asp"-->
<html>
<%
if Request.Cookies("ggval")<>"81528686528" then 
Response.Cookies("id")=""
Response.Cookies("ac")=""
Response.Cookies("user")="" 
end if 
if Request.Cookies("id")="" or Request.Cookies("ac")="" or Request.Cookies("user")="" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您还未登陆或登录超时,请重新登录后操作!!');"&"window.location.href = 'index.asp'"&" </script>"
Response.End
end if

%>
 <head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css"  type="text/css">
<title><%=webname%> - 会员中心</title>
<style type="text/css">
<!--
.STYLE2 {font-size: 12px}
.STYLE5 {
	color: #006666;
	font-weight: bold;
}
.STYLE6 {
	font-size: 16pt;
	color: #CC33CC;
}
.STYLE7 {
	font-size: 18pt;
	font-weight: bold;
}
.STYLE10 {
	font-size: 14px;
	color: #003366;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<!--#include file="top.asp"-->
<div align="center">
	<table border="0" width="811" cellspacing="0" cellpadding="0" id="table1" height="421">
		<tr>
			<td style="border-left: 1px solid #ffc6bf; border-right: 1px solid #ffc6bf;border-top: 1px solid #ffc6bf" width="760" valign="top" bgcolor="#FEFBF4">
			<div align="center">
				<table border="0" width="705" cellspacing="0" cellpadding="0" id="table2" height="379">
					<tr>
						<td height="86" width="214">
						<img border="0" src="images/control.gif" width="282" height="90"></td>
						<td height="86" width="237"> </td>
						<td height="86" width="128">
						<img border="0" src="images/controltop1.gif" width="128" height="90"></td>
						<td height="86" width="58"> </td>
					</tr>
					<tr>
						<td width="705" colspan="4" valign="top">
						<%
						if Request.Cookies("user")="1" then
						%>

						<div align="center">
							<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3" height="272">
								<tr>
									<td height="27">
									<p align="left">
									&nbsp;会员中心 → 首页</td>
								    <td height="27"><div align="center" class="STYLE5">提示:为了你的资料安全,退出会员中心一定要点“<span class="STYLE6">退出会员中心</span>”</div></td>
								</tr>
								<tr>
									<td width="26%" rowspan="2" valign="top"><!--#include file="in_menu.asp"--></td>
									<td width="74%" valign="top" align="center" bgcolor="#FEFBF4">
									<div align="center">
									  <table width="500" border="1" cellspacing="0" bordercolor="#993333">
                                        <tr>
                                          <td><table border="0" width="90%" cellspacing="0" cellpadding="0" id="table5" height="242">
                                            <tr>
                                              <td valign="top"><table border="0" width="470" cellspacing="0" cellpadding="0" id="table6" height="564">
                                                  <tr>
                                                    <td height="30" colspan="3"><font color="#000000"><b>&nbsp;&nbsp;&nbsp; </b></font><b> <font color="#0A5DF6">亲爱的学员用户:<%=Request.Cookies("ac")%>,您好!欢迎加入北京蒲公英家教网,我们将为您提供最贴切的服务!</font></b></td>
                                                  </tr>
                                                  <tr>
                                                    <td colspan="3"> <font color=#ff0000>
                                                      <MARQUEE onmousemove=this.stop() onmouseout=this.start() scrollAmount=2>
                                                      </MARQUEE>
                                                    </font></td>
                                                  </tr>
                                                  <tr>
                                                    <td height="30" colspan="3"><p align="left"><b> 以下是您的站内基本信息: </b>【<img src="images/jtou.gif" width="16" height="16"><a href="yfcb_gr.html" target="_blank">了解普通用户与VIP用户差别</a>】</td>
                                                  </tr>
                                                  <tr>
                                                    <td height="30" width="130" align="left"><p align="right">用户类别:</td>
                                                    <td height="30" width="12" align="left">  </td>
                                                    <td height="30" width="328"><font color="#FF0000">
                                                      <%
														if Request.Cookies("vip")="true" then
														response.write "VIP高级"
														else
														response.write "普通级别"
                                                        end if
														%>
                                                      </font>学员用户&nbsp; 
                                                      会员编号:<font color=#ff0000><strong>
                                                                    <%
														if Request.Cookies("user")="1" then
														response.write "ST"&Request.Cookies("id")
														else
														response.write "TE"&Request.Cookies("id")
														end if
														%>
                                                      </strong></font></td>
                                                  </tr>
                                                  <tr>
                                                    <td height="30" width="130" align="left"><p align="right"> 您的站内信息:</td>
                                                    <%
											sql="select id from message where ttype='"&Request.Cookies("user")&"' and tid="&Request.Cookies("id")
											rs.open sql,conn,1,1
										%>
                                                    <td height="30" width="12" align="left">  </td>
                                                    <td height="30" width="328"><%=rs.recordcount%>条</td>
                                                  </tr>
                                                  <tr>
                                                    <td height="30" width="130" align="left"><p align="right">您收藏教员:</td>
                                                    <%
														rs.close
														sql="select id from indepot where inid="&Request.Cookies("id")
														rs.open sql,conn,1,1
														%>
                                                    <td height="30" width="12" align="left">  </td>
                                                    <td height="30" width="328"><%=rs.recordcount%>个</td>
                                                  </tr>
                                                  <tr>
                                                    <td height="30" width="130" align="left"><p align="right"> 您的资料被阅:</td>
                                                    <%
														rs.close
														sql="select clicks from in_user where id="&Request.Cookies("id")
														rs.open sql,conn,1,1
														if rs.eof or rs.bof then
          rs.close 
		  response.redirect "nodata.html"
           
end if 							
														%>
                                                    <td height="30" width="12" align="left">  </td>
                                                    <td height="30" width="328"><%=rs("clicks")%>次</td>
                                                  </tr>
                                                  <tr>
                                                    <td height="15" width="130" align="left"><p align="right"> 收录您入库的教员:</td>
                                                    <%
														rs.close
														sql="select id from endepot where inid="&Request.Cookies("id")
														rs.open sql,conn,1,1							
														%>
                                                    <td width="12" height="18" align="left">  </td>
                                                    <td width="328" height="15"><%=rs.recordcount%>个</td>
                                                  </tr>
                                                  <tr>
                                                    <td height="12" align="left"><div align="right" ><font color=#ff0000>推荐服务开始时间:</font></div></td>
                                                    <td height="12" align="left">&nbsp;</td>
                                                    <td height="12" align="left"><%
														rs.close
														sql="select picdays,picdate,rz from in_user where id="&Request.Cookies("id")
														rs.open sql,conn,1,1							
														 if not(isnull(rs("picdate"))) then 
														 response.write rs("picdate")
														 else 
														response.write "你暂没有申请付费推荐服务!!"
														end if %>                                                    </td>
                                                  </tr>
                                                  <tr>
                                                    <td height="12" align="left"><div align="right"><font color=#ff0000>推荐服务总天数:</font></div></td>
                                                    <td height="12" align="left">&nbsp;</td>
                                                    <td height="12" align="left"><%
																	
														 if not(isnull(rs("picdays"))) then 
														 response.write rs("picdays") 
													     response.write"天"
														 else 
														response.write "你暂没有申请图片服务!!"
														end if %></td>
                                                  </tr>
                                                  <tr>
                                                    <td height="6" align="left"><div align="right"><font color=#ff0000>推荐供服务天数:</font></div></td>
                                                    <td height="12" rowspan="2" align="left">&nbsp;</td>
                                                    <td height="12" align="left"><% if  date()-rs("picdate")>rs("picdays")then
													  response.write "你申请付费服务已到期!!"
													  else
													  response.write date()-rs("picdate")&"天"													  end if 
													  %></td>

⌨️ 快捷键说明

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