<%@ 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="miinshop.entryDomain.dao.ShopProductCat,miinshop.domain.ArticleAdminDomain" %>
<%--

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

<title>Order List</title>

                                    <!--
*
 * @author http://www.juuluu.org 逐龙juuluu
* tel:020-28983330 mobile:15975485229
 * email:wujavei@126.com  QQ:274390981
 * @see /entryJsp/ShopProductCatList.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>

 
 
<script src="/JuuluuApp/javascript/juuluu.js" type="text/javascript" language="javascript" charset="UTF-8" ></script>

<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/MyApp/Resource/RIA/miin/base/blue/css.css">

<link rel="stylesheet" type="text/css" href="/MyApp/Resource/RIA/miin/base/blue/css.css">

</head>
<body>

<div id="dataList_fenyue">
	<div class="juuluu_ui_nav_bar1">
	<ul>
<%

String queryPath_view=" /MiinE/MyApp/miinshop/admin/OrderAdmin/controller.jsp?act=admin";
%>
<!--"goto","next","up","down","first","end"-->
<li class="juuluu_bt_01">
<a href="<%=queryPath_view%>&pageFlag=up">
<-
</a></li>
<%
//long pid=p.getId();
	com.guuraa.miin.webUtil.fenyue.DatePage.hibernate.PageDateBean pageView=
(com.guuraa.miin.webUtil.fenyue.DatePage.hibernate.PageDateBean)
request.getAttribute("PageDateBean");
        if(pageView!=null){
            for(int i=pageView.getStartPage();i<=pageView.getEndPage();i++){
            out.write("<li class=\"juuluu_bt_01\">");
            out.write("<a href=\""+queryPath_view+"&pageFlag=goto&currentPages="+i+"\">");
            out.write("&nbsp;"+i);
		out.write("</a></li>");
	
         }
            
        }

%>
<li class="juuluu_bt_01">
<a href="<%=queryPath_view%>&pageFlag=down">
->
</a></li>
<li class="juuluu_bt_01">
<a href="<%=queryPath_view%>&pageFlag=first">
首页
</a></li>
<li class="juuluu_bt_01">
<a href="<%=queryPath_view%>&pageFlag=end">
未页
</a>
</li>
	</ul>
</div>
		
<table border='0' cellpadding='0' cellspacing='0' class="ListTable" width="100%" aligen="center">
<tr class="header"><td>编号</td><td>产品</td><td>价格</td><td>用户</td><td>日期</td><td>状态</td><td>结算</td><td>编辑</td></tr>
<c:if test="${PageDateBean!=null}">
    
    
    <c:forEach var="item" items="${PageDateBean.rowDataBeanList}">
        
<tr class="ListEntrydataRow${item.orderid%2}}">
    
<td class="tdColor1"  >
${item.orderMember}

</td>

<td class="tdColor2" >
${item.orderProductName}

</td>

	
<td class="tdColor2" >
${item.price}

</td>

	
<td class="tdColor2" >
${item.orderUserName}

</td>
	
<td class="tdColor2" >
${item.orderTime}

</td>

<td class="tdColor2" >
${item.orderState}

</td>

<td class="tdColor2" >
${item.bcheckout}

</td>

     <td class="tdColor2" >
        <div class="crudLINK">
    
        
         <a href="<%=request.getContextPath()%>/MyApp/miinshop/admin/OrderAdmin/controller.jsp?act=view&id=<c:out value="${item.orderid}"/>">
       查看
        </a>
       &nbsp;
           
       <a href="<%=request.getContextPath()%>/MyApp/miinshop/admin/OrderAdmin/controller.jsp?act=updateInit&id=<c:out value="${item.orderid}"/>">
       修改
        </a>
       &nbsp;
        <a href="<%=request.getContextPath()%>/MyApp/miinshop/admin/OrderAdmin/controller.jsp?act=delete&id=<c:out value="${item.orderid}"/>" onclick="return deleteShopProduct()"  >删除</a>
     
        <div></td>


</tr>

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

<script language="javascript">
function deleteShopProduct(){
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>
</body>
</html>
