📄 classbbslist.asp
字号:
<TD height="18" align="center" width="11">
</TD>
</tr>
<tr>
<TD height="22" align="center" valign="top" width="114" colspan="3">
<a class="cla1" href="javascript:manage();"> <font color="#FF6600">
班级管理</font></a></TD>
</tr>
<tr>
<TD height="17" align="center" width="103" colspan="2">
·相关信息</TD>
<TD height="17" align="center" valign="top" width="11">
</TD>
</tr>
<tr>
<TD height="114" align="center" valign="top" width="114" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="103">
<tr>
<td width="29%" height="103"> </td>
<td width="71%" height="103" valign="top">
<a class="cla1" href="../register.htm" style="text-decoration: none">
<font color="#FF6600">新用户注册</font></a><br>
<a class="cla1" href="../schoollist.asp" style="text-decoration: none">
<font color="#FF6600">浏览学校</font></a><br>
<a class="cla1" href="../find_class1.asp" style="text-decoration: none">
<font color="#FF6600">注册新班级</font></a></td>
</tr>
</table>
</TD>
</tr>
</TBODY></TABLE></TD>
<TD vAlign=top align=middle width=620
background=img/cla_bg2.gif>
<TABLE cellSpacing=0 cellPadding=0 width=607 border=0>
<TBODY>
<TR>
<TD class=cla1 width=380 height=24> 校友录首页 >><a href="../classlist.asp?schoolid=<%=schoolid%>" class=6 target="_blank"><%=schoolname%></a>
>><%=classname%></TD>
<TD align=right width=607></TD></TR>
<TR align=middle>
<TD colSpan=2 width="607"><IMG height=3 src="img/cla_a1.gif"
width=457></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=0 width=609 bgColor=#d2d2d2 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff width="607">
<div align="center">
<center>
<TABLE class=cr4 cellSpacing=0 cellPadding=3 width=623
border=0 style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<TR align=middle>
<TD width="49"><a class="down" href="ClassBBSList.asp"><IMG
height=26 src="img/cla_a40.gif" width=36
border=0></a><BR><a class="cla1" href="ClassBBSList.asp">班级留言</a><BR></TD>
<TD width="8"><IMG height=26 src="img/cla_a33.gif" width=5
border=0><BR></TD>
<TD width="49"><a class="down" href="class_phonebook.asp"><IMG
height=26 src="img/cla_a41.gif" width=36
border=0></a><BR><a class="cla1" href="class_phonebook.asp">
成员地址
</a>
</TD>
<TD width="6"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD width="51"><a class="down" href="popwindow_search.html"><IMG
height=26 src="img/cla_a42.gif" width=36
border=0></a><BR><a class="cla1" href="popwindow_search.html">
校友查询</a>
</TD>
<TD width="5"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD width="48"><a class="down" href="PopWindowEmailList.asp"><IMG
height=26 src="img/cla_a43.gif" width=36
border=0></a><BR><a class=cla1 href="PopWindowEmailList.asp">
邮件列表</a></TD>
<TD width="5"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD width="48">
<a class="down" href="javascript:manage();"><IMG
height=26 src="img/cla_a44.gif" width=36
border=0></a><BR>
<a class="cla1" href="javascript:manage();">班级管理</a></TD>
<TD width="4">
<IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD width="284">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<TD align="center"><a class="down" href="ClassPhotoList.asp"><IMG
height=26 src="img/cla_a46.gif" width=36
border=0></a><BR><a class="cla1" href="ClassPhotoList.asp">
班级相册
</a>
</TD>
<TD align="center"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD align="center"><a class="down" href="javascript:PopWindowUpload();"><IMG
height=26 src="img/cla_a45.gif" width=36
border=0></a><BR><a class="cla1" href="javascript:PopWindowUpload();">
上载照片</a>
</TD>
<TD align="center"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD align="center"><a class="down" href="popwindow_modifyinfo.asp"><IMG
height=26 src="img/cla_a47.gif" width=36
border=0></a><BR>
<a class="cla1" href="popwindow_modifyinfo.asp">修改资料</a>
</TD>
<TD align="center"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD align="center">
<a class="down" href="popwindow_modifyinfo.asp"><IMG
height=26 src="img/cla_a48.gif" width=36
border=0></a><BR>
<a class="cla1" href="popwindow_modifyinfo.asp">个人信息</a></TD>
<TD align="center"><IMG height=26 src="img/cla_a33.gif" width=5
border=0></TD>
<TD align="center"><a class="down" href="../find_class1.asp"><IMG height=26
src="img/cla_a49.gif" width=36
border=0></a><BR>
<a class="cla1" id="t0" target="_blank" href="../find_class1.asp">
注册新班</a></TD>
</tr>
</table>
</TD></TR>
</TBODY></TABLE></center>
</div>
</TD></TR>
</TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width=453 border=0>
<TBODY>
<TR>
<TD align=right width=76> </TD>
<TD width="368">
</TD></TR>
</TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width=577 border=0 style="border-collapse: collapse" bordercolor="#111111" height="76">
<TBODY>
<tr>
<TD bgColor=#C8F4FF height=20 width="576"> <strong>
<font color="#246F00">班级留言</font></strong></TD>
</tr>
<TR>
<TD height=21 width="576">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%" align="center">
<%
PageSize=5
rs.open "Select count(*) as c from message where ClassID='"&ClassID&"' and Deleted=0 "&SqlAdd,DBParams,1,3
PageCount=CInt(rs("c")/PageSize+0.5)
rs.Close
Page = CLng(Request("Page"))
if Page="" or isnull(Page) then page=1
If Page < 1 Then Page = 1
If Page > PageCount Then Page = PageCount
%>
<p>
<%
if page=1 or page=0 then
SQL="select top "&PageSize&" * from message where ClassID='"&ClassID&"' and Deleted=0 "&SqlAdd&" order by MsgID DESC"
else
SQL="select top "&PageSize&" * from message where ClassID='"&ClassID&"' and Deleted=0 "&SqlAdd&" and "
SQL=SQL & " MsgID not in (Select top "&Cstr(PageSize*(page-1))&" MsgID from message where "
SQl=SQL & " ClassID='"&ClassID&"' and Deleted=0 "&SqlAdd&" order by MsgID DESC)"
SQL=SQL & " order by MsgID DESC"
end if
'Response.Write sql&page
rs.Open SQL,DBParams
while not rs.eof
%> </p>
<table width="573" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="22" width="17" bgcolor="#E1E1E1"><img src="../school_images/topic_inco1.gif" width="15" height="15"></td>
<td height="22" width="556" class="topic2" bgcolor="#E1E1E1">标 题:<%=rs("Title")%></td>
</tr>
<tr>
<td height="22" valign="middle" width="17"><a href="#" onclick="Del(<%=rs("ID")%>)"><img src="../school_images/mood<%=rs("HeadPic")%>.gif" width="15" height="15" border="0" alt="删除"></a></td>
<td height="22" valign="middle" width="556" class="topic2">留言人:<%=rs("UserID")%></td>
</tr>
<tr>
<td height="4" valign="top" colspan="2" width="573"></td>
</tr>
<tr>
<td class="topic" valign="top" colspan="2" width="573"><%=rs("Comment")%></td>
</tr>
<tr valign="bottom" align="right">
<td class="di" colspan="2" height="20" width="573"> 留言于:<%=rs("RegTime")%> </td>
</tr>
</table>
<p>
</p>
<table width="510" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#B4C7D4" height="1"></td>
</tr>
</table>
<p>
<%
rs.MoveNext
wend
rs.close
%> </p>
<table width="572" border="0" cellspacing="0" cellpadding="0" bgcolor="#C7E4F1" height="24">
<tr>
<td align="right" height="24" width="572" bgcolor="#E2F9FF">共<%=PageCount%>页 | <a href="ClassBBSList.asp?Page=1&CLassID=<%=ClassID%>&UserID=<%=UserID%>">第一页</a>
| <a href="ClassBBSList.asp?Page=<%=Page-1%>&CLassID=<%=ClassID%>&UserID=<%=UserID%>">上一页</a>
| <a href="ClassBBSList.asp?Page=<%=Page+1%>&CLassID=<%=ClassID%>&UserID=<%=UserID%>">下一页</a>
| <a href="ClassBBSList.asp?Page=<%=PageCount%>&CLassID=<%=ClassID%>&UserID=<%=UserID%>">末页</a>
| </td>
</tr>
</table>
<p>
</p>
<table width="573" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="bt" width="100"><a name="WYLY"></a>我要留言 |</td>
<td height="20" class="topic" width="473" align="right" valign="top"> </td>
</tr>
<tr>
<td bgcolor="#B4C7D4" height="1" colspan="2" width="573"></td>
</tr>
</table>
<table width="570" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" bgcolor="#EBEBEB">
<form method="post" action="ClassBBSPost.asp">
<tr>
<td height="30" class="topic2" width="80" align="right">标 题:
</td>
<td height="30" valign="middle" class="topic2" width="480">
<input type="text" name="Title" size="50" value="大家好">
</td>
</tr>
<tr>
<td height="30" class="topic2" align="right">留言人: </td>
<td height="30" valign="middle" class="topic2">
<input type="text" name="UserID" value="<%=Session("RealName")%>" size="20">
</td>
</tr>
<tr>
<td class="topic2" align="right">内 容:</td>
<td class="topic" valign="top">
<textarea name="Comment" cols="55" rows="10"></textarea>
</td>
</tr>
<tr valign="middle" align="left">
<td class="topic" height="30" valign="bottom" colspan="2"> 选择表情:</td>
</tr>
<tr valign="bottom" align="center">
<td class="di" valign="middle" height="35" align="center" colspan="2">
<input type="radio" name="HeadPic" value="0" checked>
<img src="../school_images/mood0.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="1">
<img src="../school_images/mood1.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="2">
<img src="../school_images/mood2.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="3">
<img src="../school_images/mood3.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="4">
<img src="../school_images/mood4.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="5">
<img src="../school_images/mood5.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="6">
<img src="../school_images/mood6.gif" width="15" height="15">
<input type="radio" name="HeadPic" value="7">
<img src="../school_images/mood7.gif" width="15" height="15"> </td>
</tr>
<tr valign="bottom" align="center">
<td class="di" height="35" colspan="2">
<input type="hidden" name="ClassID" value="<%=ClassID%>">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit3" value="重写">
</td>
</tr>
</form>
</table>
<p> </td>
</tr>
</table>
</TD></TR></TBODY></TABLE>
<TABLE class=cr4 cellSpacing=0 cellPadding=5 width=430 align=center
border=0>
<TBODY>
<TR>
</TD></TR></TBODY></TABLE>
</TD>
<TD style="BORDER-LEFT: #fbaf0c 7px solid" vAlign=top align=middle width=4
bgColor=#FBAF0C>
</TD></TR></TBODY></TABLE>
<TABLE height=1 cellSpacing=0 cellPadding=0 width=760 border=0>
<TBODY>
<TR>
<TD vAlign=top bgColor=#fbaf0c height="1"><IMG height=1 src="img/c.gif"
width=1></TD>
<TD align=middle width=157 bgColor=#FBAF0C height="1">
</TD></TR></TBODY></TABLE>
</CENTER>
<!--#include file=../end.htm--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -