<%@ Page Language="C#" AutoEventWireup="true" Inherits="Hidistro.UI.Web.Admin.Summary" MasterPageFile="~/Admin/Admin.Master" %>
<%@ Import Namespace="Hidistro.Core"%>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Validator" Assembly="Hidistro.UI.Common.Validator" %>
<%@ Register TagPrefix="Kindeditor" Namespace="kindeditor.Net" Assembly="kindeditor.Net" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.ControlPanel.Utility" Assembly="Hidistro.UI.ControlPanel.Utility" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="contentHolder" runat="server">
	  <div class="datalist">
	  <div class="businessinfo">
		<div class="leftbusiness">
			<div class="welcomemessage clearfix">
			<ul>
				<li class="managername"><span><asp:Literal runat="server" ID="ltrAdminName"></asp:Literal> 欢迎回来.</span>
					<span class="message"></span><asp:HyperLink ID="hpkMessages" runat="server" ></asp:HyperLink>
					<span class="zixun"></span><asp:HyperLink ID="hpkZiXun" runat="server" ></asp:HyperLink>
					<span class="liuyan"></span><asp:HyperLink ID="hpkLiuYan" runat="server" ></asp:HyperLink>
				</li>
				<li class="lastlogintime">上次登录：<Hi:FormatedTimeLabel ID="lblTime" runat="server"></Hi:FormatedTimeLabel></li>
			</ul>
			</div>
			
			<div class="orderlist clearfix">
				<div class="optiontitle">
					<ul>
						<li id="hui"><span><a href="Default.aspx?Status=1" style="color:BlueViolet;">会员订单</a></span></li>
					</ul>
				</div>

				<div class="orderdata" id="divOrders">
					  <UI:Grid ID="grdOrders" runat="server" SortOrderBy="OrderDate" SortOrder="Desc" AutoGenerateColumns="False" DataKeyNames="OrderId" HeaderStyle-CssClass="border_background"  GridLines="None" ShowHeader="false" AllowSorting="true" Width="100%">
                    <Columns>
                     
                        <asp:TemplateField HeaderText="下单时间" SortExpression="OrderDate" HeaderStyle-CssClass="datetime" >
                            <itemtemplate>
                               <Hi:FormatedTimeLabel ID="lblStartTimes" Time='<%#Eval("OrderDate") %>' ShopTime="true" runat="server" ></Hi:FormatedTimeLabel>
                            </itemtemplate>
                        </asp:TemplateField>                        
                         <asp:TemplateField HeaderText="订单号" SortExpression="OrderId" HeaderStyle-CssClass="info" >
                         <itemtemplate>     
                            <asp:Label ID="lblPurchaseOrderID" Text='<%#Eval("OrderId") %>' runat="server" ></asp:Label><asp:Literal ID="group" runat="server" Text='<%# Convert.ToInt32(Eval("GroupBuyId"))>0?"(团)":"" %>' />
                         </itemtemplate> 
                         </asp:TemplateField>                        
                       
                        <asp:TemplateField HeaderText="订单状态" HeaderStyle-CssClass="estate" >
                            <itemtemplate>
                               <Hi:OrderStatusLabel ID="lblOrderStatus" OrderStatusCode='<%# Eval("OrderStatus") %>' runat="server" /> <br />
                               <Hi:OrderRefundStatusMark runat="server" ID="hpkOrderRefund" NavigateUrl='<%#Globals.ApplicationPath+( "/Admin/sales/RefundOrderDetails.aspx?OrderId="+ Eval("OrderId")) %>' Target="_blank" Status ='<%# Eval("RefundStatus") %>'></Hi:OrderRefundStatusMark>
                            </ItemTemplate>
                        </asp:TemplateField>
                        
                        <asp:TemplateField HeaderStyle-CssClass="handle">
                            <itemtemplate>
                               <Hi:OrderDetailsHyperLink ID="lkbtnOrderDetails" OrderStatusCode='<%# Eval("OrderStatus") %>' OrderId='<%# Eval("OrderId") %>' Target="_blank" Text="详情" runat="server" ForeColor="BlueViolet"/><br />
	                           <asp:HyperLink ID="lkbtnEditPrice" runat="server" NavigateUrl='<%# Globals.ApplicationPath +  "/Admin/sales/EditOrder.aspx?OrderId="+ Eval("OrderId") %>'  Target="_blank" Text="修改价格" Visible="false" ForeColor="Blue"></asp:HyperLink>
	                           <asp:HyperLink ID="lkbtnSendGoods" runat="server" NavigateUrl='<%# Globals.ApplicationPath +  "/Admin/sales/SendOrderGoods.aspx?OrderId="+ Eval("OrderId") %>' Target="_blank" Text="发货" Visible="false" ForeColor="Red"></asp:HyperLink>
                            </itemtemplate>
                        </asp:TemplateField>
                    </Columns>
                     <EmptyDataTemplate><span class="empty">最近记录为空</span></EmptyDataTemplate>
                  </UI:Grid>            
				</div>
			</div>
			
			<div class="instantstat clearfix" id="divSendOrders">
				注：这里显示最近的 <asp:Label ID="lblOrderNumbers" runat="server"></asp:Label> 笔订单，有“退”字代表该订单退过款，您共有<asp:HyperLink ID="hpksendOrder" runat="server"  Target="_blank"  ForeColor="Blue"></asp:HyperLink>笔订单待发货。<asp:HyperLink ID="allorders" runat="server"   Target="_blank" Text="查看所有会员订单"  ForeColor="Blue"></asp:HyperLink>
	                           
			</div>
			
			<div class="houtaijsxx">
                <div class="houtaijsxxliangdian">
                    <div class="houtaijsxxliangdiantop">Hishop V6 主要亮点</div>
                    <div class="houtaijsxxliangdiancont">
                        <ul> 
                            <li class="liangdian1"  >
                                <em>
                                    <a href="member/openidservices.aspx" target="_blank">
                                        <b>信任登录</b>
                                        <p>支持支付宝、淘宝、QQ、新浪微博用户信任登录</p>
                                    </a>
                                </em>
                            </li>
                            <li class="liangdian2">
                                <em>
                                    <a href="tools/etaoset.aspx" target="_blank">
                                        <b>通一淘</b>
                                        <p>自动生成一淘FEED，方便被国内最大搜索引擎收录</p>
                                    </a>
                                </em>
                            </li>
                            <li class="liangdian3">
                                <em>
                                    <a href="tools/SMSSettings.aspx" target="_blank">
                                        <b>短信营销</b>
                                        <p>支持短信群发、点发及触发。客户关怀、新品活动极速传达</p>
                                    </a>
                                </em>
                            </li>
                            <li class="liangdian4">
                                <em>
                                    <a href="sales/manageorder.aspx" target="_blank">
                                        <b>订单快速打印</b>
                                        <p>购物单、退货单、快递单一应俱全，支持批量打印</p>
                                    </a>
                                </em>
                            </li>
                        </ul>
                    </div>

                </div>
                <div class="htjmmb">
                    <div class="htjmmbtop"><b>精美模版<img src="images/houtaijs_16.jpg" width="33" height="18" /></b><a href="http://mb.hishop.com.cn/ShThemes.aspx?pageIndex=1&sysauto=11&keepauto=0&zhutiauto=0&colorauto=0&priceauto=0&key=" target="_blank">更多>></a></div>
                        <div class="htjmmbcont core4" id="div4">
                            <ul>
                                <li><a href="http://mb.hishop.com.cn/Theme-146.htm" target="_blank"><img src="images/a.gif"   /></a><p>仿包包</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-149.htm" target="_blank"><img src="images/b.gif"   /></a><p>仿海E家</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-151.htm" target="_blank"><img src="images/c.gif"/></a><p>mogless</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-152.htm" target="_blank"><img src="images/d.gif"/></a><p>仿唯伊</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-148.htm" target="_blank"><img src="images/e.gif"/></a><p>名品折扣</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-147.htm" target="_blank"><img src="images/f.gif"/></a><p>祺绯</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-145.htm" target="_blank"><img src="images/j.gif"/></a><p>太平鸟</p></li>
                                <li><a href="http://mb.hishop.com.cn/Theme-150.htm" target="_blank"><img src="images/h.gif"/></a><p>仿PBA</p></li>
                            </ul>
                        </div>
                </div>
        </div>
    
            <script type="text/javascript">
            function startmarquee(lh,speed,delay,id) {
	var t;
	var p=false;
	var o=document.getElementById(id);
	o.innerHTML+=o.innerHTML;
	o.onmouseover=function () {p=true;}
	o.onmouseout=function () {p=false;}
	o.scrollTop=0;
	function start() {
		t=setInterval(scrolling,speed);
		if(!p)o.scrollTop+=2;
	}
	function scrolling() {
		if(o.scrollTop%lh!=0) {
			o.scrollTop+=2;
			if(o.scrollTop>=o.scrollHeight/2)o.scrollTop=0;
		}else {
			clearInterval(t);
			setTimeout(start,delay);
		}
	}
	setTimeout(start,delay);
}

