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

<%@ Register Assembly="Us.FrameWork.UsTools" Namespace="Us.FrameWork" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />

    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>
</head>
<body>
    <form id="Form1" method="post" runat="server">

        <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="divSearchBoth">
            <div class="divInfo">
                <div class="divInfoblack">
                    <div class="divInfoTopList">
                        <div class="listLeft">
                            <div class="navsearchtitle">教师评价成绩搜索</div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="divInfo">
                <div class="divSearch">
                    <div id="searchBox" class="clearsearch">
                        <p>
                            <label for="drpSkyTID">
                                开课学期：</label>
                            <asp:DropDownList ID="drpSkyTID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyTID_SelectedIndexChanged">
                            </asp:DropDownList>
                        </p>
                        <p>
                            <label for="drpSkyDID">
                                开课院系：</label>
                            <asp:DropDownList ID="drpSkyDID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged">
                            </asp:DropDownList>
                        </p>
                        <p>
                            <label for="drpSkyPID">
                                开课专业：</label>
                            <asp:DropDownList ID="drpSkyPID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyPID_SelectedIndexChanged">
                            </asp:DropDownList>
                        </p>
                        <p>
                            <label for="drpSkyCID">
                                开课班级：</label>
                            <asp:DropDownList ID="drpSkyCID" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpSkyCID_SelectedIndexChanged">
                            </asp:DropDownList>
                        </p>
                        <p id="searchSubmit">
                            <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="确认搜索" CssClass="SkyButtonFocus" />
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <div class="divInfo">
            <div class="divInfoblack">
                <div class="divInfoTopList">
                    <div class="listLeft">
                        <div class="navtitle">教师评价成绩列表</div>
                    </div>
                    <div class="listRight">
                        <ul>
                            <li class="navstyle1">
                                <input type="checkbox" name="chkselect" id="chkselect" onclick="skySelectCheckList();" />
                                <label for="chkselect">全选</label>
                            </li>
                           <li class="navstylelist">
                                <asp:LinkButton ID="LnkBList" runat="server" OnClick="SkyLnkBAMD_Click">列表</asp:LinkButton>
                            </li>
                            <li class="navstylereport">
                                <asp:LinkButton ID="LnkBReport" runat="server" OnClick="SkyLnkBAMD_Click">图表</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">
                <RowStyle CssClass="tablisttr" HorizontalAlign="Center" />
                <HeaderStyle HorizontalAlign="Center" CssClass="tablisttitle"></HeaderStyle>
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="序号" />
                    <asp:BoundField DataField="CourseID" HeaderText="课程编号" />
                    <asp:BoundField HeaderText="课程名称" DataField="CourseName" />
                    <asp:BoundField HeaderText="开课学期" DataField="SkyTName" />
                    <asp:BoundField HeaderText="开课院系" DataField="SkyDName" />
                    <asp:BoundField HeaderText="开课教师" DataField="UserName" />
                    <asp:BoundField HeaderText="课程节数" DataField="Festival" />
                    <asp:BoundField HeaderText="课程学时" DataField="CourseHours" />
                    <asp:BoundField HeaderText="课程学分" DataField="CourseCredit" />
                    <asp:BoundField HeaderText="总分" DataField="CourseHours" ItemStyle-ForeColor="Red" />
                    <asp:BoundField HeaderText="总人数" DataField="CourseHours" />
                    <asp:BoundField HeaderText="平均分" DataField="CourseHours" ItemStyle-ForeColor="Green" />
                    <asp:BoundField HeaderText="评价等级" DataField="CourseHours" />

                    <asp:TemplateField HeaderText="操作">
                        <ItemTemplate>
                            <%#UsToolArtUrl("/admin/evaluation/evaluationscoremanage.aspx" +"?id="+Eval("id").ToString(), "[角色汇总]",pDefault.sSize)%>
                            <%#UsToolArtUrl("/admin/evaluation/evaluationscoreview.aspx" +"?id="+Eval("id").ToString(), "[查看详细]",pDefault.sSize)%>
                        </ItemTemplate>
                    </asp:TemplateField>

                </Columns>
            </asp:GridView>
             <div class="divInfoContext">
                <cc1:UsChart ID="UsChart1" runat="server" Visible="false" ChartHeight="400px" />
            </div>
        </div>
        <div class="divInfo">
            <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist">
                <tr>
                    <td class="tablisttr">
                        <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>
                    </td>
                </tr>
            </table>
        </div>

        <asp:Literal ID="LiteralScript" runat="server" EnableViewState="False"></asp:Literal>

    </form>
</body>
</html>
