<%@ page language="C#" autoeventwireup="true" inherits="shop_cart_Default1, s1.chapk.com" %>
<%@ Register Src="../control/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="../control/footer.ascx" TagName="footer" TagPrefix="uc2" %>

<!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>
    <title>我的购物车_<%=Application["title"]%></title>
    <link rel="stylesheet" type="text/css" href="../css/public.css" />    
    <link type="text/css" rel="stylesheet" href="../css/cart.css" /> 
    <script src="../js/jquery-1.2.6.pack.js" type="text/javascript"></script>
    <script src="../js/index.lib.js" type="text/javascript"></script>
    <script src="../js/nav.js" type="text/javascript"></script>    
</head>
<body>
<uc1:header ID="Header1" runat="server" />
    <div class="zuipin">
        <div class="cat_pro">
            <ul>
                <li class="current">1.我的购物车</li>
                <li>2.填写核对订单</li>
                <li>3.成功提交订单</li>
            </ul>
        </div>
        <div class="cart_items" id="shopping_cart_form_div">
            <table width="100%" border="0" cellspacing="1" cellpadding="0" id="shopping-cart-table">
                <tr>
                    <th width="11%">
                        商品图片
                    </th>
                    <th width="40%">
                        商品名称
                    </th>
                    <th width="9%">
                        商城价
                    </th>
                    <th width="9%">
                        会员价
                    </th>
                    <th width="9%">
                        数量
                    </th>
                    <th width="7%">
                        送积分
                    </th>
                    <th width="10%">
                        小计
                    </th>
                    <th width="5%">
                        操作
                    </th>
                </tr>
                <%=Pays%>
                <tr>
                    <td colspan="8" class="total">
                        <%=zMoney %>
                    </td>
                </tr>
            </table>
        </div>
        <ul class="checkout-types">
            <div class="cartbtn_box">
                <label class="left">
                    <a class="del" href="Operation.aspx?Type=3&Id=0">清空购物车</a></label>
                <label class="right">
                    <span><a href="/">
                        <img src="../images/go_shipping.jpg" alt="回首页" /></a></span> <span><a href="Confirmation.aspx">
                            <img src="../images/js-button.jpg" alt="结算" /></a></span>
                </label>
                <del></del>
            </div>
        </ul>
    </div>

        
<script type="text/javascript">
function RemoveCommodity(productid)
{
    location.href="Operation.aspx?Type=1&Id="+productid;
}

function AddCommodity(productid,psl)
{
    var sl=document.getElementById(psl).value;
    sl++;
    sl--;
    if(sl>0 && sl<9999)
        location.href="Operation.aspx?Type=2&Id="+productid+"&psl="+sl;
    else
        alert("数量输入有误。该值应该大于0小于9999");
}
</script>  
<uc2:footer ID="Footer1" runat="server" />
</body>
</html>
