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



<%@ 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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <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">
                    课程出勤管理
                </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">
                            </asp:DropDownList>
                        </p>

                        <p>
                            <label for="drpSkyDID">
                                开课院系：</label>
                            <asp:DropDownList ID="drpSkyDID" runat="server">
                            </asp:DropDownList>
                        </p>

                        <p>
                            <label for="txtCourseName">课程名称：</label><asp:TextBox ID="txtCourseName" runat="server" ToolTip="课程名称" Text=""></asp:TextBox>
                        </p>

                         <p>
                            <label for="txtUserID">教师名称：</label><asp:TextBox ID="txtUserID" runat="server" ToolTip="教师名称" Text=""></asp:TextBox>
                        </p>

                         <p>
                            <label for="txtSkyCID">班级名称：</label><asp:TextBox ID="txtSkyCID" runat="server" ToolTip="班级名称" Text=""></asp:TextBox>
                        </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="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 class="divInfoContext">
                <asp:Repeater runat="server" ID="rptInfo">
                    <HeaderTemplate>
                        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist">
                            <tr class="tablisttitle">
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="ID">序号</asp:LinkButton>
                                </td>
                                <td>
                                    <%=cHTMLFx%>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="CourseID">课程编号</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="CourseName">课程名称</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="SkyTName">开课学期</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="SkyDName">开课院系</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="SkyCName">开课班级</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="UserName">开课教师</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="Festival">课程节数</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="CourseHours">课程学时</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="CourseCredit">课程学分</asp:LinkButton>
                                </td>
                                <td><asp:LinkButton runat="server" OnClick="SkyLnkSort_Click" CommandArgument="CourseAttendance">出勤记录</asp:LinkButton>
                                </td>
                                <td>出勤管理
                                </td>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="tablisttr">
                            <td>
                                <%#Eval("ID") %>
                            </td>
                            <td>
                                <asp:CheckBox runat="server" ID="chkselect" ToolTip='<%#Eval("ID") %>' />
                            </td>
                            <td>
                                <%#Eval("CourseID")%>
                            </td>
                            <td>
                                <%#Eval("CourseName")%>
                            </td>
                            <td>
                                <%#Eval("SkyTName")%>
                            </td>
                            <td>
                                <%#Eval("SkyDName")%>
                            </td>
                            <td>
                                <%#Eval("SkyCName")%>
                            </td>
                            <td>
                                <%#Eval("UserName")%>
                            </td>
                            <td>
                                <%#Eval("Festival")%>
                            </td>
                            <td>
                                <%#Eval("CourseHours")%>
                            </td>
                            <td>
                                <%#Eval("CourseCredit")%>
                            </td>
                            <td><span class="fontred">
                                <%#Eval("CourseAttendance")%> 条</span>
                            </td>
                            <td>
                                 

                                <%#UsToolArtUrl("/admin/extcourse/courseattendancelist.aspx?cid="+Eval("SkyDepartCourseID").ToString(), "[出勤管理]","B3")%>

                              

                              <%#UsToolArtUrlNoPage("/admin/extcourse/courseattendanceexport.aspx" +"?stype=2&SkyCID="+Eval("SkyCID").ToString()+"&SkyDepartCourseID="+Eval("SkyDepartCourseID").ToString(), "[导出考勤表]",pDefault.sSize)%>
                              <%#UsToolArtUrlNoPage("/admin/extcourse/courseattendanceexport.aspx" +"?stype=1&SkyCID="+Eval("SkyCID").ToString()+"&SkyDepartCourseID="+Eval("SkyDepartCourseID").ToString(), "[导出空表]",pDefault.sSize)%>


                               
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </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>
        <div class="divFootInfo">
        </div>
    </form>
</body>
</html>
