⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewcatalog.jsp

📁 版本信息:Jaoso新闻文章发布系统 0.9.1beta1 原POPTEN新闻发布系统现更名为Jaoso,不兼容popten,目前不提供popten升级Jaoso的程序.
💻 JSP
字号:
<%@ include file = "../tiles/include.jsp"%><center><table CELLPADDING="0" CELLSPACING="0" width="100%"><tr class="tdbg-dark">	<td>&nbsp;&nbsp;<a href="./"><bean:message key="index.title"/></a>	<logic:present name="parents" scope="request">		<logic:iterate name="parents" id="parent" >			&nbsp;&nbsp;===>&nbsp;&nbsp;<a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write  name="parent" property="catalogId" />"><bean:write  name="parent" property="catalogTitle" /></a>		</logic:iterate>	</logic:present>	&nbsp;&nbsp;===>&nbsp;&nbsp;<bean:write  name="catalog" property="catalogTitle" />	</td></tr></table><logic:present name="catalog" scope="request"><table CELLPADDING="10" CELLSPACING="0" width="100%"><tr class="tdbg">	<td><logic:iterate property="children" name="catalog" id="childe" >	[<a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write  name="childe" property="catalogId" />"><bean:write  name="childe" property="catalogTitle" /></a>]&nbsp;&nbsp;</logic:iterate>	</td></tr></table></logic:present><bean:define id="catalogTitle"><bean:write  name="catalog" property="catalogTitle" /></bean:define><gui:window title = "<%=catalogTitle%>" prototype = "boWindow" color = "100%"><center>	<table class="win" CELLPADDING="2" CELLSPACING="0" width="100%">	<html:form action="viewCatalog.do?method=viewCatalog">	<tr align="right">		<td><bean:message key="article.name"/> <input type="text" name="para" value="">		<bean:message key="article.sort"/>		<select name="orderby">		<option value="date"><bean:message key="article.updateDate"/></option>		<option value="catalog"><bean:message key="article.catalog"/></option>		<option value="count"><bean:message key="article.count"/></option>		<option value="author"><bean:message key="article.author"/></option>		<option value="title"><bean:message key="article.name"/></option>		</select>		<select name="sort">		<option value="asc"><bean:message key="article.asc"/></option>		<option value="desc"><bean:message key="article.desc"/></option>		</select>			<html:submit styleClass="button"><bean:message key="button.search"/></html:submit>			</td>	</tr>	</table>	<input type="hidden" name="catalogId" value="<bean:write  name="catalog" property="catalogId" />">	</html:form>    <table class="sort-table" cellSpacing="1" cellPadding="1" width="99%" border="0">	<thead>        <tr>            <td><bean:message key="article.name"/></td>			<td><bean:message key="article.catalog"/></td>			<td><bean:message key="article.dist"/></td>			<td><bean:message key="article.author"/></td>			<td><bean:message key="article.count"/></td>			<td><bean:message key="article.updateDate"/></td>        </tr>	</thead><logic:present name="articles" scope="request"><!--page offset start -->		<pg:pager	url="./viewCatalog.do"    items="<%=((Integer)request.getAttribute("artCount")).intValue()%>"    index="center"    maxPageItems="10"    maxIndexPages="10"    isOffset="<%= true %>"    export="offset,currentPageNumber=pageNumber"    scope="request"><%-- keep track of preference --%>	<pg:param name="para"/>	<pg:param name="catalogId"/>	<pg:param name="page"/>	<pg:param name="orderby"/>	<pg:param name="sort"/>	<pg:param name="method"/>  <%-- save pager offset during form changes --%>    <input type="hidden" name="pager.offset" value="<%= offset %>">        <logic:iterate name="articles" id="article" ><pg:item>        <tr>            <td><a href="viewArticle.do?method=viewArticle&id=<bean:write  name="article" property="artId" />"><bean:write  name="article" property="artTitle" /></a></td>			<td><a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write  name="article" property="catalog.catalogId" />"><bean:write  name="article" property="catalog.catalogTitle" /></a></td>			<td><bean:write  name="article" property="artDist" /></td>			<td><bean:write  name="article" property="author.person.name" /></td>			<td><bean:write  name="article" property="artCount" /></td>			<td><bean:write  name="article" property="artLastdate" formatKey="dateFormat"/></td>        </tr></pg:item>		        </logic:iterate>     </table>   <jsp:include page="./page.jsp" flush="true"/></pg:pager><!-- page offset end --></logic:present> </center> </gui:window></center>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -