<%@ page language="C#" autoeventwireup="true" inherits="bbs, App_Web_soepvfzo" %>

<!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="home.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <atlas:ScriptManager ID="s1" runat="server" EnablePartialRendering="true" />
        <atlas:TimerControl ID="TimerControl2" runat="server" Interval="9000" OnTick="TimerControl2_Tick"></atlas:TimerControl>

            <atlas:UpdatePanel ID="UpdatePanel1" runat="server" Mode="Always">
    <ContentTemplate>
                                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                            <tr>
                                                                <td style="width: 50%" valign="top">
 
                                                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-right: #cccccc 1px solid; border-top: #cccccc 1px solid; border-left: #cccccc 1px solid; border-bottom: #cccccc 1px solid;">
                                                                        <tr>
                                                                            <td style="width: 100%">
                                                                                <table border="0" cellpadding="5" cellspacing="0" style="width: 100%">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                                                <tr>
                                                                                                    <td style="width: 50%; height: 14px; background-color: #cccccc">
                                                                                                        <asp:Label ID="Label7" runat="server" Font-Bold="True" ForeColor="Black" Text="我关注的论坛"></asp:Label></td>
                                                                                                    <td style="width: 50%; height: 14px; background-color: #cccccc" align="right">
                                                                                                        <asp:HyperLink ID="LinkButton7" runat="server" Font-Bold="True" ForeColor="Black" Visible="false" Target="_blank" Text="发帖子"></asp:HyperLink></td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td style="width: 100%">
 
                                            <asp:GridView AutoGenerateColumns="False" BorderWidth="0px" CellPadding="0" DataSourceID="SqlDataSource1" ID="GridView1" runat="server" ShowHeader="False" Width="100%">
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <ItemStyle Width="20px" />
                                                        <ItemTemplate>
                                                            <asp:Image ID="Image1" ImageUrl="~/Bati_image/wb-2.gif" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="UserName" HeaderText="UserName" SortExpression="UserName" />
                                                    <asp:HyperLinkField DataNavigateUrlFields="ArticleID" DataNavigateUrlFormatString="Bati_Show.aspx?ArticleID={0}"
                                                        DataTextField="Title" DataTextFormatString="{0}" />
                                                    <asp:BoundField DataField="ArticleID" HeaderText="ArticleID" InsertVisible="False" SortExpression="ArticleID" Visible="False" />
                                                </Columns>
                                            </asp:GridView>
                                            
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                    
                                                                    
                                                                </td>
                                                                <td style="width: 50%" valign="top">
                                                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                        <tr>
                                                                            <td style="width: 100%">
                                                                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-right: #cccccc 1px solid; border-top: #cccccc 1px solid; border-left: #cccccc 1px solid; border-bottom: #cccccc 1px solid;">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <table border="0" cellpadding="5" cellspacing="0" style="width: 100%">
                                                                                                <tr>
                                                                                                    <td style="width: 100%">
                                                                                                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                                                            <tr>
                                                                                                                <td style="width: 50%; background-color: #cccccc">
                                                                                                                    <asp:Label ID="Label8" runat="server" Font-Bold="True" ForeColor="Black" Text="家族列表"></asp:Label></td>
                                                                                                                <td style="width: 50%; background-color: #cccccc" align="right">
                                                                                                                    <asp:Label ID="Label9" runat="server" Font-Bold="True" ForeColor="Black" Text="我的家族"></asp:Label></td>
                                                                                                            </tr>
                                                                                                        </table>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <asp:DataList ID="GridView2" runat="server" BorderWidth="0px" DataSourceID="SqlDataSource3" ShowHeader="False" Width="100%" OnItemDataBound="GridView2_ItemDataBound" OnItemCommand="GridView2_ItemCommand">
                                                                                                
                                                                                                        <ItemTemplate>
                                                                                                            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                                                                <tr>
                                                                                                                    <td align="center" rowspan="2" style="width: 50%">
                                                                                                                        <asp:ImageButton ID="Image2" runat="server" Height="75px" Width="88px" ToolTip="点击"></asp:ImageButton></td>
                                                                                                                    <td style="width: 50%">
                                                                                                                        名称：<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("JiaZuName") %>' Font-Bold="true" Target="_blank">HyperLink</asp:HyperLink></td>
                                                                                                                </tr>
                                                                                                                <tr>
                                                                                                                    <td style="width: 50%">
                                                                                                                        族长：<asp:HyperLink ID="HyperLink2" runat="server" Text='<%# Eval("ChuangJianRen") %>' Font-Bold="true" Target="_blank">HyperLink</asp:HyperLink></td>
                                                                                                                </tr>
                                                                                                                <tr>
                                                                                                                <td>
                                                                                                                <asp:LinkButton  ID="Labelname" runat="server" Text='<%# Eval("JiaZuID") %>' Visible="false"></asp:LinkButton>
                                                                                                                <asp:LinkButton  ID="LinkButton8" runat="server" Text='<%# Eval("ChuangJianRen") %>' Visible="false"></asp:LinkButton>
                                                                                                                </td>
                                                                                                                </tr>
                                                                                                            </table>
                                                                                                        </ItemTemplate>
                                                                                                    
                                                                                            </asp:DataList>
                                                                                            <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>"
                                                                                                SelectCommand="SELECT TOP 3 [JiaZuName], [JiaZuID], [JiaZuLogo], [ChuangJianRen] FROM [JiaZu_Info] ORDER BY [JiaZuID] DESC">
                                                                                            </asp:SqlDataSource>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td style="width: 100%">
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td style="width: 100%">
                                                                                <table id="TABLE3" runat="server" border="0" cellpadding="5" cellspacing="0" style="width: 100%; border-right: #cccccc 1px solid; border-top: #cccccc 1px solid; border-left: #cccccc 1px solid; border-bottom: #cccccc 1px solid;">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                                                <tr>
                                                                                                    <td style="width: 100%; background-color: #cccccc">
                                                                                                        &nbsp;<asp:Label ID="Label10" runat="server" Font-Bold="True" ForeColor="Black" Text="家族帖子"></asp:Label></td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <asp:DataList ID="GridView3" runat="server" BorderWidth="0px"
                                                                                                DataSourceID="SqlDataSource4" ShowHeader="False" Width="100%" OnItemDataBound="GridView3_ItemDataBound">
                                                                                                <ItemTemplate>
                                                                                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                                                                        <tr>
                                                                                                            <td style="width: 30%">
                                                                                                                <asp:HyperLink ID="HyperLink3" runat="server" Target="_blank" Text='<%# Eval("UserName") %>'>HyperLink</asp:HyperLink></td>
                                                                                                            <td style="width: 70%">
                                                                                                                <asp:HyperLink ID="HyperLink4" runat="server" Target="_blank" Text='<%# Eval("Title") %>'>HyperLink</asp:HyperLink></td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <td>
                                                                                                            <asp:LinkButton ID="LinkButton9" runat="server" Visible="false" Text='<%# Eval("UserName") %>'>LinkButton</asp:LinkButton>
                                                                                                            <asp:LinkButton ID="LinkButton10" runat="server" Visible="false" Text='<%# Eval("ArticleID") %>'>'>LinkButton</asp:LinkButton>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </ItemTemplate>
                                                                                        
                                                                                                
                                                                                            </asp:DataList>
                                                                                            <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>">
                                                                                            </asp:SqlDataSource>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        </ContentTemplate>
                                                        </atlas:UpdatePanel>
        
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>">
        </asp:SqlDataSource>
    </form>
</body>
</html>
