<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AlbumList.aspx.cs" Inherits="Admin_AlbumList" %>

<%@ Import Namespace ="Spaces" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=Globals.Text["PostList_Title"]%></title>

<link href="Admin.css" rel="stylesheet" type="text/css">
 
</head>
<body>
<form id="Form1" runat="server" >
<table width="640" border="0" align="center" cellpadding="0" cellspacing="0" class="black333333_red_noline">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="3" height="3"><img src="img/O_angle_up_left.gif" width="3" height="3"></td>
          <td bgcolor="#ACD373" width="100%"></td>
          <td width="3"><img src="img/O_angle_up_right.gif" width="3" height="3"></td>
        </tr>
    </table></td>
  </tr>
  <tr>
     <td bgcolor="#acd373" height=30>&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ffffff"><B><%=Globals.Text["albumadmin_admin"]%></B></font> 
                    </td>
  </tr>
  <tr>
    <td class="form_border">
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="20">&nbsp;</td>
          <td>&nbsp;</td>
          <td width="20">&nbsp;</td>
        </tr>
        <tr>
          <td style="height: 117px">&nbsp;</td>
          <td style="height: 117px"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="black333333_red_noline">
              <tr> 
                <td align="right" >  
                </td>
              </tr>
              <tr> 
                <td> <fieldset>
                  <legend>&nbsp;<%=Globals.Text["albumadmin_all"]%>&nbsp;</legend>
                  <div align="right"><%=Globals.Text["albumadmin_see"]%><br>
                    　 <br>
                    <br>
                  </div>
                  </fieldset></td>
              </tr>
            </table></td>
          <td style="height: 117px"></td>
        </tr>
        <tr>
          <td></td>
          <td><table width="100%" border="0" cellpadding="0" cellspacing="0"  >
              <tr>
                <td  ><table><tr>
                                                <td><a href="PhotoClassEdit.aspx"><%=Globals.Text["albumadmin_new"]%></a></td>
                                                <td><a href="UploadPhoto.aspx"><%=Globals.Text["albumadmin_upphoto"]%></a></td>
                                                <td><a href="AlbumList.aspx"><%=Globals.Text["albumadmin_seephoto"]%></a></td>
                                                </tr></table></td>
                 
              </tr>
            </table>
              <asp:Repeater ID="rprAlbumList" runat="server">
                  <HeaderTemplate>
                      <table width="100%" border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF"  >
              <tr bgcolor="#669900"> 
              <td width="30%" bgcolor="#669900"><font color="#FFFFFF"><%=Globals.Text["albumadmin_cover"]%></font></td>
                <td width="20%" bgcolor="#669900"><font color="#FFFFFF"><%=Globals.Text["albumadmin_photoname"]%></font></td>
                <td width="10%" align="center" bgcolor="#669900"><font color="#FFFFFF"><%=Globals.Text["albumadmin_number"]%></font></td>
                <td width="23%" align="center" bgcolor="#669900"><font color="#FFFFFF"><%=Globals.Text["albumadmin_refresh"]%></font></td>
                <td width="10%" align="center" bgcolor="#669900"><font color="#FFFFFF"><%=Globals.Text["albumadmin_edit"]%></font></td>
                <td width="7%" align="center" bgcolor="#669900"><font color="#FFFFFF"><%=Globals.Text["albumadmin_delete"]%></font></td>
              </tr>
                  </HeaderTemplate>
                  <ItemTemplate>
                     <tr bgcolor="#EEF5E2">
                      <td> 
                        <a >
                          <asp:Image runat="server" id="CategoryIcon" Width=64 Height=64/>
                        </a>
                        
                        </td> 
                <td> 
                       <asp:HyperLink id="AlbumName" runat="server" />
                        
                        </td>
                <td align="center">
                
                <asp:Literal runat="server" ID="NumPhotos" />
                </td>
                <td><asp:Literal ID="Updated"  runat="server"/></td>
                <td align="center"> 
                 <asp:HyperLink id="EditCategory" runat="server"  >
                <img src="./img/edit.gif" width="20" height="18" />
                </asp:HyperLink>
                </td>
                <td align="center">
               
                 <asp:LinkButton ID="lnkDelete" CausesValidation="False" CommandName="Delete" 
                             runat="server"  ><img src="./img/icon_del.gif" width="14" height="14" /></asp:LinkButton>
                <script>
               // alert('请先删除该目录下所有图片。');return false;
                </script>
                </td>
              </tr>
                  </ItemTemplate>
                
                  <FooterTemplate>
                      </table>
                  </FooterTemplate>
              </asp:Repeater>
            
            <br>
              &nbsp;</td>
          <td>&nbsp;</td>
        </tr>
    </table></td>
    <tr>
    <td height="30" bgcolor="#E3F0D0"  align=center >&nbsp; 
    
 </td>
  </tr>
 
</table>
</form>
</body>
</html>