<%@ page validaterequest="false" language="C#" autoeventwireup="true" inherits="Ban_List, App_Web_tpx-ykv2" %>

<%--<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>--%>

<%@ Register Src="BanMian_Top.ascx" TagName="BanMian_Top" TagPrefix="Bati_Top" %>
<%@ Register Src="~/bottom.ascx" TagName="bottom" TagPrefix="Bati_Bottom" %>
<%@ Register Src="~/Ban_List_All.ascx" TagName="Ban_List_All" TagPrefix="List_Ban_All" %>
<%@ Register Src="~/BanList_u.ascx" TagName="BanList_u" TagPrefix="list_u" %>
<%@ Register Src="~/Ban_List_Ban.ascx" TagName="Ban_List_Ban" TagPrefix="List_Ban" %>
<%@ Register Src="~/msg.ascx" TagName="msg" TagPrefix="bati_msg" %>
<!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">
    <title id="title1" runat="server"></title>
   <link href="MyBati/images/mybati.css" rel="stylesheet" type="text/css" />

</head>
<body>
<center>
    <form id="form1" runat="server">
    <bati_msg:msg ID="msg1" runat="server" />
     <Bati_Top:BanMian_Top ID="BanMian_Top1" runat="server" />
<atlas:ScriptManager ID="s1" runat="server" EnablePartialRendering="true" />
    <table border="0" cellpadding="0" cellspacing="0" style="width: 958px; border-right: #cccccc 2px solid; border-top: #cccccc 2px solid; border-left: #cccccc 2px solid; border-bottom: #cccccc 2px solid;" id="TABLE1" runat="server" visible="false">
    <tr>
    <td>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="width: 100%">
                    <asp:ImageButton ID="ImageButton1" runat="server" OnClick="ImageButton1_Click"></asp:ImageButton></td>
            </tr>
            <tr>
                <td style="width: 100%">
                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%" id="table2" runat="server" visible="false">
                <tr>
                <td>
   <object width="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
  <param id="param1" runat="server"  name="movie" value="" />
  <param name="quality" value="high" />
  <embed id="embed1" runat="server" width="100%" src="" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
