<%@ Control Language="C#" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Components" Assembly="Hishop.Web.Components" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Tags" Assembly="Hishop.Web.Tags" %>
<table cellspacing="0" cellpadding="0">
<tr>
    <td style="padding-right:10px;">       
        <Hishop:Common_CurrentUser runat="server" ID="lblCurrentUser" />
         <span class="login_logout">[<Hishop:Common_Link_MyAccount ID="linkMyAccount" runat="server" /><Hishop:Common_Link_CreateUser ID="Common_Link_CreateUser1" Text="注册" runat="server" /> 
         <Hishop:Common_Link_Login ID="Common_Link_Login1" runat="server" />] </span>
          <Hishop:Common_Link_OpenId ID="Common_Link_OpenId1"  runat="server"  />
     </td>
    <td style="padding-right:10px;">
        <span class="allpro">
            <a href="javascript:GoToShoppingCart();">
                购物车共计商品 <span class="color_red1"><Hishop:Common_ShoppingCart_ProductNum ID="Common_ShoppingCart_ProductNum1" runat="server" /></span> 件
                <span class="allmoney">合计 <span class="color_red1"><Hishop:Common_ShoppingCart_Money ID="Common_ShoppingCart_Money1" runat="server" /></span></span>
            </a>
        </span>
    </td>
</tr>
</table>

<script language="javascript" type="text/javascript">
    function GoToShoppingCart() {
        var cartForm = window.open(applicationPath + "/ShoppingCart.aspx", "ShoppingCart");
        if (cartForm != null && !cartForm.closed) cartForm.focus();
    }
</script>