老代码备份

<form id="selectForm" name="selectForm" action="<%=basePath %>TopicServlet?doaction=findAll&isfront=false" method="post">
<input type="hidden" name="currentPage" value="1" />
<div style="width: 99%;padding-top: 5px;height: 31px;">
<div style="float: right;">
主题名称:
<input class="text ui-widget-content ui-corner-all" style="padding: 4px;" type="text" name="checkByName" id="checkByName"
value="${requestScope.checkByName}" />
<input id="select-btn" type="button"
value="查 询" />
<input id="reset-btn" type="button"
value="清 空" />
</div>
<div style="float: left;">
<!-- <input id="add-btn" type="button" value="新 增" /> -->
<input id="delete-btn" type="button" value="删 除" />
<input id="all-btn" type="button" value="全 部" />
</div>
</div>
<table class="tab-list" width="99%">
<tr class="list-header">
<td width="5%">序号</td>
<td width="5%">
<input id="checkAll" name="checkAll" type="checkbox" />
</td>
<td width="20%">标题</td>
<td width="20%">所属版块</td>
<td width="20%">创建人</td>
<td width="15%">创建时间</td>
<td width="15%">修改时间</td>
</tr>
<c:forEach var="item" items="${page.items }" varStatus="ss">
<tr>
<td>
${ss.index + 1}
</td>
<td>
<input class="check" id="checkOne" name="checkOne" type="checkbox" value="${item.to.id }" />
</td>
<td>
<a href="javascript:checkSection('${item.to.id}')">
${item.to.title }
</a>
</td>
<td>${item.ts.sectionName}</td>
<td>${item.cj.realName }</td>
<td><fmt:formatDate value="${item.to.createTime}" type="both"/></td>
<td><fmt:formatDate value="${item.to.modifyTime}" type="both"/></td>
</tr>
</c:forEach>
<c:if test="${empty page.items }">
<tr style="text-align: center">
<td colspan="7">
<font color="#cd0a0a">暂无记录</font>
</td>
</tr>
</c:if>
</table>
<table class="tab-page" width="99%" border="0">
<tr>
<td align="left">
<p class="p-page">
共<font class="font-page"> ${page.totalCount } </font>条记录, 共<font
class="font-page"> ${page.totlePages } </font>页, 当前<font
class="font-page"> ${page.currentPage } </font>页
</p>
</td>

<td align="right">
<c:if test="${page.currentPage gt 1}">
<a href="javascript:paging(1)">首页</a>
</c:if>
<c:if test="${page.currentPage eq 1 }">
<font color="grey">首页</font>
</c:if>
<c:if
test="${page.currentPage - 1 > 0 }">
<a
href="javascript:paging(${page.currentPage - 1 })">上一页</a>
</c:if>
<c:if test="${page.currentPage - 1 <= 0 }">
<font color="grey">上一页</font>
</c:if>
<c:if test="${page.currentPage + 1 <= page.totlePages }">
<a
href="javascript:paging(${page.currentPage + 1 })">下一页</a>
</c:if>
<c:if test="${page.currentPage + 1 > page.totlePages }">
<font color="grey">下一页</font>
</c:if>
<c:if test="${page.currentPage lt page.totlePages }">
<a href="javascript:paging(${page.totlePages })">尾页</a>
</c:if>
<c:if test="${page.currentPage eq page.totlePages }">
<font color="grey">尾页</font>
</c:if>
第 <input id="pageNum" name="pageNum" class="input-page" type="text" value=""/> 页 <input
type="button" value="跳 转" onclick="go(${page.totlePages})" style="width: 60px; height: 25px;font-size: 12px;"/>
</td>
</tr>
</table>
</form>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值