</td>
</tr>
                    </table>
                    </td>
            </tr>
        </table>
    </td>
    </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" Text="Label"></asp:Label></td>
        </tr>
    </table>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 958px; border-top-width: 2px; border-left-width: 2px; border-left-color: #cccccc; border-bottom-width: 2px; border-bottom-color: #cccccc; border-top-color: #cccccc; border-right-width: 2px; border-right-color: #cccccc;" >
        <tr>
        <td style="background-image: url(Bati_image/1231-1.png); width: 70px; height: 51px">
            <asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" ForeColor="#4CAC8C"
                NavigateUrl="~/Home/Bati_CreateTeam.aspx" Target="_blank">自建论坛</asp:HyperLink></td>
            <td style="height: 51px;width: 888px;" align="left" valign="top">
                <table border="0" cellpadding="5" cellspacing="0" style="width: 100%">
                    <tr>
                        <td id="TD1" class="newsCon" runat="server" style="width: 100%">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        </table>
            <table border="0" cellpadding="0" cellspacing="0" style="width: 958px; border-top-width: 2px; border-left-width: 2px; border-left-color: #947131; border-bottom-width: 2px; border-bottom-color: #947131; border-top-color: #947131; border-right-width: 2px; border-right-color: #947131;">
                <tr>
                    <td style="height: 17px; width: 206px;" valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td style="width: 100%" valign="top">
                                    <table border="0" cellpadding="0" cellspacing="5" style="width: 100%">
                            <tr>
                                <td rowspan="2" style="width: 100%; height: 88px;">
                                    <table border="0" cellpadding="0" cellspacing="0" style="border-right: #cccccc 1px solid;
                                        border-top: #cccccc 1px solid; border-left: #cccccc 1px solid; width: 100%; border-bottom: #cccccc 1px solid">
                                        <tr>
                                            <td style="width: 100%">
                                                <table border="0" cellpadding="4" cellspacing="0" style="width: 100%">
                                                    <tr>
                                                        <td align="left">
                                                            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                <tr>
                                                                    <td style="background-image: url(Bati_image/tit4_c.gif); width: 100%; height: 37px;" align="center">
                                                                        <asp:Label ID="Label4" runat="server" Font-Bold="True" ForeColor="Black" Text="其他论坛帖子"></asp:Label></td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%" align="left">
                                            
                                            
                                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>">
                                                    
                                                </asp:SqlDataSource>
                                                <asp:DataList ID="DataList2" runat="server" DataSourceID="SqlDataSource1" OnItemDataBound="DataList2_ItemDataBound" Width="100%">
                                                    <ItemTemplate>
                                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                            <tr>
                                                                <td style="width: 7%; height: 22px;">
                                                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Bati_image/icon0.gif" /></td>
                                                                <td style="width: 93%; height: 22px;">
                                                                    <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="Black" Text='<%#Eval("title") %>' NavigateUrl='<%# "bati_show.aspx?articleid=" + Eval("articleid") %>' Target="_blank">HyperLink</asp:HyperLink></td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:DataList>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                            </tr>
                        </table>
                            
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 100%; height: 16px;" valign="top">
                                    <table border="0" cellpadding="5" cellspacing="0" width="100%">
                                        <tr>
                                            <td style="width: 100%">
                                                <table border="0" cellpadding="0" cellspacing="0" style="border-right: #e7e3d6 1px solid;
                                                    border-top: #e7e3d6 1px solid; border-left: #e7e3d6 1px solid; width: 100%; border-bottom: #e7e3d6 1px solid;
                                                    background-color: #f6f3e8" id="TABLE3" runat="server">
                                                    <tr>
                                                        <td style="width: 100%"><table border="0" cellpadding="4" cellspacing="0" style="width: 100%">
                                                            <tr>
                                                                <td align="left">
                                                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                        <tr>
                                                                            <td style="background-image: url(Bati_image/tit4_c.gif); width: 100%; height: 25px;" align="center">
                                                                                <asp:Label ID="Label7" runat="server" Font-Bold="True" ForeColor="Black" Text="活跃用户排名"></asp:Label></td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 100%" align="left">
                                                            <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource2" 
                                                                Width="100%">
                                                                <ItemTemplate>
                                                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-bottom: #cccccc 1px dashed;">
                                                                        <tr>
                                                                            <td style="width: 75%; height: 25px;">
                                                                                ·<asp:HyperLink ID="HyperLink1" runat="server" Text='<%#Eval("username") %>' NavigateUrl='<%# "user/bati_user2.aspx?username=" + Eval("url") %>'>HyperLink</asp:HyperLink></td>
                                                                            <td style="width: 25%; height: 25px;">
                                                                                <asp:Label ID="Label8" runat="server" Text='<%#Eval("userjf") %>'></asp:Label></td>
                                                                        </tr>
                                                                    </table>
                                                                    
                                                                </ItemTemplate>
                                                            </asp:DataList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>"
                                                                SelectCommand="SELECT top 25 [UserName], [UserJF],[url] FROM [UserInfo] ORDER BY [UserJF] DESC">
                                                            </asp:SqlDataSource>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 100%">
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                    
                                

                                </td>
                            </tr>
                            <tr>
                                <td style="width: 100%" valign="top">
                                </td>
                            </tr>
                        </table>
                        
                        
                    </td>
                    <td style="height: 17px" align="left" valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td style="width: 100%; height: 25px">
                                    <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                        <tr>
                                            <td align="center" style="width: 4%">
                                                <img src="Img/testfriend.gif" /></td>
                                            <td style="width: 30%">
                                    <asp:Label ID="Label3" runat="server" Width="50%"></asp:Label>
                                                <asp:Button ID="Button1" runat="server" Font-Bold="True" OnClick="Button1_Click"
                                                    Text="发表帖子" /></td>
                                            <td align="center" style="width: 15%">
                                                <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="True" OnClick="LinkButton1_Click">我感兴趣的论坛</asp:LinkButton></td>
                                            <td align="center" style="width: 100%">
                                                <asp:LinkButton ID="LinkButton2" runat="server" Font-Bold="True" ForeColor="CadetBlue"
                                                    OnClick="LinkButton2_Click" Visible="False">管理版面</asp:LinkButton>主版主：<asp:Label ID="Label10" runat="server" Text="Label"></asp:Label>
                                                副版主：<asp:Label ID="Label11" runat="server" Text="Label"></asp:Label>&nbsp;
                                                <asp:Label ID="Label12"
                                                    runat="server" Text="Label"></asp:Label></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 100%;">
                                
           
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                        <tr>
                                        </tr>
                                        <tr>
                                            <td style="background-image: url(Bati_image/lit_top.gif); width: 100%; height: 25px"
                                                valign="top">
                                                
                                                <atlas:UpdatePanel runat="server" ID="myPanel">
            <ContentTemplate>
                                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                    <tr>
                                                        <td style="width: 11%" align="center">
                                                            <asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="White" Text="置顶区"></asp:Label></td>
                                                        <td style="width: 89%" align="right">
                                                            <asp:LinkButton ID="LinkButton3" runat="server" Font-Bold="True" ForeColor="#404040"
                                                                OnClick="LinkButton3_Click" Text="关闭置顶区"></asp:LinkButton>
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                                </ContentTemplate>
                                                </atlas:UpdatePanel>
                                            </td>
                                        </tr>
                            <tr>
                                <td style="width: 100%">
                                <atlas:UpdatePanel runat="server" ID="UpdatePanel1">
            <ContentTemplate>
                                    <List_Ban_All:Ban_List_All ID="List_All" runat="server" Visible="true" />
                                    </ContentTemplate>
                                    </atlas:UpdatePanel>
                                    </td>
                            </tr>
                            <tr>
                                <td style="width: 100%">
                                <atlas:UpdatePanel runat="server" ID="UpdatePanel2">
            <ContentTemplate>
                                <List_Ban:Ban_List_Ban ID="List_Ban1" runat="server" />
                                </ContentTemplate>
                                </atlas:UpdatePanel>
                                    </td>
                            </tr>
                                        <tr>
                                            <td style="width: 100%">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="background-image: url(Bati_image/lit_top.gif); width: 100%; height: 25px"
                                                valign="top">
                                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                    <tr>
                                                        <td style="width: 11%" align="center">
                                                            <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="White" Text="普通区"></asp:Label></td>
                                                        <td style="width: 89%">
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%">
                                            </td>
                                        </tr>
                            <tr>
                                <td style="width: 100%">
                                
                                    <list_u:BanList_u ID="list_u1" runat="server" />
                                </td>
                            </tr>
                                    </table>
                                   
                                </td>
                            </tr>

                        </table>
                    </td>
                </tr>
            </table>
      
            </form>
<Bati_Bottom:bottom ID="bottom1" runat="server" />
</center>
        <script type="text/xml-script">
        <page xmlns:script="http://schemas.microsoft.com/xml-script/2005">
            <references>
            </references>
            <components>
            </components>
        </page>
    </script>
</body>
</html>
