<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="member_student_Default" %>

<%@ Register Src="../../include/head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="../../include/bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<%@ Register Src="../user/left.ascx" TagName="left" TagPrefix="uc3" %>

<!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>
    <link href="../../InClude/style.css" rel="stylesheet" type="text/css" />
    <link href="../user/member.css" rel="stylesheet" type="text/css" />
    <link rel="Shortcut Icon" href="/Images/favicon.ico" />
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/all.js" type="text/javascript"></script>
    <style type="text/css">
        .titleBlue {
            font-size: 14px;
            font-weight: bold;
            color: #2063b6;
            text-align: center;
            text-align: left;
        }

        .red {
            color: #FF3300;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <uc1:head ID="head2" runat="server" />
         <div class="divWidth">
            <div class="divLeft" style="height: 36px; line-height: 36px;">
                <img src="../../images/home.gif" style="vertical-align: middle;" />&nbsp;<a href="/" target="_top">网站首页</a>&nbsp;-&nbsp;<a href="/member/" target="_top">会员中心</a>&nbsp;-&nbsp;请家教
            </div>
        </div>
        <div class="divWidth">
            <div class="divLeft" style="width: 170px; text-align: left;">
                <uc3:left ID="left1" runat="server" />
                <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="3600"></asp:ScriptManager>
            </div>
            <div class="divRight">
                <div class="userNavTitle" style="width: 786px;">
                    &nbsp;&nbsp;&nbsp;管理家教信息
                </div>
                <div class="userNavLRB" style="width: 786px;">
                    <div style="padding: 15px 25px 15px 25px; text-align: left;">
                        <div>
                            <asp:Repeater ID="RepeaterList" runat="server">
                                <HeaderTemplate>
                                    <table border="0" cellpadding="1" cellspacing="1" style="width: 100%;">
                                        <tr>
                                            <td style="text-align: left; font-weight: bold;">家长姓名</td>
                                            <td style="text-align: left; font-weight: bold;">求教科目</td>
                                            <td style="text-align: left; font-weight: bold;">联系方式</td>
                                            <td style="text-align: left; font-weight: bold;">状态</td>
                                            <td style="text-align: center; font-weight: bold; width: 8%;">操作</td>
                                        </tr>
                                        <tr>
                                            <td colspan="5" style="background-image: url('/images/line.jpg'); background-repeat: repeat-x; height: 5px;"></td>
                                        </tr>
                                </HeaderTemplate>

                                <ItemTemplate>
                                    <tr>
                                        <td style="text-align: left;">
                                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("sid","/student/view/{0}.htm").ToString().Trim() %>' Target="_blank"><%# HttpUtility.UrlDecode(Request.Cookies["XabaraUser"]["userName"].ToString().Trim())%></asp:HyperLink></td>
                                        <td style="text-align: left;">
                                            <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%# Eval("sid","/student/view/{0}.htm").ToString().Trim() %>' Target="_blank"><%# IDsTreeName(Eval("GradeIDs").ToString().Trim(),",")%></asp:HyperLink></td>
                                        <td><%# Eval("userMobile").ToString().Trim()%><%# string.IsNullOrEmpty(Eval("userTel").ToString().Trim() as string) ? "" : " " + Eval("userTel").ToString().Trim()%></td>
                                        <td style="text-align: left;"><%# getFlag(Eval("workFlag").ToString().Trim())%></td>
                                        <td style="text-align: center; line-height: 160%;"><a href="edit.aspx?id=<%# Eval("sID").ToString() %>" target="_blank">修改</a></td>
                                    </tr>
                                    <tr>
                                        <td colspan="5" style="background-image: url('/images/line.jpg'); background-repeat: repeat-x; height: 5px;"></td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                        <div style="height: 30px; line-height: 30px; text-align: center;">
                            <asp:Label ID="lblCurrentPage" runat="server"></asp:Label></div>
                    </div>
                </div>
            </div>
        </div>

        <div class="height10px"></div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
