<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Galleries" Namespace="CommunityServer.Galleries.Controls" Assembly="CommunityServer.Galleries" %>
<div class="CommonContentArea">
	<CS:AdPart runat = "Server" contentname="StandardTop" ID="Adpart1">
	    <CS:Ads Zone="StandardTop" runat="server" id="Ads1" />
	</CS:AdPart>
	
	<h2 class="CommonTitle"><CS:ResourceControl ResourceName="Gallery_AggregateGalleryListing_Title" runat="server" ID="Resourcecontrol1"/></h2>
	<div class="CommonContent">
<asp:Repeater runat="server" id="GroupRepeater">
	<ItemTemplate>

		<div class="CommonListArea">
			<h4 class="CommonListTitle"><asp:Literal runat="server" id="GroupTitle" /></h4>

			<Galleries:GalleryRepeater runat="server" id="GalleryRepeater">
				<HeaderTemplate>
					<table width="100%" cellpadding="0" cellspacing="0">
						<tr>
							<td class="CommonListHeaderLeftMost" width="*"><CS:ResourceControl ResourceName="Gallery_AggregateGalleryListing_Gallery" runat="server" /></td>
							<td class="CommonListHeader" align="center" width="150"><CS:ResourceControl ResourceName="Gallery_AggregateGalleryListing_LastChanged" runat="server" /></td>
							<td class="CommonListHeader" align="center" width="150"><CS:ResourceControl ResourceName="Gallery_AggregateGalleryListing_PictureCount" runat="server" /></td>
						</tr>
				</HeaderTemplate>
				<ItemTemplate>
					<tr>
						<td class="CommonListCellLeftMost" valign="top">
							<span style="float: left"><Galleries:GalleryImage visible="false" id="RandomPicture" ImageType="Thumbnail" runat="server" CssClass="imageAlbumPreview" /></span>
							<asp:HyperLink runat="server" id="Name" /><br/>
							<em><asp:Literal runat="server" id="Description" /></em>
						</td>
						<td class="CommonListCell" align="center"><asp:Literal runat="server" id="DateChanged" />&nbsp;</td>
						<td class="CommonListCell" align="center"><asp:Literal runat="server" id="TotalPictures" /></td>
					</tr>
				</ItemTemplate>
				<FooterTemplate>
					</table>
				</FooterTemplate>
			</Galleries:GalleryRepeater>
								
			<div class="CommonPagingArea" align="right">
				<Galleries:AggregatePagingControl id="Pagination" runat="server" />
			</div>

		</div>
	</ItemTemplate>
	<SeparatorTemplate>
		<div class="spacer">&nbsp;</div>
	</SeparatorTemplate>
</asp:Repeater>
</div> 
</div> 