<%@ page language="C#" autoeventwireup="true" inherits="WebAdmin_OrderFormSelect, 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 id="Head1" runat="server">
    <title>订单 查询</title>
    <link rel="stylesheet" type="text/css" href="css/css.css" media="screen"/>
    <script type="text/javascript" language="javascript" src="js/topHead.js"></script>
    <script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <script>header(3,1,"images/");</script>
        <div class="blank clearfix"></div>
        <!--功能区-->
        <div class="tabmenus mainwidth">
            <ul>
                <li class="current"><a href="orderformselect.aspx"><span>订单查询</span></a></li>
                <li><a href="orderlist.aspx"><span>全部订单</span></a></li>
            </ul>
        </div>
        <div class="tab-mainbody">
            <div class="tab-mainbody2">
                <div class="functionHandleArea clearfix">
                    <asp:Button ID="Button2" runat="server" CssClass="btn-app" OnClick="Button1_Click" />
                    <input type="image" title=" 重填 " onclick="reset();return false;" src="images/bt_res.gif"align="absmiddle" />
                    <input type="image" title=" 返回 " onclick="history.back();return false;" src="images/bt_bak.gif" align="absmiddle" /></div>
                <div id="datalist">
                    <table cellspacing="0" border="0" id="list" style="width: 100%; border-collapse: collapse;">
                        <tr>
                            <th class="td_right td_left" colspan="2" align=left >订单查询</th>
                        </tr>
                        <tr>
                            <td style="width:15%">
                                订单编号：</td>
                            <td>
                                <input id="txt_code" type="text" class="input" runat=server />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                订单属性：</td>
                            <td>
                                <select name="orderzt" id="select1" runat=server>
                                    <option value="">全部</option>
                                    <option value="0">未付款</option>
                                    <option value="1">未发货</option>
                                    <option value="2">已发货</option>
                                    <option value="3">已收货</option>
                                    <option value="4">无效</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                商铺名称：</td>
                            <td>
                                <select id="select2" runat=server>
                                    <option value="">全部</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                查询范围：</td>
                            <td>
                                <input id="Checkbox1" type="checkbox" checked runat=server />订购人信息
                                <input id="Checkbox2" type="checkbox" checked  runat=server/>收货人信息
                            </td>
                        </tr>
                        <tr>
                            <td>
                                订购时间：</td>
                            <td>
                                <input type="text" id="txt_starttime" name="txt_starttime" runat=server class="texttime" style="width: 100px;"
                                    onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',skin:'whyGreen',autoPickDate:'null'})" />
                                &nbsp;-&nbsp;<input type="text" id="txt_endtime" runat=server name="txt_endtime" class="texttime"
                                    style="width: 100px;" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',skin:'whyGreen',autoPickDate:'null'})" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                商品名称：</td>
                            <td>
                                <input id="txt_cname" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                商品编号：</td>
                            <td>
                                <input id="txt_cbianhao" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                会员帐号：</td>
                            <td>
                                <input id="txt_username" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                真实姓名：</td>
                            <td>
                                <input id="txt_name" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                联系电话：</td>
                            <td>
                                <input id="txt_tel" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                电子邮件：</td>
                            <td>
                                <input id="txt_email" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                联系地址：</td>
                            <td>
                                <input id="txt_address" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                邮政编码：</td>
                            <td>
                                <input id="txt_ma" runat=server type="text" class="input" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                今日统计</th>
                            <th>
                            </th>
                        </tr>
                        <tr>
                            <td>
                                订单统计：</td>
                            <td>
                                未付款：<a href="orderlist.aspx?stime=<%=time1 %>&etime=<%=time2 %>&state=0"><span style="color:Red"><%=ds_now.Tables[0].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                未发货：<a href="orderlist.aspx?stime=<%=time1 %>&etime=<%=time2 %>&state=1"><span style="color:Red"><%=ds_now.Tables[1].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                已发货：<a href="orderlist.aspx?stime=<%=time1 %>&etime=<%=time2 %>&state=2"><span style="color:Red"><%=ds_now.Tables[2].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                已收货：<a href="orderlist.aspx?stime=<%=time1 %>&etime=<%=time2 %>&state=3"><span style="color:Red"><%=ds_now.Tables[3].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                无效订单：<a href="orderlist.aspx?stime=<%=time1 %>&etime=<%=time2 %>&state=4"><span style="color:Red"><%=ds_now.Tables[4].Rows[0][0] %></span></a>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                历史统计</th>
                            <th>
                            </th>
                        </tr>
                        <tr>
                            <td>
                                订单统计：</td>
                            <td>
                                未付款：<a href="orderlist.aspx?state=0"><span style="color:Red"><%=ds_his.Tables[0].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                未发货：<a href="orderlist.aspx?state=1"><span style="color:Red"><%=ds_his.Tables[1].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                已发货：<a href="orderlist.aspx?state=2"><span style="color:Red"><%=ds_his.Tables[2].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                已收货：<a href="orderlist.aspx?state=3"><span style="color:Red"><%=ds_his.Tables[3].Rows[0][0] %></span></a>&nbsp;&nbsp;
                                无效订单：<a href="orderlist.aspx?state=4"><span style="color:Red"><%=ds_his.Tables[4].Rows[0][0] %></span></a>
                            </td>
                        </tr>
                    </table>
                    <script type="text/javascript">tdshowm("list");</script>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
