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

<%@ Register Src="UserControls/Loading.ascx" TagName="Loading" TagPrefix="uc1" %>
<%@ Register Src="UserControls/SurveyMsInfo.ascx" TagName="SurveyMsInfo" TagPrefix="uc1" %>
<%@ Register Src="UserControls/ScheduleInformation.ascx" TagName="ScheduleInformation"
    TagPrefix="uc2" %>
<%@ Register Src="UserControls/IssuesReminder.ascx" TagName="IssuesReminder" TagPrefix="uc3" %>
<%@ Register Src="UserControls/ExaminationReminder.ascx" TagName="ExaminationReminder"
    TagPrefix="uc4" %>
<%@ Register Src="UserControls/LicenseUrges.ascx" TagName="LicenseUrges" TagPrefix="uc5" %>
<%@ Register src="UserControls/Approval.ascx" tagname="Approval" tagprefix="uc6" %>
<%@ Register src="UserControls/CourseLearnTime.ascx" tagname="CourseLearnTime" tagprefix="uc7" %>
<!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">
    <title></title>
    <style type="text/css">
        html
        {
            overflow-x: hidden;
        }
    </style>
    <meta http-equiv="x-ua-compatible" content="ie=7" />

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

    <script type="text/javascript" src="Js/jquery.js"></script>
<!--OSX-->
<script type='text/javascript' src='js/osx/js/jquery.simplemodal.js'></script>
<script type='text/javascript' src='js/osx/js/osx.js'></script>
<link type='text/css' href='js/osx/css/osx.css' rel='stylesheet' media='screen' />
    <!--OSX end-->
      <script src="js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>

    <script type="text/javascript">

      
    
        //artDialog js的完美弹出层
        function showAffiche(URL) {
            var sURL = URL;
//            art.dialog({ id: 'myDialogNote', title: '公告', iframe: sURL, width: '550', height: '400', lock: true }).close(function() {
//                //document.getElementById("btnBindData").click();
//        });

            art.dialog.open(sURL, { id: 'myDialogNote', title: '公告', width: '550px', height: '400px', lock: true, closeFn: function() { } });
            return false;
        };
        function GetLearningCourse() {
            document.getElementById("btnLearningCourse").click();
        }
        function GetAffiche() {
            document.getElementById("btnAffiche").click();
        }
        function GetPlan() {
            document.getElementById("btnPlan").click();
        }
        function GetKnowledge() {
            document.getElementById("btnKnowledge").click();
        }
        function GetTopCourse() {
            document.getElementById("btnTopCourse").click();
        }
        function GetRank() {
            document.getElementById("btnTopRank").click();
        }
        function GetExam() {
            document.getElementById("btnExam").click();
        }  
        
        
           //setTimeout(showOSX, 3000);
        function showOSX() {
            document.getElementById("btnOSX").click();
        }
        
    </script>

