<%@ 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="CmsComments 添加实体类列表，path: 请情: www.juuluu.net " />

<title>CmsComments列表</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/CmsCommentsList.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/CmsCommentsFormAdd.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>id</td><td>title</td><td>content</td><td>userName</td><td>addres</td><td>tel</td><td>email</td><td>编辑</td></tr>
<logic:iterate indexId="index" id="CmsCommentsItem" name="objectList">

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

<logic:notEmpty name="CmsCommentsItem" property="id">
<bean:write name="CmsCommentsItem" property="id"/>
</logic:notEmpty>

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

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

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

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

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

<logic:notEmpty name="CmsCommentsItem" property="userName">
<bean:write name="CmsCommentsItem" property="userName"/>
</logic:notEmpty>

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

<logic:notEmpty name="CmsCommentsItem" property="addres">
<bean:write name="CmsCommentsItem" property="addres"/>
</logic:notEmpty>

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

<logic:notEmpty name="CmsCommentsItem" property="tel">
<bean:write name="CmsCommentsItem" property="tel"/>
</logic:notEmpty>

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

<logic:notEmpty name="CmsCommentsItem" property="email">
<bean:write name="CmsCommentsItem" property="email"/>
</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/CmsCommentsAction.do?method=readView&forward=update&type=int&objectId=<bean:write name="CmsCommentsItem" property="id"/>"/>查看</a>
</li><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/CmsCommentsAction.do?method=readUpdate&forward=update&type=int&objectId=<bean:write name="CmsCommentsItem" property="id"/>"/>更新</a>
</li><li class="juuluu_bt_entry_01"><a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms.hibernate.action/CmsCommentsAction.do?method=delete&type=int&objectId=<bean:write name="CmsCommentsItem" property="id"/>" onclick="return deleteCmsComments()"  >删除</a>
</li></ul><div></td>
</tr></logic:iterate>
</table>
<script language="javascript">
function deleteCmsComments(){
var value=confirm("是否确认删除客户留言");
	 if(value==true){
	 return true;
}	 else {return false;
}
	}

</script>

</body>
</html>
