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

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Show.aspx.cs" MasterPageFile="MasterPage.master"
  2.   Inherits="Admin_View" %>
  3. <asp:Content ID="View" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
  4.   <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  5.     <tr>
  6.       <td valign="top" width="75%">
  7.         <table width="100%" border="0" cellspacing="2" cellpadding="0">
  8.           <tr>
  9.             <td align="center" height="40" class="View1"><asp:Label ID="biaoti" runat="server" /></td>
  10.           </tr>
  11.           <tr>
  12.             <td align="center" class="Login2" height="25"><asp:Label ID="ViewFrom" runat="server" />&nbsp;<asp:Label ID="Time" runat="server" /></td>
  13.           </tr>
  14.           <tr>
  15.             <td align="left" class="View2">
  16.               <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
  17.                 <tr>
  18.                   <td>
  19.                     <asp:Label ID="Content" runat="server" /></td>
  20.                 </tr>
  21.               </table>
  22.             </td>
  23.           </tr>
  24.         </table>
  25.         <table width="100%" border="0" cellspacing="2" cellpadding="0">
  26.           <tr>
  27.             <td height="25" class="View3" align="left" colspan="2">
  28.               &nbsp;网友评论 共<font color="red"><asp:Label ID="Ping" runat="server" Text="Label" /></font>条评论</td>
  29.             <td>
  30.               <asp:Repeater ID="Repeater2" runat="server">
  31.                 <ItemTemplate>
  32.                   <tr>
  33.                     <td class="Login2" height="25">&nbsp;网友: <font color="#FF0000"><%#Eval("Name") %></font></td>
  34.                     <td align="right" class="Login2">
  35.                       发表于: <font color="#8000FF"><%#Eval("Time") %></font>&nbsp;</td>
  36.                   </tr>
  37.                   <tr>
  38.                     <td class="Login2" colspan="2" height="60">&nbsp;<font color="#0080FF"><%#Eval("Message") %></font>&nbsp;</td>
  39.                   </tr>
  40.                 </ItemTemplate>
  41.               </asp:Repeater>
  42.             </td>
  43.           </tr>
  44.         </table>
  45.         <table width="100%" border="0" cellspacing="2" cellpadding="0">
  46.           <tr>
  47.             <td class="Login2" width="15%" align="center">网友昵称:</td>
  48.             <td class="Login2"><asp:TextBox ID="Name" runat="server"></asp:TextBox></td>
  49.           </tr>
  50.           <tr>
  51.             <td class="Login2" align="center">评论内容:</td>
  52.             <td class="Login2"><asp:TextBox ID="Message" runat="server" TextMode="MultiLine" Rows="6" Columns="50"></asp:TextBox></td>
  53.           </tr>
  54.           <tr>
  55.             <td colspan="2" align="center" class="Login2">
  56.               <asp:Button ID="Button1" runat="server" Text="提交评论" OnClick="Button1_Click" /> <input id="Reset1" type="reset" value="重写" />
  57.             </td>
  58.           </tr>
  59.         </table>
  60.       </td>
  61.       <td valign="top" width="25%">
  62.         <table width="100%" border="0" cellspacing="2" cellpadding="0" align="right">
  63.           <tr>
  64.             <td height="25" class="View3">&nbsp;最新热点</td>
  65.           </tr>
  66.           <tr>
  67.             <td class="View4">
  68.               <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
  69.                 <tr>
  70.                   <td align="left">
  71.                     <asp:Repeater ID="Repeater1" runat="server">
  72.                       <ItemTemplate>
  73.                         <a href="./Show.aspx?NewsID=<%#Eval("id") %>"><%#Eval("biaoti").ToString().Trim().Length > 14 ? Eval("biaoti").ToString().Trim().Substring(0, 14) : Eval("biaoti").ToString().Trim()%></a>
  74.                         <br />
  75.                       </ItemTemplate>
  76.                     </asp:Repeater>
  77.                   </td>
  78.                 </tr>
  79.               </table>
  80.             </td>
  81.           </tr>
  82.         </table>
  83.       </td>
  84.     </tr>
  85.   </table>
  86. </asp:Content>