<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Cart.aspx.cs" Inherits="Mall.Cart.Cart" %>
<%@ Register Src="/usercontrol/Top.ascx" TagName="uchead" TagPrefix="headuc" %>
<%@ Register Src="/usercontrol/Footer.ascx" TagName="ucfooter" TagPrefix="footeruc" %>
 <%
     
 
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD 
id=ctl00_Head1><TITLE>购物车-MCShop 微维网上商城系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK media=screen href="/content/images/mkl/global.css" type=text/css rel=stylesheet>
<SCRIPT src="/content/images/mkl/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<LINK media=screen href="/content/images/mkl/shopc2.css" type=text/css rel=stylesheet>
<LINK media=screen href="/content/images/mkl/mo.css" type=text/css rel=stylesheet>
<STYLE type=text/css>.jclose {
	Z-INDEX: 5; BACKGROUND: #fff; FILTER: alpha(opacity=0); WIDTH: 100%; HEIGHT: 100%; opacity: 0
}
.mask {
	DISPLAY: none; Z-INDEX: 10; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%
}
DIV.zp_text_red_size {
	HEIGHT: auto
}
</STYLE>
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY>
<headuc:uchead ID="headuc" runat="server" />
<DIV>
<DIV class=" m18_body">
<DIV id=shopc_msg>
<UL>
  <LI id=msg_margin><IMG height=28 src="/content/images/mkl/text_i_shoppingcart.gif" 
  width=83> </LI>
  <LI class=msn_lineheight><IMG height=23 hspace=10 
  src="/content/images/mkl/ico_stars.gif" width=23 align=absMiddle> 
 </LI></UL></DIV>
<DIV class=list_big_body>
<DIV id=shopc_list_title>
<UL>
  <LI class=title_width1> </LI>
  <LI class=title_width2>  </LI>
  <LI class=title_width2> </LI>
    <LI class=title_width2> </LI>
  <LI class=title_width2> </LI>
</UL></DIV><form action="/cart/cartMod.aspx" method="POST" name="check">
<TABLE class=vi_inf_color id=TableOrderLine cellSpacing=0 cellPadding=0 
width="100%" border=0>
  <!--DWLayoutTable-->
  <TBODY>
 
<%
    int buypontc = 0;
    int buyPricec = 0;
    for (int i = 0; i < plists.Count; i++)
    {
        MODEL.MModelProductListHelper model = plists[i];
        MODEL.MProduct model_priduct = model.Model_product;
        decimal BuyPrice =  model_priduct.Price * model.CountBuy;
        buypontc = Convert.ToInt32(BuyPrice) + buypontc;
        BuyPrice = Convert.ToInt32(model_priduct.Point*model.CountBuy) + BuyPrice;
            
      
           
      
      %>                 
<TR align="left">
    <TD  style="BORDER-BOTTOM: #999 1px dashed;" width="150"  align="left"><A 
      href='/views.aspx?ProductId=<%=model.Priductid.ToString()%>' target=_blank><IMG  
      src="<%=model_priduct.Img_Logo==null?"":model_priduct.Img_Logo.ToString() %>" width=70></A></TD>
    <TD class=vi_inf style="BORDER-BOTTOM: #999 1px dashed" align="left" width="200"><SPAN 
      class=vi_inf_h1_color><input type="hidden" name="ProdId" value="0130"> 
                      <a href='/views.aspx?ProductId=<%=model.Priductid.ToString()%>'><%=model_priduct.ProductName==null?"":model_priduct.ProductName.ToString()%></a><SPAN>
					 
					  <p style="font-size:12px">颜色：<%=model.Cima %></p>
					  <p style="font-size:12px">尺码:<%=model.Yanse%>'</p>
     <br><a href=/cart/cartdel.aspx?id=<%=model.Priductid.ToString()%>>删除</a></SPAN></TD>
    <TD style="BORDER-BOTTOM: #999 1px dashed" align=middle 
width=120><%=model_priduct.Price.ToString()%></TD>   
    <TD style="BORDER-BOTTOM: #999 1px dashed" align=middle width=120>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=bottom align=middle height=40>
            <DIV><%=model.CountBuy.ToString() %></DIV></TD></TR>
        <TR>
          <TD id=tdErrorInfo12 style="COLOR: #f30" align=middle 
        height=22></TD></TR></TBODY></TABLE></TD>
 <TD style="BORDER-BOTTOM: #999 1px dashed" align=middle width=120></TD>
    <TD style="BORDER-BOTTOM: #999 1px dashed" align=middle width=120><SPAN 
      id=spanAmount12 style="COLOR: #f00"> <%=(model_priduct.Price * model.CountBuy).ToString()%></SPAN></TD></TR>
<%} %>			 
				  
 
 
 </TBODY></TABLE> <input type="hidden" name="edit" value="ok"></form>
</DIV>
<DIV id=count_all>
<UL>
  <LI>总获得积分:<SPAN id=Point><%= buyPricec%></SPAN>分 </LI>
   <LI>总价:<SPAN id=ItemAmount style="FONT-SIZE: 16px"><%= buypontc%></SPAN>元 
