<%@ page language="C#" autoeventwireup="true" inherits="bbs_index, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.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><%=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" />
    <link type="text/css" rel="stylesheet" href="/bbs/skin/style.css" />
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <form id="form1" runat="server" onsubmit="return false">
        <asp:Literal ID="JS1" runat="server"></asp:Literal>         
        <div class="none" style="padding-top:5px" id="bbs_gg_1"><%=ZK.gg("AD_bbs_gg1")%></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 mt5">
            <style type="text/css">.c1 .self_v{border-top-width: 1px;padding: 4px 6px 4px 35px; background:#e8f5ff url(/bbs/skin/statistics.gif) no-repeat 10px 9px;}.c1 .self_v td{color: #666;}.c1 .self_v td a{color: #f60;}.c1 .self_v td strong{color: #666;}</style>
            <div class="c1">
                <div class="v self_v" style="-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td><asp:Literal ID="Literal_statistics" runat="server"></asp:Literal></td>
                            <td class="ar">
                                <div class="ar">
                                    <script type="text/javascript">
                                    function self_dosearch(){var k=document.getElementById("self_k").value;if(k=="")window.location="/bbs/bbs_more.htm";else window.location="/bbs/bbs_more.htm?k="+escape(k);}
                                    function self_keydown(e){
                                    var theEvent=window.event||e;var keyNum=theEvent.keyCode||theEvent.which;
                                    if(keyNum==13)self_dosearch();
                                    }
                                    </script>
                                    <table border="0" cellpadding="0" cellspacing="0" align="right">
                                        <tr>
                                            <td><input type="text" id="self_k" maxlength="150" class="inp1" style="width:160px;" onkeydown="self_keydown(event)" /></td>
                                            <td>&nbsp;</td>
                                            <td><input type="button" value="搜索帖子" onclick="self_dosearch()" class="but2" /></td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="box pt5">
            <div class="c2">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con" style="width: 500px">论坛焦点</div>
                    <div class="fr" style="width: 150px"><a href="/bbs/bbs_list.htm" target="_blank">查看所有新帖</a></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <style type="text/css">
                        .bbsfocus_box{padding:10px 5px 10px 10px;}.bbsslide{padding:1px;border:solid 1px #ccc;width:305px;height:200px;}.bbsfocus_c{}.bbsfocus_b{height:20px;overflow:hidden;}.bbsfocus_b li{float:left;}.bbsfocus_b li a{display:block;padding:0 10px;}.bbsfocus_b .on{font-weight:bold;}.bbsfocus_v{background:url(/bbs/skin/num1.gif) no-repeat 10px 5px;padding-left:35px;padding-right:10px;}.bbsfocus_v td div{height:23px;line-height:23px;overflow:hidden;}.bbsfocus_b li a{color:#666;}.bbsfocus_v td div a{color:#069;}.bbsfocus_v .time div{text-align:right;}.bbsfocus_v .time div a,.bbsfocus_v .time div a:hover{color:#999;font-family:Arial;}
                        #self_slidetitletext{font-size:14px;height:35px;line-height:36px;background-color:transparent;position:absolute;z-index:2;width:305px;overflow:hidden;font-weight:bold;}#self_slidetitletext_bg{background-color:#000;filter:Alpha(Opacity=40);-moz-opacity:0.4;opacity:0.4;position:absolute;z-index:1;height:35px;width:305px;}#self_slidetitletext a{padding:0 4px 0 7px;color:#fff;display:block;}#self_slidetitletext a:hover{color:#fff;text-decoration:none;}
                    </style>
                    <div class="bbsfocus_box">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr valign="top">
                                <td>                                    
                                    <div class="bbsslide"><div id="self_slidetitletext" style="display:none"></div><div id="self_slidetitletext_bg"></div><div class="slide_box" id="mainslideBox"><ul class="slide_pic" id="mainslidePic"><%=GetSlide()%></ul><ul class="slide_num" id="mainslideNum"></ul></div><script type="text/javascript">showSlide(305,200,true,"mainslideBox","mainslidePic","mainslideNum",true,5,12,true,3000);</script></div>
                                </td>
                                <td width="310">
                                   <div class="bbsfocus_c">
                                       <div class="bbsfocus_b">
                                           <ul><li class="on" onmouseover="movearea(this,'bbsmoveareav1')"><a href="/bbs/bbs_list.htm" target="_blank">新主题</a></li><li onmouseover="movearea(this,'bbsmoveareav1')"><a href="/bbs/bbs_more.htm" target="_blank">新回复</a></li></ul>
                                           <div class="clear"></div>
                                       </div>
                                       <div class="bbsfocus_v" id="bbsmoveareav1">
                                           <blockquote class="block">
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <%=GetThmems("new")%>
                                                </table>
                                           </blockquote>
                                           <blockquote class="none">
                                               <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <%=GetThmems("reply")%>
                                                </table>
                                           </blockquote>
                                       </div>
                                   </div>                         
                                </td>
                                <td width="310">
                                   <div class="bbsfocus_c">
                                       <div class="bbsfocus_b">
                                           <ul><li class="on" onmouseover="movearea(this,'bbsmoveareav2')"><a href="/bbs/bbs_list.htm" target="_blank">精华置顶</a></li><li onmouseover="movearea(this,'bbsmoveareav2')"><a href="/space/blog_more.htm" target="_blank">会员日志</a></li></ul>
                                           <div class="clear"></div>
                                       </div>
                                       <div class="bbsfocus_v" id="bbsmoveareav2">
                                           <blockquote class="block">
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <%=GetThmems("hot")%>
                                                </table>
                                           </blockquote>
                                           <blockquote class="none">
                                               <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                    <%=GetBlog()%>
                                                </table>
                                           </blockquote>
                                       </div>
                                   </div>                         
                                </td>
                            </tr>
                        </table>
                    </div>
                    <script type="text/javascript">                            
                    function slideshowtitletext(){                      
                        var arr1=document.getElementById("mainslidePic").getElementsByTagName("li");
                        var arr2=document.getElementById("mainslideNum").getElementsByTagName("li");
                        var on="";for(var i=0;i<arr2.length;i++){if(arr2[i].className=="on")on=""+i+"";}
                        document.getElementById("self_slidetitletext").innerHTML="<a href=\""+arr1[on].childNodes[0].href+"\" target=\"_blank\">"+(arr1[on].childNodes[0].childNodes[0].alt).substring(0,30)+"</a>";
                    }
                    document.getElementById("self_slidetitletext").style.display="";setInterval(slideshowtitletext,500);   
                </script>
                </div>
            </div>
        </div>       
        <div class="box">
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <div class="c2 mt5" id="bbs_class_<%#Eval("id") %>">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con" style="width:500px"><%#Eval("n") %></div>
                            <div class="fr" style="width: 150px"><%#get2(Eval("id").ToString()) %></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v"><%#get1(Eval("id").ToString(), Eval("layout").ToString())%></div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
<script type="text/javascript" src="/skin/public/jquery-1.8.3.min.js"></script>
<script type="text/javascript">$(function(){ $.getScript('/bbs/skin/PageTop_960.js',function(){});});</script>