<%@ page language="VB" autoeventwireup="false" inherits="qiye_user_user_dindantext, App_Web_user_dindantext.aspx.6cc23264" %>
<link href="../web_css/string.css" rel="stylesheet" type="text/css" />
<link href="../web_css/textbox.css" rel="stylesheet" type="text/css" />
<script src="../web_js/intjs.js" type="text/javascript"></script>
<title>订单详情 </title>

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 2px;
	margin-bottom: 2px;
}
.mygoods_img_div {
	height: auto;
	width: 216px;
	float: left;
	margin-left: 0px;
}
-->
</style>
<form name="form1" id="form1" runat="server">
<table width="880" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="0" cellspacing="1">
      <tr>
        <td height="30" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="4" align="center">
              <table width="100%" border="0" cellspacing="1" cellpadding="0">
                <tr>
                  <td height="23"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                  <tr>
                      <td><span class="string_14_bold"><asp:Label 
                                ID="goods_ts" runat="server"></asp:Label></span></td>
                    </tr>
                    <%If  userdd_dt.Rows(0).Item("dd_cp_id") = "trolleys" Then%>
                    <tr>
                      <td bgcolor="#CACACA"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                        <tr>
                          <td width="12%" height="25" align="center" bgcolor="#EFEFEF" class="string_12">图片</td>
                          <td width="36%" align="center" bgcolor="#EFEFEF" class="string_12">商品名称</td>
                          <td width="30%" align="center" bgcolor="#EFEFEF" class="string_12"><span class="string_12_666666">商品货号</span></td>
                          <td width="10%" align="center" bgcolor="#EFEFEF" class="string_12">单价</td>
                          <td width="12%" align="center" bgcolor="#EFEFEF" class="string_12">数量</td>
                          </tr>
                        <%
                                            For i = 0 To shop_trolley.Length - 1
                                                Try
                                                    
                                                
                                                    Dim shop_trolleys() As String = shop_trolley(i).Split("|")
                                                    Dim cp_jg As Object
                                                    If ubb.tables("select cp_tj from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_tj") = "False" Then
                                                        cp_jg = ubb.user_shop_jg(ubb.tables("select cp_jg from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_jg"), "False", ubb.tables("select cp_vipdz from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_vipdz"))
                                                    Else
                                                        cp_jg = ubb.tables("select cp_tjjg from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_tjjg")
                                                    End If
              %>
                        <tr>
                          <td width="12%" bgcolor="#FFFFFF" align="center"><img src="<%=ubb.url%>file_shopimages/sl/<%=ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_image")%>" height="60" /></td>
                          <td align="center" bgcolor="#FFFFFF" class="string_12" ><%=ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_name")%></td>
                          <td align="center" bgcolor="#FFFFFF" class="string_12" ><%=ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_hh")%></td>
                          <td align="center" bgcolor="#FFFFFF" class="string_12_FF0000" ><span class="hongse12"><%=cp_jg%></span></td>
                          <td align="center" bgcolor="#FFFFFF" class="string_12_0000ff"><%=shop_trolleys(1)%></td>
                          </tr>
                        <%
                                        Catch ex As Exception
                                        End Try
                                        Next%>
                        </table></td>
                      </tr>
                    <tr>
                      <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                            <tr>
                              <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                <tr>
                                  <td width="19%" height="30" align="center" bgcolor="#F6F6F6" class="string_12">宝贝小计：</td>
                                  <td width="31%" class="string_12"> 　
                                    <asp:Label ID="dd_cp_jg2" runat="server"></asp:Label>
                                    元</td>
                                  <td width="19%" align="center" bgcolor="#F6F6F6" class="string_12">订单数量：</td>
                                  <td width="31%" class="string_12">　
                                    <asp:Label ID="dd_sl2" runat="server"></asp:Label>
                                    </td>
                                  </tr>
                                <tr>
                                  <td height="30" align="center" bgcolor="#F6F6F6" class="string_12">货运费用：</td>
                                  <td class="string_12"> 　
                                    <asp:Label ID="dd_cp_yf2" runat="server"></asp:Label>
                                    元</td>
                                  <td align="center" bgcolor="#F6F6F6" class="string_12">需要支付：</td>
                                  <td class="string_12_FF0000">　
                                    <asp:Label CssClass="string_14_FF0000_bold" ID="dd_cp_hj2" runat="server"></asp:Label>
                                    元</td>
                                  </tr>
                                </table></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                    <%Else%>
                    <tr>
                      <td bgcolor="#E4E4E4"><table width="100%" border="0" cellspacing="2" cellpadding="0">
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E8E8E8">
                                <tr>
                                  <td width="19%" align="right" bgcolor="#F3F3F3" class="string_12">订单编号：&nbsp;</td>
                                  <td width="46%" height="25"><span class="chengse14"> 　<strong><asp:Label ID="dd_uid" runat="server" CssClass="string_12_ff4e00_bold"></asp:Label>
                                    </strong></span>
                                      <asp:TextBox ID="dd_cp_id" runat="server" CssClass="text1x1" Enabled="False" Visible="False"></asp:TextBox>
                                      </td>
                                  <td width="35%" rowspan="7" align="center"><asp:Image ID="dd_img" runat="server" /></td>
                                  </tr>
                                <tr>
                                  <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">产品名称：&nbsp;</td>
                                  <td height="25" class="string_12">　
                                    <asp:Label ID="dd_name" runat="server"></asp:Label>
                                    </td>
                                  </tr>
                                <tr>
                                  <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">产品货号：&nbsp;</td>
                                  <td height="25" class="string_12">　
                                    <asp:Label ID="dd_hh" runat="server"></asp:Label>
                                    </td>
                                  </tr>
                                <tr>
                                  <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">产品数量：&nbsp;</td>
                                  <td height="25" class="string_12">　
                                  <asp:TextBox ID="dd_sl" runat="server" CssClass="heisexiahuaxiantext" 
                                            Width="50px" AutoPostBack="True" Enabled="False" onkeydown="intjs()"></asp:TextBox>
                                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="string_12_999999">←直接输入修改订购数量</span></td>
                                  </tr>
                                <tr>
                                  <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">产品价格：&nbsp;</td>
                                  <td height="30" class="string_12">　
                                    <asp:Label ID="dd_cp_jg" runat="server"></asp:Label>
                                    元</td>
                                  </tr>
                                <tr>
                                  <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">运　　费：&nbsp;</td>
                                  <td height="25" class="string_12">　
                                    <asp:Label ID="dd_cp_yf" runat="server"></asp:Label>
                                    元</td>
                                  </tr>
                                <tr>
                                  <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">需要支付：&nbsp;</td>
                                  <td height="25" class="string_12_FF0000">　
                                    <asp:Label CssClass="string_14_FF0000_bold" ID="dd_cp_hj" runat="server"></asp:Label>
                                    元</td>
                                  </tr>
                                </table></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                    <%End If%>
                    </table>
                    <table width="100%" border="0" cellspacing="5" cellpadding="0">
                      <tr>
                        <td><span class="string_14_bold">&nbsp;卖家信息</span><span class="string_12_FF0000">（务必填写真实有效信息）</span></td>
                        </tr>
                      <tr>
                        <td bgcolor="#E4E4E4"><table width="100%" border="0" cellspacing="2" cellpadding="0">
                          <tr>
                            <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                              <tr>
                                <td bgcolor="#FFFFFF"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E8E8E8">
                                  <tr>
                                    <td width="19%" height="25" align="right" bgcolor="#F3F3F3" class="string_12">会员名称：&nbsp;</td>
                                    <td width="31%"><span class="hongse12">
                                      <asp:TextBox ID="dd_xm" runat="server" CssClass="text_autox22_cccccc" 
                                                          Enabled="False" Width="150px"></asp:TextBox>
                                      </span><span class="string_12_FF0000">*</span></td>
                                    <td width="19%" align="center" bgcolor="#F3F3F3"><span class="string_12">收货人姓名：&nbsp;</span></td>
                                    <td width="31%"><span class="hongse12">
                                      <asp:TextBox ID="dd_sgname" runat="server" CssClass="text_autox22_cccccc" 
                                            Width="150px" ></asp:TextBox>
                                      </span></td>
                                    </tr>
                                  <tr>
                                    <td height="25" align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">联系电话：&nbsp;</span></td>
                                    <td><span class="hongse12">
                                      <asp:TextBox ID="dd_dh" runat="server" CssClass="text_autox22_cccccc" 
                                            Width="150px"></asp:TextBox>
                                      </span><span class="string_12_FF0000">*</span></td>
                                    <td align="center" bgcolor="#F3F3F3"><span class="string_12"><span class="wuse12">QQ 或MSN：&nbsp;</span></span></td>
                                    <td><span class="hongse12">
                                      <asp:TextBox ID="dd_qq" runat="server" CssClass="text_autox22_cccccc" 
                                            Width="200px"></asp:TextBox>
                                      </span></td>
                                    </tr>
                                  <tr>
                                    <td height="25" align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">邮政编码：&nbsp;</span></td>
                                    <td><span class="hongse12">
                                      <asp:TextBox ID="dd_yp" runat="server" CssClass="text_autox22_cccccc" 
                                            Width="50px"></asp:TextBox>
                                      </span></td>
                                    <td align="center" bgcolor="#F3F3F3"><span class="string_12"><span class="wuse12">电子邮件：&nbsp;</span></span></td>
                                    <td><span class="hongse12">
                                      <asp:TextBox ID="dd_email" runat="server" CssClass="text_autox22_cccccc" 
                                            Width="250px"></asp:TextBox>
                                      </span></td>
                                    </tr>
                                  <tr>
                                    <td height="25" align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">地址：&nbsp;</span></td>
                                    <td colspan="3"><span class="hongse12">
                                      <asp:TextBox ID="dd_dz" runat="server" CssClass="text_autox22_cccccc" 
                                            Width="500px"></asp:TextBox>
                                      </span><span class="string_12_FF0000"> *</span></td>
                                    </tr>
                                  <tr>
                                    <td align="right" bgcolor="#F3F3F3" class="string_12"><span class="wuse12">备注：&nbsp;</span></td>
                                    <td colspan="3">
                                        <asp:TextBox ID="dd_nr" runat="server" TextMode="MultiLine" 
                                                          CssClass="text_autox22_cccccc" Height="70px" Width="100%" ></asp:TextBox></td>
                                    </tr>
                                  </table></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table>
                      <%If user_goods_tb.Rows.Count > 0 Then%>
                      <table width="100%" border="0" cellspacing="5" cellpadding="0">
                      <tr>
                        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><span class="string_14_bold">&nbsp;我的物品 </span><span class="string_12_FF0000">
                              <input name="user_goods" type="radio" id="user_goods" value="notusegoods" checked="checked" />
