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

<%@ Register Src="../inClude/head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="../InClude/bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<!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" ViewStateMode="Disabled">
    <title></title>
    <link rel="Shortcut Icon" href="/Images/favicon.ico" />
    <link href="../inClude/style.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    
    <script src="/js/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:head ID="head2" runat="server" ViewStateMode="Disabled" />
    <div class="height5px">
    </div>
    <div class="divWidth">
        <div class="divLeft" style="width: 200px;">
            <div style="background-image: url('/images/classNav01.gif'); background-repeat: no-repeat;
                height: 31px; line-height: 30px; text-align: left; color: White; font-size: 14px;
                font-weight: bold; padding-left: 10px;">
                <img src="/images/icon04.gif" style="vertical-align:middle;" />&nbsp;<asp:Literal ID="navListName" runat="server" ViewStateMode="Disabled"></asp:Literal>
            </div>
            <div class="darkGreenNavBottom">
                <div class="height10px"></div>
                <div style="text-align: left; padding-left: 50px;">
                    <asp:Repeater ID="navList" runat="server" ViewStateMode="Disabled">
                        <HeaderTemplate>
                            <ul style="width: 95px; text-align: left;">
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li style="height: 18px; line-height: 18px; list-style-type: square; font-size: 7px;
                                color: #cccccc;">
                                <asp:HyperLink ID="navHyperLink" runat="server" ViewStateMode="Disabled" NavigateUrl='<%# Eval("Tid","{0}.htm").ToString().Trim()%>'><%# Eval("TreeName").ToString().Trim()%></asp:HyperLink></li>
                            <li style="background-image: url('/images/line.jpg'); background-repeat: repeat-x;
                                background-position: center; height: 8px; font-size:0px;"></li>
                        </ItemTemplate>
                        <FooterTemplate>
                            </ul>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
                <div class="height10px"></div>
            </div>
            <div class="height10px"></div>
            <div>
                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
                    <tr>
                        <td class="greenNavLeft" style="padding-left: 10px; font-weight: bold; color: #3f8e01;
                            font-size: 14px;">
                            <img src="/images/icon06.gif" style="vertical-align:middle;" alt="教员必读" title="教员必读" />&nbsp;教员必读</td>
                        <td class="greenNavRight" style="text-align: right; padding-right: 15px;">
                            <a href="/help/163.htm" target="_blank">>> 更多</a>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="greenNavBottom">
                            <div class="height5px">
                            </div>
                            <div class="ulListArrowGreen" style="width: 190px;">
                                <asp:Repeater ID="memberRepeater" runat="server" ViewStateMode="Disabled">
                                    <HeaderTemplate>
                                        <ul>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <li>&nbsp;<asp:HyperLink ID="HyperLink4" runat="server" ViewStateMode="Disabled" Target="_blank" NavigateUrl='<%# Eval("Nid","/help/view/{0}.htm").ToString().Trim()%>'
                                            ToolTip='<%#Eval("NewTitle").ToString().Trim() %>'><%# getTitleColor(cutWords(Eval("NewTitle").ToString().Trim(), 12), Eval("titleFontB").ToString(), Eval("titleFontc").ToString())%></asp:HyperLink></li>
                                        <asp:PlaceHolder ID="PlaceHolder2" runat="server" ViewStateMode="Disabled" Visible='<%# Container.ItemIndex < 9 %>'>
                                            <li style="background-image: url('/images/line.jpg'); height: 6px; line-height: 6px;
                                                background-position: top; background-repeat: repeat-x; font-size: 0px;"></li>
                                        </asp:PlaceHolder>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ul>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="white-space:nowrap; overflow:hidden; width:200px;">
                 <div class="height10px"></div>
                 <asp:Literal ID="ad200" runat="server" ViewStateMode="Disabled"></asp:Literal>
            </div>
            <div class="height10px"></div>
        </div>
        <div class="divRight" style="width: 752px;">
            <div class="searchLine" style="padding: 5px;">
                <div style="background-color: White; text-align: center;">
                    <div style="text-align: left; padding: 5px;">
                        <table cellspacing="0" cellpadding="0" border="0" style="width:98%;" align="center">
                            <tr>
                                <td class="searchTitle">区域：&nbsp;<br /><asp:Literal ID="cityReset" runat="server" ViewStateMode="Disabled"></asp:Literal>&nbsp;&nbsp;</td>
                                <td>
                                    <asp:Literal ID="area" runat="server" ViewStateMode="Disabled"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="background-image:url('/images/line.gif'); background-repeat:repeat-x; height:12px; background-position:center; font-size:0px;"></td>
                            </tr>
                            <tr>
                                <td class="searchTitle">身份要求：&nbsp;</td>
                                <td>
                                    <asp:Literal ID="teacherType" runat="server" ViewStateMode="Disabled"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="background-image:url('/images/line.gif'); background-repeat:repeat-x; height:12px; background-position:center; font-size:0px;"></td>
                            </tr>                            
                            <tr>
                                <td class="searchTitle">授课方式：&nbsp;</td>
                                <td>
                                    <asp:Literal ID="teachStudy" runat="server" ViewStateMode="Disabled"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="background-image:url('/images/line.gif'); background-repeat:repeat-x; height:12px; background-position:center; font-size:0px;"></td>
                            </tr>
                            <tr>
                                <td class="searchTitle">性别：&nbsp;</td>
                                <td>
                                    <asp:Literal ID="sex" runat="server"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="background-image:url('/images/line.gif'); background-repeat:repeat-x; height:12px; background-position:center; font-size:0px;"></td>
                            </tr>
                            <tr>
                                <td class="searchTitle">关键词：</td>
                                <td>&nbsp;&nbsp;<asp:TextBox ID="searchStr" runat="server" ViewStateMode="Disabled" CssClass="inputTxt" Width="150px"></asp:TextBox>
                            <asp:ImageButton ID="searchButton" runat="server" ViewStateMode="Disabled" 
                                ImageUrl="~/images/search.jpg" ImageAlign="AbsMiddle" 
                                onclick="searchButton_Click" /></td>
                            </tr>
                        </table>                        
                    </div>
                </div>
            </div>
            <div class="height10px">
            </div>
            <div style="background-image: url('/images/listRight03.jpg'); background-repeat: no-repeat;
                background-position: bottom; height: 32px; line-height: 34px; text-align: left;">
                <table border="0" cellpadding="0" cellspacing="0" style="width:98%;" align="center">
                    <tr>
                        <td style="text-align:left;">
                            <asp:Literal ID="navClass" runat="server" ViewStateMode="Disabled"></asp:Literal>
                        </td>
                        <td style="text-align:right;">
                            排序：<asp:HyperLink
                    ID="listType0" runat="server" ViewStateMode="Disabled" Target="_top">默认</asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink
                            ID="listType1" runat="server" ViewStateMode="Disabled" Target="_top">人气</asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink
                            ID="listType2" runat="server" ViewStateMode="Disabled" Target="_top">推荐</asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink
                            ID="listType3" runat="server" ViewStateMode="Disabled" Target="_top">登录</asp:HyperLink>
                        </td>
                    </tr>
                </table>                
            </div>
            <div class="height10px">
            </div>
            <div style="background-color: #f6f6f6; border: 1px solid #ebebeb;">
                <div style="padding: 10px 10px 0px 10px;">
                    <asp:Repeater ID="sList" runat="server" ViewStateMode="Disabled">
                        <ItemTemplate>
                            <div style="background-color: #ffffff; border: 1px dashed #d4d3d3;">
                                <table border="0" cellpadding="5" cellspacing="1">
                                    <tr>
                                        <td style="width: 280px; text-align: left;">
                                            <table cellpadding="2" cellspacing="2" border="0">
                                                <tr>
                                                    <td style="text-align: left;">
                                                        <asp:Image ID="myImg" runat="server" ViewStateMode="Disabled" BorderColor="#efefef" BorderStyle="Dotted" BorderWidth="1px"
                                                            ImageUrl='<%# img(Eval("userImg").ToString().Trim()) %>' Height="100px" Width="100px" />
                                                    </td>
                                                    <td style="text-align: left;">
                                                        <ul style="text-align: left; line-height: 160%;">
                                                            <li>[教员]
                                                                <%# name(Eval("userName").ToString().Trim(), Eval("userSex").ToString().Trim())%></li>
                                                            <li>[编号]
                                                                <%# cNums("t", Eval("Uid").ToString().Trim())%></li>
                                                            <li>[区域]
                                                                <%# getPCA(Eval("provinceID").ToString().Trim(), Eval("cityID").ToString().Trim(), Eval("areaID").ToString().Trim())%>
                                                                </li>
                                                            <li>[科目]
                                                                <%# cutWords(idsName(Eval("teachTypeID").ToString().Trim()),8)%></li>
                                                            <li>[状态]
                                                                <%# getStudentInfo(Eval("workFlag").ToString().Trim())%></li>
                                                        </ul>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td style="text-align: left; width: 330px;">
                                            <ul style="text-align: left; line-height: 160%;">
                                                <li>[目前身份]
                                                    <%# getTreeName(Eval("nowWork").ToString().Trim())%></li>
                                                <li>[辅导方式]
                                                    <%# idsName(Eval("teachStudyIDs").ToString().Trim())%></li>
                                                <li>[薪水要求]
                                                    <%# pay(Eval("payMoney").ToString().Trim(), Eval("payBit").ToString().Trim())%></li>
                                                <li title='<%# Eval("aboutME").ToString().Trim()%>'>[自我描述]
                                                    <%# cutWords(Eval("aboutME").ToString().Trim(), 18)%></li>
                                                <li title='<%# Eval("teachRoad").ToString().Trim()%>'>[授课区域]
                                                    <%# cutWords(Eval("teachRoad").ToString().Trim(), 18)%></li>
                                            </ul>
                                        </td>
                                        <td style="text-align: right;">
                                            <div style="background-image: url('/images/bottomOrageBg.jpg'); background-repeat: no-repeat;
                                                background-position: bottom; width: 67px; height: 25px; line-height: 26px; text-align: center;">
                                                <asp:HyperLink ID="HyperLink3" runat="server" ViewStateMode="Disabled" NavigateUrl='<%# Eval("tID","/teacher/view/{0}.htm").ToString().Trim() %>' Target="_blank">查看详情</asp:HyperLink></div>
                                            <div style="text-align: center; height: 26px; line-height: 26px;">
                                                <%# Eval("readNums").ToString().Trim()%>
                                                人访问</div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="height10px">
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div id="errDiv" runat="server" ViewStateMode="Disabled">
                    <div style="height: 300px;">
                    </div>
                    <div style="text-align: center;">
                        <asp:Label ID="errInfo" runat="server" ViewStateMode="Disabled" ForeColor="#FF3300"></asp:Label></div>
                    <div style="height: 300px;">
                    </div>
                </div>
            </div>
            <div class="height10px">
            </div>
            <div style="text-align: center;">
                <asp:Literal ID="lblCurrentPage" runat="server" ViewStateMode="Disabled"></asp:Literal>
            </div>
        </div>
    </div>
    <div class="height10px">
    </div>
    <uc2:bottom ID="bottom1" runat="server" ViewStateMode="Disabled" />
    </form>
</body>
</html>
