<%@ page language="C#" autoeventwireup="true" inherits="wc_leftframe, App_Web_mwyrkay5" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="images/def.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color: #CCE7FF">
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="width: 100%">
                    <table border="0" cellpadding="0" cellspacing="0" style="border-right: #77a4b7 1px solid;
                        border-top: #77a4b7 1px solid; border-left: #77a4b7 1px solid; width: 100%; border-bottom: #77a4b7 1px solid">
                        <tr>
                            <td style="width: 50%; height: 5px; background-color: #ffffff">
                            </td>
                            <td style="width: 50%; height: 5px; background-color: #ffffff">
                            </td>
                        </tr>
                        <tr>
                            <td style="border-right: #7ca7da 1px solid; width: 50%; background-color: #ffffff" valign="top">
                                <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 100%" class="newsCon">
                                            <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="保守社区新贴多多多"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td rowspan="2" style="width: 100%">
                                            <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" Width="100%" OnItemDataBound="DataList1_ItemDataBound">
                                                <ItemTemplate>
                                                    ·<asp:HyperLink ID="HyperLink1" runat="server" Text='<%#Eval("title") %>' ForeColor="black" NavigateUrl='<%#"../bati_show.aspx?articleid=" + Eval("articleid") %>' Target="_blank">HyperLink</asp:HyperLink>
                                                    <asp:Label ID="Label12" runat="server" Text='<%#Eval("articleid") %>' Visible="false"></asp:Label>
                                                </ItemTemplate>
                                            </asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>"
                                                SelectCommand="SELECT top 10 [ArticleID], [Title],[lianjie] FROM [Article] ORDER BY [ArticleID] DESC">
                                            </asp:SqlDataSource>
                                        </td>
                                    </tr>
                                    <tr>
                                    </tr>
                                </table>
                            </td>
                            <td style="width: 50%; background-color: #ffffff" valign="top"><table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                <tr>
                                    <td style="width: 100%" class="newsCon">
                                        <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="电影库里电影多多多"></asp:Label></td>
                                </tr>
                                    <tr>
                                        <td style="width: 100%"><asp:DataList ID="DataList2" runat="server" DataSourceID="SqlDataSource2" Width="100%">
                                            <ItemTemplate>
                                                ·<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="black" NavigateUrl='<%#"../show_movie.aspx?movieid=" + Eval("movieid") %>'
                                                    Target="_blank" Text='<%#Eval("moviename") %>'>HyperLink</asp:HyperLink>（<asp:Label
                                                        ID="Label3" runat="server" Text='<%#Eval("chupinshijian") %>'></asp:Label>）
                                            </ItemTemplate>
                                        </asp:DataList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:movieWebConnectionString %>"
                                            SelectCommand="SELECT top 10 [movieid], [moviename],[chupinshijian] FROM [movie] ORDER BY [movieid] DESC">
                                        </asp:SqlDataSource>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 50%; height: 5px; background-color: #ffffff">
                            </td>
                            <td style="width: 50%; height: 5px; background-color: #ffffff">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="background-image: url(images/8-left.png); height: 50px">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 65%">
                                            关键字：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>&nbsp;<asp:DropDownList
                                                ID="DropDownList2" runat="server">
                                                <asp:ListItem>标题</asp:ListItem>
                                                <asp:ListItem>坑友</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:Button ID="Button3" runat="server" Font-Bold="True" Text="搜索" OnClick="Button3_Click" /></td>
                                        <td style="width: 35%">
                                            <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" NavigateUrl="user.aspx"
                                                Target="right">【用户管理】</asp:HyperLink>
                                            <asp:HyperLink ID="HyperLink5" runat="server" Font-Bold="True" NavigateUrl="paiming.aspx"
                                                Target="right">【公厕排名】</asp:HyperLink>
                                            <asp:HyperLink ID="HyperLink6" runat="server" Font-Bold="True" NavigateUrl="jinbi.aspx"
                                                Target="right">【禁闭名单】</asp:HyperLink></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 100%;">
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="486" height="100">
        <param name="movie" value="../ad/sd.swf">
        <param name="quality" value="high">
        <embed src="../ad/sd.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="486" height="100"></embed></object>
                
                </td>
            </tr>
            <tr>
                <td style="width: 100%; height: 10px">
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 100%; border-bottom: #ffcc00 1px dashed">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td align="left" style="width: 60%">
                                <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="True" ForeColor="Black" OnClick="LinkButton1_Click">我放下的便便</asp:LinkButton>&nbsp;
                                <asp:LinkButton ID="LinkButton2" runat="server" Font-Bold="True" ForeColor="Black" OnClick="LinkButton2_Click">我认为香的便便</asp:LinkButton>&nbsp;
                                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                                </asp:DropDownList></td>
                            <td style="width: 40%">
                                <asp:Button ID="Button1" runat="server" Font-Bold="True" Text="释放新便便" OnClick="Button1_Click" />
                                &nbsp;
                                <asp:Button ID="Button2" runat="server" Font-Bold="True" Text="刷新坑坑" OnClick="Button2_Click" /></td>
                        </tr>
                        <tr>
                            <td style="width: 60%; height: 5px">
                            </td>
                            <td style="width: 50%; height: 5px">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 100%; height: 8px">
                </td>
            </tr>
            <tr>
                <td style="width: 100%; border-bottom: #ffcc33 1px dashed;">
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False"
                        BorderWidth="0px" DataKeyNames="MC_articleid" DataSourceID="SqlDataSource4"
                        ShowHeader="False" Width="100%" OnRowDataBound="GridView2_RowDataBound">
                        <PagerSettings FirstPageText="第一页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
                            NextPageText="下一页" Position="TopAndBottom" PreviousPageText="上一页" />
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                        <tr>
                                            <td style="width: 100%; height: 20px;" class="newsCon2">
                                                <asp:Label ID="Label10" runat="server" Text="★"></asp:Label>
                                                <asp:Image ID="Image1" runat="server" Visible="false" ImageUrl="~/WC/images/money.gif" />
                                                【<asp:Label ID="Label6" runat="server" Text='<%#Eval("mc_type") %>'></asp:Label>】<asp:HyperLink
                                                    ID="HyperLink2" runat="server" NavigateUrl='<%# "wc_show.aspx?articleid=" + Eval("mc_articleid") %>'
                                                    Target="right" Text='<%#Eval("MC_title") %>'>HyperLink</asp:HyperLink>(点<asp:Label
                                                        ID="Label4" runat="server" Text='<%#Eval("MC_click") %>'></asp:Label>/回<asp:Label
                                                            ID="Label5" runat="server" Text='<%#Eval("MC_renum") %>'></asp:Label>)<asp:HyperLink ID="HyperLink3" runat="server"
                                                            Target="_blank" ToolTip="新窗口打开"　NavigateUrl='<%# "wc_show.aspx?articleid=" + Eval("mc_articleid") %>'>┳</asp:HyperLink>
                                                <asp:Label ID="Label11" runat="server" ForeColor="red" Text=<%#"(" + Eval("MC_money") + "金)" %>></asp:Label>
                                                <asp:Label ID="Label7" runat="server" Font-Bold="true" ForeColor="red" Text="【热门】"
                                                    Visible="false"></asp:Label>
                                                
                                                <asp:Label ID="Label8" runat="server" Text='<%#Eval("MC_zhidingshijian") %>' Visible="false">
                                                    </asp:Label>
                                                    <asp:Label ID="Label9" runat="server" Text='<%#Eval("mc_articleid") %>' Visible="false">
                                                </asp:Label>
                                                </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerStyle Font-Bold="True" ForeColor="#004000" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:musicWebConnectionString22 %>"
                        SelectCommand="SELECT top 10 [MC_articleid], [MC_title], [MC_username], [MC_click], [MC_renum], [mc_type], [MC_zhidingshijian],[MC_money] FROM [cc_article] WHERE ([MC_zhidingshijian] <> @MC_zhidingshijian) ORDER BY [MC_articleid] DESC">
                        <SelectParameters>
                            <asp:Parameter DefaultValue="无" Name="MC_zhidingshijian" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td style="width: 100%">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        BorderWidth="0px" DataKeyNames="MC_articleid" DataSourceID="SqlDataSource3" PageSize="250"
                        ShowHeader="False" Width="100%" OnRowDataBound="GridView1_RowDataBound">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                        <tr>
                                            <td style="width: 100%; height: 20px;" class="newsCon2">
                                                <asp:Label ID="Label10" runat="server" Text="★"></asp:Label>
                                                <asp:Image ID="Image1" runat="server" Visible="false" ImageUrl="~/WC/images/money.gif" />【<asp:Label ID="Label6" runat="server" Text='<%#Eval("mc_type") %>'></asp:Label>】<asp:HyperLink ID="HyperLink2" runat="server" Text='<%#Eval("MC_title") %>' NavigateUrl='<%# "wc_show.aspx?articleid=" + Eval("mc_articleid") %>' Target="right">HyperLink</asp:HyperLink>(点<asp:Label
                                                    ID="Label4" runat="server" Text=<%#Eval("MC_click") %>></asp:Label>/回<asp:Label ID="Label5" runat="server"
                                                        Text='<%#Eval("MC_renum") %>'></asp:Label>) <asp:HyperLink ID="HyperLink3" runat="server"
                                                            Target="_blank" ToolTip="新窗口打开"　NavigateUrl='<%# "wc_show.aspx?articleid=" + Eval("mc_articleid") %>'>┳</asp:HyperLink>
                                                        <asp:Label ID="Label11" runat="server" ForeColor="red" Text=<%#"(" + Eval("MC_money") + "金)" %>></asp:Label>
                                                <asp:Label ID="Label7" runat="server" Text="【热门】" Font-Bold="true" ForeColor="red" Visible="false"></asp:Label>
                                             </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerSettings FirstPageText="第一页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
                            NextPageText="下一页" Position="TopAndBottom" PreviousPageText="上一页" />
                        <PagerStyle Font-Bold="True" ForeColor="#004000" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:musicWebConnectionString22 %>"
                        SelectCommand="SELECT top 600 [MC_articleid],[MC_username], [MC_title], [MC_click], [MC_renum],[MC_last_username], [MC_zhidingshijian],[MC_createtime],[mc_type],[MC_money] FROM [cc_article] WHERE ([MC_zhidingshijian] = @MC_zhidingshijian) ORDER BY [MC_createtime] DESC">
                    <SelectParameters>
                            <asp:Parameter DefaultValue="无" Name="MC_zhidingshijian" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td style="width: 100%">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 100%">
                </td>
            </tr>
        </table>
        
    </div>
    
    </form>
    
</body>
</html>
