<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="album_managephoto.aspx.cs" Inherits="Discuz.ForumPage.Admin.album_managephoto" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="AjaxAlbumList" Src="../UserControls/ajaxalbumlist.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 10 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    	<LINK href="../styles/gridStyle.css" type="text/css" rel="stylesheet">
		<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">
		<LINK href="../styles/calendar.css" type="text/css" rel="stylesheet">
		<LINK href="../styles/datagrid.css" type="text/css" rel="stylesheet">		
		<script language="javascript" src="../js/common.js"></script>
		<script language="javascript" src="../js/AjaxHelper.js" type="text/javascript"></script>
	    <script type="text/javascript" src="../js/calendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:100%" align=center>
        <TABLE cellspacing="0" cellPadding="0" class="tabledatagrid">
            <tr>
              <td colspan="12" class="tdheader">&nbsp;&nbsp;照片列表
            <tr>
              <td class="tdcontent" >
	          <table class="datagridStyles" cellspacing="0" cellpadding="3" rules="rows" border="0" id="DataGrid1" style="border-width:0px;border-collapse:collapse;">
                  <%
                      int i = 1;
                      foreach (System.Data.DataRow dr in dt.Rows)
                      {
                          if (i % 4 == 1)
                          {
                  %>
                  <tr class="datagridItem" onmouseover="this.className='mouseoverstyle'" onmouseout="this.className='mouseoutstyle'" style="cursor:hand;">
                  <%
                      }
                   %>
                    <td align="center" nowrap="nowrap" style="border-color:#EAE9E1;border-width:1px;border-style:solid;">
                        <img src="<%=GetThumbnail(dr["filename"].ToString().Trim())%>" alt="<%=dr["description"].ToString().Trim() %>"/><br />
			        <INPUT id="photoid<%=dr["photoid"] %>" type="checkbox" value="<%=dr["photoid"] %>" name="photoid">
			        <span id="phototitle<%=dr["photoid"] %>"><%=dr["title"].ToString().Trim()%></span>
			        <br />所有者:<%=dr["username"] %>
			        </td>
                    <%
                      if (i % 4 == 0)
                      {
                     %>
                  </tr>
                  <%
                      }
                      i++;
                  } %>
              </table></td>
            </tr>
          </TABLE>
    </div>	
		  <br />
		  <cc1:Button id="DeleteApply" runat="server" Text=" 删 除 "  ButtonImgUrl="../images/del.gif" OnClick="DeleteApply_Click"></cc1:Button>&nbsp;
		  <button type="button" class="ManagerButton" onclick="history.back()"><img src="../images/arrow_undo.gif" /> 返 回 </button>
    </form>
    
    <%=footer%>
</body>
</html>
