<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="classscoreanalysis.aspx.cs"
    Inherits="Us.Web.admin.score.classscoreanalysis" %>


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="Us.FrameWork.UsTools" Namespace="Us.FrameWork" 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>
        <asp:Literal ID="LiteralTitle" runat="server">成绩分析</asp:Literal>
    </title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />

    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>



    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            $("#topURLul").children().click(function () {
                $(this).siblings().removeClass().end().addClass("divURLed");
                $("#mypanel").children().css("display", "none");
                $("#d" + this.id).css("display", "");

                //alert(this.id);
            });
            $("#topURLul").children().hover(
              function () {
                  $(this).addClass("divURLon");
                  //akon(this);
              },
              function () {
                  if ($(this).attr("class") != "divURLed") {
                      $(this).removeClass("divURLon");
                  }
              }
            );
        });
    </script>

</head>
<body onload="win_onLoad();">
    <form id="Form1" method="post" runat="server">
        <div id="tbMain">
            <div class="divTbg">
                <div class="divTbgL">
                </div>
                <div class="divTbgInfo">
                    <div class="divTbgTitle">
                        <span class="WtableTBig">成绩分析 </span>
                    </div>
                </div>
            </div>
            <div class="divTbgF">
            </div>
            <div class="divTNavBG" id="topURL">
                <ul id="topURLul">
                    <li class="divURLed" id="div1">
                        <div>
                            <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" /><span
                                class="tableTBig">课程基本信息</span>
                        </div>
                    </li>
                    <li  id="div2">
                        <div>
                            <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" /><span
                                class="tableTBig">成绩分析</span>
                        </div>
                    </li>
                    <li  id="div3">
                        <div>
                            <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" />分数等级
                        </div>
                    </li>
                     <li id="div4">
                        <div>
                            <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" />分数比例
                        </div>
                    </li>
                </ul>
            </div>
            <div id="mypanel">
                <div  id="ddiv1">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navtitle">
                                        课程基本信息
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">
                        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist">
                            <tr>
                                <td width="12%" align="center" class="tablisttitle">开课编号
                                </td>
                                <td width="12%" align="center" class="tablisttitle">课程名称
                                </td>
                                <td width="12%" align="center" class="tablisttitle">开课院系
                                </td>
                                <td width="12%" align="center" class="tablisttitle">开课班级
                                </td>
                                <td width="12%" align="center" class="tablisttitle">开课学期
                                </td>
                                <td width="12%" align="center" class="tablisttitle">开课教师
                                </td>
                                <td width="12%" align="center" class="tablisttitle">课程学时
                                </td>
                                <td width="12%" align="center" class="tablisttitle">课程学分
                                </td>
                            </tr>
                            <tr>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal2" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal3" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal4" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal5" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal6" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal7" runat="server"></asp:Literal>
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal8" runat="server"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div  id="ddiv2">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navtitle">
                                        成绩分析
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">
                        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist">
                            <tr>
                                <td width="12%" align="center" class="tablisttitle">开课人数
                                </td>
                                <td width="12%" align="center" class="tablisttitle">总分
                                </td>
                                <td width="12%" align="center" class="tablisttitle">平均分
                                </td>
                                <td width="12%" align="center" class="tablisttitle">最高分
                                </td>
                                <td width="12%" align="center" class="tablisttitle">最低分
                                </td>
                                <td width="12%" align="center" class="tablisttitle">均分以上人数
                                </td>
                                <td width="12%" align="center" class="tablisttitle">均分以下人数
                                </td>
                                <td width="12%" align="center" class="tablisttitle">及格率
                                </td>
                            </tr >
                            <tr align="center">
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal9" runat="server"></asp:Literal>
                                    人
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal10" runat="server"></asp:Literal>
                                    分
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal11" runat="server"></asp:Literal>
                                    分
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal12" runat="server"></asp:Literal>
                                    分
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal13" runat="server"></asp:Literal>
                                    分
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal14" runat="server"></asp:Literal>
                                    人
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal15" runat="server"></asp:Literal>
                                    人
                                </td>
                                <td align="center" class="tabmanagertr">
                                    <asp:Literal ID="Literal16" runat="server"></asp:Literal>
                                    %                            </td>
                            </tr>
                        </table>
                    </div>
                </div>



                <div  id="ddiv4">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navtitle">
                                        成绩区间比例
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">
                         <asp:GridView ID="gvFSD" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            CellPadding="0" CellSpacing="1" GridLines="None" Width="100%" CssClass="tablist"
                            HorizontalAlign="Center" EnableModelValidation="True" >
                            <RowStyle CssClass="tablisttr" HorizontalAlign="Center" />
                            <HeaderStyle HorizontalAlign="Center" CssClass="tablisttitle"></HeaderStyle>
                            <Columns>
                                <asp:BoundField DataField="id" HeaderText="序号" />
                                <asp:BoundField HeaderText="分数段" DataField="分数段" />
                                <asp:BoundField HeaderText="人数" DataField="个数" DataFormatString="{0:d}人" />
                                <asp:TemplateField HeaderText="百分比">
                                    <ItemTemplate>
                                        <asp:Literal runat="server" Text='<%#Eval("百分比") %>'></asp:Literal>%
                                    </ItemTemplate>
                                </asp:TemplateField>
                               
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>






                <div  id="ddiv3">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navtitle">分数等级</div>
                                </div>
                                <div class="listRight nodisplay">
                                    <ul>
                                        <li class="navstyle1">
                                            <input type="checkbox" name="chkselect" id="chkselect" onclick="skySelectCheckList();" />
                                            <label for="chkselect">全选</label>
                                        </li>
                                        <li class="navstyle2">
                                            <asp:LinkButton ID="LnkBAdd" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">添加</asp:LinkButton>
                                        </li>
                                        <li class="navstyle3">
                                            <asp:LinkButton ID="LnkBEdit" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">编辑</asp:LinkButton>
                                        </li>
                                        <li class="navstyle4">
                                            <asp:LinkButton ID="LnkBDelete" runat="server" OnClick="SkyLnkBAMD_Click" Enabled="false">删除</asp:LinkButton>
                                        </li>
                                        <li class="navstyle5">
                                            <asp:LinkButton ID="LnkBExcel" runat="server" OnClick="SkyLnkBAMD_Click">导出</asp:LinkButton>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">
                        <div style="font: 2px; line-height: 2px;">
                            &nbsp;
                        </div>
                        <asp:GridView ID="gvInfo" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            CellPadding="0" CellSpacing="1" GridLines="None" Width="100%" CssClass="tablist"
                            HorizontalAlign="Center" OnRowDataBound="gvInfo_RowDataBound">
                            <RowStyle CssClass="tablisttr" HorizontalAlign="Center" />
                            <HeaderStyle HorizontalAlign="Center" CssClass="tablisttitle"></HeaderStyle>
                            <Columns>
                                <asp:BoundField DataField="id" HeaderText="序号" />
                                <asp:BoundField HeaderText="分数等级名称" DataField="GName" />
                                <asp:BoundField HeaderText="分数区间" DataField="GResults" />
                                <asp:BoundField HeaderText="人数" DataField="GNum" DataFormatString="{0:d}人" />
                                <asp:BoundField HeaderText="" DataField="GNumString" HtmlEncode="False">
                                    <ItemStyle Width="500px" HorizontalAlign="Left" />
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>

                       
                    </div>
                     <div class="divInfo">
                       
                       <table width="100%" border="0" cellspacing="1" cellpadding="5">
                      <tr>
                        <td align="center" width="50%"><cc1:UsChart ID="UsChart1" runat="server" ChartHeight="350px" /></td>
                        <td align="center" width="50%"><cc1:UsChart ID="UsChart2" runat="server" ChartHeight="350px" /></td>
                      </tr>
                    </table>
                    </div>
                    <div class="divInfoColor nodisplay">
                         
                                    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" OnPageChanged="Pager_PageChanged"
                                        ShowCustomInfoSection="Left" ShowPageIndexBox="Always" ShowPageIndex="False"
                                        CustomInfoHTML="共 <B>%PageCount%</B> 页，当前为第 <B>%CurrentPageIndex%</B> 页，每页 <B>%PageSize%</B> 条"
                                        SubmitButtonText="" FirstPageText="首页" LastPageText="尾页" LayoutType="Table" NextPageText="后一页"
                                        PrevPageText="前一页" ShowMoreButtons="False" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到"
                                        CustomInfoTextAlign="Left" HorizontalAlign="Right">
                                    </webdiyer:AspNetPager>
                               
                    </div>
                </div>
            </div>
        </div>
       
    <asp:Literal ID="LiteralScript" runat="server" EnableViewState="False"></asp:Literal>
    </form>
</body>
</html>
