<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Galleries" Namespace="CommunityServer.Galleries.Controls" Assembly="CommunityServer.Galleries" %>
<h2 class="CommonTitle"><CS:ResourceControl runat="server" ResourceName="Gallery_Categories" /></h2>
<asp:Panel id="PagerPanel" runat="server">
<div class="CommonPagingArea">
	<div  style="float:right;position:relative;"><CS:CurrentPage Cssclass="columnText" id="Currentpage" runat="server" />&nbsp;
	<CS:Pager id="Pager" runat="server" /></div>&nbsp;
</div>
</asp:Panel> 

<table cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
	<td>
	<div id="categoryList" >
		<CS:RepeaterPlusNone id="Categories" runat="server">
			<HeaderTemplate>
				<ul class="GalleryList">
			</HeaderTemplate>
			<ItemTemplate>
				<!--<asp:Literal id="BeginRow" runat="server" />-->
				<li>
					<!--<asp:label id="ChangedTitle" runat="server" />-->
					<div id="albumItem">
						<div id="photostack">
							<div id="photoStackImage"><Galleries:HighlightPicture CategoryID='<%# DataBinder.Eval(Container.DataItem, "CategoryID") %>' id="folderImage" ImageType="Other" Width="180" height="135" quality="70" runat="server" /></div>
						</div>	
						<div id="galleryName">
							<asp:HyperLink runat="server" id="Name" />
						</div>
						<em>
						<CS:ResourceControl runat="server" ResourceName="Gallery_PictureDetails_LastUpdated" /> <asp:Literal Runat="server" id="DateChanged" /><br />
						<CS:ResourceControl runat="server" ResourceName="Gallery_PictureDetails_Contains" /> <asp:Literal runat="server" id="TotalPictures" /> <CS:ResourceControl runat="server" ResourceName="Gallery_PictureDetails_Photos" />
						</em>
					</div>
				</li>
				<!--<asp:Literal runat="server" id="EndRow" />-->
			</ItemTemplate>
			<NoneTemplate>
				<li>
					<em><asp:Literal runat="server" id="NoRecords" /></em>
				</li>
			</NoneTemplate>
			<FooterTemplate>
				</ul>
			</FooterTemplate>
		</CS:RepeaterPlusNone>
	</div>
	</td>
</tr>
</table>
<CS:RssButton id="RssButton" runat="server" />	