startmarquee(260,1,3000,'div4');
 
            </script>
        
		</div>
		<div class="rightbusiness">
			<div class="statistics">
				<h3>统计</h3>
				<ul>
					<li><span class="explain">今日订单金额(元)：</span><span class="statresult"><Hi:ClassShowOnDataLitl runat="server"  Id="lblTodayOrderAmout" /></span></li>
					<li><span class="explain">今日销售利润(元)：</span><span class="statresult"><Hi:ClassShowOnDataLitl runat="server"  Id="lblTodaySalesProfile" /></span></li>
					<li><span class="explain">今日新增会员：</span><span class="statresult"><Hi:ClassShowOnDataLitl runat="server"  DefaultText="0" Id="ltrTodayAddMemberNumber" /></span></li>
					<li><span class="explain">待发货订单：</span><span class="statresult"><Hi:ClassShowOnDataLitl runat="server"  DefaultText="0" Id="ltrWaitSendOrdersNumber" /></span></li>
					<li><span class="explain">会员预付款总额(元)：</span><span class="statresult"><Hi:ClassShowOnDataLitl runat="server"  DefaultText="￥0.00" Id="lblMembersBalanceTotal" /></span></li>
				</ul>
			</div>
		    <div class="blank12 clearfix"></div>	 
			<iframe id="link_hishop" width="229px" scrolling="no" frameborder="0" height="500px"  src="http://www.hishop.com.cn/efx01/hishopv6.html" />
		</div>
	  </div>
	  </div>

 

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="validateHolder" runat="server">
</asp:Content>

