<%@ page language="C#" autoeventwireup="true" inherits="VipUser_bought_commodity, App_Web_md9idv7a" %>

<%@ Register Assembly="Standny.WebControls" Namespace="Standny.WebControls" TagPrefix="Standny" %>
<%@ Register Src="Top_vip.ascx" TagName="Top_vip" TagPrefix="uc" %>
<%@ Register Src="Foot_vip.ascx" TagName="Foot_vip" TagPrefix="uc" %>
<%@ Register Src="Left_vip.ascx" TagName="Left_vip" TagPrefix="uc" %>
  

<!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 id="Head1" runat="server">
<title>已购买的商品-会员管理中心-<%=SetUrl() %></title>
    <style type="text/css">
 .s{
	background-color: #FEFAD8;
	color:#ffffff;
	

}
#side_main li.LiClose{background:url(../Skin/skin5/images/my_left_close.gif) no-repeat 10px 8px;cursor:hand}
#side_main li.LiClose a:hover{background:#fff url(my_left_close.gif) no-repeat 10px 8px;text-decoration:none}
</style>
<script language="javascript" type="text/javascript" src="../include/JScript.js"></script>
<script language="javascript" type="text/javascript">
function datadel()
{
if(isdel())
{
document.getElementById('del').value='del';
}
}

function dd()
{
    document.getElementById("boughtCommodityItem").style.display="";
    document.getElementById("boughtCommodityItem").className="UlList";
    
}
</script>

</head>

<body onload="dd()">
 <uc:Top_vip ID="top_vip1" runat=server />
    <form id="formsp" name="formsp" method="post" runat="server">
   
    
<table class=user_table align=center>
  <tr>
    <td id=myLeft valign=top>
	<uc:Left_vip ID="left_vip2" runat=server />
	</td>
	 <TD width=5>&nbsp;</TD>
