<%@ page contentType="text/html;charset=gb2312" language="java" %>
<%@ taglib uri="/WEB-INF/tld/app.tld"    prefix="app" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<app:checkLogon/><jsp:useBean id="memoryitemcontent" scope="session" type="com.ipanel.cms.item_content.other.MemoryItemContent"/><html:html locale="true">
<!--
<link href="images/css.css" rel="stylesheet" type="text/css">
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<html:base/>
</head>
<body bgcolor="white"><html:errors/><div align="center">
<h3>Bamc_cms Item列表</h3></div>
<h4>页数: 
<%=memoryitemcontent.getPagecontrol().getPageCount()%>
&nbsp &nbsp当前页: 
<%=memoryitemcontent.getPagecontrol().getCurrentPage()%>
</h4>
<h4><logic:equal name="memoryitemcontent" property="sBof"
            scope="session" value="True">
  首页
</logic:equal><logic:equal name="memoryitemcontent" property="sBof"
            scope="session" value="False">
  <html:link page="/ItemContentPage.do?action=Top">
    首页
  </html:link>
</logic:equal>&nbsp &nbsp&nbsp &nbsp<logic:equal name="memoryitemcontent" property="sBof"
            scope="session" value="True">
  上一页
</logic:equal><logic:equal name="memoryitemcontent" property="sBof"
            scope="session" value="False">
  <html:link page="/ItemContentPage.do?action=Previous">
    上一页
  </html:link>
</logic:equal>&nbsp &nbsp&nbsp &nbsp<logic:equal name="memoryitemcontent" property="sEof"
            scope="session" value="True">
   下一页
</logic:equal><logic:equal name="memoryitemcontent" property="sEof"
            scope="session" value="False">
  <html:link page="/ItemContentPage.do?action=Next">
    下一页
  </html:link>     
</logic:equal>&nbsp &nbsp&nbsp &nbsp<logic:equal name="memoryitemcontent" property="sEof"
            scope="session" value="True">
   尾页
</logic:equal><logic:equal name="memoryitemcontent" property="sEof"
            scope="session" value="False">
  <html:link page="/ItemContentPage.do?action=Last">
    尾页
  </html:link>  
</logic:equal></h4>
<p>  <html:link page="/editItemContent.do?action=Reflash">
  刷新
</html:link>
</p>
<table border="1" width="100%">  <tr>
    <th align="center" width="10%" bgcolor="#66CCFF">
      识别号</th>
    <th align="center" width="25%" bgcolor="#66CCFF">标题</th>
    <th align="center" width="45%" bgcolor="#66CCFF">内容</th>
    <th align="center" width="20%" bgcolor="#66CCFF">
      操作</th>
  </tr><logic:iterate id="itemcontenttmp" name="memoryitemcontent" property="itemcontents" length="itemlen" offset="itemoffset">
  <tr>
    <td align="left">
      <bean:write name="itemcontenttmp" property="item_content_contentid" filter="true"/>
    </td>
    <td align="center">&nbsp;<bean:write name="itemcontenttmp" property="item_content_title" filter="true"/></td>
    <td align="center">&nbsp;<bean:write name="itemcontenttmp" property="item_content_content" filter="true"/></td>
    <td align="center">
      <app:linkItemContent page="/editItemContent.do?action=ViewInfo">
        明细
      </app:linkItemContent>
      <app:linkItemContent page="/editItemContent.do?action=Delete">
        删除
      </app:linkItemContent>
      <app:linkItemContent page="/editItemContent.do?action=Edit">
        修改
      </app:linkItemContent>
    </td>
  </tr>
</logic:iterate></table>
  <html:link page="/editItemContent.do?action=Create">
  Add
</html:link><html:javascript formName="itemcontentForm"
        dynamicJavascript="true"
         staticJavascript="false"/>
<script language="Javascript1.1" src="staticJavascript.jsp"></script></body>
</html:html>