<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeacherLessons.aspx.cs" Inherits="MTCUN.Mobile.Affairs.TeacherLessons" Title="老师课时统计-教务" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../User_Col/col_Header.ascx" TagName="col_Header" TagPrefix="uc1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link id="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />
    <link runat="server" href="../msg/Themes/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <uc1:col_Header ID="col_Header1" runat="server" />
        <div id="web_page_contents">
            <div class="search biao_zhun_suo_jin">

                <div class="striking">
                    <table class="table_simple_kuan" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <div style="text-align: center">
                                    <asp:Label ID="labMonth" runat="server" Font-Bold="true"></asp:Label>
                                </div>
                                <asp:TextBox ID="tbxDateAndTime" runat="server" Visible="false"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table cellpadding="2" cellspacing="0" class=" table_simple_kuan">
                                    <tr>
                                        <td>
                                            <label class="lab_button_kuan pckuan">
                                                <asp:Button ID="btnShow" runat="server" OnClick="btnShow_Click" Text="本月" />
                                            </label>
                                        </td>
                                        <td>
                                            <label class="lab_button_kuan pckuan">
                                                <asp:Button ID="btnUp" runat="server" OnClick="btnUp_Click" Text="上月" />
                                            </label>
                                        </td>
                                        <td>
                                            <label class="lab_button_kuan pckuan">
                                                <asp:Button ID="btnDown" runat="server" OnClick="btnDown_Click" Text="下月" />
                                            </label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="main">
                    <asp:Repeater ID="repBlock" runat="server">
                        <ItemTemplate>
                            <div class="kuai" style="margin: 3px; margin-bottom: 10px;">
                                <div class="inforow" style="height: 80px">
                                    <div class="logo" style='<%# string.Format("background-image:url(\"{0}\")",ShowUserFace(Eval("头像").ToString())) %>'>
                                    </div>
                                    <div class="name">
                                        <%#Eval("老师")%>
                                    </div>
                                    <div class="time">
                                        总小时：<%#Eval("总小时数")%></div>
                                    <div class="content" style="height: 60px">
                                        总课次：<%#Eval("总课次")%>总课时：<%#Eval("总课时")%><br />班级总课时费：<%#Eval("班级总课时费","{0:c2}")%><br />消耗学员课时费：<%#Eval("消耗学费","{0:c2}")%><br /></div>

                                </div>                                    <div class="lab_button">
                                        <asp:HyperLink ID="hlkShow" runat="server" NavigateUrl='<%#string.Format("TeacherLessonsShow.aspx?TeacherID={0}&DateAndTime={1}&geturl={2}",Eval("工号"), Server.UrlEncode(tbxDateAndTime.Text), swq.Web.PathAndQuery()) %>'>明细</asp:HyperLink>
                                    </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>

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