📄 jiaoliou_disp.asp
字号:
<a href="jiaoliou_disp.asp?doing=untop&disp_id=<%=disp_id%>">取消置顶</a>
<%end if%>
<%end if%>
<%if session("zzteacher")=true or session("name")=rs("发表人") then%>
<a href=jiaoliou_disp.asp?doing=del&del_id=<%=disp_id%>>删除</a>
<%end if%>
<a href="jiaoliou.asp">返回</a></div></td>
</tr>
<tr>
<td background="images/bottom01.gif" class="unnamed10"> </td>
</tr>
<tr>
<td class="unnamed6"> </td>
</tr>
</table></td>
<td width="570" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td class="unnamed12H"><%=rs("内容")%></td>
</tr>
</table></td>
</tr>
<%conn.close%>
<!--#include file="open.asp" -->
<%str="select * from jiaoliou where 跟贴="&disp_id&" order by id"
rs.open str,conn,3,2
if rs.eof then%>
<tr>
<td width="200" height="40"> <div align="center" class="unnamed14">回应贴</div></td>
<td width="570"><div align="center" class="unnamed14">此学习经险现无人回应。</div></td>
</tr>
<%else%>
<% rs.pagesize=10
pageno=1
if doing="quer" then
pageno=cint(request.querystring("pageno"))
if pageno="" or pageno=0 then
pageno=1
end if
end if
if doing="former" then
pageno=int(trim(request.form("pageno")))
if isnumeric(pageno)<>true or pageno<1 or pageno>rs.pagecount then
pageno=1
end if
end if
%>
<%
rs.absolutepage=pageno
for n=1 to rs.pagesize%>
<tr>
<td valign="top">
<table width="163" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="unnamed6"> </td>
</tr>
<tr>
<td background="images/top01.gif" class="unnamed10"> </td>
</tr>
<tr>
<td height="25" background="images/mid01.gif"> <table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" class="unnamed12"> <div align="center">回
应 者:</div></td>
<td class="unnamed12"><%=rs("回应人")%></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" background="images/mid01.gif"> <table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" class="unnamed12"> <div align="center">回应日期:</div></td>
<td class="unnamed12"><%=rs("回应日期")%></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" background="images/mid01.gif"> <table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" class="unnamed12"> <div align="center">回应时间:</div></td>
<td class="unnamed12H"><%=rs("回应时间")%></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" background="images/mid01.gif"><div align="center" class="unnamed14"><%if session("zzteacher")=true or rs("回应人")=session("name") then%><a href="jiaoliou_disp.asp?doing=delhf&delhf_id=<%=rs("id")%>&disp_id=<%=disp_id%>">删除</a> <%end if%><a href="jiaoliou.asp">返回</a></div></td>
</tr>
<tr>
<td background="images/bottom01.gif" class="unnamed10"> </td>
</tr>
<tr>
<td class="unnamed6"> </td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td class="unnamed12H"><%=rs("内容")%></td>
</tr>
</table></td>
</tr>
<%rs.movenext
if rs.eof then exit for
next%>
<tr>
<td colspan="2"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" class="unnamed12"> </td>
<td class="unnamed12">
<%if pageno>1 then%>
<a href=jiaoliou_disp.asp?doing=quer&disp_id=<%=disp_id%>&pageno=<%=pageno-1%> class="unnamed12">上一页</a>
<%end if%>
<%if pageno=1 then%>
<a href=jiaoliou_disp.asp?doing=quer&disp_id=<%=disp_id%>&pageno=<%=rs.pagecount%> class="unnamed12">上一页</a>
<%end if%>
<% if rs.pagecount<=9 then
for p=1 to rs.pagecount
response.write "<a href=jiaoliou_disp.asp?doing=quer&disp_id="&disp_id&"&pageno="&p&" class=unnamed12>["&p&"]</a> "
next
else
for p=1 to 9
response.write "<a href=jiaoliou_disp.asp?doing=quer&disp_id="&disp_id&"&pageno="&p&" class=unnamed12>["&p&"]</a> "
next
response.write "…… <a href=jiaoliou_disp.asp?doing=quer&disp_id="&disp_id&"&pageno="&rs.pagecount&" class=unnamed12>["&rs.pagecount&"]</a> "
end if%>
<%if pageno<rs.pagecount then%>
<a href=jiaoliou_disp.asp?doing=quer&disp_id=<%=disp_id%>&pageno=<%=pageno+1%>>下一页</a>
<%end if%>
<%if pageno>=rs.pagecount then%>
<a href=jiaoliou_disp.asp?doing=quer&disp_id=<%=disp_id%>&pageno=1>下一页</a>
<%end if%>
</td>
<td width="130" class="unnamed12"> <form name="form1" method="post" action="jiaoliou_disp.asp?doing=former&disp_id=<%=disp_id%>">
转到第
<input name="pageno" type="text" id="pageno" size="3">
页
<input type="submit" name="Submit3" value="GO">
</td></form>
<%if session("teacher")=true then%>
<td class="unnamed12"><div align="center"><a href="jiaoliou_disp.asp?doing=dele_jl&dele_id=<%=disp_id%>">删除</a></div></td>
<%end if%>
</tr>
</table></td>
</tr>
<%end if%>
</table>
</div></td>
</tr>
</table>
<%if session("zzteacher")=true or session("zzstudent")=true then%>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="unnamed4"> </td>
</tr>
</table>
<table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#ff99cc" bgcolor="#edebdb">
<tr>
<td><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="form2" method="post" action="jiaoliou_disp.asp?doing=send&disp_id=<%=disp_id%>">
<table width="680" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="22" background="images/jybg01.gif"><p align="center" class="unnamed14">回 复</p></td>
</tr>
<tr>
<td><div align="center">
<textarea name="hf_text" cols="88" rows="18" id="hf_text"></textarea>
</div></td>
</tr>
<tr>
<td><div align="center">
<input type="submit" name="Submit4" value=" 发 表 ">
<input type="reset" name="Submit5" value=" 重 写 ">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
<%end if%>
<!--#include file="inc/bottom.asp" -->
<%conn.close%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -