<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="CmsArticle 添加实体类列表，path: 请情: www.juuluu.net " />

<title>CmsArticle列表</title>
<link href="<bean:write name="SystemConfigApp" property="appContext"/>/com/goosaa/templete/default.css" type="text/css" rel="stylesheet">
<!--
*
 * @author http://www.juuluu.org 逐龙juuluu
* tel:020-28983330 mobile:15975485229
 * email:wujavei@126.com  QQ:274390981
 * @see /entryJsp/CmsArticleList.jsp
 -->

<link href="<bean:write name="SystemConfigApp" property="appContext"/>/com/goosaa/templete/default.css" type="text/css" rel="stylesheet">
<script src="/JuuluuApp/javascript/juuluu.js" type="text/javascript" language="javascript" charset="UTF-8" ></script>
</head>
<body>
<html:errors/>



<div class="juuluu_ui_nav_bar1">
	<ul>
		<li class="juuluu_bt_c1">
		<a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms/admin/entryJsp/CmsArticleFormAdd.jsp">
<img src="/JuuluuApp/UiIcon/16_16_png_icons/calendar1.png" alt="" width="16" height="16" />
添加记录</a> 
		</li>
				<li class="juuluu_bt_c1">
	
<a href="#" onClick="return backPage()" ><img src="/JuuluuApp/UiIcon/16_16_png_icons/shortkey.png" alt="" width="16" height="16" style="margin-bottom:-2px;"/>返回</a>

		</li>

	</ul>
</div>




<script language="javascript" type="text/javascript">
 function backPage(){
 	history.back();
 }
</script>
</div>


<div class="title_box"><h1>文章列表</h1></div>
<table  border='0' cellpadding='0' cellspacing='1' class="ListTable" width="100%" aligen="center">
<tr class="header"><td>aid</td><td>title</td><td>content</td><td>catid</td><td>catName</td><td>htmlTitle</td><td>htmlKeyWord</td><td>htmlDescription</td><td>templetePath</td><td>buseSelfTemplete</td><td>authorName</td><td>tagsName</td><td>viewCount</td><td>bcheck</td><td>bpassed</td><td>bcmdIndex</td><td>bcmsCat</td><td>addTime</td><td>updateTime</td><td>inputUserId</td><td>inputUserName</td><td>编辑</td></tr>
<logic:iterate indexId="index" id="CmsArticleItem" name="objectList">

<tr class="ListEntrydataRow<%=index.intValue()%2%>">
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="aid">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="aid">
<bean:write name="CmsArticleItem" property="aid"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="title">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="title">
<bean:write name="CmsArticleItem" property="title"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="content">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="content">
<bean:write name="CmsArticleItem" property="content"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="catid">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="catid">
<bean:write name="CmsArticleItem" property="catid"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="catName">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="catName">
<bean:write name="CmsArticleItem" property="catName"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="htmlTitle">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="htmlTitle">
<bean:write name="CmsArticleItem" property="htmlTitle"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="htmlKeyWord">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="htmlKeyWord">
<bean:write name="CmsArticleItem" property="htmlKeyWord"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="htmlDescription">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="htmlDescription">
<bean:write name="CmsArticleItem" property="htmlDescription"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="templetePath">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="templetePath">
<bean:write name="CmsArticleItem" property="templetePath"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="buseSelfTemplete">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="buseSelfTemplete">

<logic:equal value="true" name="CmsArticleItem" property="buseSelfTemplete">
是</logic:equal>
<logic:equal value="false" name="CmsArticleItem" property="buseSelfTemplete">
否</logic:equal>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="authorName">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="authorName">
<bean:write name="CmsArticleItem" property="authorName"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="tagsName">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="tagsName">
<bean:write name="CmsArticleItem" property="tagsName"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="viewCount">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="viewCount">
<bean:write name="CmsArticleItem" property="viewCount"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="bcheck">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="bcheck">

<logic:equal value="true" name="CmsArticleItem" property="bcheck">
是</logic:equal>
<logic:equal value="false" name="CmsArticleItem" property="bcheck">
否</logic:equal>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="bpassed">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="bpassed">

<logic:equal value="true" name="CmsArticleItem" property="bpassed">
是</logic:equal>
<logic:equal value="false" name="CmsArticleItem" property="bpassed">
否</logic:equal>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="bcmdIndex">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="bcmdIndex">

<logic:equal value="true" name="CmsArticleItem" property="bcmdIndex">
是</logic:equal>
<logic:equal value="false" name="CmsArticleItem" property="bcmdIndex">
否</logic:equal>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="bcmsCat">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="bcmsCat">

<logic:equal value="true" name="CmsArticleItem" property="bcmsCat">
是</logic:equal>
<logic:equal value="false" name="CmsArticleItem" property="bcmsCat">
否</logic:equal>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="addTime">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="addTime">
<bean:write name="CmsArticleItem" property="addTime"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="updateTime">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="updateTime">
<bean:write name="CmsArticleItem" property="updateTime"/>
</logic:notEmpty>

</td>
	
<td class="tdColor2" >
<logic:empty name="CmsArticleItem" property="inputUserId">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="inputUserId">
<bean:write name="CmsArticleItem" property="inputUserId"/>
</logic:notEmpty>

</td>
	
<td class="tdColor1"  >
<logic:empty name="CmsArticleItem" property="inputUserName">
&nbsp;</logic:empty>

<logic:notEmpty name="CmsArticleItem" property="inputUserName">
<bean:write name="CmsArticleItem" property="inputUserName"/>
</logic:notEmpty>

</td>
	<td class="tdColor2" >
<div class="juuluu_ui_nav_bar2"><ul><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/CmsArticleAction.do?method=readView&forward=update&type=int&objectId=<bean:write name="CmsArticleItem" property="aid"/>"/>查看</a>
</li><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/CmsArticleAction.do?method=readUpdate&forward=update&type=int&objectId=<bean:write name="CmsArticleItem" property="aid"/>"/>更新</a>
</li><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/CmsArticleAction.do?method=delete&type=int&objectId=<bean:write name="CmsArticleItem" property="aid"/>" onclick="return deleteCmsArticle()"  >删除</a>
</li></ul><div></td>
</tr></logic:iterate>
</table>
<script language="javascript">
function deleteCmsArticle(){
var value=confirm("是否确认删除文章");
	 if(value==true){
	 return true;
}	 else {return false;
}
	}

</script>

</body>
</html>
