<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- jstl1.2--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 

<%@ page isELIgnored="false" %> 
<%@page  import="miin.core.miinSysConfigValiday.entryDomain.dao.MiinSysConfigValidatyCat" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

  <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/MyApp/Resource/Base/index.jsp">
  
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/MyApp/Resource/RIA/jquery-easyui-1.3.2/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/MyApp/Resource/RIA/jquery-easyui-1.3.2/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/MyApp/Resource/RIA/jquery-easyui-1.3.2/demo/demo.css">

	<script type="text/javascript" src="<%=request.getContextPath()%>/MyApp/Resource/RIA/jquery-easyui-1.3.2/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/MyApp/Resource/RIA/jquery-easyui-1.3.2/jquery.easyui.min.js"></script>

 <jsp:include page="/MyApp/Core/SysConfigValiday/admin/SystemManage/superUserHome/html_header.jsp"></jsp:include>


</head>

<body scroll="no">
	<div id="layout">
            <jsp:include page="/MyApp/Core/SysConfigValiday/admin/SystemManage/superUserHome/body_header.jsp"></jsp:include>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>

				<div class="accordion" fillSpace="sidebar">
					<div class="accordionHeader">
						<h2><span>Folder</span>变量管理</h2>
					</div>
				
		
<jsp:include page="/MyApp/Core/SysConfigValiday/admin/SystemManage/superUserHome/MenuBar2.jsp"	></jsp:include>

				
				</div>

			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">系统变量列表</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
                                            <div class="pageContent">
						<div >
							
	
<table  border='0' cellpadding='0' cellspacing='1' class="ListTable" width="700px" aligen="center">
<tr class="header"><td>ID</td><td>类别</td><td>编辑</td></tr>
<%
  
/*java.util.Map rmap=(java.util.Map) request.getAttribute("mapRequest");
   java.util.List<miin.core.miinSysConfigValiday.entryDomain.dao.ShopProductCat> objectList=null;
   Object ol=rmap.get("objectList");
 objectList=(java.util.List<miin.core.miinSysConfigValiday.entryDomain.dao.ShopProductCat>)ol;
 //out.write("<p/> data list size:"+objectList.size());
 request.setAttribute("objectList", objectList);
 */

 //java.util.List<miin.core.miinSysConfigValiday.entryDomain.dao.ShopProductCat> al=new java.util.ArrayList<miin.core.miinSysConfigValiday.entryDomain.dao.ShopProductCat>();
//Core/SysConfigValiday.entryDomain.dao.ShopProductCat cats=new miin.core.miinSysConfigValiday.entryDomain.dao.ShopProductCat();
// cats.setCatName("bb");
 
 //al.add(cats );
 //request.setAttribute("alb", al);
 %>
 <c:if test="${objectList!=null}">
<c:forEach  items="${objectList}" var="cat"  >

    <tr class="ListEntrydataRow">
<td class="tdColor1"  >

        <c:out  value="${cat.catid}"/>
</td>
	
<td class="tdColor2" >
        <c:if test="${cat.catName==null}" >
&nbsp;</c:if>
    <c:if test="${cat.catName!=null}" >
        
&nbsp;</c:if>

<c:out value="${cat.catName}"></c:out>
    
</td>
	

	<td class="tdColor2" >
<div class="guuraa_ui_nav_bar2"><ul>
        <%--
         <li class="guuraa_bt_entry_01"><a href="<%=request.getContextPath()%>/MyApp/Core/SysConfigValiday/pages/default/articleList.jsp?catid=<c:out value="${cat.catid}"/>" target="_blank" >预览</a>
		
         </li> --%>
		 
        <li class="guuraa_bt_entry_01"><a href="<%=request.getContextPath()%>/MyApp/Core/SysConfigValiday/admin/ArticleCatAdmin/controller.jsp?act=view&id=<c:out value="${cat.catid}"/>"/>查看</a>
</li><li class="guuraa_bt_entry_01"><a href="<%=request.getContextPath()%>/MyApp/Core/SysConfigValiday/admin/ArticleCatAdmin/controller.jsp?act=updateInit&id=<c:out value="${cat.catid}"/>"/>更新</a>
</li><li class="guuraa_bt_entry_01"><a href="<%=request.getContextPath()%>/MyApp/Core/SysConfigValiday/admin/ArticleCatAdmin/controller.jsp?act=delete&id=<c:out value="${cat.catid}"/>" onclick="return deleteShopProductCat()"  >删除</a>
</li></ul><div></td>
</tr>

</c:forEach>
 </c:if>
</table>
        </p>	


<script language="javascript">
function deleteShopProductCat(){
var value=confirm("是否确认删除系统变量类别");
	 if(value==true){
	 return true;
}	 else {return false;
}
	}

</script>

<c:if test="${info!=null}">
	<script type="text/javascript">
		alert("<c:out value="${info}"></c:out>");
	</script>
</c:if>



						</div>

						</div>
                                             </div>
					</div>
					
				</div>
			</div>
		

<jsp:include page="/MyApp/Core/pages/tags/footer.jsp"></jsp:include>

</body>
</html>
