<%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="GJ_P1.morder, GJ_YM" title="Untitled Page" maintainscrollpositiononpostback="true" enableeventvalidation="false" enableviewstatemac="false" %>
<%@ Register Src="~/control/dh.ascx" TagName="mydh" TagPrefix="dh" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script  language=javascript>
function jssc(cz,id)
{
document.getElementById("hid_cz").value=cz;
document.getElementById("hid_xz").value=id;
sendRequest('morderc.aspx');
}
</script>
<script language="javascript" src="js/db_m.js" ></script>
<style>
table {line-height:21px;}
table a:link {color:#000000;text-decoration:none;}
table a:visited {color:#000000;text-decoration:none;}
table a:hover{color:#FF3300;text-decoration:underline;background:#ffffff;}
table a:active {color:#FF3300;text-decoration:none;background:#ffffff;}
</style>
<input type="hidden" name="hid_xz" id="hid_xz" /><input type="hidden" name="hid_cz" id="hid_cz" />
<!--中间开始-->
<div class="gj_mid">
<div class="gj_mid_left">
<dh:mydh runat="server" id="Mydh1"/>
</div>

<div class="gj_mid_right">
<div class="gj_mid_right_dqwz"><li>您现在的位置：我的商城 > 订单中心 > 我的订单</li></div>
<div class="gj_clr"></div>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#ffffff;"><td >
<a href="morder.aspx">所有订单</a>  | <a href="morder.aspx?lb=0">交易关闭订单</a> | <a href="morder.aspx?lb=1">运行中订单</a> | <a href="morder.aspx?lb=2">交易成功订单</a>
<asp:TextBox ID="TextBox1" runat="server" Width="228px"></asp:TextBox>
<asp:Button ID="Button1"  runat="server" Text="搜索订单" OnClick="Button1_Click" />
</td></tr></table>

<asp:Repeater ID="Repeater1" runat="server"><HeaderTemplate>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2" >
<tr style="background-color:#f2f2f2;">
<td width="285px">商品</td><td width="65px">单价（元）</td><td >数量</td><td>实付款（元）</td><td>状态</td>
<td>操作</td></tr></HeaderTemplate><ItemTemplate>
<tr bgcolor="#FFFFFF" onMouseOver=sbyg('div<%#Eval("fv1") %>') onMouseOut=sbyk('div<%#Eval("fv1") %>') id="div<%#Eval("fv1") %>" style="cursor:hand;" >
<td align="left" colspan="3">
<div style="height:23px; border:#A62E2E 1px solid;margin-bottom:5px;"><span style="margin-bottom:5px;margin-top:5px; margin-left:5px; display:block;"><%#xz(Eval("fv1").ToString())%> 订单编号：<%#Eval("fv1").ToString()%> 下单时间：<%#Eval("fv16").ToString()%></span></div>

         <asp:Repeater ID="Repeater2" runat="server" DataSource='<%#Getsp(Eval("fv1").ToString()) %>'>
            <itemtemplate>
      <table ><tr> 
      <td width="55px"><img src="upload/sp/<%#Eval("fsxt") %>" width="50" height="50" border="1" /></td>
      <td width="240px" valign=top style="color:#325C86;"><a href="pshow.aspx?bh=<%#Eval("fsh") %>" target="_blank"><%#rsd(Eval("fsmc").ToString())%></a></td>
      <td width="55px" valign=top align=center><span style="color:red;font-weight:bold;font-family:Arial;font-size:14px;">￥<%#Eval("fsjg1") %></span>
      <br /><span style="text-decoration:line-through;color:Gray;">￥<%#Eval("fsjg2") %></span></td>
      <td valign=top align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%#Eval("fssl") %></td>
      </tr></table>
            </itemtemplate>
            </asp:Repeater>
</td>
<td valign=top>￥<%#Eval("fv12").ToString()%>
<br />（含运费：￥<%#Eval("fv11").ToString()%>）

</td>
<td valign=top> 
<%#zf(Eval("fv133").ToString(),Eval("fv1").ToString()) %><br />
<span id="wl<%#Eval("fv1") %>"><%#wl(Eval("fv15").ToString())%></span><br />
<%#wl2(Eval("fv17").ToString())%>
</td>
<td valign=top>
<span id="qd<%#Eval("fv1") %>"><%#ghxs2(Eval("fv1").ToString(), Eval("fv15").ToString())%></span>
<%#ghxs(Eval("fv1").ToString(), Eval("fv17").ToString())%>
<%#zf2(Eval("fv133").ToString(), Eval("fv1").ToString(), Eval("fv17").ToString())%>
[<a href="mordera.aspx?id=<%#Eval("fv1").ToString()%>">订单详情</a>]
<br />[<a href="morderw.aspx?id=<%#Eval("fv1").ToString()%>">订单留言</a><%#ss2(ss(Eval("fv1").ToString()))%>]
</td>
</tr>

  


</ItemTemplate><FooterTemplate></table></FooterTemplate></asp:Repeater>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#ffffff;"><td >
<asp:Label ID="nodate" runat="server" Text=""></asp:Label>
</td></tr></table>
<script>
function sjj(name) {
var checkboxs = document.getElementsByName(name);  
for (var i = 0; i < checkboxs.length; i++) {
var e = checkboxs[i];
e.checked = !e.checked;
}
}</script>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#f2f2f2;"><td >
<a href="javascript:;" onclick="sjj('sel');">全选反选</a> |
<a href="javascript:;" onclick="if(confirm('所选订单会一起取消，确定取消吗?')){xz('1');sendRequest('morderc.aspx');}">取消所选订单</a> |
<span id="PageInfo" runat="server"></span>

</td></tr></table>


</div></div>
</asp:Content>