</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">
       <!-- modal content -->
   <input type='button' id="btnOSX" name='osx' value='Demo' style="display:none;" class='osx demo'/>
		<div id="osx-modal-content">
			<div id="osx-modal-title">提示</div>
			<div class="close"><a href="#" class="simplemodal-close">x</a></div>
			<div id="osx-modal-data">
				
        <div style="color:Black">
            <table cellpadding="0" cellspacing="0" class="rem_table">
                <tr>
                    <td valign="middle" align="left" class="rem_table_box" style="font-family: 微软雅黑; font-size: 16px; line-height:50px; color:Black;">
                        重要消息提示
                    </td>
                    <td class="go_index" id="tdone" runat="server">
    
                    </td>
                </tr>
            </table>
            <uc1:SurveyMsInfo ID="SurveyMsInfo1" runat="server" />
            <uc2:ScheduleInformation ID="ScheduleInformation1" runat="server" />
            <uc3:IssuesReminder ID="IssuesReminder1" runat="server" />
            <uc4:ExaminationReminder ID="ExaminationReminder1" runat="server" />
            <uc7:CourseLearnTime ID="CourseLearnTime1" runat="server" />
            <uc5:LicenseUrges ID="LicenseUrges1" runat="server" />
             <uc6:Approval ID="Approval1" runat="server" />
            <% 
               
                    int count = SurveyMsInfo1.Count + ScheduleInformation1.Count + IssuesReminder1.Count + ExaminationReminder1.Count + LicenseUrges1.Count + CourseLearnTime1.Count;
                    if (count != 0)
                    {
                        //Response.Redirect("index.aspx");
                        Js.RegisterStartupScript(this,"setTimeout(showOSX, 3000);");
                    }
              
                 %>
        
           
        </div>
    
			</div>
		</div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:Loading ID="Loading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td width="50%" valign="top">
                <table cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <td>
                            <div class="con"  style="width:90%;">
                                <ul class="tags">
                                    <li class="selectTag"><a onclick="selectTag('tagContent0',this);GetLearningCourse();"
                                        href="javascript:void(0)" onfocus="this.blur()">学习中的课程</a> </li>
                                    <li><a onclick="selectTag('tagContent1',this);GetExam();" href="javascript:void(0)"
                                        onfocus="this.blur()">在线考试</a> </li>
                                    <li><a onclick="selectTag('tagContent2',this);GetPlan();" href="javascript:void(0)"
                                        onfocus="this.blur()">培训计划</a> </li>
                                </ul>
                                <div id="tagContent">
                                    <div class="tagContent selectTag" id="tagContent0" style="width:97%">
                                            <asp:UpdatePanel ID="UpdatePanelLearningCourse" runat="server">
                                                <ContentTemplate>
                                                    <asp:GridView ID="gvLearningCourse" runat="server" AllowPaging="false" AutoGenerateColumns="False"
                                                        DataKeyNames="CourseID" OnRowCommand="gvCourse_RowCommand" OnRowDataBound="gvCourse_RowDataBound"
                                                        Width="90%">
                                                        <PagerSettings Visible="False" />
                                                        <Columns>
                                                        <asp:BoundField DataField="type" HeaderText="类型" HeaderStyle-CssClass="rowStyle" />
                                                            <asp:TemplateField HeaderText="课程名称" HeaderStyle-CssClass="rowStyle">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblCourseId" runat="server" Font-Names="微软雅黑" ForeColor="Green" Text='<%# Bind("CourseID") %>'
                                                                        Visible="False"></asp:Label>
                                                                    <asp:Label ID="lblCourseName" runat="server" Text='<%# Bind("Name") %>' tooltipText='<%#  "<img height=160 width=120  src=\""+"../Upload/CourseImage/"+Eval("photopath")+"\" />" %>'
                                                                        Visible="true"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Minutes" HeaderText="课时分钟" HeaderStyle-CssClass="rowStyle" />
                                                            <asp:TemplateField HeaderText="是否考试" HeaderStyle-CssClass="rowStyle">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Label3" runat="server" Text='<%# GetExamCheck(Eval("IsMustExam").ToString()) %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="操作" HeaderStyle-CssClass="rowStyle">
                                                                <ItemTemplate>
                                                                    <asp:ImageButton ID="ibtnStudy" runat="server" CommandArgument='<%# Eval("courseid") %>'
                                                                        CommandName="study" ImageUrl="images/book.png" CssClass="png img_style" />
                                                                    <asp:LinkButton ID="lbtnStudy" runat="server" CommandArgument='<%# Eval("courseid") %>' CommandName="study"
                                                                        ToolTip="学习">学习</asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="btnLearningCourse" EventName="Click" />
                                                  
                                                </Triggers>
                                            </asp:UpdatePanel>
                                    </div>
                                    <div class="tagContent" id="tagContent1" style="width:97%">
                                        <!--在线考试-->
                                        <asp:UpdatePanel ID="UpdatePanelExam" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvExam" runat="server" AutoGenerateColumns="False" Width="90%"
                                                    DataKeyNames="ExamID" OnRowCommand="gvExam_RowCommand">
                                                    <PagerSettings Visible="False" />
                                                    <Columns>
                                                        <asp:BoundField DataField="etypename" HeaderText="类型" HeaderStyle-CssClass="rowStyle" />
                                                        <asp:TemplateField HeaderText="考试名称" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblName" runat="server" Text='<%# Common.CutString(Eval("eName").ToString(),30) %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="状态" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblState" runat="server" Text='<%#  GetState(Eval("ispass")) %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="操作">
                                                            <ItemTemplate>
                                                                <img src="Images/calculator_edit.png" class="png img_style" />
                                                                <asp:LinkButton ID="ibtn" runat="server" CommandArgument='<%#  Eval("eType") %>'
                                                                    CommandName="exam" Text="考试" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <RowStyle Height="30px" />
                                                    <EmptyDataTemplate>
                                                        <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
                                                    </EmptyDataTemplate>
                                                </asp:GridView>
                                            </ContentTemplate>
                                            <Triggers>
                                                <asp:AsyncPostBackTrigger ControlID="btnExam" EventName="Click" />
                                            </Triggers>
                                        </asp:UpdatePanel>
                                    </div>
                                    <div class="tagContent" id="tagContent2" style="width:97%">
                                        <!--培训计划-->
                                        <asp:UpdatePanel ID="UpdatePanelPlan" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvTrainingPlan" runat="server" AutoGenerateColumns="False" PageSize="10"
                                                    Width="90%" DataKeyNames="PlanID" OnRowCommand="gvTrainingPlan_RowCommand" OnRowDataBound="gvTrainingPlan_RowDataBound">
                                                    <PagerSettings Visible="False" />
                                                    <Columns>
                                                        <asp:BoundField DataField="TypeID" HeaderText="计划类型" HeaderStyle-CssClass="rowStyle" />
                                                        <asp:TemplateField HeaderText="计划名称" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblName" runat="server" Text='<%# Common.CutString(Eval("PlanName").ToString(),20)  %>'></asp:Label>
                                                                <asp:Label ID="lblBeginTime" runat="server" Text='<%#  Eval("BeginTime").ToString() %>'
                                                                    Visible="false"></asp:Label>
                                                                <asp:Label ID="lblEndTime" runat="server" Text='<%#  Eval("EndTime").ToString() %>'
                                                                    Visible="false"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="BeginTime" DataFormatString="{0:D}" HeaderText="开始时间"
                                                            HeaderStyle-CssClass="rowStyle" />
                                                        <asp:BoundField DataField="EndTime" DataFormatString="{0:D}" HeaderText="结束时间" HeaderStyle-CssClass="rowStyle" />
                                                        <asp:TemplateField HeaderText="进入计划" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                 <img src="Images/plan_go.png" class="png img_style" />
                                                                <asp:LinkButton ID="ibtn" runat="server" CommandName="enter" Text="进入计划" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <RowStyle Height="30px" />
                                                    <EmptyDataTemplate>
                                                        <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
                                                    </EmptyDataTemplate>
                                                </asp:GridView>
                                            </ContentTemplate>
                                            <Triggers>
                                                <asp:AsyncPostBackTrigger ControlID="btnPlan" EventName="Click" />
                                            </Triggers>
                                        </asp:UpdatePanel>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="1%">
                &nbsp;
            </td>
            <td rowspan="3" width="39%">
                <table cellpadding="0" cellspacing="0" width="100%"><tr>
                        <td>
                            <table cellpadding="0" cellspacing="0"  width="100%">
                                <tr>
                                    <td>
                                        <div class="con" style="width:90%;">
                                <ul class="tags">
                                    <li class="selectTag"><a onclick="selectTag('tagContent4',this)" href="javascript:void(0)"
                                        onfocus="this.blur()">学时排名</a> </li>
                                    <li><a onclick="selectTag('tagContent5',this);GetTopCourse();" href="javascript:void(0)"
                                        onfocus="this.blur()">课程排名</a> </li>
                                    <li><a onclick="selectTag('tagContent6',this);GetRank();" href="javascript:void(0)"
                                        onfocus="this.blur()">知识排名</a> </li>
                                </ul>
                                <div id="tagContent" style="width:98%">
                                    <div class="tagContent selectTag" id="tagContent4" style="width:96%">
                                        <!--学时排名-->
                                        <asp:UpdatePanel ID="UpdatePanelLearnTimeTotal" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvTotal" Width="100%" runat="server" AutoGenerateColumns="False">
                                                    <PagerSettings Visible="False" />
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="姓名" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="Label1" runat="server" Text='<%# GetUserName(Eval("Userid").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="totaltime" HeaderText="总学习时间(分钟)" HeaderStyle-CssClass="rowStyle" />
                                                    </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>
                                            </ContentTemplate>
                                            <Triggers>
                                                <asp:AsyncPostBackTrigger ControlID="btnLearnTime" EventName="Click" />
                                            </Triggers>
                                        </asp:UpdatePanel>
                                    </div>
                                    <div class="tagContent" id="tagContent5" style="width:96%">
                                        <!--课程排名-->
                                        <asp:UpdatePanel ID="UpdatePanelTopCourse" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvTopCourse" Width="100%" runat="server" AutoGenerateColumns="False">
                                                    <PagerSettings Visible="False" />
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="课程" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="Label1" runat="server" Text='<%# Common.CutString(Eval("Name").ToString(),25)  %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="count" HeaderText="总分" HeaderStyle-CssClass="rowStyle" />
                                                    </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>
                                            </ContentTemplate>
                                            <Triggers>
                                                <asp:AsyncPostBackTrigger ControlID="btnTopCourse" EventName="Click" />
                                            </Triggers>
                                        </asp:UpdatePanel>
                                    </div>
                                    <div class="tagContent" id="tagContent6" style="width:96%">
                                        <asp:UpdatePanel ID="UpdatePanelRank" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvAchievement" runat="server" AllowPaging="True" AutoGenerateColumns="False">
                                                    <PagerSettings Visible="False" />
                                                    <Columns>
                                                        <asp:BoundField DataField="Userid" HeaderText="姓名" HeaderStyle-CssClass="rowStyle">
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Point" HeaderText="知识积分" HeaderStyle-CssClass="rowStyle" />
                                                    </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>
                                            </ContentTemplate>
                                            <Triggers>
                                                <asp:AsyncPostBackTrigger ControlID="btnTopRank" EventName="Click" />
                                            </Triggers>
                                        </asp:UpdatePanel>
                                    </div>
                                </div>
                            </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="0"  width="100%">
                                <tr>
                                    <td>
                                        <div class="con" style="width:90%">
                                <ul class="tags">
                                    <li class="selectTag"><a>课程排行</a></li>
                                </ul>
                                <div id="tagContent" style="width:98%">
                                    <div class="tagContent selectTag" style="width:96%">
                                        <p>
                                            益用LMS培训管理系统是成都益用科技依据众多客户的学习培训管理要求，使用C#开发的多层结构，并运行于国内应用广泛的win server与MS SQL结合的环境下的新一代网络学习平台。</p>
                                        <p>
                                            益用LMS培训管理系统是成都益用科技依据众多客户的学习培训管理要求，使用C#开发的多层结构，并运行于国内应用广泛的win server与MS SQL结合的环境下的新一代网络学习平台。</p>
                                    </div>
                                </div>
                            </div> 
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
        <tr>
            <td width="50%" valign="top">
                <table cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <td>
                             <div class="con"  style="width:90%;">
                                <ul class="tags">
                                    <li class="selectTag"><a>公告 </a></li>
                                </ul>
                                <div id="tagContent">
                                    <div class="tagContent selectTag" style="width:97%">
                                        <asp:UpdatePanel ID="UpdatePanelAffiche" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvAffiche" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                                    DataKeyNames="AfficheID" Width="90%">
                                                    <PagerSettings Visible="False" />
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="公告标题" HeaderStyle-CssClass="rowStyle">
                                                            <ItemTemplate>
                                                                <a style="cursor:hand" onclick="showAffiche('SysManage/AfficheInfo.aspx?id=<%# Eval("AfficheID") %>')">
                                                                    <%# Common.CutString(Eval("Title").ToString(),35) %></a>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="PublishTime" DataFormatString="{0:d}" HeaderText="发布时间"
                                                            HeaderStyle-CssClass="rowStyle" />
                                                    </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>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td width="50%" valign="top" >
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <div class="con" style="width:90%;">
                                <ul class="tags">
                                    <li ><a onclick="selectTag('tagContentt1',this)" href="javascript:void(0)"
                                        onfocus="this.blur()">动态</a> </li>
                                    <li class="selectTag"><a onclick="selectTag('tagContentt2',this);GetKnowledge();" href="javascript:void(0)"
                                        onfocus="this.blur()">知识库</a> </li>
                                </ul>
                                <div id="tagContent">
                                    <div class="tagContent" id="tagContentt1" style="width:97%">
                                        <p>
                                            益用LMS培训管理系统是成都益用科技依据众多客户的于国内应用广泛的win server与MS SQL结合的环境下的新一代网络学习平台。</p>
                                        <p>
                                            益用LMS培训管理系统是成都益用科技依据众多客户的ser于ver与MS SQL结合的环境下的新一代网络学习平台。</p>
                                    </div>
                                    <div class="tagContent selectTag" id="tagContentt2" style="width:97%">
                                        <asp:UpdatePanel ID="UpdatePanelKnowledge" runat="server">
                                            <ContentTemplate>
                                                <asp:GridView ID="gvKnowledge_P" Width="90%" runat="server" AutoGenerateColumns="False"
                                                    DataKeyNames="ID">
                                                    <Columns>
                                                        <asp:BoundField DataField="ClassName" HeaderText="分类" HeaderStyle-CssClass="rowStyle">
                                                            <ItemStyle HorizontalAlign="Left" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField HeaderText="标题" HeaderStyle-CssClass="rowStyle">
                                                            <ItemStyle HorizontalAlign="Left" CssClass="tdOverflow" />
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="hlkTitle" runat="server"><%# Common.CutString(Eval("Title").ToString(), 26)%></asp:HyperLink>
                                                                <asp:TextBox ID="txtUserID" runat="server" Visible="false" Text='<%# Eval("UserID") %>'></asp:TextBox>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="ClickRate" HeaderText="点击量" HeaderStyle-Width="60px" HeaderStyle-CssClass="rowStyle">
                                                            <HeaderStyle Width="60px" />
                                                            <ItemStyle HorizontalAlign="Left" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="UserName" HeaderText="发布者" HeaderStyle-CssClass="rowStyle">
                                                            <ItemStyle HorizontalAlign="Left" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="CreateTime" HeaderText="创建时间" HeaderStyle-CssClass="rowStyle">
                                                        </asp:BoundField>
                                                    </Columns>
                                                    <EmptyDataRowStyle BackColor="#E0E0E0" />
                                                    <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>
                                                </asp:GridView>
                                            </ContentTemplate>
                                            <Triggers>
                                                <asp:AsyncPostBackTrigger ControlID="btnKnowledge" EventName="Click" />
                                            </Triggers>
                                        </asp:UpdatePanel>
                                    </div>
                                </div>
                            </div> 
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <asp:Button ID="btnLearningCourse" runat="server" Text="学习中课程" OnClick="btnLearningCourse_Click" />
    <asp:Button ID="btnAffiche" runat="server" Text="公告" OnClick="btnAffiche_Click" />
    <asp:Button ID="btnKnowledge" runat="server" Text="知识库" OnClick="btnKnowledge_Click" />
    <asp:Button ID="btnPlan" runat="server" Text="培训计划" OnClick="btnPlan_Click" />
    <asp:Button ID="btnLearnTime" runat="server" Text="学时排名" OnClick="btnLearnTime_Click" />
    <asp:Button ID="btnTopCourse" runat="server" Text="课程排名" OnClick="btnTopCourse_Click" />
    <asp:Button ID="btnTopRank" runat="server" Text="知识等级排名" OnClick="btnTopRank_Click" />
    <asp:Button ID="btnExam" runat="server" Text="在线考试" OnClick="btnExam_Click" />
    </form>

  <script type="text/javascript">
      $(document).ready(function() {
      
          $("#loading").fadeOut();

      });
     
</script>
</body>
</html>
