<%@ page language="C#" autoeventwireup="true" inherits="ly_index, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="Pager" Namespace="Wuqi.Webdiyer" TagPrefix="DataPager" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.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 runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>留言中心_<%=ZK.config("sitetitle") %></title><meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <style type="text/css">
        .LYlist
        {
            padding: 0 10px 10px 10px;
        }
        .LYlist .item
        {
            padding-top: 10px;
        }
        .LYlist .item table
        {
            background-color: #b8d2f1;
        }
        .LYlist .item td
        {
            background-color: #fff;
            padding: 4px;
        }
        .LYlist .item .td1
        {
            padding-left: 10px;
            background: #e0eeff url(/skin/public/gradualBG1.gif) repeat-x 0 0;
            color: #666;
        }
        .LYlist .item .td1 a, .LYlist .item .td1 a:hover
        {
            color: #069;
        }
        .LYlist .item .td2
        {
            color: #333;
            font-size: 14px;
            line-height: 2;
            padding: 6px;
        }
        .LYlist .item .td2 .con1
        {
            padding: 0 6px;
        }
        .LYlist .item .td2 .con2
        {
            padding: 4px 6px 4px 10px;
            background-color: #fef4e2;
            color: #f60;
            border: solid 1px #f3d9a9;
            margin-top: 5px;
        }
    </style>
</head>
<body>
    <div class="wrap"><a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <div class="box">
            <div class="c1 mt5">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">留言板</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                        <div class="tip_nodata" id="tip_nodata" style="background-position: 12px 12px">No data!&nbsp;&nbsp;还没有信息</a></div>
                    </asp:Panel>
                    <asp:Panel ID="Panel_List" runat="server">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <HeaderTemplate>
                                <div class="LYlist">
                                    <div style="padding-top: 10px"><a href="/user/feedback.aspx?parentid=<%=WM.RQ("classid")%>" target="_blank"><img alt="" src="ly.gif" /></a></div>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <div class="item">
                                    <table border="0" cellpadding="0" cellspacing="1" width="100%">
                                        <tr>
                                            <td class="td1">
                                                <strong><%#get2(Eval("uid").ToString())%></strong>&nbsp;&nbsp;留言于：<%#WMtime.Diff(Eval("time").ToString(), "yyyy-MM-dd HH:mm")%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td2">
                                                <div class="con1"><%#Eval("content")%></div>
                                                <%#get1(Eval("recontent").ToString())%>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </ItemTemplate>
                            <FooterTemplate>
                                </div>
                            </FooterTemplate>
                        </asp:Repeater>
                    </asp:Panel>
                    <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                        <div id="DataPager">
                            <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                <tr>
                                    <td>
                                        <DataPager:AspNetPager ID="Pager1" runat="server" Style="padding-top: 0;" OnPageChanged="Pager1_PageChanged" UrlPagingTarget="_self" PageSize="10" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页" NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn" CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp" SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false" NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn" AlwaysShow="true">
                                        </DataPager:AspNetPager>
                                    </td>
                                </tr>
                            </table>
                            <div class="clear" style="height: 10px"></div>
                        </div>
                    </asp:Panel>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
