platform/index.aspx

74 lines
2.6 KiB
Plaintext

<%@ Page Language="C#" MasterPageFile="~/masterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="98%" align="center">
<asp:Repeater id="RepeaterTop" runat="server" OnItemDataBound="RepeaterTop_ItemDataBound">
<itemtemplate>
<tr><td class="news_line" ><strong> <%# DataBinder.Eval(Container.DataItem,"auth_name") %> </strong></td></tr>
<tr><td >
<asp:Repeater id="RepeaterSecond" runat="server" OnItemDataBound="RepeaterSecond_ItemDataBound">
<itemtemplate>
<div style="float:left; width:45%;" class="news_table" align="left">
<strong> <div style="margin:5px 0px;"> &nbsp;&nbsp;&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem,"auth_name") %>&nbsp; &nbsp;<a href='ShowNewsCate.aspx?CateID=<%# DataBinder.Eval(Container.DataItem,"ID") %>&upID=<%# DataBinder.Eval(Container.DataItem,"auth_uplevel") %>' target="_blank"> 查看全部...</a></div></strong>
<asp:Repeater id="RepeaterThird" runat="server" >
<itemtemplate>
<div style=" width:98%;" align="left">
&nbsp;&nbsp;&nbsp;&nbsp; · <a href='ShowNews.aspx?NewsID=<%# DataBinder.Eval(Container.DataItem,"ID") %>' target="_blank"><%# FormatShowContent((string)DataBinder.Eval(Container.DataItem, "news_title"),25) %></a>&nbsp;<%# DataBinder.Eval(Container.DataItem, "create_time", "{0:MM/dd} ")%></div>
</itemtemplate>
</asp:repeater>
</div>
</itemtemplate>
</asp:repeater>
</td></tr>
</itemtemplate>
</asp:repeater>
<tr><td> &nbsp;&nbsp;</td></tr>
<tr><td align="center">
<marquee style="color:red;font-size:20px; " direction="up" height="18" scrollamount="1" onMouseOver="this.scrollDelay=500" onMouseOut="this.scrollDelay=1">
<asp:Repeater id="RepeaterMarquee" runat="server" >
<itemtemplate>
<strong> &nbsp;&nbsp; <%# DataBinder.Eval(Container.DataItem,"news_title") %></strong><br />
<%# DataBinder.Eval(Container.DataItem,"news_content") %>
<br />
</itemtemplate></asp:repeater></marquee>
</td></tr>
<tr>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>