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

SCSI/ASPI

开发平台:

Others

  1. <%@ Control Language="c#" Inherits="Discuz.Album.Admin.AjaxPhotoInfo" AutoEventWireup="false"%>
  2. <%@ Import Namespace="Discuz.Config" %>
  3. <br />
  4. <div style="width:100%" align=center>
  5.     <table class="table1" cellspacing="0" cellpadding="4" width="100%" align="center">
  6.         <tr>
  7. <td colspan="2">
  8. <table class="ntcplist" >
  9.             <tr class="head">
  10.               <td>&nbsp;&nbsp;候选照片列表</td>
  11.             </tr>
  12.             <tr>
  13.             <td>
  14.             <table class="datalist" cellspacing="0" id="Table2">
  15.                   <%
  16.                   int i = 1;
  17.                   foreach (System.Data.DataRow dr in dt.Rows)
  18.                   {
  19.                      if (i % 4 == 1)
  20.                      {
  21.                   %>
  22.                   <tr>
  23.                   <%
  24.                       }
  25.                   %>
  26.                     <td align="center" nowrap="nowrap">
  27.                        <a href="../../showphoto.aspx?photoid=<%=dr["photoid"] %>" target="_blank"><img src="<%=GetThumbnail(dr["filename"].ToString().Trim())%>" alt="<%=dr["description"].ToString().Trim() %>" onerror="this.src='../../space/images/nopic.gif'" /></a><br />
  28.         <input id="tid<%=dr["photoid"] %>" onclick="javascript:insertElement('pid',this.value,$('phototitle'+this.value).innerHTML,this.checked)" type="checkbox" value="<%=dr["photoid"] %>" name="photoid" />
  29.         <span id="phototitle<%=dr["photoid"] %>"><a href="../../showphoto.aspx?photoid=<%=dr["photoid"] %>" target="_blank"><%=dr["title"].ToString().Trim()%></a></span>
  30.         <br />所有者:<a href="../../userinfo.aspx?userid=<%=dr["userid"] %>" target="_blank"><%=dr["username"] %></a>
  31.         </td>
  32.                     <%
  33.                       if (i % 4 == 0)
  34.                       {
  35.                      %>
  36.                   </tr>
  37.                   <%
  38.                       }
  39.                       i++;
  40.                   } %>
  41.                   <tr>
  42.                 <td align="left" valign="bottom" colspan="4" style="border-width:0px;"><%=pagelink %></td>
  43.                   </tr>
  44.               </table>
  45.               </td>
  46.             </tr>
  47.           </table>
  48.           </td>
  49.           </tr>
  50.           </table>
  51. </div>