📄 content.jsp
字号:
</tbody>
</table>
<img src="<%=tag%>" /><br />
<img src="images/level0.gif" /><br /> 等级:新手上路<br /> 文章:1<br /> 积分:53<br /></td>
<td valign="top" bgcolor="#D7ECFF" class="tablebody1"><table width="100%">
<tbody>
<tr>
<td width="*">回复于:<%=data_time.substring(0,19)%></td>
<td width="50"><b>第<span class="today"><%=i%></span>楼</b></td>
</tr>
<tr>
<td bgcolor="#5e8aca" colspan="2" height="1"></td>
</tr>
</tbody>
</table>
<blockquote>
<table class="tablebody2" style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" width="90%" border="0">
<tbody>
<tr>
<td style="FONT-SIZE: 9pt; LINE-HEIGHT: 12pt" width="100%"><p>
<img src="images/face/<%=photo_up.trim()%>.gif" width="30" height="30" border="0"/></p>
<p> <%
StringTokenizer line=new StringTokenizer(answer_content,"\n");//info就是显示的元素
while(line.hasMoreTokens()){
out.println(line.nextToken()+"<br>");
}
%></p>
<blockquote></blockquote></td>
</tr>
</tbody>
</table>
</blockquote></td>
</tr>
<tr>
<td width="175" align="middle" valign="center" bgcolor="#D7ECFF" class="tablebody1"><br></td>
<td valign="center" bgcolor="#D7ECFF" class="tablebody1"><table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td valign="center" align="left"> <a href="update.jsp"><img alt="查看正大软件论坛中的个人注册资料" src="images/profile.gif" border="0" /></a> <a href="select.jsp"><img alt="正大软件职业技术学院搜索引擎" src="images/find.gif" border="0" /></a> <img alt="" src="images/email.gif"
border="0" /> <img
alt="回复这个贴子" src="images/reply_a.gif" border="0" />
<a href="content_del.jsp?answer_id=<%=answer_id %>&cid=<%=cid %>&l_m_name2=<%=new String(l_m_name2.getBytes("iso-8859-1")) %>&m_id=<%=m_id %>">删除 </a></td>
<td valign="bottom" align="right" width="200" nowarp="nowarp"></td>
<td valign="bottom" align="right" width="4"></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
<%}%>
<table width="99%" align="center" cellpadding="5"
cellspacing="1" bgcolor="#76AEF0" class="tableborder1" style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all">
<tbody>
<tr>
<td width="175" align="middle" valign="center" bgcolor="#F0F8FF" class="tablebody1"> </td>
<td valign="center" bgcolor="#F0F8FF" class="tablebody1"> </td>
</tr>
</tbody>
</table>
<table width="99%" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
<form method="get">
<tr align="right">
<td colspan="6">共有<font color=red><%= recordCount %></font>条记录 当前<font color=red><%= nowPages %>/<%= pageCount %></font>页
<% if(pageCount > 1){ %>
<% if(pages > 1){%>
<a href="content.jsp?cid=<%=cid %>&l_m_name2=<%=l_m_name2 %>">首页</a>
<%}if(pages < pageCount){%>
<a href="?pages=<%= nowPages+1 %>&cid=<%=cid %>&l_m_name2=<%=l_m_name2 %>">下一页</a>
<%}if(pages != 1){%>
<a href="?pages=<%= nowPages - 1 %>&cid=<%=cid %>&l_m_name2=<%=l_m_name2 %>">上一页</a>
<%}%>
<a href="?pages=<%= pageCount %>&cid=<%=cid %>&l_m_name2=<%=l_m_name2 %>">尾页</a>
<% } %>跳转到
<select name="pages" onChange="javascript:this.form.submit();">
<% for(int j=1;j<=pageCount;j++){%>
<option value="<%= j %>" <% if(nowPages == j){%>selected<% } %>><%= j %></option>
<% } %>
</select>页</td>
</tr>
<input type="hidden" name="cid" value="<%=cid %>" >
<input type="hidden" name="l_m_name2" value="<%=l_m_name2 %>" >
</form>
</table>
<%
if(session.getAttribute("username")==""||session.getAttribute("username")==null){
out.print("<center><h3><font color='red'>请你<a href='#'>登录</a>后回复帖子!</font></h3></center>");
}
else{
String username=(String)session.getAttribute("username");
%>
<form action="content_post.jsp" method="post" name="form2">
<table width="100%" align="center" cellpadding="0" cellspacing="1" bgcolor="#76AEF0" id="hf">
<tr>
<th height="24" colspan="2" align="left" valign="center" background="images/bg_tt.gif" class="menu_tt"> </th>
</tr>
<tr>
<td width="160" nowrap="nowrap" bgcolor="#D7ECFF" class="tablebody2">
</td>
<td bgcolor="#D7ECFF" class="tablebody2">
<input name="photo_up" type="radio" value="1" checked />
<img
src="images/face/1.gif" width="30" height="30" />
<input type="radio" value="2"
name="photo_up" />
<img
src="images/face/2.gif" />
<input
type="radio" value="3" name="photo_up" />
<img
src="images/face/3.gif" />
<input
type="radio" value="4" name="photo_up" />
<img
src="images/face/4.gif" />
<input
type="radio" value="5" name="photo_up" />
<img
src="images/face/5.gif" />
<input
type="radio" value="6" name="photo_up" />
<img
src="images/face/6.gif" />
<input
type="radio" value="7" name="photo_up" />
<img
src="images/face/7.gif" />
<input
type="radio" value="8" name="photo_up" />
<img
src="images/face/8.gif" />
<input
type="radio" value="9" name="photo_up" />
<img
src="images/face/9.gif" /> <br />
<input type="radio" value="10" name="photo_up" />
<img
src="images/face/10.gif" />
<input
type="radio" value="11" name="photo_up" />
<img
src="images/face/11.gif" />
<input
type="radio" value="12" name="photo_up" />
<img
src="images/face/12.gif" />
<input
type="radio" value="13" name="photo_up" />
<img
src="images/face/13.gif" />
<input
type="radio" value="14" name="photo_up" />
<img
src="images/face/14.gif" />
<input
type="radio" value="15" name="photo_up" />
<img
src="images/face/15.gif" />
<input
type="radio" value="16" name="photo_up" />
<img
src="images/face/16.gif" />
<input
type="radio" value="17" name="photo_up" />
<img
src="images/face/17.gif" />
<input
type="radio" value="18" name="photo_up" />
<img
src="images/face/18.gif" /> <br /></td>
</tr>
<tr>
<td valign="top" nowrap="nowrap" bgcolor="#F0F8FF" class="tablebody1"><b>内容</b><br />
<li>HTML标签: 可用 </li>
<li>UBB标签: 可用 </li>
<li>贴图标签: 可用 </li>
<li>多媒体标签:可用 </li>
<li>表情字符转换:可用</li>
<li>最多4000个字</li></td>
<td bgcolor="#F0F8FF" class="tablebody1"><textarea name="answer_content" cols="100" rows="7" wrap="virtual" id="answer_content" ></textarea>
<input name="talk_id" type="hidden" value="<%=cid%>">
<input name="username" type="hidden" value="<%=username%>" >
<input name="l_m_name2" type="hidden" value="<%=l_m_name2%>" >
</td>
</tr>
<tr bgcolor="#ba0000" #e8f4ff;>
<td height="30" nowrap="nowrap" bgcolor="#D7ECFF" class="tablebody2"> </td>
<td bgcolor="#D7ECFF" class="tablebody2"> </td>
</tr>
<tr bgcolor="#ba0000" #e8f4ff;>
<td height="30" nowrap="nowrap" bgcolor="#D7ECFF" class="tablebody2"> </td>
<td width="856" bgcolor="#D7ECFF" ><input type="submit" value="OK!发表我的回应帖子" onClick="return check()" />
<input type="reset" value="清空内容!" name="Clear" />
</td>
</tr>
</table>
</form>
<%} %>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" id="list_zt">
<tr>
<td height="25" align="right">管理选项: <a href="#">锁定</a> | <a href="#">解锁</a> | <a href="#">提升</a> | <a href="#">删除</a> | <a href="#">移动</a> | <a href="#">固顶</a> | <a href="#">总固顶</a> | <a href="#">奖励</a> | <a href="#">惩罚</a> | <a href="#">发布公告</a></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="bottom">
<tr>
<td><p>版权所有©重庆正大软件职业技术学院<br />
<br />
技术支持:重庆正大软件职业技术学院网络技术系 渝ICP备07001号 </p></td>
<td width="80"><img src="images/bg_logo.gif" width="58" height="58" /></td>
</tr>
</table>
<%
}catch(Exception e){
%>
<%
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -