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

<%@ Register Assembly="Pager" Namespace="Wuqi.Webdiyer" TagPrefix="DataPager" %>
<%@ Register TagPrefix="UC" TagName="meta" Src="~/space/meta.ascx" %>
<%@ Register TagPrefix="UC" TagName="topbar" Src="~/space/topbar.ascx" %>
<%@ Register TagPrefix="UC" TagName="head" Src="~/space/head.ascx" %>
<%@ Register TagPrefix="UC" TagName="side" Src="~/space/side.ascx" %>
<%@ Register TagPrefix="UC" TagName="foot" Src="~/space/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">
    <UC:meta ID="meta1" runat="server" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
    <form id="form1" runat="server">
    <div class="wrap">
        <UC:topbar ID="topbar1" runat="server" />
        <div class="box">
            <UC:head ID="head1" runat="server" />
            <div class="main">
                <div class="hto">
                    <div class="left">
                        <UC:side ID="side1" runat="server" />
                    </div>
                    <div class="right">
                        <div class="c">
                            <div class="b">
                                <div class="fl">
                                    日志</div>
                                <div class="fr">
                                    <asp:HyperLink ID="HyperLink2" runat="server" Visible="false">写日志</asp:HyperLink>
                                </div>
                                <div class="clear">
                                </div>
                            </div>
                            <div class="v">
                                <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                                <div class="tip_nodata" style="padding: 100px; text-align: center">
                                        还没有写日志！</div>
                                </asp:Panel>
                                <asp:Panel ID="Panel_List" runat="server" CssClass="blog_list">
                                    <asp:Repeater ID="Repeater1" runat="server">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="al"><span><a href="blog.aspx?uid=<%=UID%>&classid=<%#Eval("classid") %>">[<%#WMread.GetBy("n", "m_space_blog_class", "id", Eval("classid").ToString())%>]</a></span>
                                                    <a href="blog_view.aspx?uid=<%#Eval("uid") %>&id=<%#Eval("id") %>">
                                                        <%#WM.cut(Eval("title").ToString(),60,"..")%></a><%#get2(Eval("content").ToString()) %><%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("istop").ToString()), "1", "<span class=\"red\">[置顶]</span>", "")%>
                                                    (<%#WM.DoCount("m_space_blog_pl", "where fid=" + Eval("id").ToString()).ToString()%>/<%#Eval("click") %>)
                                                </td>
                                                <td class="ar">
                                                    <%#WMtime.FormatDateTime(Eval("time").ToString(),"yyyy-MM-dd")%>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table></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" OnPageChanged="Pager1_PageChanged"
                                                        UrlPagingTarget="_self" PageSize="20" 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">
                                                    </DataPager:AspNetPager>
                                                </td>
                                            </tr>
                                        </table>
                                        <div class="clear" style="height: 8px">
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
            <UC:foot ID="foot1" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>
