NewsDefault.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:5k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="NewsDefault.aspx.cs" Inherits="NewsDefault" Title="新闻与问答" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  3.   <table width="100%" border="0" cellpadding="0" cellspacing="2" align="center">
  4.     <tr valign="top">
  5.       <td width="75%">
  6.         <table width="100%" border="0" cellspacing="2" cellpadding="0">
  7.           <tr>
  8.             <td height="25" class="Defauit1">&nbsp;产品新闻</td>
  9.             <td height="25" class="Defauit1">&nbsp;企业新闻</td>
  10.           </tr>
  11.           <tr>
  12.             <td class="Defauit2" valign="top" width="50%">
  13.               <table align="center" width="95%">
  14.                 <tr>
  15.                   <td>
  16.                     <asp:Repeater ID="Repeater1" runat="server">
  17.                       <ItemTemplate>
  18.                         <a href="./NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank">
  19.                           <%#Eval("biaoti").ToString().Trim().Length > 22 ? Eval("biaoti").ToString().Trim().Substring(0, 22) : Eval("biaoti").ToString().Trim()%>
  20.                         </a>
  21.                         <br />
  22.                       </ItemTemplate>
  23.                     </asp:Repeater>
  24.                   </td>
  25.                 </tr>
  26.               </table>
  27.             </td>
  28.             <td class="Defauit2" valign="top" width="50%">
  29.               <table align="center" width="95%">
  30.                 <tr>
  31.                   <td>
  32.                     <asp:Repeater ID="Repeater2" runat="server">
  33.                       <ItemTemplate>
  34.                         <a href="./NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank">
  35.                           <%#Eval("biaoti").ToString().Trim().Length > 22 ? Eval("biaoti").ToString().Trim().Substring(0, 22) : Eval("biaoti").ToString().Trim()%>
  36.                         </a>
  37.                         <br />
  38.                       </ItemTemplate>
  39.                     </asp:Repeater>
  40.                   </td>
  41.                 </tr>
  42.               </table>
  43.             </td>
  44.           </tr>
  45.           <tr>
  46.             <td height="25" class="Defauit1">&nbsp;常见问题</td>
  47.             <td height="25" class="Defauit1">&nbsp;顾客问答</td>
  48.           </tr>
  49.           <tr>
  50.             <td class="Defauit2" valign="top">
  51.               <table align="center" width="95%">
  52.                 <tr>
  53.                   <td>
  54.                     <asp:Repeater ID="Repeater3" runat="server">
  55.                       <ItemTemplate>
  56.                         <a href="./NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank">
  57.                           <%#Eval("biaoti").ToString().Trim().Length > 22 ? Eval("biaoti").ToString().Trim().Substring(0, 22) : Eval("biaoti").ToString().Trim()%>
  58.                         </a>
  59.                         <br />
  60.                       </ItemTemplate>
  61.                     </asp:Repeater>
  62.                   </td>
  63.                 </tr>
  64.               </table>
  65.             </td>
  66.             <td class="Defauit2" valign="top">
  67.               <table align="center" width="95%">
  68.                 <tr>
  69.                   <td>
  70.                     <asp:Repeater ID="Repeater4" runat="server">
  71.                       <ItemTemplate>
  72.                         <a href="./NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank">
  73.                           <%#Eval("biaoti").ToString().Trim().Length > 22 ? Eval("biaoti").ToString().Trim().Substring(0, 22) : Eval("biaoti").ToString().Trim()%>
  74.                         </a>
  75.                         <br />
  76.                       </ItemTemplate>
  77.                     </asp:Repeater>
  78.                   </td>
  79.                 </tr>
  80.               </table>
  81.             </td>
  82.           </tr>
  83.         </table>
  84.       </td>
  85.       <td>
  86.         <table width="100%" border="0" cellspacing="2" cellpadding="0">
  87.           <tr>
  88.             <td class="View3" height="25" align="center">最新更新</td>
  89.           </tr>
  90.           <tr>
  91.             <td class="View4">
  92.               <table align="center" width="95%">
  93.                 <tr>
  94.                   <td>
  95.                     <asp:Repeater ID="RepeaterR" runat="server">
  96.                       <ItemTemplate>
  97.                         <a href="./NewsShow.aspx?NewsID=<%#Eval("NewsID") %>" target="_blank">
  98.                         <%#Eval("biaoti").ToString().Trim().Length > 14 ? Eval("biaoti").ToString().Trim().Substring(0, 14) : Eval("biaoti").ToString().Trim()%>
  99.                         </a>
  100.                         <br />
  101.                       </ItemTemplate>
  102.                     </asp:Repeater>
  103.                   </td>
  104.                 </tr>
  105.               </table>
  106.             </td>
  107.           </tr>
  108.         </table>
  109.         <br />
  110.         <asp:HyperLink ID="HyperLink2" NavigateUrl="~/AddNews.aspx" runat="server">我也说点什么</asp:HyperLink>
  111.       </td>
  112.     </tr>
  113.   </table>
  114. </asp:Content>