<%@ Page language="c#" Codebehind="frmSmallCart.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.frmSmallCart" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
  <head>
    <title>frmSmallCart</title>
    <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
		<script type="text/javascript">
			function DispCart()
			{
				var o = parent.document.getElementById("smallCart");
				if (o){
					var s = document.body.innerHTML;
					s = s.replace(/\t/,"");
					o.innerHTML= s;
				}else{
				}
			}
		</script>
		<style type="text/css">
<!--
body {
	margin: 0px; text-align:left
}
-->
</style>
	</head>
	<body onLoad="DispCart();">
		<form id="Form1" method="post" runat="server">
		    <% if( int.Parse(GetTotalQuantity()) > 0){ %>
				<a href="<%=webSite %>cart.<%=config.html%>" style="text-decoration:none;">购物车<span name="sQuantity" id="sQuantity" style="color:#2173fb; padding:0px 2px;"><%=GetTotalQuantity()%></span>件 </a>
			<%}else{ %>
			    购物车<span name="sQuantity" id="Span1" style="color:#2173fb; padding:0px 2px;"><%=GetTotalQuantity()%></span>件
			<%} %>
				<%--<%=GetResourceString("ShoppingCartTotalPrice")%>:<span id="sTotal"><%=GetTotal()%></span>--%>
     </form>
  </body>
</html>