<TD vAlign=top align=left>
      <DIV class=divMenu>
      <DIV class=DivMain>已购买的商品</DIV></DIV>
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tdMain">
          <tr>
            <td class="tdLeft" >成交时间：</td>
            <td colspan="3" class="tdSide" >
            <%=fr_year()%>
              年
              <select name="fr_month">
                <option value="0" selected="selected">不限</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
              </select>
              月
              <select name="fr_day">
                <option value="0" selected="selected">不限</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
                <option value="16">16</option>
                <option value="17">17</option>
                <option value="18">18</option>
                <option value="19">19</option>
                <option value="20">20</option>
                <option value="21">21</option>
                <option value="22">22</option>
                <option value="23">23</option>
                <option value="24">24</option>
                <option value="25">25</option>
                <option value="26">26</option>
                <option value="27">27</option>
                <option value="28">28</option>
                <option value="29">29</option>
                <option value="30">30</option>
                <option value="31">31</option>
              </select>
              日 到
            <%=fr_year2()%>
              年
              <select name="to_month">
                <option value="0" selected="selected">不限</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
              </select>
              月
              <select name="to_day">
                <option value="0" selected="selected">不限</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
                <option value="16">16</option>
                <option value="17">17</option>
                <option value="18">18</option>
                <option value="19">19</option>
                <option value="20">20</option>
                <option value="21">21</option>
                <option value="22">22</option>
                <option value="23">23</option>
                <option value="24">24</option>
                <option value="25">25</option>
                <option value="26">26</option>
                <option value="27">27</option>
                <option value="28">28</option>
                <option value="29">29</option>
                <option value="30">30</option>
                <option value="31">31</option>
              </select>
              日 </td>
          </tr>
          <tr>
            <td class="tdLeft"> 商品名称： </td>
            <td class="tdSide">
			<input name="sTitle" type="text" size="18" value="" onkeydown="if(event.keyCode==13) return doSearch();" />
		    </td>
            <td class="tdLeft bdLeft">交易状态： </td>
            <td class="tdSide">
            <select name="start">
                <option value="0" selected="selected">全部</option>
                <option value="1">等待买家付款的订单</option>
                <option value="2">等待卖家发货的订单</option>
                <option value="3">等待买家确认收货的订单</option>
				<option value="4">买家有退款或退货的订单</option>
				<option value="5">交易完成的订单</option>
				<option value="6">交易关闭的订单</option>
              </select>
                <asp:Button ID="Button2" runat="server" Text=" 查询 " OnClick="Button2_Click1" />
              
          </tr>
        </table>

      <br>
      
      <asp:DataGrid ID="dg1"  BorderStyle="dashed"  runat="server" CellPadding="0" CellSpacing="0"  Width="100%"  AutoGenerateColumns="false">
               
                   <HeaderStyle Height="25px" BackColor="#F4F4F4"  HorizontalAlign="Center"  CssClass="F"  />
                  
                 <ItemStyle BackColor="White" Height="25px" HorizontalAlign="Center" />
                   <Columns>
               <asp:TemplateColumn HeaderText="选   择">
                <ItemTemplate>
				 <input id="YX_CH" name="YX_CH" type="checkbox" style="border:0 " value="<%#Eval("YX_ID") %>" />
                </ItemTemplate>
             </asp:TemplateColumn>
             <asp:TemplateColumn HeaderText="ID" Visible="false">
                <ItemTemplate >
			    <%#Eval("YX_ID")%>
                </ItemTemplate>
             <HeaderStyle CssClass="F" />
             </asp:TemplateColumn>
                       <asp:TemplateColumn HeaderText="商品名称">
                           <ItemTemplate>
                               <a href="../../ShowProduct.aspx?YX_MID=<%#Eval("YX_proID")%>">
                                   <%#Eval("YX_ProName")%>
                               </a>
                              
                           </ItemTemplate>
                           <HeaderStyle CssClass="F" />
                       </asp:TemplateColumn>
              <asp:TemplateColumn HeaderText="卖家">
                <ItemTemplate >
                 <%#ChangeHope.ChangHope_ExcUser.User_column("YX_userinfo",Convert.ToInt32(Eval("YX_userid")),"yx_user","yx_userid")%>
                </ItemTemplate>
                <HeaderStyle CssClass="F" />
             </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="总金额">
                <ItemTemplate >
                <%#Convert.ToDouble(Eval("YX_SumPrice")).ToString("0.00")%>元
                </ItemTemplate>
                <HeaderStyle CssClass="F" />
             </asp:TemplateColumn>
             <asp:TemplateColumn HeaderText="成交时间">
             <ItemTemplate>
            <%#Eval("YX_OrderDate")%>
             </ItemTemplate>
              <HeaderStyle CssClass="F"  />
              </asp:TemplateColumn>
              <asp:TemplateColumn HeaderText="当前状态">
             <ItemTemplate>
            <%#YX_OrderStart(Convert.ToInt32(Eval("YX_OrderStart")),Convert.ToInt32(Eval("YX_ID")),Convert.ToInt32(Eval("YX_proID")))%>
             </ItemTemplate>
                 <HeaderStyle CssClass="F"  />
              </asp:TemplateColumn> 
                <asp:TemplateColumn HeaderText="操作">
                <ItemTemplate >
                  <a href="Pay_state_info.aspx?orderid=<%#Eval("YX_ID")%>&YX_proID=<%#Eval("YX_proID")%>">交易管理>></a>
                  <a href="law_list.aspx?falg=jbt&YX_MID=<%# Eval("YX_proID") %>&Proname=<%#Eval("YX_ProName")%>">投诉</a>
                </ItemTemplate>
                <HeaderStyle CssClass="F" />
             </asp:TemplateColumn>
            </Columns>
    <PagerStyle Visible="False" />          
      </asp:DataGrid>
      <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr bgcolor="#E7E7E7">
                <td align="center" bgcolor="#E7E7E7" style="width: 900px;color:000000; height: 19px;">
                    <standny:webpager id="WebPager1" runat="server" onpagechanged="WebPager1_PageChanged" pagesize="10"></standny:webpager>
              <td align="left" style="width: 50px; height: 19px;">
  </td>
               
            </tr>
        </table>
      <DIV class="tdFull lineRight desc" 
      style="MARGIN-TOP: 10px; HEIGHT: 100%; TEXT-ALIGN: left">   
      <input type="checkbox" name="selectAll" value="checkbox" onClick="selectIt('document.formsp','YX_CH')"> 全选&nbsp;
      <input type="checkbox" name="invest" value="checkbox" onClick="selectIt('document.formsp','YX_CH')"> 反选
      <INPUT onClick="datadel()" type="submit" value="删除" name="submit22" id="Submit1"> 
<input type=hidden name=del>
</DIV>

      <DIV   class=note>提示：请及时注意商品的状态。
      </DIV></TD>
  </tr>
    <tr>
        <td valign="top">
        </td>
        <td width="5">
        </td>
        <td valign="top">
        </td>
    </tr>
</table>
    </form>
   <uc:Foot_vip ID="foot_vip3" runat=server />
</body>
</html>