📄 d100a.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GBK" isErrorPage="true" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="/css/base.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function doSubmit1(start) {
document.D100kanForm.action = "/D100kan.do?&start=" + start;
document.D100kanForm.submit();
}
</script>
</head>
<body>
<table width="80%" align="center">
<tr>
<td width="25%" align="right"><html:link action="D43" target="_parent">首页</html:link></td>
<td width="25%" align="center"><html:link action="D31" target="_parent">注册</html:link></td>
<td width="25%"><a href="">退出</a></td>
<td width="25%"></td>
</tr>
<tr>
<td colspan="4"></td>
</tr>
<tr>
<td >
<script language="JavaScript">
<!-- Begin
var now = new Date();
var month = now.getMonth() + 1;
var date = now.getDate();
var year = now.getYear();
var season;
if (month > 1 && month <= 3) season = "冬季";
if (month == 3 && date > 19) season = "春季";
if (month > 3 && month <= 6) season = "春季";
if (month == 6 && date > 20) season = "夏季";
if (month > 6 && month <= 9) season = "夏季";
if (month == 9 && date > 21) season = "秋季";
if (month > 9 && month <= 12) season = "秋季";
if (month == 12 && date > 20) season = "冬季";
//Y2K Fix
if (year < 2000) year = year + 1900;
//Winter Season Fix
if (season == "Winter") year = year - 1;
document.write(year + "年 " + season);
// End -->
</script>
<script LANGUAGE="JavaScript">
<!--
document.write("")
now = new Date() //定义新对象,new具有Date的性质
document.write("")
if (now.getDay() == 5) document.write("星期五")
if (now.getDay() == 6) document.write("星期六")
if (now.getDay() == 0) document.write("星期日")
if (now.getDay() == 1) document.write("星期一")
if (now.getDay() == 2) document.write("星期二")
if (now.getDay() == 3) document.write("星期三")
if (now.getDay() == 4) document.write("星期四")
document.write("")
//-->
</script>
</td>
<td>
</td>
<td> </td>
<td align="right"><html:link action="D12">发表新文章</html:link></td>
</tr>
</table>
<TABLE width="85%" align="center" border=0 cellPadding=2 cellSpacing=1 bgcolor="#A4B6D7" style="table-layout: fixed; word-wrap:Break-word;">
<TBODY>
<tr bgcolor="#F2F8FF">
<td colspan="4" align="center"><span class="font_title"><bean:write name="D100" property="CFlevel2.TSortname"/></span> </tr>
<TR align=middle>
<TD width="40%">文章</TD>
<TD width="15%" >回复</TD>
<TD width="15%" >作者</TD>
<TD width="30%">发表时间</TD>
</TR>
<logic:present name="fenyu">
<logic:iterate id="uD100a" name="fenyua" property="rs" type="cn.hope.front.pojo.CFourm">
<TR align=middle>
<TD bgcolor="#F2F8FF"><a href="D1000.do?TTopicid=<bean:write name="uD100a" property="TTopicid"/>"><bean:write name="uD100a" property="TTopicname"/></a></TD>
<TD bgcolor="#ECF5FF" ><bean:write name="uD100a" property="TRestore"/></TD>
<TD bgcolor="#F2F8FF" ><bean:write name="uD100a" property="student.SUsername"/></TD>
<TD bgcolor="#ECF5FF" ><bean:write name="uD100a" property="TTime"/></TD>
</TR>
</logic:iterate>
</logic:present>
</table>
<table width="80%" align="center">
<tr>
<td width="50%" >
<logic:present name="fenyua">
<bean:write name="fenyua" property="currentPage" />
/
<bean:write name="fenyua" property="totalPage" />
页 每页:
<bean:write name="fenyua" property="range" />
总数:
<bean:write name="fenyua" property="count" /></td>
<td align="right"> <bean:write name="fenyua" property="fenye" filter="false" />
</logic:present>
</td>
</tr>
</table>
<html:form action="/D100kan">
<table width="85%" align="center">
<tr>
<td width="70%"> 作者
<html:text property="name" styleClass="input-text" />
标题
<html:text property="Tname" styleClass="input-text"/>
<input name="submit" type="submit" class="inputstyle2" value="查找" >
</td>
<td align="center" width="30%"></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</html:form>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -