<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_wage.aspx.cs" Inherits="Web.gz.admin.login_wage" %>

<!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 href="../../css/admincss/skin.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="form1" runat="server" defaultfocus ="tbStaff">
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">
            明细查询
           </div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle" >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
           
 
<!--  一组内容模块开始   --> 
    <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">
                <asp:Label ID="lbbiaoti" runat="server"></asp:Label>
                明细查询</div>
            <div class ="biaotiright ">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                                            每页显示行数：<asp:TextBox ID="tbNum" runat="server" 
                    Width="44px" MaxLength="4">20</asp:TextBox>
                &nbsp;
                <asp:Button ID="btnQuery" runat="server" onclick="btnQuery_Click" Text="确定" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" /></div> 
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr><td> <table  border = "0"  cellpadding ="0" cellspacing ="0" ><tr>
        <td class =" td_rightnoborder   " style ="width :70px"><div >
             <b>选择模块：</b>
             </div> </td>
        <td class =" td_leftnoborder  ">                         
            <asp:RadioButtonList ID="rblProjectA" runat="server" 
                             RepeatDirection ="Horizontal" RepeatColumns ="8" 
                AutoPostBack="True" 
                onselectedindexchanged="rblProjectA_SelectedIndexChanged" >
                         </asp:RadioButtonList>
  </td>
        </tr> </table> </td></tr>
      <tr>
        <td>
        
         <div >
             主管部门：<asp:DropDownList ID="ddlIndustry" runat="server" AutoPostBack="True" 
                 onselectedindexchanged="ddlIndustry_SelectedIndexChanged">
             </asp:DropDownList>
&nbsp;单位：<asp:DropDownList ID="ddlDepartment" runat="server">
             </asp:DropDownList>
             &nbsp;证件号或姓名：<asp:TextBox ID="tbStaff" runat="server"></asp:TextBox>
             &nbsp;&nbsp;
        起始日期：<asp:textbox id="date1" runat="server" Width="65px"  onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:textbox>
        终止日期：<asp:textbox id="date2" runat="server" Width="65px"  onclick="popUpCalendar(this,this,'yyyy-mm-dd')" > </asp:textbox>
       <asp:Button ID="btQuery1" runat="server" onclick="btnQuery_Click" Text="提交查询" ValidationGroup="Inquires" />
             &nbsp;&nbsp;
            <asp:Label ID="lbRowscountview" runat="server" ForeColor="Red"></asp:Label>
            <br />
        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
            ControlToValidate="tbStaff" Display="Dynamic" ErrorMessage="输入的证件号或姓名不对！" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                  runat="server" ControlToValidate="date1" Display="Dynamic" 
                  ErrorMessage="起始日期必填！" ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="终止日期必填！" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                  ControlToValidate="date1" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Inquires" 
                 ForeColor="Red"></asp:RegularExpressionValidator>
              <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                  ControlToValidate="date2" Display="Dynamic" ErrorMessage="请填正确日期格式：如2001-01-01" 
                  ValidationExpression="\d{4}-\d{2}-\d{2}" ValidationGroup="Inquires" 
                 ForeColor="Red"></asp:RegularExpressionValidator>
        <div style ="margin-bottom :6px; margin-top :6px">
        <asp:GridView ID="GridView1" runat="server" BorderWidth="1px" 
                onrowdatabound="GridView1_RowDataBound" Width="100%" CssClass="gv" 
                cellspacing="1" onrowcreated="GridView1_RowCreated">
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" 
                CssClass="gvrow" />
            <Columns>
                             <asp:TemplateField> 
               <HeaderTemplate>  <asp:CheckBox ID="CheckBox2" Text ="全选" runat="server" AutoPostBack="True" 
                OnCheckedChanged="CheckBox2_CheckedChanged"  />    </HeaderTemplate>        
               <ItemTemplate><asp:CheckBox ID="CheckBox1" runat="server" />&nbsp;</ItemTemplate>               
               </asp:TemplateField>
            </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView></div>
                        </div>
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  ">
                      <asp:Panel ID="Panel1" runat="server" Visible="False">
                          &nbsp;<asp:Button ID="btDelAll" runat="server" onclick="btDelAll_Click" 
                              Text="批量删除" />
                      </asp:Panel>
                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
<asp:Panel ID="plOutput" runat="server" Visible ="false" >
            <div class =" td_rightnoborder  ">      
                <asp:Button ID="btSmsview" runat="server" onclick="btSmsview_Click" 
                    Text="打开短信发送窗口" Visible="False" />
                &nbsp;<asp:Button ID="btPrintView" runat="server" Text="打印预览" 
                  onclick="btPrintView_Click"  />
                &nbsp;<asp:Button ID="btExcel" runat="server" onclick="btExcel_Click" 
                    Text="导出到EXCEL" />
            </div>
            
              </asp:Panel>
          
          </td></tr>
    </table>
<!-- 一组内容模块结束 -->


 
<!--  一组内容模块开始   --> 
    <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0" id ="divSms" runat ="server"  visible ="false" >
      <tr>
        <td style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">
              
                发送短信</div>
            <div class ="biaotiright ">
                </div> 
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr><td> 模式一（只发送一个项目）：<br />
          编辑短信内容：
                <asp:TextBox ID="tbSms1" runat="server" Width="260px"></asp:TextBox>
                <asp:DropDownList ID="ddlSms"
                    runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlSms_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:TextBox ID="tbSms2" runat="server" Width="260px"></asp:TextBox>&nbsp;<asp:Button ID="btSms"
                    runat="server" Text="提交" onclick="btSms_Click" />
                <br />
                <br />
                <asp:Label ID="lbSmsDemo" runat="server"></asp:Label>
                <div style ="margin-top :20px;">模式二（发送所有项目）：<br />
          编辑短信内容：
                <asp:TextBox ID="tbSms3" runat="server" Width="260px"></asp:TextBox>
                &nbsp;
                <asp:TextBox ID="tbSms4" runat="server" Width="260px"></asp:TextBox>&nbsp;<asp:Button ID="btSmsAll"
                    runat="server" Text="提交" onclick="btSmsAll_Click" />
                <br />
                <br />
                <asp:Label ID="lbSmsDemoAll" runat="server"></asp:Label>
                </div>
                </td></tr>


    </table>
<!-- 一组内容模块结束 -->
    </td>
    <td  style =" background-image:url(../../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
    <td  class ="buttom_bg_left "></td>
    <td class ="buttom_bg_center " >&nbsp;</td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
