<%@ control language="C#" autoeventwireup="true" inherits="Controls_Nocice, Huibo.Net" %>
<div class="notice">
    <ul class="noticetitle">
        <li style="margin-top: 5px;">
            <asp:Image ID="NoticeImage" ImageUrl="images/bugle.png" runat="server" /></li>
        <li>网站公告</li></ul>
    <div class="ntcontent">
        <marquee onmouseover="this.stop()" style="width: 150px; height: 110px" onmouseout="this.start()"
            scrollamount="2" direction="up">
            <asp:Repeater ID="NoticeList" runat="server">
                    <ItemTemplate>
                        <a href="NoticeContent.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"newsid") %>" style="font:12px/22px Arial; text-decoration:none;color:#919191;" title='<%#DataBinder.Eval(Container.DataItem, "newsname").ToString() %>'><%# DataBinder.Eval(Container.DataItem, "newsname").ToString().Length > 10 ? DataBinder.Eval(Container.DataItem, "newsname").ToString().Substring(0, 10) + "..." : DataBinder.Eval(Container.DataItem, "newsname")%></a> <br />
                    </ItemTemplate>
                </asp:Repeater>
        </marquee>
    </div>
</div>
