<%@ page language="C#" autoeventwireup="true" inherits="space_index, 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">
                                        还没有写日志！<asp:HyperLink ID="HyperLink1" runat="server" Visible="false" onfocus="this.blur()">马上写一篇&raquo;</asp:HyperLink></div>
                                </asp:Panel>
                                <asp:Panel ID="Panel_List" runat="server" CssClass="blog">
                                    <asp:Repeater ID="Repeater1" runat="server">
                                        <ItemTemplate>
                                            <div class="item">
                                                <div class="con1">
                                                    <%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("istop").ToString()), "1", "<img alt=\"\" src=\"/space/skin/public/istop.gif\" align=\"absmiddle\" />", "")%>
                                                    <a href="blog_view.aspx?uid=<%#Eval("uid") %>&id=<%#Eval("id") %>">
                                                        <%#WM.cut(Eval("title").ToString(),60,"..")%></a><span>(<%#WMtime.FormatDateTime(Eval("time").ToString(),"yyyy-MM-dd HH:mm")%>)</span>
                                                </div>
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <tr>
                                                        <td>
                                                            <div class="con2">
                                                                <%#get1(Eval("content").ToString(),600,"……")%>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <div class="con3">
                                                    <a href="blog_view.aspx?uid=<%#Eval("uid") %>&id=<%#Eval("id") %>">阅读</a>(<%#Eval("click") %>)<span>┆</span><a
                                                        href="blog_view.aspx?uid=<%#Eval("uid") %>&id=<%#Eval("id") %>#pl">评论</a>(<%#WM.DoCount("m_space_blog_pl","where fid="+Eval("id").ToString())%>)<span>┆</span><a
                                                            href="blog_view.aspx?uid=<%#Eval("uid") %>&id=<%#Eval("id") %>" target="_blank">[查看全文]</a>
                                                </div>
                                            </div>
                                        </ItemTemplate>
                                    </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="5" 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>
