<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderForm.aspx.cs" Inherits="OrderForm" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../WebControl/MemberCenter_Top.ascx" TagName="ucMemberCenter_Top" TagPrefix="uc1" %>
<%@ Register Src="../WebControl/MemberCenter_Foot.ascx" TagName="ucMemberCenter_Foot" TagPrefix="uc2" %>
<%@ Register Src="../WebControl/MemberCenter_Left.ascx" TagName="ucMemberCenter_Left" TagPrefix="uc3" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的订单</title>
<meta name="keywords" content="网上鞋店，手机数码，护肤品，..." />
<meta name="description" content="BtoC购物网站为您提供最实惠的商品..." />

<link href="../css/templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/ddsmoothmenu.css" />

</head>

<body>

<form runat="server" id="form2">
<center>

<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
	<uc1:ucMemberCenter_Top runat="server" ID="ucMemberCenter_Top" />
    
    <div id="templatemo_main">
    	<uc3:ucMemberCenter_Left runat="server" ID="ucMemberCenter_Left" />
    	
        <div id="content" class="float_r">
        	<h5 style="text-align:left">会员中心 -》我的订单</h5>
        	<table width="680px" cellspacing="0" cellpadding="5">
                   	  <tr bgcolor="#ddd">
                        	<th width="120" align="left" nowrap="nowrap" style="border-right:1px #ccc solid;">订单编号 </th> 
                        	<th width="100" align="left" nowrap="nowrap" style="border-right:1px #ccc solid;">购买人 </th>                        	
                        	<th width="100" align="left" nowrap="nowrap" style="border-right:1px #ccc solid;">收货人 </th> 
                        	<th width="80" align="left" nowrap="nowrap" style="border-right:1px #ccc solid;">订单金额 </th> 
                        	<th width="140" align="left" nowrap="nowrap" style="border-right:1px #ccc solid;">购买时间 </th> 
                        	<th width="150" align="left" nowrap="nowrap">操作</th>
                            
                      </tr>
                      
                      <asp:Repeater ID="rptOrderForm" runat="server" onitemcommand="rptOrderForm_ItemCommand">
				         <ItemTemplate>
                    	    <tr>
                    	        <td align="left" style="border-bottom:1px #ccc solid; border-right:1px #ccc solid;"><a href='OrderFormInfo.aspx?id=<%# Eval("ID") %>'><%# Eval("OrderFormNo") %></a> </td>
                    	        <td align="left" style="border-bottom:1px #ccc solid; border-right:1px #ccc solid;"><%#Eval("Purchaser")%> </td>                    	       
                    	        <td align="left" style="border-bottom:1px #ccc solid; border-right:1px #ccc solid;"><%#Eval("Consignee")%> </td> 
                                <td align="left" style="border-bottom:1px #ccc solid; border-right:1px #ccc solid;"><%# Eval("ProductTotalPrice") %></td>
                                <td align="left" style="border-bottom:1px #ccc solid; border-right:1px #ccc solid;"><%# DateTime.Parse(Eval("CreatDate").ToString()).ToString("yyyy-MM-dd hh:mm:ss")%></td>
                                <td align="left" style="border-bottom:1px #ccc solid;">
                                <a href='OrderFormInfo.aspx?id=<%# Eval("ID") %>'>订单明细</a>&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:LinkButton Text="删除" runat="server" ID="linkbtnDelete" CommandName="Del" style="cursor:hand;" CommandArgument='<%# Eval("ID") %>' OnClientClick="javascript:return confirm('您确实要删除吗！')" /></td>
						    </tr>
						 </ItemTemplate>
			          </asp:Repeater>
			          
			          <tr>
			            <td colspan="6">
			                <div id="trRecord" style="float:left; margin-left:80px; margin-top:10px">
                                <nobr><webdiyer:AspNetPager ID="pager" PageSize="5" runat="server" CssClass="_tab_page_div" UrlPaging="True" FirstPageText="【首页】"
                                  LastPageText="【尾页】" NextPageText="【下一页】" NumericButtonCount="5" PrevPageText="【上一页】"
                                  CustomInfoClass="_tab_pager_div1" ShowCustomInfoSection="Left" EnableUrlRewriting="false" PageIndexBoxClass="page_box_ipt" SubmitButtonClass="page_btn_go" SubmitButtonText="" ShowInputBox="Never">
                                </webdiyer:AspNetPager></nobr>
                            </div>
			            </td>
			          </tr>
					
			</table>
			</div>

        <div class="cleaner"></div>
    </div> <!-- END of templatemo_main -->
    
    <uc2:ucMemberCenter_Foot runat="server" ID="ucMemberCenter_Foot" />
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->

</center>

</form>
</body>
</html>
