<%@ Control Language="c#" AutoEventWireup="true" Codebehind="NewsList.ascx.cs" Inherits="XpShop.WebUI.Modules.NewsList" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="xp-home-dgzx">
    <div class="top">
        <div class="title">资讯导购</div>
        <div class="more"><a href="<%=webSite %>NewsIndex.<%=config.html %>" target="_blank">更多</a></div>
    </div>
    <div class="text">
        <ul class="clear">
            <%BindNews(2,6,"","","rptNews"); %>
	        <asp:Repeater id="rptNews" runat="server">
	            <ItemTemplate>	
    	            <li>
    	                <a href='/<%=ShopFolder %>articles/News-<%#DataBinder.Eval(Container.DataItem,"ArticleID")%>.<%=config.html%>' title='<%#DataBinder.Eval(Container.DataItem,"Title")%>' target='_blank'><%#DataBinder.Eval(Container.DataItem, "Title")%></a>
    	            </li>					
	            </ItemTemplate>
	            <AlternatingItemTemplate>
	                <li>
    	                <a href='/<%=ShopFolder %>articles/News-<%#DataBinder.Eval(Container.DataItem,"ArticleID")%>.<%=config.html%>' title='<%#DataBinder.Eval(Container.DataItem,"Title")%>' style="color:#fe6500;" target='_blank'><%#DataBinder.Eval(Container.DataItem, "Title")%></a>
    	            </li>
	            </AlternatingItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>