<%@ page language="C#" autoeventwireup="true" inherits="CodWindow, 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 runat="server">
    <title></title>
    <meta name="generator" content="LBMall 3.0.0" />
    <link href="images/css/cart.css" rel="stylesheet" type="text/css" />
    <style>
        a:link,a:visited {font-size:12px;color:#1A66B3;text-decoration:none;}
        a:hover {font-size:12px;color:#ff3300;text-decoration:underline;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="div_cart">
            <div class="div_cart_title">
                <div style="margin-top: 10px; margin-left: 10px; font-size: 14px; font-weight: bold;
                    color: #404040">
                    你有<%=ds.Tables[1].Rows.Count %>个宝贝不支持货到付款结算方式</div>
                <div style="margin-top: 10px; margin-left: 10px;">
                    <input type="button" value="确定" runat="server" id="Button1" onserverclick="Button1_ServerClick" />&nbsp;&nbsp;&nbsp;&nbsp;<a
                        href="#" onclick="new parent.dialog().reset();">返回购物车</a></div>
            </div>
            <div>
                <table cellpadding="0" cellspacing="0" class="table_t">
                    <tr>
                        <td class="c_td22" align="center">
                            店铺商品
                        </td>
                        <td class="c_td32" align="center">
                            单价（元）
                        </td>
                        <td class="c_td42" align="center">
                            数量
                        </td>
                        <td class="c_td52" align="center">
                            小计
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0">
                    <% for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                       {%>
                    <tr>
                        <td colspan="4" class="c_tdt2" valign="bottom">
                            店铺：<a href="<%=getYm(ds.Tables[0].Rows[i]["id"].ToString(),ds.Tables[0].Rows[i]["syuming"].ToString()) %>" target="_blank"><%=ds.Tables[0].Rows[i]["sname"] %></a>&nbsp&nbsp&nbsp卖家：
                                <%=ds.Tables[0].Rows[i]["uname"]%>
                        </td>
                    </tr>
                    <% for (int j = 0; j < ds.Tables[1].Rows.Count; j++)
                       {
                           if (ds.Tables[0].Rows[i]["id"].ToString() == ds.Tables[1].Rows[j]["cshop_id"].ToString())
                           {%>
                    <tr class="trc">
                        <td class="c_td2_l">
                            <div style="float: left">
                                <a href='Detail.aspx?cid=<%=ds.Tables[1].Rows[j]["id"] %>' target="_blank">
                                    <img src="Upload/commodity/<%=ds.Tables[1].Rows[j]["cmin_img"]%>" width="50px" style="border: 0;" /></a></div>
                            <div style="margin-left: 10px; float: left">
                                <a href='Detail.aspx?cid=<%=ds.Tables[1].Rows[j]["id"] %>' target="_blank">
                                    <%=ds.Tables[1].Rows[j]["cname"]%>
                                </a>
                            </div>
                        </td>
                        <td class="c_td3_l" align="center">
                            <%=ds.Tables[1].Rows[j]["cprice"]%>
                        </td>
                        <td class="c_td4_l" align="center">
                            <%= ds.Tables[1].Rows[j]["cnum"]%>
                        </td>
                        <td class="c_td5_l2" align="center">
                            <%=ds.Tables[1].Rows[j]["sumprice"] %>
                        </td>
                    </tr>
                    <%}
                  }
              }%>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
