<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Galleries" Namespace="CommunityServer.Galleries.Controls" Assembly="CommunityServer.Galleries" %>

<div class="sectionContainer">
	<div class="sectionHeader">
		<div class="row">
			<!--span class="left">
				<CS:ResourceControl run at="server" ResourceName="Gallery_PictureListing_SortBy" />
				<Galleries:GalleryThreadSortDropDownList id="SortPictures" run at="server" />
			</span-->
			<span class="right"><asp:HyperLink id="SlideShowLink" runat="server" /></span>
		</div>
	</div>

	<div class="sectionBody">

			<CS:RepeaterPlusNone id="Pictures" runat="server">
				<HeaderTemplate>
					<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" align="center">
				</HeaderTemplate>
				<ItemTemplate>
					<asp:Literal runat="server" id="BeginRow" />
						<td valign="top" id="tableColumn" runat="server">

							<div class="imageListContainer">
								<div align="center"><span><strong><asp:HyperLink runat="server" id="PictureName" /></strong></span></div><div class="spacer"></div><div class="spacer"></div>
								<div align="center">
									<Galleries:GalleryImage id="thumbImage" ImageType="Thumbnail" EnableSecondaryThumbnail="true" runat="server" CssClass="imageListPreview" />
								</div>
								<div class="spacer"></div>
								<div align="center"><strong>Viewed:</strong> <asp:Literal runat="server" id="TotalViews" /></div><div class="spacer"></div>
								<Galleries:RatingListing runat="server" id="RatingListing">
									<SkinTemplate>
										<div align="center"><Galleries:GalleryRatePost id="Galleryratepost1" runat="server" CssClass="CommonRateControl" ReadOnlyCssClass="CommonRateControlReadOnly" ActiveCssClass="CommonRateControlActive" ImagesBaseUrl="~/Themes/default/images/common/" /></div><div class="spacer"></div>
									</SkinTemplate>
								</Galleries:RatingListing>
							</div>

						</td>
					<asp:Literal runat="server" id="EndRow" />
				</ItemTemplate>
				<NoneTemplate>
					<tr>
						<td align="center">
							<em><asp:Literal runat="server" id="NoRecords" /></em>
						</td>
					</tr>
				</NoneTemplate>
				<FooterTemplate>
					</table>
				</FooterTemplate>
			</CS:RepeaterPlusNone>

	</div>

	<div class="sectionFooter">
		<div class="row">
			<span class="left"><CS:RssButton id="RssButton" runat="server" /></span>
			<span class="right"><CS:CurrentPage Cssclass="columnText" id="Currentpage" runat="server" />&nbsp;<CS:Pager id="Pager" runat="server" /></span>
		</div>
	</div>
</div>
