<%@ page language="C#" autoeventwireup="true" inherits="Repoort_OrgUser, App_Web_jkqe9z1v" 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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>考试情况</title>

<script type="text/javascript" src="../Js/jquery.js"></script>
    <link id="artDialogSkin" href="../js/skin/default.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../js/artDialog.js"></script>

    <script type="text/javascript">
        //artDialog js的完美弹出层
        function showWindow(url) {
            var sURL = url;
            art.dialog({ id: 'myDialogNote', title: '考试复查', iframe: sURL, width: '750', height: '480', lock: true });
            return false;
        };
 
    </script>

    <style>
        html
        {
            overflow-x: hidden;
        }
        .style1
        {
            width: 153px;
        }
        .style2
        {
            width: 171px;
        }
    </style>
</head>
<body>
<div id="loading">
        <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: #ffffff;
            z-index: 10; filter: alpha(opacity=90); opacity: 0.9;">
        </div>
        <div id="msg_area" style="z-index: 200; left: 289px; position: absolute; top: 202px;">
            <div id="msgPanel" style="z-index: 200;" height="24px" width="100px" bordercolor="#eeeeee"
                borderstyle="Solid" borderwidth="1px">
                <asp:Image ID="img" runat="server" ImageUrl="~/images/loading.gif" />
                <font style="font-size: 9pt;color:Gray;">loading...读取中......</font>
            </div>
        </div>
    </div>
    <form id="form1" runat="server" defaultbutton="btnSearch">
    
<table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置： 
                    <asp:Label ID="lblnum" runat="server" Text="Label"></asp:Label> > 机构统计 </span>
            </td>
        </tr>
        <tr>
            <td class="r_top_box">
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
                    <tr>
                        <td align="right" width="80px">
                            机构类型：
                        </td>
                        <td width="120px">
                            <asp:DropDownList ID="ddlTree" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlTree_SelectedIndexChanged">
                </asp:DropDownList></td>
                        <td align="right" class="style1">
                            系统总用户数：<asp:Label ID="lblAllUser" ForeColor="Red" runat="server" Text="0"></asp:Label></td>
                        <td align="right" class="style2">
                            系统总有效用户数：<asp:Label
                                                ID="lblActiveUser" ForeColor="red" runat="server" Text="0"></asp:Label></td>
                        <td align="right" width="80px">
                            &nbsp;</td>
                        <td width="60px" align="left">
                            &nbsp;</td>
                        <td align="right" width="100px">
                            &nbsp;</td>
                        <td align="left" width="80px">
                            <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click" 
                                Visible="False" />
                        </td>
                        <td align="center" width="20px">
                            &nbsp;</td>
                        <td align="left" width="80px">
                            &nbsp;</td>
                        <td align="left">
                            &nbsp;</td>
                        <td align="right">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="margintop5">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <asp:GridView ID="gvOrg" runat="server" AutoGenerateColumns="False" 
                                OnRowDataBound="gvOrg_RowDataBound" OnRowCommand="gvOrg_RowCommand">
                                <PagerSettings Visible="False" />
                                <Columns>
                                    <asp:BoundField DataField="CName" HeaderText="机构名称" />
                                    <asp:BoundField DataField="shortName" HeaderText="简称" />
                                   
                                    <asp:CheckBoxField DataField="IsActive" HeaderText="是否有效" />
                                   
                                    <asp:TemplateField HeaderText="用户数">
                                    <ItemTemplate>
                                        <asp:Label ID="lblTotalUser" runat="server" Text="0"></asp:Label>
                                    </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="有效用户">
                                    <ItemTemplate>
                                      <asp:Label ID="lblAUser" runat="server" 
                                        ForeColor="OrangeRed"></asp:Label>
                                    </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="有效用户占总人数比">
                                    <ItemTemplate>
                                      <asp:Label ID="lblProgress" runat="server" 
                                        ></asp:Label>
                                    </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField Visible="false">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbtnCheck" CommandName="check" runat="server">查看</asp:LinkButton>
                                            <asp:Label ID="lblUserId" runat="server" Visible="false" Text='<%# Eval("id") %>'></asp:Label>
                                            <asp:Label ID="lblOrgTypeID" runat="server" Visible="false" Text='<%# Eval("typeid") %>'></asp:Label>
                                       <asp:Label ID="lblOrgId" runat="server" Visible="false" Text='<%# Eval("id") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EmptyDataTemplate>
                                    <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
                                </EmptyDataTemplate>
                                <EmptyDataRowStyle Font-Size="XX-Large" Font-Bold="true" ForeColor="Red" HorizontalAlign="Center" />
                            </asp:GridView>
                        </td>
                    </tr>
                    </table>
            </td>
        </tr>
    </table>
    </form>
        <script type="text/javascript">
       $("#loading").fadeOut()
</script>
</body>
</html>
