<%@ page language="C#" autoeventwireup="true" inherits="bbs_bbs_more, ZKCMS" 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>
    <meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <style type="text/css">.self_list{padding:2px 10px 10px 10px;}.self_list .item{padding:10px 0 10px 0;border-bottom:dotted 1px #ccc;}.self_list .item .self_img{padding:4px;background-image:#fff;border:solid 1px #eee;display:block;margin:0 auto;width:100px;height:100px;}.self_list .item a:hover .self_img{filter:Alpha(Opacity=80);-moz-opacity:0.8;opacity:0.8;border:solid 1px #ddd;}.self_list .item .con1{font-weight:bold;font-size:14px;}.self_list .item .con1 a{color:#f30;text-decoration:underline;}.self_list .item .con1 a:hover{color:#f60;}.self_list .item .con2{font-size:14px;line-height:2;color:#464646;padding-top:2px;padding-left:3px;white-space:normal;word-break:break-all;}.self_list .img1{padding-top:5px;padding-bottom:5px;text-align:center;}.self_list .img1 img{padding:4px;border:1px solid #ccc;display:block;margin-right:auto;margin-left:auto;}.self_list .item .con3{padding-top:6px;color:#999;padding-left:3px;}.self_list .item .con3 a{color:#666;}.self_list .item .con3 a:hover{color:#f60;}.self_list .item .con3 span{margin-right:10px;margin-left:10px;}.self_list .item .con4{padding-top:4px;color:#333;}</style>
    <script type="text/javascript">function bbs_wordkey_keydown(e){var theEvent=window.event||e;var keyNum=theEvent.keyCode||theEvent.which;if(keyNum==13)document.getElementById("self_btn1").click();}</script>
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />        
        <form id="form1" runat="server" onsubmit="return false;">
        <asp:Literal ID="JS1" runat="server"></asp:Literal>
        <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>最新帖子</div>
                        </td>
                        <td align="right"><UC:tip_bar_time ID="tip_bar_time1" runat="server" /></td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="box">
            <div class="hto mt5">
                <div class="c3">
                    <div class="b">
                        <div class="fl"></div>
                        <div class="con"><asp:Literal ID="Literal2" runat="server">帖子列表</asp:Literal></div>
                        <div class="fr" style="width:150px"><a href="#" onclick="window.location=location.href.replace('/bbs/bbs_more.htm','/bbs/bbs_list.htm').replace('/bbs/bbs_more.aspx','/bbs/bbs_list.aspx');">不显示帖子摘要</a></div>
                        <div class="clear"></div>
                    </div>
                    <div class="v">
                        <div id="self_search_box" style="padding: 10px">
                            <table border="0" cellpadding="0" cellspacing="0" class="wto">
                                <tr>
                                    <td><div class="str s14" style="color:#666; padding-top:2px">查找帖子：</div></td>
                                    <td style="padding-left:5px"><input type="text" id="bbs_wordkey" class="inp4" style="width:300px" maxlength="100" value="请输入关键字" onfocus="if(this.value=='请输入关键字')this.value=''" onblur="if(this.value=='')this.value='请输入关键字'" onkeydown="bbs_wordkey_keydown(event)" autocomplete="off" /></td>
                                    <td style="padding-left:10px"><input type="button" value="搜索帖子" id="self_btn1" class="but4" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="if(document.getElementById('bbs_wordkey').value!=''&&document.getElementById('bbs_wordkey').value!='请输入关键字')window.location='bbs_more.htm?k='+escape(document.getElementById('bbs_wordkey').value);else window.location='bbs_more.htm';" /></td>
                                </tr>
                            </table>
                            <asp:Literal ID="JS2" runat="server"></asp:Literal>
                        </div>
                        <asp:Literal ID="JS3" runat="server"></asp:Literal>
                        <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                            <div class="tip_nodata" id="tip_nodata" style="background-position: 12px 12px">No data!&nbsp;&nbsp;没有帖子</a></div>
                        </asp:Panel>
                        <asp:Panel ID="Panel_List" runat="server" CssClass="photo_list">
                            <asp:Repeater ID="Repeater1" runat="server">
                                <HeaderTemplate>
                                    <div class="self_list">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <div class="item">
                                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                            <tr valign="top">
                                                <td width="110" class="ce">
                                                    <a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><img alt="" src='<%#ZK.m_face(Eval("uid").ToString(),"100") %>' class="self_img" /></a>
                                                    <div class="con4"><%#ZK.m_u(Eval("uid") .ToString())%></div>
                                                </td>
                                                <td style="padding-left: 10px">
                                                    <div class="con1">
                                                        <%#WMcompare.IsEqual(WMreplace.ConvertBit(Eval("istop").ToString()), "1", "<img alt=\"\" src=\"/space/skin/public/istop.gif\" align=\"absmiddle\" />", "")%><a href="<%#Eval("id") %>.htm" target="_blank"><%#Eval("title") %></a>
                                                    </div>
                                                    <div class="con2"><%#get1(Eval("content").ToString(),600,"……")%></div>
                                                    <div class="con3">
                                                        <a target="_blank" href="<%#Eval("id") %>.htm">查看</a>(<%#Eval("click") %>)<span>┆</span><a target="_blank" href="<%#Eval("id") %>.htm#pl">回帖</a>(<%#WM.DoCount("bbs_pl","where fid="+Eval("id").ToString())%>)<span>┆</span><a href="<%#Eval("id") %>.htm" target="_blank">[打开帖子]</a>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </div>
                                </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="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: 15px">
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
