<%@ page language="C#" autoeventwireup="true" inherits="AddCart, LebiMall" %>

<!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 id="Head1" runat="server">
<meta name="generator" content="LBMall 3.0.0" />
    <link href="images/css/fav.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="show" runat="server" class="cart_div">
        <form id="form1" runat="server">
            您的购物车有<%=ds.Tables[0].Rows[0][1] %>件商品，总计<%=ds.Tables[0].Rows[0][0] %>元<br />
            宝贝成功添加到购物车！
            <input type="button" value="查看购物车" onclick="new parent.dialog().reset();window.open('Cart.aspx');"/>
            <input type="button" value="继续挑选" onclick="new parent.dialog().reset();"/>
        </form>
    </div>
    <div id="message_div" runat="server" class="cart_div">
        您的购买产品数大于库存！<input type="button" value="继续挑选" onclick="new parent.dialog().reset();"/>
    </div>
    <div id="no_login" runat="server" class="cart_div">
        您还没有登录不能添加商品！<input type="button" value="请登录" onclick="new parent.dialog().reset();window.open('Login.aspx?uu=Detail.aspx?cid=<%=cid %>');"/>
    </div>
   
</body>
</html>
