<%@ Page Language="c#" CodeBehind="PostTeacher.aspx.cs" AutoEventWireup="True" Inherits="MTCUN.Mobile.Student.PostTeacher"
    ValidateRequest="false" Title="评价老师-学员" %>

<%@ Import Namespace="MTCUN" %>
<!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">
    <link id="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="FormPost" method="post" runat="server">
        <div id="web_page_contents">
            <div class="biao_zhun_suo_jin">
                <div class="kuai_show">
                    <h1 style="text-align: center">评价老师</h1>
                    <table class="table_simple_kuan" style="margin-left: auto; margin-right: auto"
                        border="0" cellspacing="0">
                        <tr class="required">
                            <td style="width: 80px">班级：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlStuClass" DataTextField="ClassName" DataValueField="StuClassID"
                                    runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlStuClass_SelectedIndexChanged">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>老师：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlUsers" DataTextField="TrueName" DataValueField="UserID"
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>级别：
                            </td>
                            <td>
                                <asp:RadioButtonList ID="rblLevel" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Selected="True" Value="1">好评</asp:ListItem>
                                    <asp:ListItem Value="2">中评</asp:ListItem>
                                    <asp:ListItem Value="3">差评</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>内容：
                            </td>
                            <td>
                                <asp:TextBox runat="server" MaxLength="70" ID="tbxContent" Height="75px"
                                    TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                    </table>

                </div>

                <label class="lab_button_kuan">
                    <asp:Button ID="btnGoto" runat="server" Text="发送" OnClick="btnGoto_Click"></asp:Button>
                </label>
               <label class="lab_button_kuan" id="__mt_labBack" runat="server">
                    <input causesvalidation="false" type="button" runat="server" onclick="back(this)" value="返回" />
                </label>

                <div class="divpanel">
                    <asp:Repeater ID="repBlock" runat="server">
                        <ItemTemplate>
                            <asp:Panel ID="plItem" runat="server" CssClass="kuai">
                                    <table cellpadding="1" cellspacing="0" class="table_simple_kuan">
                                        <tr>
                                            <td rowspan="2" style="width: 50px; border-top-width: 0px">
                                                <%#Eval("TeacherName")%>
                                            </td>
                                            <td style="height: 20px; border-top-width: 0px">评级：<%# Rs.Items.GetEvalTeacherLevel(Eval("Level"))%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td height="50">
                                                <%#swq.Tools.HtmlEncode(Eval("Content").ToString())%>
                                                <p style="text-align:right">
                                                    时间：<%#Eval("DateAndTime","{0:yy/M/d HH:m}")%>
                                            </td>
                                        </tr>
                                    </table>
                            </asp:Panel>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div class=" pager_button">
                    <asp:Literal ID="litPagerButton" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
