<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Morenews.aspx.cs" Inherits="_Default" %>

<%@ Register Src="include/Hotnews.ascx" TagName="Hotnews" TagPrefix="uc5" %>

<%@ Register Src="include/Userlogin.ascx" TagName="Userlogin" TagPrefix="uc4" %>

<%@ Register Src="include/Contactus.ascx" TagName="Contactus" TagPrefix="uc3" %>

<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc2" %>

<%@ Register Src="Top.ascx" TagName="Top" TagPrefix="uc1" %>

<!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="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center" text="#000000" topmargin="0">


    <form id="form1" runat="server">
    <div>
        <table style="width: 991px">
            <tr>
                <td colspan="3" style="height: 136px">
                    <uc1:Top ID="Top1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <table width="100%" style="border-right: sandybrown 1px solid; border-top: sandybrown 1px solid; border-left: sandybrown 1px solid; border-bottom-width: 1px; border-bottom-color: sandybrown;">
                        <tr>
                            <td style="width: 211px; border-right: darkorange 1px solid; text-align: left; border-bottom: darkorange 1px solid;" rowspan="7" valign="top">
                                <table style="width: 218px">
                                    <tr>
                                        <td colspan="3" style="background-image: url(pics/login.gif); width: 210px; height: 33px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 82px; text-align: center;" valign="top" visible="true">
                                            <uc4:Userlogin ID="Userlogin1" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 32px; text-align: left; background-image: url(pics/hotnews.gif);" valign="top">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 112px; text-align: left; line-height: 12pt;" valign="top">
                                            <uc5:Hotnews ID="Hotnews1" runat="server" />
                                            </td>
                                    </tr>
                                </table>
                            </td>
                            <td style="width: 6px; height: 296px;" rowspan="6">
                            </td>
                            <td style="border-top-width: 1px; border-left: darkorange 1px solid; border-top-color: darkorange; border-right-width: 1px; border-right-color: darkorange; border-bottom: darkorange 1px solid; height: 296px;" rowspan="6" valign="top">
                                <table width="100%" style="height: 100px">
                                    <tr>
                                        <td colspan="3" style="height: 30px; text-align: left; border-bottom-color: gainsboro; background-color: papayawhip; border-bottom-style: double;">
                                            <strong>
                                                <asp:Label ID="lblLeibie" runat="server" ForeColor="DarkOrange"></asp:Label>
                                                &nbsp;</strong></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 180px; text-align: left" valign="top">
                                            <asp:GridView ID="Newsgridview" runat="server" AutoGenerateColumns="False" BackColor="White"
                                                BorderColor="White" BorderStyle="None" BorderWidth="1px" CellPadding="4" ShowHeader="False"
                                                Width="100%">
                                                <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                                                <RowStyle BackColor="White" BorderColor="White" BorderWidth="1px" ForeColor="#330099" />
                                                <Columns>
                                                    <asp:TemplateField HeaderText="企业新闻">
                                                        <ItemTemplate>
                                                            <a href='shownews.aspx?ShowID=<%#DataBinder.Eval(Container.DataItem,"MynewsID") %>' target="_blank">
                                                                <%#DataBinder.Eval(Container.DataItem,"Title") %>
                                                            </a>
                                                        </ItemTemplate>
                                                        <ItemStyle BorderColor="Gainsboro" BorderStyle="Dashed" HorizontalAlign="Left" />
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="Createdate" DataFormatString="{0:yy年MM月dd日}" HeaderText="加入日期"
                                                        HtmlEncode="False">
                                                        <ItemStyle BorderColor="#E0E0E0" BorderStyle="Dashed" Width="80px" ForeColor="Black" />
                                                    </asp:BoundField>
                                                </Columns>
                                                <PagerStyle BackColor="#FFFFCC" BorderColor="WhiteSmoke" ForeColor="#330099" HorizontalAlign="Center" />
                                                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                                                <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                            <td rowspan="1" style="width: 6px">
                            </td>
                            <td rowspan="1" style="border-top-width: 1px; border-left: darkorange 1px solid;
                                border-top-color: darkorange; border-bottom: darkorange 1px solid; border-right-width: 1px;
                                border-right-color: darkorange" valign="top">
                                <asp:LinkButton ID="FirstPage" runat="server" OnClick="FirstPage_Click">首 页</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="PrePage" runat="server" OnClick="PrePage_Click">上一页</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="NextPage" runat="server" OnClick="NextPage_Click">下一页</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="LastPage" runat="server" OnClick="LastPage_Click">尾 页</asp:LinkButton>
                                &nbsp; &nbsp;&nbsp; 第<asp:Label ID="lblCurrent" runat="server" Font-Bold="True"></asp:Label><strong>
                                    / </strong>
                                <asp:Label ID="lblTotal" runat="server" Font-Bold="True"></asp:Label>页&nbsp; 转到<asp:DropDownList
                                    ID="drpPage" runat="server" AutoPostBack="True" Height="20px" OnSelectedIndexChanged="drpPage_SelectedIndexChanged"
                                    Width="40px">
                                </asp:DropDownList>页</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="3">
                    <uc2:bottom ID="Bottom1" runat="server" />
                    
                </td>
            </tr>
        </table>
       </div>
    </form>
    

</body>
</html>
