<%@ Page Language="C#" AutoEventWireup="true" Inherits="WebPage_Dingdan_WeifuDingdan"
    CodeBehind="Dingdan_WeifuDingdan.aspx.cs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../UserControls/HeaderControl.ascx" TagName="HeaderControl" TagPrefix="uc2" %>
<%@ Register Src="../UserControls/FooterControl.ascx" TagName="FooterControl" TagPrefix="uc3" %>
<%@ Register Src="UserControls/Dingdan.ascx" TagName="Dingdan" TagPrefix="uc1" %>
<%@ Register src="UserControls/ordermenu.ascx" tagname="ordermenu" tagprefix="uc4" %>
<%@ Register src="UserControls/Dingdan_menuType1.ascx" tagname="Dingdan_menuType1" tagprefix="uc5" %>
<!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">
    <meta http-equiv="content-type" content="text/html" charset="UTF-8" />
    <script>
        function isNum() {
            if (event.keyCode < 48 || event.keyCode > 57) {
                event.keyCode = 0;
            }
        }

        function clearNoNum(obj) {
            obj.value = obj.value.replace(/[^\d.]/g, "");  //清除“数字”和“.”以外的字符 
            obj.value = obj.value.replace(/^\./g, "");  //验证第一个字符是数字而不是. 
            obj.value = obj.value.replace(/\.{2,}/g, "."); //只保留第一个. 清除多余的. 
            obj.value = obj.value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
        }
    </script>
</head>
  <script type="text/javascript" src="../upfile/js/datePicker/WdatePicker.js"></script>
<body class="newbie" >
    <form id="form1"  runat="server">
    <div id="pagemasker">
    </div>
    <div id="dialog">
    </div>
    <div id="doc">
        <uc2:HeaderControl ID="HeaderControl1" runat="server" />
        <div id="bdw" class="bdw">
            <div id="bd" class="cf">
                <div id="coupons">
                    <div class="dashboard" id="dashboard">
        <uc4:ordermenu ID="ordermenu1" runat="server" /></div>
                    <div id="content" class="coupons-box clear mainwide">
                        <div class="box clear">
                            <div class="box-content">
                                <div class="head">
                                    <h2>
                                        所有未付订单 <font style="color:red; font-size:12px;">友情提示：日期输入格式例如：2010-10-29（搜索时间：以下单时间搜索）</font></h2>
                                    <ul class="filter" style="top:50px; width: 960px;">
                                        <li>下单日期:
                                        
                                               <asp:TextBox ID="firstTime" CssClass="h-input" style=" width:100px;" runat="server" group="goto" datatype="date" onclick="WdatePicker();"></asp:TextBox>

                  &nbsp;至 
                    
                      <asp:TextBox ID="endTime"  CssClass="h-input" style=" width:100px;"  runat="server" group="goto" datatype="date" onclick="WdatePicker();"></asp:TextBox>
                                                
                                                
                                                <select name="time">
                                                <%=getTime() %>
                                            </select> 时&nbsp;&nbsp;筛选条件：<asp:DropDownList ID="ddlstate" runat="server"><asp:ListItem>-请选择-</asp:ListItem>
<asp:ListItem value="1">用户名</asp:ListItem>
<asp:ListItem value="2">Email</asp:ListItem>
<asp:ListItem value="3">订单编号</asp:ListItem>
<asp:ListItem value="4">项目ID</asp:ListItem>
<asp:ListItem value="5">交易单号</asp:ListItem>
<asp:ListItem value="6">快递单号</asp:ListItem>
<asp:ListItem value="7">手机</asp:ListItem>
                                           </asp:DropDownList>&nbsp;内容：<asp:TextBox ID="txtcontent" runat="server" CssClass="h-input" />
                                                            <input type="submit" id="btnselect"
                                                                value="筛选" class="formbutton validator" group="goto" style="padding: 1px 6px;"


                                                                name="btnselect" /></li></ul>
                                </div>
                                <div class="sect">
                                <input id="HiddenFirst" name="HiddenFirst" type="hidden" value="<%=beginTime %>" />
                                <input id="HiddenEnd" name="HiddenEnd" type="hidden" value="<%=lasttime %>" />
                                    <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
                                        
                                        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                                        <asp:Literal ID="Literal2" runat="server"></asp:Literal>
                                        <tr>
                                            <td colspan="10">
                                                <ul class="paginator">
                                                    <li class="current">
                                                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="30" OnPageChanged="AspNetPager1_PageChanged">
                                                        </webdiyer:AspNetPager>
                                                    </li>
                                                </ul>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- bd end -->
        </div>
        <!-- bdw end -->
        <uc3:FooterControl ID="FooterControl1" runat="server" />
    </div>
    </form>
</body>

  <script type="text/javascript">

      jQuery(function () {
          $('input').keyup(function (event) {

              if (event.keyCode == "13") {
                  document.getElementById("btnselect").click();   //服务器控件loginsubmit点击事件被触发
                  return false;
              }

          });

      }); 
  </script>
</html>
