<%@ page language="C#" autoeventwireup="true" inherits="bbs_bbs_list, 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:10px;}.self_list th{border-bottom:solid 1px #ddd;line-height:28px;text-align:left;color:#666; background:#EAF5FA;}.self_list td{font-family:Arial;border-bottom:solid 1px #E1EFFF;height:32px;text-align:left;color:#666;}.self_list td div{background:url(/index/2/skin/arr4.gif) no-repeat 6px 10px;padding-left:23px;height:32px;width:545px;overflow:hidden;line-height:32px;}.self_list td a{color:#4181a8;}.self_list td div a{font-size:14px;color:#06c;}.self_list td div span a{color:#f60;font-weight:normal;}.self_list td div a:hover{color:#06c;}.self_list td div span a:hover{font-weight:normal;}.self_list td div font{color:#999;font-size:12px;font-style:italic;font-weight:normal;font-family:Arial;}</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" id="self_search_box">
            <div class="hto mt5">
                <div class="c3">
                    <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: 20px 0;">
                            <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)" />
                                    </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_list.htm?k='+escape(document.getElementById('bbs_wordkey').value);else window.location='bbs_more.htm';" autocomplete="off" />
                                    </td>
                                    <td style="padding-left: 10px">
                                        <input type="button" value="进入论坛" class="but4" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" onclick="window.location='/bbs/';" />
                                    </td>
                                </tr>
                            </table>
                            <asp:Literal ID="JS2" runat="server"></asp:Literal>
                        </div>
                        <asp:Literal ID="JS3" runat="server"></asp:Literal>
                    </div>
                </div>
            </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_list.htm','/bbs/bbs_more.htm').replace('/bbs/bbs_list.aspx','/bbs/bbs_more.aspx');">显示帖子摘要</a></div>
                        <div class="clear"></div>
                    </div>
                    <div class="v">
                    
                    
                        
                       
                        <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" OnItemDataBound="Repeater1_OnItemDataBound">
                                <HeaderTemplate>
                                    <div class="self_list">
                                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                            <tr>
                                                <th><div style="padding-left: 22px">帖子主题</div></th>
                                                <th width="140">发表会员</th>
                                                <th width="110">发表时间</th>
                                            </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr onmouseover="this.style.backgroundColor='#EAF5FA'" onmouseout="this.style.backgroundColor='#fff'">
                                        <td><div<%#get2(Eval("id").ToString())%>><asp:CheckBox ID="chk" runat="server" Visible="false" style="margin-right:6px;" /><a href="<%#Eval("id") %>.htm" target="_blank"><%#WM.E(Eval("title"),60,true)%></a><font>(<%#Eval("click") %>)</font><asp:Literal ID="iid" runat="server" Visible="false" Text='<%#Eval("ID")%>'></asp:Literal><%#get1(Eval("id").ToString(), Eval("enable").ToString())%></div></td>
                                        <td><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><%#ZK.m_u(Eval("uid") .ToString())%></a></td>
                                        <td><%#WMtime.FormatDateTime(Eval("time").ToString(),"yyyy-MM-dd HH:mm")%></td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                        </table>
                                    </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="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" style="height: 15px"></div>
                            </div>
                        </asp:Panel>
                        <asp:Button ID="ButtonSel" runat="server" Text="全选" CssClass="but4" Visible="false" style="margin-left:20px;margin-bottom:18px;" OnClick="ButtonSel_Click" /><asp:Button ID="ButtonDel" runat="server" Text="删除所选" CssClass="but4" Visible="false" style="margin-left:20px;margin-bottom:18px;" OnClick="ButtonDel_Click" />
                    </div>
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
