<%@ page language="C#" autoeventwireup="true" inherits="bbs_theme, ZKCMS" maintainscrollpositiononpostback="true" 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_time" TagPrefix="UC" Src="~/s/include/tip_bar_time.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><asp:Literal ID="Literal1" runat="server"></asp:Literal>_<%=ZK.config("bbstitle")%><%=ZK.config("sitetitle") %></title>
    <asp:Literal ID="Literal_keywords" runat="server"></asp:Literal>
    <meta name="description" content=" <asp:Literal ID="Literal_description" runat="server"></asp:Literal>" />
    <UC:meta ID="meta1" runat="server" />
    <link type="text/css" rel="stylesheet" href="/bbs/skin/style.css" />
    <script type="text/javascript">function doEditBssPl(id){TINY.box.show("<iframe allowtransparency=\"true\" width=\"650\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"editbbspl.aspx?id="+id+"&rd="+Math.random()+"\"></iframe>",0,650,400,1,0);}</script>
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <script type="text/javascript" src="/skin/public/jquery-1.8.3.min.js"></script>
        <script type="text/javascript" src="/bbs/skin/bbs.js"></script>
        <div class="box">
            <div class="tip_bar mt5">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="path">
                                <strong>您当前的位置：</strong><span><a href="/">网站首页</a></span><span><a href="/bbs/"><%=ZK.config("bbsshorttitle")%></a></span><asp:Literal ID="Literal_pathclass" runat="server"></asp:Literal>
                            </div>
                        </td>
                        <td align="right"><UC:tip_bar_time ID="tip_bar_time1" runat="server" /></td>
                    </tr>
                </table>
            </div>
        </div>
        <form id="form1" runat="server">
        <asp:Literal ID="JS1" runat="server"></asp:Literal>
        <div class="none" style="padding-top:5px" id="bbs_gg_1"><asp:Literal ID="AD_bbs_gg1" runat="server" Text=""></asp:Literal></div><script type="text/javascript">if(document.getElementById("bbs_gg_1").innerHTML.length>0)document.getElementById("bbs_gg_1").className="box";</script>
        <div class="box"><asp:Literal ID="Literal_bbsrulegg" runat="server"></asp:Literal>
            <asp:Panel ID="Panel_Turn" runat="server" Visible="true">
                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    <tr>
                        <td>
                            <div class="flow" style="width:270px;padding-top:5px"><a href="newtopic.htm?classid=<asp:Literal ID="Literal2" runat="server"></asp:Literal>"><img alt="" src="skin/newtopic.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a>&nbsp;&nbsp;<a href="#pl"><img alt="" src="skin/retopic.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a></div>
                        </td>
                        <td class="ar">
                            <div style="padding-top:5px"><a href="forum.htm?classid=<asp:Literal ID="Literal2_" runat="server"></asp:Literal>"><img alt="" src="skin/returnlist.gif" /></a></div>
                            <%--<div id="DataPager">
                                <table border="0" cellspacing="0" cellpadding="0" align="right">
                                    <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"></div>
                            </div>--%>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
                   <div class="theme_list">
                                  <asp:Panel ID="Panel2" runat="server"><asp:Literal ID="Literal_zd" runat="server" Visible="false"><div class="abs" style="margin:60px 0 0 700px;"><img alt="" src="/bbs/skin/zd.gif" /></div></asp:Literal><table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <th class="th1">查看: <span><asp:Literal ID="Literal_click" runat="server"></asp:Literal></span>&nbsp;&nbsp;|&nbsp;&nbsp;回复: <span><asp:Literal ID="Literal_postcount" runat="server"></asp:Literal></span></th>
                                <th class="th2"><div><span title="刷新本帖子"><asp:Literal ID="Literal_title" runat="server"></asp:Literal></span></div></th>
                            </tr>
                        </table>
                        <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="td1_"><div>&nbsp;</div></td><td class="td2_"><div>&nbsp;</div></td></tr></table>
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td class="td1">
                                    <div class="con1"><asp:Literal ID="Literal_author_face" runat="server"></asp:Literal></div>
                                    <div class="con2"><asp:Literal ID="Literal_author_name" runat="server"></asp:Literal></div>                                        
                                    <div class="con3"><div><span><asp:Literal ID="Literal_rank" runat="server"></asp:Literal></span></div></div> 
                                    <div class="con4"><asp:Literal ID="Literal_AuthorInfo" runat="server"></asp:Literal></div>                                     
                                </td>
                                <td class="td2">
                                <div class="con1">                                    
                                <div class="fl">发表于&nbsp;<asp:Literal ID="Literal_time" runat="server"></asp:Literal></div>
                                <div class="fr"><asp:Literal ID="Literal_delete" runat="server"></asp:Literal></div>
                                <div class="clear"></div>                                        
                                </div>                                        
                                <div style="padding-top: 10px; padding-left:12px; 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>                                    
                                    <div class="clear"></div>
                                </div>
                                <div class="con2"><asp:Literal ID="Literal_content" runat="server"></asp:Literal></div>
                                <asp:Literal ID="Literal_AuthorBlog" runat="server"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                        <asp:Literal ID="Literal_lock_text" runat="server" Visible="false"><div class="theme_lock"><span>提示：</span>该回帖已被锁定！</div></asp:Literal></asp:Panel>                           
                        <asp:Panel ID="Panel_List" runat="server">
                            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_OnItemDataBound">              
                                <ItemTemplate>
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="td1_"><div>&nbsp;</div></td><td class="td2_"><div>&nbsp;</div></td></tr></table>
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td class="td1">
                                                <div class="con1"><%#get1(Eval("uid").ToString())%></div>
                                                <div class="con2"><%#get2(Eval("uid").ToString())%></div>
                                                <div class="con3"><div><span><%#ZK.m_level(Eval("uid").ToString(), "n")%></span></div></div> 
                                                <div class="con4"><%#getUserInfo(Eval("uid").ToString()) %></div>
                                            </td>
                                            <td class="td2">
                                                <div class="con1">
                                                    <div class="fl">回复于&nbsp;<%#WMtime.FormatDateTime(Eval("time").ToString(),"yyyy-MM-dd HH:mm")%></div>
                                                    <div class="fr"><asp:Label ID="Label_floor" runat="server"></asp:Label></div>
                                                    <div class="clear"></div>
                                                </div>
                                                <asp:Literal ID="iid" runat="server" Visible="false" Text='<%#Eval("ID")%>'></asp:Literal>
                                                <%#get3(Eval("content").ToString(), Eval("enable").ToString())%><%#get4(Eval("uid").ToString(), Eval("enable").ToString())%>
                                                
                                                <div class="ReplyQuote" style="display:none;"><img src="/bbs/skin/reply.gif" alt="回复" onclick="ShowReply('<%#Eval("id")%>');" /><img src="/bbs/skin/quote.gif" alt="引用" onclick="DoQuote(this,'<%#Eval("id")%>');" /></div><div class="ReplyInputBox" id="ReplyInputBox<%#Eval("ID")%>" style="display:none;"></div><div class="ReplyPanelBox" id="ReplyPanelBox<%#Eval("ID")%>" style="display:none;"></div>
                                                                                  
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>               
                            </asp:Repeater>
                        </asp:Panel>
                     </div>            
            <table border="0" cellspacing="0" cellpadding="0" width="100%" id="paerbox2">
                <tr>
                    <td>
                        <a href="newtopic.htm?classid=<asp:Literal ID="Literal3" runat="server"></asp:Literal>"><img alt="" class="block" style="margin-top: 5px" src="skin/newtopic.gif" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" /></a>
                    </td>
                    <td class="ar">
                        <div id="DataPagerCopy">
                            <table border="0" cellspacing="0" cellpadding="0" align="right">
                                <tr>
                                    <td>
                                        <%--<DataPager:AspNetPager ID="Pager2" CloneFrom="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>--%>
                                        <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged"
                                                UrlPagingTarget="_self" PageSize="30" 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"></div>
                        </div>
                    </td>
                </tr>
            </table>
            <a name="pl" id="pl"></a>
            <div class="c2 mt5">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">回复帖子</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <div style="padding: 10px">
                        <div>
                            <%--<%@ register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/s/tool/fck/" Height="200" Width="800" ToolbarSet="Edit1_fontsize"></FCKeditorV2:FCKeditor>--%>
                            <link rel="stylesheet" href="/s/tool/editor/themes/default/default.css" />
                            <link rel="stylesheet" href="/s/tool/editor/plugins/code/prettify.css" />
                            <script charset="utf-8" src="/s/tool/editor/kindeditor.js"></script>
                            <script charset="utf-8" src="/s/tool/editor/lang/zh_CN.js"></script>
                            <script charset="utf-8" src="/s/tool/editor/plugins/code/prettify.js"></script>
	                        <script>
	                            var editor1;
		                        KindEditor.ready(function(K) {
			                         editor1 = K.create('#Content1', {
				                        cssPath : '/s/tool/editor/plugins/code/prettify.css',
				                        uploadJson : '/s/tool/editor/asp.net/upload_json.ashx',
				                      
				                        fileManagerJson : '/s/tool/editor/asp.net/file_manager_json.ashx',
				                        items : [<%=EditorSource%>'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline','removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist','insertunorderedlist', '|', 'emoticons', 'image', 'link'],
				                        allowFileManager : true,
				                        filterMode:false,
				                        resizeType : 2,
				                        afterCreate : function() {
					                        var self = this;					                   
					                        K.ctrl(self.edit.doc, 13, function() {
						                        self.sync();
						                        document.getElementById("Button1").click();
					                        });
				                        }
			                        });
			                        prettyPrint();
		                        });
	                        </script>
                            <asp:TextBox ID="Content1" runat="server" style="width:626px;height:180px;visibility:hidden;"></asp:TextBox>
                        </div>
                        <div style="padding-top:10px;">
                            <select name="fast_reply_message_list" id="fast_reply_message_list" onchange="if('<%=IsLogined.ToString()%>'=='False')return;if(editor1.html().length>0){editor1.html(editor1.html()+'<br />'+this.value);}else{editor1.html(this.value);}" class="s14" style="color:#555; width:629px;outline:none;">
                                <option value="">(*^__^*)　　我要使用快速回贴用语　　(*^__^*)</option>
                                <option value="竟无语凝噎，溜墙根飘走……">竟无语凝噎，溜墙根飘走……</option>
                                <option value="╮(╯_╰)╭我就看看，不说话   (⊙o⊙)…">╮(╯_╰)╭我就看看，不说话   (⊙o⊙)…</option>
                                <option value="有图有真相      ↖(^ω^)↗">有图有真相      ↖(^ω^)↗</option>
                                <option value="悟空，给他朵筋斗云，让他滚的越远越好       (╰_╯)#">悟空，给他朵筋斗云，让他滚的越远越好       (╰_╯)#</option>
                                <option value="（*@ο@*） 哇～，高人啊，如此透彻，受教了！！">（*@ο@*） 哇～，高人啊，如此透彻，受教了！！</option>
                                <option value="哇，居恐怖，吓死我鸟       囧rz=З">哇，居恐怖，吓死我鸟       囧rz=З</option>
                                <option value="受不了鸟，给他朵云彩撞shi算了       o(>﹏<)o千万别">受不了鸟，给他朵云彩撞shi算了       o(>﹏<)o千万别</option>
                                <option value="诶，正是我的菜   ~\(≧▽≦)/~啦啦啦">诶，正是我的菜   ~\(≧▽≦)/~啦啦啦</option>
                                <option value="求PP啊          /(ㄒoㄒ)/~~">求PP啊          /(ㄒoㄒ)/~~</option>
                                <option value="无图无真相     （ˉ﹃ˉ）口水">无图无真相     （ˉ﹃ˉ）口水</option>
                                <option value="Baby Baby 我爱你，就象老鼠爱大米，不打你，不骂你，我用真爱折磨你   (*^__^*) 嘻嘻">Baby Baby 我爱你，就象老鼠爱大米，不打你，不骂你，我用真爱折磨你   (*^__^*) 嘻嘻</option>
                                <option value="/(ㄒoㄒ)/~~表这样子，我就看看嘛">/(ㄒoㄒ)/~~表这样子，我就看看嘛</option>
                                <option value="╭∩╮（︶︿︶）╭∩╮鄙视你！">╭∩╮（︶︿︶）╭∩╮鄙视你！</option>
                                <option value="糟糕，可能要红了……楼主的帖子被推荐了……(╯﹏╰)">糟糕，可能要红了……楼主的帖子被推荐了……(╯﹏╰)</option>
                                <option value="↖(^ω^)↗↖(^ω^)↗哈哈哈………（喘口气）………哈哈哈………（笑岔气了）………">↖(^ω^)↗↖(^ω^)↗哈哈哈………（喘口气）………哈哈哈………（笑岔气了）………</option>
                                <option value="我要重复一句：楼上说的很好啊    O(∩_∩)O哈哈~">我要重复一句：楼上说的很好啊    O(∩_∩)O哈哈~</option>
                                <option value="乱了，全都乱了~~o(>_<)o ~~">乱了，全都乱了~~o(>_<)o ~~</option>
                                <option value="楼主很油菜，有木有，有木有↖(^ω^)↗">楼主很油菜，有木有，有木有↖(^ω^)↗</option>
                            </select>
                        </div>
                        <asp:Panel ID="Panel1" runat="server" CssClass="pt5" Visible="false">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td class="str" style="color: #666">用户帐号：</td>
                                    <td style="padding-left: 2px"><asp:TextBox ID="bbs_u" runat="server" CssClass="inp4" Width="100" MaxLength="30"></asp:TextBox></td>
                                    <td class="str" style="color: #666">&nbsp;&nbsp;用户密码：</td>
                                    <td style="padding-left: 2px"><asp:TextBox ID="bbs_p" runat="server" TextMode="Password" CssClass="inp4" Width="100" MaxLength="30"></asp:TextBox></td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <div style="padding-top:10px;">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td><asp:Button ID="Button1" runat="server" Text="回帖" CssClass="but3" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" OnClick="Button1_OnClick" /></td>
                                    <td style="padding-left: 8px"><asp:Label ID="msg" runat="server" CssClass="red" Text="Ctrl+Enter"></asp:Label></td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>

<script type="text/javascript">
    if('<%=IsLogined.ToString()%>'=='False')
    {
        function _readonly() {
            if (editor1.html().length > 0) return;
            editor1.html("<br /><br /><div style=\"text-align:center;\"><a href=\"/user/login.htm\" target=\"_blank\"><img src=\"/bbs/skin/EditorAnonymousLogin.gif\" /></a>&nbsp;&nbsp;<a href=\"/user/reg.htm\" target=\"_blank\"><img src=\"/bbs/skin/EditorAnonymousRegister.gif\" /></a></div>");
            editor1.readonly();
            editor1.resizeType=0;
        }        
        setTimeout(_readonly,1000);                  
    }
</script>