ajaxspacepostinfo.ascx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:3k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Control Language="c#" Inherits="Discuz.Space.Admin.AjaxSpacePostInfo" AutoEventWireup="false"%>
  2. <br />
  3. <div style="width:100%" align=center>
  4.     <table class="table1" cellspacing="0" cellpadding="4" width="100%" align="center">
  5.         <tr>
  6. <td colspan="2">
  7. <table class="ntcplist" >
  8.             <tr class="head">
  9.               <td>&nbsp;&nbsp;候选日志列表
  10.             </tr>
  11.             <tr>
  12.             <td>
  13.             <table class="datalist" cellspacing="0" rules="all" border="1" id="Table1" style="border-collapse:collapse;">
  14.                   <tr class="category">
  15.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">选择</td>
  16.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">标题</td>
  17.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">作者</td>
  18.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">发表日期</td>
  19.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">查看次数</td>
  20.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">评论次数</td>
  21.                   </tr>
  22.                   <%foreach(System.Data.DataRow dr in dt.Rows){ %>
  23.                   <tr class="mouseoutstyle" onmouseover="this.className='mouseoverstyle'" onmouseout="this.className='mouseoutstyle'" style="cursor:hand;">
  24.                     <td nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">
  25.         <INPUT id="tid<%=dr["postid"] %>" onclick="javascript:insertElement('pid',this.value,$('title'+this.value).innerHTML,this.checked)" type="checkbox" value="<%=dr["postid"] %>" name="postid"></td>
  26.                     <td style="border-color:#EAE9E1;border-width:1px;border-style:solid;" align="left">
  27.                     <a href="../../space/viewspacepost.aspx?postid=<%=dr["postid"] %>" target="_blank"><span id="title<%=dr["postid"] %>"><%=dr["title"].ToString().Trim() %></span></a>
  28.                     </td>
  29.                     <td style="border-color:#EAE9E1;border-width:1px;border-style:solid;">
  30.                     <%if (dr["uid"].ToString() == "-1"){ %>
  31.                         <%=dr["author"] %>
  32.                     <%}else{ %>
  33.                         <a href="../../userinfo.aspx?userid=<%=dr["uid"] %>" target="_blank"><%=dr["author"] %></a>
  34.                     <%} %>
  35.                     </td>
  36.                     <td style="border-color:#EAE9E1;border-width:1px;border-style:solid;"><%=dr["postdatetime"]%></td>
  37.                     <td style="border-color:#EAE9E1;border-width:1px;border-style:solid;"><%=dr["views"]%></td>
  38.                     <td style="border-color:#EAE9E1;border-width:1px;border-style:solid;"><%=dr["commentcount"]%></td>
  39.                   </tr>
  40.                   <%} %>
  41.                   <tr>
  42.                 <td align="left" valign="bottom" colspan="6" style="border-width:0px;"><%=pagelink %></td>
  43.                   </tr>
  44.               </table>
  45.               </td>
  46.             </tr>
  47.           </table>
  48.           </td>
  49.           </tr>
  50.           </table>
  51. </div>