<%@ page language="C#" autoeventwireup="true" inherits="SysManage_UrgePlan, App_Web_imj1v1td" theme="Themes" stylesheettheme="Themes" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!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/layout.css" rel="stylesheet" type="text/css" />
    <link href="../css/layerDiv.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
        #LayerAll
        {
            position: absolute;
            filter: alpha(opacity = 50);
            width: 100%;
            height: 100%;
            background-color: #CCCCCC;
            border: 0px;
            left: 1px;
            top: 1px;
            z-index: 1;
            display: none;
        }
      
        </style>
      <script type="text/javascript" language="javascript">
        function CheckAll() {
            var cked = false;
            cked = document.getElementById("chkSelAll").checked;
            for (var i = 0; i < document.getElementsByTagName("*").length; i++) {
                var e = document.getElementsByTagName("*")[i];
                try {
                    if (e.name.substring(e.name.length - 6, e.name.length) == "chkSel") {
                        e.checked = cked;
                    }
                }
                catch (exception) {
                }
            }
        }
        function CheckSelect() {
            var count = 0;
            for (var i = 0; i < document.getElementsByTagName("*").length; i++) {
                var e = document.getElementsByTagName("*")[i];
                try {
                    if (e.name.substring(e.name.length - 6, e.name.length) == "chkSel") {
                        if (e.checked == true) {
                            count++;
                        }
                    }
                }
                catch (exception) {
                }
            }
            if (count == 0) {
                alert("请选择您要督促的项！");
                return false;
            }
            else {
                //return confirm('您确定要删除所选项吗?');
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div id="LayerAll" runat="server">
    </div>
      <div class="right_postion_bg">
        <span class="s_potion_font"><img src="../Images/homen.gif" class="pic_style" />   当前的位置：学习督促 > 培训计划督促</span>
    </div>
    <div id="LayerShow" runat="server" style="width: 500px; top:8%; overflow: auto; padding-left: 10px; padding-right:10px; padding-top:10px; display:none; background-color:#fff;">
<div id="Div1" class="b2">
            <div class="rct">
                <div class="l tl1">
                </div>
                <div class="r tr1">
                </div>
            </div>
            
            <div class="cnt f14">
                <div style="color: #666" >
                    <table class="" cellpadding="5" height="200px">
                <tr>
                    <td>
                    <div style="overflow:auto; height:200px;">
                         <table cellspacing="0" cellpadding="6" border="0" style="table-layout: fixed;">
                        <tr>
                            <td align="right" style="width:20%">
                                督促类容：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="tbxMess" runat="server" Height="113px" TextMode="MultiLine" Width="327px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                
                            </td>
                            <td align="left">
                            <asp:Button ID="btnt" runat="server" Text="提 交" OnClick="btnt_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="btnReset" runat="server" Text="关 闭" OnClick="btnReset_Click" />
                            </td>
                        </tr>
                    </table>
                    </div>
                        
             </td>
                </tr>
              
            </table>
                
             
    
                </div>
            </div>
            <div class="rcb">
                <div class="l bl1">
                </div>
                <div class="r br1">
                </div>
            </div>
        </div>
</div> 
<%--    <div id="right" algin="center" style="display:none"  runat="server">
        <div id="m_onlineuser" class="b2">
            <div class="rct">
                <div class="l tl1">
                </div>
                <div class="r tr1">
                </div>
            </div>
            <div class="cnt f14" style="width: 98%">
                <div style="color: #666" align="center">
                    <table cellspacing="0" cellpadding="6" border="0" style="table-layout: fixed;">
                        <tr>
                            <td align="right" style="width:20%">
                                督促类容：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="tbxMess" runat="server" Height="113px" TextMode="MultiLine" Width="327px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                
                            </td>
                            <td align="left">
                            <asp:Button ID="btnt" runat="server" Text=" 提 交 " OnClick="btnt_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="btnReset" runat="server" Text=" 关 闭 " OnClick="btnReset_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="rcb">
                <div class="l bl1">
                </div>
                <div class="r br1">
                </div>
            </div>
        </div>
        <!--CMSLOADOK--->
    </div>--%>
     
   
    <div class="just_align_01" id="yi" runat="server">
        <table width="100%" cellpadding="5" cellspacing="0" bgcolor="white" style="border:solid 1px #cccccc;">
            <tr>
            <td align="right">
                可用的执照：<asp:DropDownList ID="ddlist" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlist_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
                <td align="right" width="100px">
                    <asp:Button ID="btnUrge" runat="server" Text=" 督 促 " onclick="btnUrge_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div class="just_align_01">
    <asp:GridView ID="gvLicense" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        DataKeyNames="Name" onrowcommand="gvLicense_RowCommand">
        <PagerSettings Visible="False" />
        <Columns>
            <asp:TemplateField>
                <HeaderTemplate>
                    全选<input id="chkSelAll" name="chkSelAll" onclick="javascript:CheckAll();" type="checkbox">
                </HeaderTemplate>
                <HeaderStyle Width="50px" />
                <ItemTemplate>
                    <asp:CheckBox ID="chkSel" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
      
            <asp:TemplateField HeaderText="用户名称">
                <ItemTemplate>
                    <asp:Label ID="lblName" runat="server" Text='<%# Eval("UserName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="用户Id" Visible="false">
                <ItemTemplate>
                    <asp:Label ID="lblId" runat="server" Text='<%# Eval("Userid") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="计划名称">
                <ItemTemplate>
                    <asp:Label ID="lblZN" runat="server" Text='<%# Eval("PlanName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <%--  <asp:ImageButton ID="ibtnEdit" runat="server" CommandName="edit" ImageUrl="~/Images/edit.gif"
                                                    ToolTip="编辑" />--%>                                                                           
                    <asp:LinkButton ID="ibtnEdit" CommandName="ed" runat="server">督促</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <EmptyDataTemplate>
            <div class="nodata">
                <img src="../Images/waring_pic01.gif" />
                <asp:Label ID="lbltext" runat="server" Text="没有你要查询的数据！" HorizontalAlign="Center"
                    Height="30px"></asp:Label>
            </div>
        </EmptyDataTemplate>
        <%-- <EmptyDataRowStyle Font-Size="XX-Large" Font-Bold="true" ForeColor="Red" HorizontalAlign="Center" />--%>
        <HeaderStyle HorizontalAlign="Center" />
    </asp:GridView></div>
    <div class="page_bg_left">
          <cc1:AspNetPager ID="myAspNetPager" runat="server" AlwaysShow="True" CssClass="cut_pager" PageSize="10"
                                FirstPageText="首页&nbsp;&nbsp;" HorizontalAlign="Right" InputBoxStyle="width:20px;" 
                                LastPageText="尾页" NextPageText="&nbsp;&nbsp;下一页&nbsp;&nbsp;" NumericButtonTextFormatString="  {0}"
                                OnPageChanging="AspNetPager1_PageChanging" PrevPageText="上一页"  ShowCustomInfoSection="Left" CustomInfoTextAlign="Left"
                                ShowInputBox="Always">
                            </cc1:AspNetPager>
    </div>
    </form>
</body>
</html>
