📄 pcardshow.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<html>
<head>
<title>显示所有公告</title>
</head>
<body>
<center>
<table border="0" width="600" height="44" cellspacing="0" cellpadding="0" style="margin-top:1pt">
<tr>
<td width="65%"> </td>
<td align="center"><img src="image/ModuleB/add_link.gif"> <html:link page="/office/pcard.do?method=Add&actionType=onlyLink" module="/ModuleB">发布公告</html:link></td>
<td align="center"><img src="image/ModuleB/search_link.gif"> <html:link page="/search.do" module="/ModuleB">查询公告</html:link></td>
</tr>
</table>
<logic:notPresent name="pcardlist">
<table border="1" width="600" height="200" cellspacing="0" cellpadding="0" bordercolor="lightgrey" bordercolorlight="lightgrey" bordercolordark="white" rules="none" bgcolor="#D0EEF9">
<tr><td align="center"><li>没有记录显示!</li></td></tr>
</table>
</logic:notPresent>
<logic:present name="pcardlist">
<logic:empty name="pcardlist">
<table border="1" width="600" height="200" cellspacing="0" cellpadding="0" bordercolor="lightgrey" bordercolorlight="lightgrey" bordercolordark="white" rules="none" bgcolor="#D0EEF9">
<tr><td align="center"><li>没有记录显示!</li></td></tr>
</table>
</logic:empty>
<logic:notEmpty name="pcardlist">
<logic:iterate id="pcardsingle" name="pcardlist">
<table border="1" width="600" height="200" bordercolor="#D3DDE7" bordercolorlight="#D3DDE7" bordercolordark="white" cellspacing="0" cellpadding="5" rules="none">
<tr bgcolor="#DCEAF5" height="20">
<td style="text-indent:10px" width="30%" colspan="2">公告编号:</td>
<td><bean:write name="pcardsingle" property="id"/></td>
</tr>
<tr>
<td align="center" colspan="2">公告主题:</td>
<td><bean:write name="pcardsingle" property="pcardSubject"/></td>
</tr>
<tr>
<td align="center" colspan="2">发 布 人:</td>
<td><bean:write name="pcardsingle" property="pcardIssuer"/></td>
</tr>
<tr>
<td align="center" colspan="2">发布时间:</td>
<td><bean:write name="pcardsingle" property="pcardTime"/></td>
</tr>
<tr>
<td align="center" colspan="2">发布内容:</td>
<td rowspan="2"><textarea rows="4" cols="52" readonly style="border:1 solid;border-color:lightgrey;background-color:#F0F0F0"><bean:write name="pcardsingle" property="pcardContent"/></textarea></td>
</tr>
<tr>
<td align="right"><html:link page="/modify.do" module="/ModuleB">[修改]</html:link></td>
<td align="left"><html:link page="/delete.do" module="/ModuleB">[删除]</html:link></td>
</tr>
<tr height="15" bgcolor="#D0EEF9"><td colspan="3"></td></tr>
</table>
</logic:iterate>
<table border="0" width="600" height="50" cellspacing="0" cellpadding="0" bordercolor="lightgrey" bordercolorlight="lightgrey" bordercolordark="white" rules="none">
<tr>
<td align="center" width="60%"><bean:write name="pageinfo" filter="false"/></td>
<td align="center"><bean:write name="pagelink" filter="false"/></td>
</tr>
</table>
</logic:notEmpty>
</logic:present>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -