?? left.asp
字號:
<%
islogin=false
if session("username")<>"" and session("usergroup")<>"" then
strsql="select username,usergroup,logno,oicq from [user] where username='"&session("username")&"'"
set oRS=conn.execute(strsql)
if not oRS.eof then
islogin=True
username=oRS("username")
logno=oRS("logno")
usergroup=oRS("usergroup")
oicq=oRS("oicq")
select case usergroup
case 1 '等待驗證的班級成員
usergroup="等待驗證"
case 2 '班級成員
usergroup="班級成員"
case 3 '管理員
usergroup="管理員"
end select
end if
oRS.close
set oRS=nothing
end if
%>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css"> <!-- A:link {
color:#999966;
text-decoration: none;
font-family: "宋體";
} A:visited {color:#000066} A:hover {color:#FF9900} A:active {color:#990000} --> </style>
<link href="css/class.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<body bgcolor="#F2F2EA">
<table width="175" border="0" cellpadding="0" cellspacing="0" background="images/login_b.gif">
<tr>
<td><img border="0" src="images/login_t.gif" width="175" height="26"></td>
</tr>
<tr>
<td>
<table width="152" border="0" align="center" cellpadding="2" class="font1">
<%if islogin=true then%>
<%if len(oicq)>0 then%> <tr>
<td>
<p align="center"><img src="http://qqshow-user.tencent.com/<%=oicq%>/11/00/" width="70" height="113" border="0" class="1px-table"></td>
</tr>
<%end if%>
<td>
<p align="center">歡迎<%=username%>回到同學錄</td>
</tr>
<tr>
<td>
<p align="center">登陸次數:<%=logno%>次</td>
</tr>
<tr>
<td>
<p align="center">你的身份:<%=usergroup%></td>
</tr>
<%
strsql="SELECT * FROM primsg where primsgtype=1 and primsguser='"&session("username")&"'"
set oRS=conn.execute(strsql)
If not oRS.eof then
%>
<tr>
<td><div align="center"><a href="#" style="cursor:hand" onClick="javascript:window.open('primsg.asp','','width=400,height=300,left=300,top=200')"><img src='images/newmsg.gif' width='60' height='17' border="0"></a></div></td>
</tr>
<%
end if
oRS.close
set oRS=nothing
%>
<tr>
<td><div align="center"><a href="logout.asp">注銷登陸</a></div></td>
</tr>
<%else%>
<tr><td> </td></tr>
<tr>
<td> 您還沒有登錄,請先<a href="login.asp"><strong>登錄</strong></a>。</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><a href="register.asp"><img src="images/login.gif" width="68" height="28" border="0"></a><a href="lostpasswd.asp"><img src="images/password.gif" width="68" height="28" border="0"></a></td>
</tr>
<tr><td> </td></tr>
<%end if%>
</table>
</td>
</tr>
<tr>
<td><p align="center"><img border="0" src="images/logle_f.gif" width="175" height="35"></td>
</tr>
</table>
<table width="175" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="175" border="0" cellpadding="0" cellspacing="0" background="images/m_b.gif">
<tr>
<td><img border="0" src="images/m_bjgn.gif" width="175" height="45"></td>
</tr>
<tr>
<td>
<table width="150" border="0" align="center" cellpadding="2" class="font1">
<tr>
<td width="50%"><a href="msgboard.asp">班級留言</a></td>
<td nowrap><a href="postinfo.asp">歷史留言下載</a></td>
</tr>
<tr>
<td><a href="photo.asp">班級相冊</a></td>
<td nowrap><a href="classmateinfo.asp">成員地址導出</a></td>
</tr>
<tr>
<td width="50%"><a href="urlview.asp">常用網址</a></td>
<td nowrap><a href="#" style="cursor:hand" onClick="javascript:window.open('primsg.asp','','width=400,height=300,left=300,top=200')">私人消息</a></td>
</tr>
<tr>
<td width="50%"><a href="address.asp">成員地址</a></td>
<td nowrap><a href="emailsend.asp">群體信件</a></td>
</tr>
<tr>
<td width="50%"><a href="memberedit.asp">個人資料</a></td>
<td nowrap><a href="chatroom/index.asp" target="_blank">班級聊天</a></td>
</tr>
<tr>
<td width="50%"><a href="sms.asp">手機短訊</a></td>
<td nowrap><a href="postview.asp">班級論壇</a></td>
</tr>
<%if session("usergroup")="3" and session("username")<>"" then%>
<tr>
<td width="50%"><a href="admin.asp">班級設置</a></td>
<td nowrap><a href="admin_manager.asp">成員管理</a></td>
</tr>
<%end if%>
</table>
</td>
</tr>
<tr>
<td><img src="images/m_f.gif" width="175" height="18"></td>
</tr>
</table>
<table width="175" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="175" border="0" cellpadding="0" cellspacing="0" background="images/m_b.gif">
<tr>
<td><img border="0" src="images/srlb.gif" width="175" height="45"></td>
</tr>
<tr>
<td>
<table width="166" border="0" align="center" cellpadding="2" class="font1">
<%dim strmonth
strmonth=month(date)
strsql="select userid,username,realname,birthday from [user] where month(birthday)='"&strmonth&"' order by day(birthday)"
set oRS=conn.execute(strsql)
if not oRS.eof then%>
<tr>
<td>30天內過生日的同學:</td>
</tr>
<%do while not oRS.eof%>
<tr>
<td><img src="images/birthdayman.gif" width="15" height="18">
<a href="member.asp?id=<%=oRS("username")%>"><%=trim(oRS("realname"))%></a>:<%=month(oRS("birthday"))%>月<%=day(oRS("birthday"))%>日 <a href="#"><img src="images/bir.gif" width="34" height="28" border="0" align="absmiddle" onMouseDown="MM_openBrWindow('birthday.asp','','width=500,height=400')"></a></td>
</tr>
<%oRS.movenext
loop%>
<tr>
<td><p align="right">——祝你們生日快樂</td>
</tr><%else%>
<tr><td> </td></tr>
<tr><td>本月沒有同學過生日。</td></tr>
<tr><td> </td></tr>
<%end if
oRS.close
set oRS=nothing%>
</table>
</td>
</tr>
<tr>
<td><img src="images/m_f.gif" width="175" height="18"></td>
</tr>
</table>
<table width="175" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="175" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><div align="center"></div></td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -