<%@ page language="C#" autoeventwireup="true" inherits="space_me, 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" autocomplete="off">
    <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" NavigateUrl="/user/control.aspx"
                                        Target="_blank">管理中心</asp:HyperLink>
                                </div>
                                <div class="clear">
                                </div>
                            </div>
                            <div class="v">
                                <div class="me">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr valign="top">
                                            <td width="176">
                                                <img alt="" class="img1" src="<%=ZK.m_face(UID,"150") %>" />
                                            </td>
                                            <td>
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <tr>
                                                        <td width="230">
                                                            <strong>会员：</strong><asp:Literal ID="u" runat="server"></asp:Literal>
                                                        </td>
                                                        <td>
                                                            <div class="abs" style="margin-top: 1px; *margin-top: -4px; margin-left: 68px">
                                                                <asp:Literal ID="rank" runat="server"></asp:Literal></div>
                                                            <strong>会员等级：</strong>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>昵称：</strong><asp:Literal ID="nickname" runat="server"></asp:Literal>
                                                        </td>
                                                        <td>
                                                            <strong>邮箱：</strong><asp:Literal ID="email" runat="server"></asp:Literal>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>注册时间：</strong><asp:Literal ID="time" runat="server"></asp:Literal>
                                                        </td>
                                                        <td>
                                                            <strong>最近登录：</strong><asp:Literal ID="lastlogintime" runat="server"></asp:Literal>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>积分：</strong><asp:Literal ID="integral" runat="server"></asp:Literal>
                                                        </td>
                                                        <td>
                                                            <strong>金币：</strong><asp:Literal ID="money" runat="server" Text="0"></asp:Literal>元
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <div style="padding: 15px">
                                    <div class="pl_add">

                                        <script type="text/javascript">
                                    function check1(){
                                    if(document.getElementById("pl_content").value==""||document.getElementById("pl_content").value==document.getElementById("pl_inp_init").value)return false;
                                    if(document.getElementById("pl_content").value.length<2){alert("留言内容太短了！");return false;}
                                    if(document.getElementById("pl_content").value.length>500){alert("留言内容太长了！");return false;}
                                    //if(!ifHasChn(document.getElementById("pl_content").value.replace(/\{/g,"").replace(/\}/g,""))){alert("总要写点什么吧！");return false;}
                                    document.getElementById("Button1").style.display="none";
                                    document.getElementById("Button2").style.display="";
                                    }
                                    function showlen(){
                                    document.getElementById("self_len_box").style.display="";document.getElementById("self_len").innerHTML=document.getElementById("pl_content").value.length;
                                    }
                                        </script>

                                        <a name="ly" id="ly"></a>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr valign="top">
                                                <td><asp:Literal ID="msg" runat="server"></asp:Literal>
                                                    <input type="hidden" id="pl_inp_init" value="给我留言哦～" /><input type="hidden" id="lyuid" value="<%=ZK.uid %>" />
                                                    <asp:TextBox ID="pl_content" runat="server" TextMode="MultiLine" CssClass="pl_inp"
                                                        Height="84" onkeyup="showlen()" onfocus="if(document.getElementById('lyuid').value==''){TINY.box.show('<div class=msgon>请登录后再写留言！</div>',0,200,23,0,2);}else {if(this.value==document.getElementById('pl_inp_init').value)this.value='';}"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <div class="pl_smiley">
                                                       
                                                        <script type="text/javascript">  
                                                        <asp:Literal ID="Literal1" runat="server" Visible="false">document.getElementById("pl_content").value=document.getElementById("pl_inp_init").value;</asp:Literal>            
                                                        show_pl_smiley("pl_content",document.getElementById("pl_inp_init").value);
                                                        </script>

                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Button ID="Button1" runat="server" Text="写留言" CssClass="pl_but" onmouseover="hover(this,0.8)"
                                                        onmouseout="hover(this,1)" OnClick="Button1_Click" OnClientClick="return check1()" /><input
                                                            type="button" id="Button2" value="留言中" class="pl_but" style="display: none" /><span
                                                                id="self_len_box" style="color: #666; display: none; padding-left: 10px"><span id="self_len">0</span>/200</span>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    <asp:Panel ID="Panel_List" runat="server" CssClass="feedback">
                                        <asp:Repeater ID="Repeater1" runat="server">
                                            <ItemTemplate>
                                                <div class="item">
                                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                        <tr valign="top">
                                                            <td class="con1">
                                                                <a href="/space/?uid=<%#Eval("fromuid") %>" target="_blank">
                                                                    <img alt="" src="<%#ZK.m_face(Eval("fromuid").ToString(),"50")%>" />
                                                                </a>
                                                            </td>
                                                            <td>
                                                                <div class="con2">
                                                                    <div class="fl">
                                                                        <strong><a href="/space/?uid=<%#Eval("fromuid") %>" target="_blank">
                                                                            <%#ZK.m_u(Eval("fromuid").ToString())%></a></strong>&nbsp;&nbsp;留言于<%#WMtime.Diff(Eval("time").ToString(),"yyyy-MM-dd HH:mm")%>
                                                                        <%#get1(Eval("id").ToString(), Eval("uid").ToString())%>
                                                                    </div>
                                                                    <div class="fr">
                                                                        <%#WMip.SetIP("(",Eval("ip").ToString(),")") %></div>
                                                                    <div class="clear">
                                                                    </div>
                                                                </div>
                                                                <div class="con3">
                                                                    <%#Eval("content") %>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                <div class="clear" style="height: 10px">
                                                </div>
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </asp:Panel>
                                    <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                                        <div class="flow" style="height: 10px">
                                        </div>
                                        <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="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">
                                                        </DataPager:AspNetPager>
                                                    </td>
                                                </tr>
                                            </table>
                                            <div class="clear" style="height: 8px">
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
            <UC:foot ID="foot1" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>
