📄 classphotolist.asp
字号:
<a class="cla1" href="popwindow_modifyinfo.asp" style="text-decoration: none">
<font color="#FF6600">个人信息</font></a></TD>
</tr>
<tr>
<TD height="18" align="center" width="103" colspan="2">
·班级信息</TD>
<TD height="18" align="center" valign="top" width="11">
</TD>
</tr>
<tr>
<TD height="112" align="center" valign="top" width="114" colspan="3">
<a class="cla1" href="ClassBBSList.asp">
<font color="#FF6600">班级留言</font></a><br>
<a class="cla1" href="class_phonebook.asp">
<font color="#FF6600">成员地址</font></a><br>
<a class=cla1 href="PopWindowEmailList.asp">
<font color="#FF6600">邮件列表</font></a><br>
<a class="cla1" href="ClassPhotoList.asp">
<font color="#FF6600">班级相册</font></a><br>
<a class="cla1" href="javascript:PopWindowUpload();">
<font color="#FF6600">上载照片</font></a><br>
<a class="cla1" href="tj.asp" style="text-decoration: none">
<font color="#FF6600">访问统计</font></a></TD>
</tr>
<tr>
<TD height="18" align="center" width="91">
·管理员</TD>
<TD height="18" align="center" width="12">
</TD>
<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="/alumni">校友录首页 </a>>><a href="../classlist.asp?schoolid=<%=schoolid%>" class=6 target="_blank"><%=schoolname%></a>
>><a href="class_index.asp"><%=classname%></a></TD>
<TD align=right width=227></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=600 border=0 style="border-collapse: collapse" bordercolor="#111111" height="48">
<TBODY>
<TR>
<TD height=12 width="594">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%" align="center">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<table width="590" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr valign="top">
<td width="300">照片标题</td>
<td width="105">| 上传人</td>
<td width="105"> | 照片类型</td>
</tr>
<tr>
<td colspan="3" bgcolor="#B4C7D4" height="1"></td>
</tr>
</table> <%
set conn=server.CreateObject("ADODB.connection")
set rs=server.createobject("adodb.recordset")
conn.ConnectionString="driver={Microsoft Access Driver (*.mdb)};DBQ=" &server.MapPath("pic/images.mdb") & ";uid=;PWD=;"
conn.Open
sql="select * from images where classid='"&classid&"' order by id desc"
rs.open sql,conn,1,1
if rs.bof or rs.eof then
response.write "无照片!"
response.end
end if
rs.pagesize=15
pagecount=rs.pagecount
if page>=pagecount then
page=pagecount
end if
rs.absolutepage=page
i=0 %><%do while not rs.eof
id=rs("id")
%>
<table width="590" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="305" height="24" valign="bottom" class="topic"><a href="ClassPhotoView.asp?id=<%=rs("ID")%>" target="_blank"><%=rs("title")%></a> </td>
<td width="109" height="24" valign="bottom" class="topic"><a href="javascript:personalinfo('<%=rs("UserID")%>');"><%=rs("UserID")%></a>
</td>
<td width="95" height="24" valign="bottom" class="topic"><%=rs("pictype")%>
<%if rs("userid")=session("userid") then %>
<a href=del.asp?id=<%=rs("id")%>>删除</a>
<%end if %>
</td>
</tr>
</table>
<%
rs.movenext
i=i+1
if i=rs.pagesize then exit do
loop
%>
<table width="590" border="0" cellspacing="0" cellpadding="0" bgcolor="#C7E4F1" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td align="center" height="30">共<%=PageCount%>页 | <a href="ClassPhotoList.asp?Page=1&CLassID=<%=ClassID%>&UserID=<%=UserID%>">第一页</a>
| <a href="ClassPhotoList.asp?Page=<%=Page-1%>&CLassID=<%=ClassID%>&UserID=<%=UserID%>">上一页</a>
| <a href="ClassPhotoList.asp?Page=<%=Page+1%>&CLassID=<%=ClassID%>&UserID=<%=UserID%>">下一页</a>
| <a href="ClassPhotoList.asp?Page=<%=PageCount%>&CLassID=<%=ClassID%>&UserID=<%=UserID%>">末页</a>
| </td>
</tr>
</table>
</td>
</tr>
</table>
</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 + -