<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GuestBook.aspx.cs" Inherits="MyITJob.Company.GuestBook" %>

<%@ Register TagPrefix="ascx" TagName="PageFooter" Src="~/ascx/PageFooter.ascx" %>
<%@ Register TagPrefix="ascx" TagName="LeftPage" Src="~/Company/LeftDH.ascx" %>
<%@ Register TagPrefix="ascx" TagName="PageTop2" Src="~/ascx/PageTop2.ascx" %>
<!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>
        <%=Application["PageTitle"] %> - 求职者咨询列表</title>
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style5 { width: 112px; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ascx:PageTop2 ID="PageTop2" runat="server" />
        <table width="985" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="13%" valign="top">
                    <ascx:LeftPage ID="LeftPage" runat="server" />
                </td>
                <td width="8%" valign="top">
                </td>
                <td width="79%" valign="top">
                    <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                        <tr class='topbg2'>
                            <td colspan="2" align='center'>
                                <strong class="Glow">留 言 设 置</strong></td>
                        </tr>
                        <tr class='tdbg'>
                            <td class="style5" valign="top">
                                <div align="right">
                                    <strong>是否使用：</strong></div>
                            </td>
                            <td>
                                如果您选择否的话，求职者将无法对贵司进行留言。<br />
                                <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                                    RepeatDirection="Vertical" RepeatLayout="Flow">
                                    <asp:ListItem Value="1" Selected="True">开启留言功能</asp:ListItem>
                                    <asp:ListItem Value="0">关闭留言功能</asp:ListItem>
                                </asp:RadioButtonList>&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button1" 
                                    runat="server" Text=" 提交设置 " onclick="Button1_Click" />
                            </td>
                        </tr>
                    </table>
                    <br />
                    <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                        <tr class='topbg2'>
                            <td align='center'>
                                <strong class="Glow">咨 询 问 题 列 表>咨 询 问 题 列 表</strong></td>
                        </tr>
                        <asp:Repeater ID="GB_RP" runat="server">
                        <ItemTemplate>
                        <tr class='tdbg'>
                            <td>
                                <a href="http://localhost:1821/Person_Lookzl/id-<%#Eval("pid") %>.html"><%#Eval("username") %></a> 提出问题：<span style="color:#666;"><%#Eval("neirong") %></span><br />
                                回复内容：<span style="color:#666;"><%#Eval("huifu") %></span><br />
                                提问时间：<%#Eval("addtime") %> <a href='GuestBookShow.aspx?id=<%#Eval("id") %>'>【回答问题】</a>
                            </td>
                        </tr>
                        </ItemTemplate>
                        </asp:Repeater>
                    </table>
                    <div id="paging" runat="server"></div>
                </td>
            </tr>
        </table>
        <ascx:PageFooter ID="PageFooter" runat="server" />
    </form>
</body>
</html>