不使用物品</span></td>
                              <td align="right">
                                  <asp:Button ID="use_goods_ok" runat="server" 
                                      Text="使用选中物品" CssClass="text_a2d0e5_f5fbff" Height="17px" /></td>
                            </tr>
                          </table></td>
  </tr>
                      <tr>
                        <td bgcolor="#ffffff">
                        <asp:Repeater ID="repeater_user_goods" runat="server">
                          <ItemTemplate>
                          <div class="mygoods_img_div">
                  <table border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="8"><img src="user_image/img_i1.gif" width="8" height="8"></td>
                        <td background="user_image/img_i2.gif"><img src="user_image/img_i2.gif" width="8" height="8"></td>
                        <td width="8"><img src="user_image/img_i3.gif" width="8" height="8"></td>
                        </tr>
                      <tr>
                        <td background="user_image/img_i8.gif"><img src="user_image/img_i8.gif" width="8" height="8"></td>
                        <td><a href="../file_document/50y1.JPg" target="_blank">
                        </a>
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="68%" height="18" valign="top" class="string_12_666666"><%# Eval("g_name")%></td>
                              <td width="32%" align="right" valign="top" class="string_12_666666">No.：<%#Eval("g_id")%></td>
                            </tr>
                            <tr>
                              <td height="22" colspan="2" class="string_12_666666"><img src="<%#Eval("g_img_url")%>" width="200" height="102" border="0"/></td>
                              </tr>
                            <tr>
                              <td height="18" colspan="2" valign="bottom" class="string_12_666666"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="string_12_666666">
                                  <tr>
                                    <td>有效至：<%# Eval("g_effective_time")%></td>
                                    <td width="15"><input type="radio" name="user_goods" id="user_goods" value="<%#Eval("g_id")%>" /></td>
                                    <td width="60">选中该物品</td>
                                  </tr>
                                </table></td>
                            </tr>
                            </table></td>
                        <td background="user_image/img_i4.gif"><img src="user_image/img_i4.gif" width="8" height="8"></td>
                        </tr>
                      <tr>
                        <td><img src="user_image/img_i7.gif" width="8" height="8"></td>
                        <td background="user_image/img_i6.gif"><img src="user_image/img_i6.gif" width="8" height="8"></td>
                        <td><img src="user_image/img_i5.gif" width="8" height="8"></td>
                        </tr>
                      </table>
                </div>
                </ItemTemplate>
                  </asp:Repeater>
                     </td>
                        </tr>
                      </table>
                      <%End If%>
                      <% 
                          '0：全部支持
                          '1：支付宝
                          '2：财付通
                          '3：货到付款
                          '4：红币支付
                          
                          If ubb.xml_tables("red_parrot.xml", "parrot_zhifu") = "True" Then
                              If payPlatform_sing <> "" Then%>
                    <table width="100%" border="0" cellspacing="5" cellpadding="0">
                      <tr>
                        <td><span class="string_14_bold">&nbsp;支付方式  </span><span class="string_12_FF0000">(全面支持支付宝担保交易)</span></td>
                        </tr>
                      <tr>
                        <td bgcolor="#E4E4E4"><table width="100%" border="0" cellspacing="2" cellpadding="0">
                          <tr>
                            <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                              <tr>
                                <td align="center" bgcolor="#FFFFFF"><table width="0" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                       <%
                               If ubb.tables("select pz_tb_name from wn_pz").rows(0).item("pz_tb_name") <> "" Then
                                       If payPlatform_sing.Contains("zfb") = True Or dd_fkfs_select = "0" Or dd_fkfs_select = "1" Then
                                           %>
                                    <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td><input name="fkfs" type="radio"  value="alipay" <%if dd_fkfs_sing="支付宝" then %>checked="checked"<%end if%> /></td>
                                        <td><img src="user_image/img-alipay.GIF" width="103" height="38"/></td>
                                      </tr>
                                    </table></td>
                                     <% 
                                 End If
                             End If
                             If payPlatform_sing.Contains("hdf") = True Or dd_fkfs_select = "0" Or dd_fkfs_select = "3" Then
                                     %>
                                    <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td><input name="fkfs" type="radio"  value="noweb" <%if dd_fkfs_sing="货到付" then %>checked="checked"<%end if%> /></td>
                                        <td><img src="user_image/img-not.GIF" width="103" height="38" /></td>
                                      </tr>
                                    </table></td>
                                     <% 
                                     End If
                                    
                                     If payPlatform_sing.Contains("redb") = True Or dd_fkfs_select = "0" Or dd_fkfs_select = "4" Then
                                     %>
                                    <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td><input name="fkfs" type="radio"  value="redb" <%if dd_fkfs_sing="未支付" or dd_fkfs_sing="红币支付" then %>checked="checked"<%end if%> /></td>
                                        <td><img src="user_image/img-redb.GIF" width="103" height="38" /></td>
                                      </tr>
                                    </table></td>
                                    <%
                                    
                                End If%>
                                  </tr>
                                </table></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table>
                        
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="35" align="center">
                            <asp:Button ID="add_dd_ok" runat="server" Text="  已确认订单，并立即支付  " 
                                        CssClass="text_a2d0e5_f5fbff" Enabled="False" Visible="False" />
                                        <asp:Button ID="add_qr_ok" runat="server" Text="  确认收货，完成此次交易  " 
                                        CssClass="text_a2d0e5_f5fbff" Enabled="False" Visible="False" />
                                        </td>
                        </tr>
                      </table>
                       <%
                       End If
                   End If%></td>
                  </tr>
                </table>
                </td>
            </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>