<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BBS_List.aspx.cs" Inherits="TotCms.Web.Office.BBS.BBS_List" %>

<!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></title>
    <link href="../style/global.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%">
        <tr>
            <td style="width: 20%">
            </td>
            <td style="width: 60%">
                <div>
                    <table>
                        <tr>
                            <td>
                                <img src="images/free1.jpg" />
                            </td>
                            <td>
                                <a href="#">论坛摘要</a>
                            </td>
                            <td>
                                <a href="Manage.aspx">论坛一览</a>
                            </td>
                            <td class="topic">
                                <a href="BBS_Add.aspx">发新话题</a>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
            <td style="width: 20%">
            </td>
        </tr>
        <tr>
            <td style="width: 20%">
            </td>
            <td style="width: 60%">
                <div>
                    <asp:ListView ID="lvToday" runat="server" ItemPlaceholderID="items" DataKeyNames="id">
                        <LayoutTemplate>
                            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                                <tr class="suphead">
                                    <td>
                                        最新
                                    </td>
                                    <td>
                                        TOP 5 排行榜
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="topic">
                                        标题
                                    </td>
                                    <td class="topic">
                                        作者
                                    </td>
                                    <td class="topic">
                                        日期
                                    </td>
                                </tr>
                                <asp:PlaceHolder runat="server" ID="items"></asp:PlaceHolder>
                            </table>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <a href='BBS_View.aspx?id=<%#Eval("id") %>'>
                                        <%#Eval("Title")%></a>
                                </td>
                                <td>
                                    <%#Eval("UserName")%>
                                </td>
                                <td>
                                    <%#Eval("PubDate")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                                <tr class="suphead">
                                    <td>
                                        最新
                                    </td>
                                    <td>
                                        TOP 5 排行榜
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="topic">
                                        标题
                                    </td>
                                    <td class="topic">
                                        作者
                                    </td>
                                    <td class="topic">
                                        日期
                                    </td>
                                </tr>
                            </table>
                        </EmptyDataTemplate>
                    </asp:ListView>
                </div>
            </td>
            <td style="width: 20%">
            </td>
        </tr>
        <tr>
            <td colspan="3" style="height: 100">
            </td>
        </tr>
        <tr>
            <td style="width: 20%">
            </td>
            <td style="width: 60%">
                <div>
                    <asp:ListView ID="lvHot" runat="server" ItemPlaceholderID="items" DataKeyNames="id">
                        <LayoutTemplate>
                            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                                <tr class="suphead">
                                    <td>
                                        人气
                                    </td>
                                    <td>
                                        TOP 5 排行榜
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="topic">
                                        标题
                                    </td>
                                    <td class="topic">
                                        作者
                                    </td>
                                    <td class="topic">
                                        日期
                                    </td>
                                </tr>
                                <asp:PlaceHolder runat="server" ID="items"></asp:PlaceHolder>
                            </table>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <a href='BBS_View.aspx?id=<%# Eval("id") %>'>
                                        <%#Eval("Title")%></a>
                                </td>
                                <td>
                                    <%#Eval("UserName")%>
                                </td>
                                <td>
                                    <%#Eval("PubDate")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                                <tr class="suphead">
                                    <td>
                                        人气
                                    </td>
                                    <td>
                                        TOP 5 排行榜
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="topic">
                                        标题
                                    </td>
                                    <td class="topic">
                                        作者
                                    </td>
                                    <td class="topic">
                                        日期
                                    </td>
                                </tr>
                            </table>
                        </EmptyDataTemplate>
                    </asp:ListView>
                </div>
            </td>
            <td style="width: 20%">
            </td>
        </tr>
        <tr>
            <td colspan="3" style="height: 100">
            </td>
        </tr>
        <tr>
            <td style="width: 20%">
            </td>
            <td style="width: 60%">
                <div>
                    <asp:ListView ID="lvUser" runat="server" ItemPlaceholderID="items">
                        <LayoutTemplate>
                            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                                <tr class="suphead">
                                    <td>
                                        活跃
                                    </td>
                                    <td>
                                        TOP 5 排行榜
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="topic">
                                        作者
                                    </td>
                                    <td class="topic">
                                        帖子
                                    </td>
                                </tr>
                                <asp:PlaceHolder runat="server" ID="items"></asp:PlaceHolder>
                            </table>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#Eval("UserName")%>
                                </td>
                                <td>
                                    <%#Eval("total")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <EmptyDataTemplate>
                            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                                <tr class="suphead">
                                    <td>
                                        活跃
                                    </td>
                                    <td>
                                        TOP 5 排行榜
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="topic">
                                        作者
                                    </td>
                                    <td class="topic">
                                        帖子
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </EmptyDataTemplate>
                    </asp:ListView>
                </div>
            </td>
            <td style="width: 20%">
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