</LI></UL></DIV>
<TABLE class=tiptable cellSpacing=0 cellPadding=0>
  <TBODY>
  <TR>
    <TD class=t1>
      <DIV class=check_coupon id=NoProgramId 
      style="DISPLAY: none">如果您有收到优惠代码,请输入 <INPUT id=ProgramId> <A 
      onclick=myCart.CheckProgram() href="javascript:void(0)"><IMG height=32 
      src="/content/images/mkl/bt_yanzheng.gif" width=49 align=middle></A> </DIV>
      <DIV class=check_coupon id=hasProgramId style="DISPLAY: none">您好，您获得<SPAN 
      id=programDescription></SPAN>优惠，欢迎继续购物 <A class=t1a 
      onclick=myCart.ClearProgram() href="javascript:void(0)">取消</A> </DIV></TD>
    <TD class="t2 hl">
      <DIV id=SettleErrorInfo></DIV></TD>
    <TD class=t3><A id=checkout 
      href="/order/Order_Address.aspx"><IMG height=36 src="/content/images/mkl/bt_buy.gif" 
      width=105></A> </TD></TR></TBODY></TABLE>
<DIV id=goon_buy><A onclick='window.location.href=""' 
href="/"><IMG height=30 hspace=8 
src="/content/images/mkl/bt_go_on_1.gif" width=108></A></DIV><!-- 缺货 赠品  开始 -->
<DIV id=SkuOosGift style="DISPLAY: none">
<TABLE class="no-goodslist no-goodscart">
  <CAPTION>以下赠品已领完 </CAPTION>
  <THEAD>
  <TR>
    <TH class=w2>商品/商品号</TH>
    <TH class=w3></TH>
    <TH>单价</TH>
    <TH>数量</TH>
    <TH>花费积分</TH>
    <TH>小计</TH></TR></THEAD>
  <TBODY id=SkuOosGiftLine></TBODY></TABLE></DIV><!-- 缺货 赠品  结束 --><!-- 赠品 列表  开始 -->
<DIV class="zengpin bor1 clearfix" id=MyGiftList></DIV><!-- 赠品 列表 结束  -->
<TABLE class=tips id=spanKitDetail style="FLOAT: left; POSITION: absolute">
  <TBODY></TBODY></TABLE>
<DIV id=login-pop style="DISPLAY: none">
<DIV class=mask></DIV>
<DIV class=overlay></DIV>
<DIV class=overlaymain>
<H2>金卡会员登录后享受免运费</H2>
<UL class=clew>
  <LI>普通客户购物满180元免运费 
  <LI>金卡会员购物满100元即可免运费 
  <LI>钻石卡会员运费全免(EMS和第三方收货除外) </LI></UL><FORM method="post" action="">
<FIELDSET><LEGEND>用户登录</LEGEND>
<DIV><LABEL for=username>用户名：</LABEL> <INPUT class=text id=txtUserId name=""> 
</DIV>
<DIV><LABEL for=password>密&nbsp;&nbsp;&nbsp;&nbsp;码：</LABEL> <INPUT class=text 
id=txtPassword type=password> </DIV></FIELDSET> 
<DIV class=handle><INPUT onClick="myCart.Login();return false;" type=submit value=登录> 
<A 
href="http://www.m18.com/Contact/ContactGetPwdByMail.aspx">忘记密码？</A></DIV></FORM><A 
class=close onclick=myCart.CancelLogin() href="javascript:void(0)">关闭</A> 
</DIV></DIV></DIV>
<DIV class=clearboth></DIV><!-- 结账 弹出框 开始-->
<DIV class=no-goods id=gifts style="DISPLAY: none">
<DIV class=title>结帐提醒</DIV>
<P class=errormessage>很抱歉，您选择的以下赠品无法领取，请返回购物车修改或放弃赠品直接结帐。</P>
<DIV class="btn-gif clearfix"><A class=btn-gobuy 
onclick=myCart.CancelNewSettle() 
href="javascript:void(0)"><SPAN>返回购物车</SPAN></A><A class=btn-abandon 
href="http://www.m18.com/order/OrderShopDeleteGift.aspx"><SPAN>放弃赠品，直接结账</SPAN></A></DIV>
<TABLE class=no-goodslist>
  <CAPTION>无法领取赠品清单： </CAPTION>
  <THEAD>
  <TR>
    <TH class=w1>商品/商品号</TH>
    <TH class=w2>&nbsp;</TH>
    <TH class=tc>单价</TH></TR></THEAD>
  <TBODY id=giftserror></TBODY></TABLE><A class=close 
onclick=myCart.CancelNewSettle() href="javascript:void(0)">关闭</A> </DIV><!-- 结账 弹出框 结束--><!-- 结账 缺货 弹出框 开始-->
<DIV class=no-goods id=StockFailed style="DISPLAY: none">
<DIV class=title>结帐提醒</DIV>
<P class=errormessage>亲，以下商品刚刚售完，下次动作要快一点哦！系统已为您在购物车删除这些商品。</P>
<TABLE class=no-goodslist>
  <THEAD>
  <TR>
    <TH class=w1>商品/商品号</TH>
    <TH class=w2>订购数量</TH>
    <TH class=tc>单价</TH></TR></THEAD>
  <TBODY id=oosproduct></TBODY></TABLE>
<DIV class="btn-gif clearfix" id=btn-gobuy><A class=btn-gobuy 
onclick=myCart.DeleteStockFailed() 
href="javascript:void(0)"><SPAN>返回购物车</SPAN></A></DIV><A class=close 
onclick=myCart.CancelNewSettle() href="javascript:void(0)">关闭</A> </DIV><!-- 结账 缺货 弹出框 结束-->
 
</DIV>
<footeruc:ucfooter ID="footeruc" runat="server" />
</BODY></HTML>


