📄 content.jsp
字号:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType='text/html;charset=GBK'%>
<logic:notPresent name="username">
<logic:forward name="login" />
</logic:notPresent>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
<!--
td,select,input,.p1{font-size:12px;}
p,div,.p2{font-size:12px;line-height:130%;}
.vip{color:ffffff;font-size:12px}
.p3{font-size:14.8px;}
.p4{font-size:14.8px;line-height:130%;}
.p5{font-size:10px;font-family:arial}
.p6{line-height:160%}
.p7{line-height:180%}
.hot{color:ff3300}
a:link{color:000066}
a:visited{color:000066}
a.lb:link,a.lb:visited{color:black}
a.lg:link,a.lg:visited{color:#717171}
a:hover,a.lb:hover{color:red;}
.pw,a.lw:link,a.lw:visited{color:white}
a.ch:link,a.ch:visited{color:697111}
.sinput {border-left:1 ridge #ffffff;border-top:1 ridge #ffffff;border-bottom:1;border-right:1;border-style:ridge;background-color:#cccccc}
.ring{font-family: webdings;font-size:12px;color:000066;}
input { border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
-->
</style>
<script language="JavaScript">
function checkdata() {
if( form1.content.value=="" ) {
alert("\请输入内容 !!")
return false;
}
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="images/back.gif">
<table width="596" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td height="44">
<div align="center"><font size="2">雨季情缘 -- 分类讨论区 [人在旅途区]</font></div>
</td>
</tr>
<tr>
<td height="7">
<div align="right"><a href="topic.do?type=<bean:write name='type' />&&topicid=<bean:write name='topicid' />">返回讨论区</a></div>
</td>
</tr>
<tr>
<td height="8">
<hr>
</td>
</tr>
<tr>
<td height="147" valign="top">
<table width="605" border="0" cellspacing="0" cellpadding="0">
<table width="605" border="0" cellspacing="0" cellpadding="0" height="38">
<logic:present name="contentlist">
<logic:iterate id="content" name="contentlist">
<tr><td height='25'>本文作者:<bean:write name="content" property="username" /> (<bean:write name="content" property="writetime" />)</td></tr>
<logic:notEqual name="content" property="topic" value="re">
<tr><td height='21'>标题:<bean:write name="content" property="topic" /></td></tr>
</logic:notEqual>
<tr><td height='17'><bean:write name="content" property="content" filter="false" /></td></tr><tr><td height='14'> </td></tr><tr><td height='7'><hr></td></tr><tr><td height='8'> </td></tr>
</logic:iterate>
</logic:present>
</table>
<html:errors/>
<FORM name="form1" METHOD=POST ACTION="addrewrite.do" onSubmit="return checkdata()">
<TEXTAREA NAME="content" ROWS="6" COLS="80" wrap="hard"></TEXTAREA>
<INPUT TYPE="submit" name="submit" value="提 交">
<input type="hidden" name="type" value="<bean:write name='type' />">
<input type="hidden" name="topicid" value="<bean:write name='topicid' />">
<input type="hidden" name="id" value="<bean:write name='id' />">
</FORM>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
<div align="right"></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -