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

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

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



<div class="guuraa_ui_nav_bar1">
	<ul>
		<li class="guuraa_bt_c1">
		<a href="<bean:write name="SystemConfigApp" property="appContext"/>/gcms/admin/entryJsp/ShopProductFormAdd.jsp">
<img src="/guuraaApp/UiIcon/16_16_png_icons/calendar1.png" alt="" width="16" height="16" />
添加记录</a> 
		</li>
				<li class="guuraa_bt_c1">
	
<a href="#" onClick="return backPage()" ><img src="/guuraaApp/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="ShopProductItem" name="objectList">

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</script>

</body>
</html>
