<%@ page language="C#" autoeventwireup="true" inherits="space_blog_view, 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">
                                <div class="blog_view">
                                    <div class="con1">
                                        <asp:Literal ID="title" runat="server"></asp:Literal>
                                    </div>
                                    <div style="padding-top: 5px; color: #666">
                                        <div id="ckepop">
                                            <span class="jiathis_txt">分享到：</span> <a class="jiathis_button_tools_1"></a><a class="jiathis_button_tools_2">
                                            </a><a class="jiathis_button_tools_3"></a><a class="jiathis_button_tools_4"></a>
                                            <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis"
                                                target="_blank">更多</a> <a class="jiathis_counter_style"></a>
                                        </div>

                                        <script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>

                                        <div class="clear">
                                        </div>
                                    </div>
                                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td>
                                                <div class="con2">
                                                    <asp:Literal ID="content" runat="server"></asp:Literal>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <asp:Literal ID="visitors" runat="server"></asp:Literal>
                                <div class="pl">
                                    <a name="pl" id="pl"></a>
                                    <div class="pl_c">
                                        <div class="pl_b" style="border-top-width: 0">
                                            发表评论
                                        </div>
                                        <div class="pl_add">
                                            <table border="0" cellpadding="0" cellspacing="0">
                                                <tr valign="top">
                                                    <td>
                                                        <input type="hidden" id="pl_inp_init" value="请文明留言，遵守互联网法规！" />
                                                        <textarea id="pl_content" class="pl_inp" onfocus="if('<%=ZK.uid %>'==''){setInterval(intervalCheckLogin,1000);show_minilogin(<%=ZK.sDZ %>);}else {if(this.value==document.getElementById('pl_inp_init').value)this.value='';}"></textarea>
                                                    </td>
                                                    <td>
                                                        <div class="pl_smiley">

                                                            <script type="text/javascript">  
                                                            document.getElementById("pl_content").value=document.getElementById("pl_inp_init").value;                                                           
                                                                                  
                                                            show_pl_smiley("pl_content",document.getElementById("pl_inp_init").value);
                                                            </script>

                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <input type="button" id="pl_but" class="pl_but" value="发表留言" onmouseover="hover(this,0.8)"
                                                            onmouseout="hover(this,1)" onclick="save_pl('<%=ZK.uid %>','m_space_blog_pl','pl_content','pl_but',<%=WM.RQ("id") %>,document.getElementById('pl_inp_init').value,<%=UID%>)">

                                                        <script type="text/javascript">interval_pl(<%=WM.RQ("id") %>,"pl_but");</script>

                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <asp:Panel ID="Panel_pl_list" runat="server">
                                            <div class="pl_b">
                                                留言评论
                                            </div>
                                            <div class="pl_list">
                                                <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                                                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_OnItemDataBound">
                                                    <ItemTemplate>
                                                        <div class="pl_item">
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr valign="top">
                                                                    <td class="pl_item_con1">
                                                                        <a href="/user/u.aspx?uid=<%#Eval("uid") %>" target="_blank">
                                                                            <img alt="" src="<%#ZK.m_face(Eval("uid").ToString(),"50")%>" onmouseover="hover(this,0.7)"
                                                                                onmouseout="hover(this,1)" /></a>
                                                                    </td>
                                                                    <td class="pl_item_con2">
                                                                        <div class="son1">
                                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                <tr>
                                                                                    <td>
                                                                                        <a href="/user/u.aspx?uid=<%#Eval("uid") %>" target="_blank"><strong>
                                                                                            <%#ZK.m_u(Eval("uid").ToString())%></strong></a>&nbsp;&nbsp;发表于&nbsp;<%#WMtime.Diff(Eval("time").ToString(), "yyyy-M-d HH:mm")%>&nbsp;&nbsp;&nbsp;&nbsp;<%#WMip.SetIP("(", Eval("ip").ToString(), ")")%>
                                                                                    </td>
                                                                                    <td align="right">
                                                                                        <a href="javascript:void(0)" class="str" onclick="show_pl_re(<%#Eval("id") %>)">回复</a>&nbsp;&nbsp;<asp:Label
                                                                                            ID="Label_floor" runat="server"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                        <div class="son2">
                                                                            <%#Eval("content") %></div>
                                                                        <div class="son3" id="pl_re_<%#Eval("id") %>" style="display: none">
                                                                            <div>
                                                                                <textarea id="pl_re_content_<%#Eval("id") %>" class="pl_inp" style="height: 50px"></textarea></div>

                                                                            <script type="text/javascript">show_pl_smiley("pl_re_content_<%#Eval("id") %>","");</script>

                                                                            <div>
                                                                                <input type="button" id="pl_but" class="pl_but" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)"
                                                                                    onclick="save_pl_re('<%=ZK.uid %>','m_space_blog_pl_re',<%#Eval("id") %>,this)"
                                                                                    value="发表回复">
                                                                            </div>
                                                                        </div>
                                                                        <%#ZK.get_pl_re("m_space_blog_pl_re", Eval("id").ToString())%>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <div class="abs flow" style="height: 1px; background-color: #ffffff; width: 687px;
                                                            margin-top: -1px">
                                                        </div>
                                                    </FooterTemplate>
                                                </asp:Repeater>
                                                <asp:Panel ID="Panel_Turn" runat="server" Visible="false" Style="padding-bottom: 5px">
                                                    <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>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
            <UC:foot ID="foot1" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>
