<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Controls" %>
	
<div class="CommonContentArea">
<h2 class="CommonTitle"><asp:Label id="SectionTitle" Runat="server" /></h2>
<div class="CommonContent">
	<div class="CommonDescription"><asp:Label id="SectionDescription" Runat="server" /></div>
	
	<div class="CommonFormArea">
		<CS:UserSearch id="UserSearchControl" runat="Server" />
	</div>
    
	<CS:RepeaterPlusNone id="UserList" Runat="server">
	<HeaderTemplate>
		<div class="CommonListArea">
		<table cellspacing="0" cellpadding="0" width="100%">
		<thead>
		<tr>
			<th class="CommonListHeaderLeftMost" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_Username" />
			</th>
			<th class="CommonListHeader" align="center" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_PrivateMessages" />
			</th>
			<th class="CommonListHeader" align="center" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_Home" />
			</th>
			<th class="CommonListHeader" align="center" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_WebLog" />
			</th>
			<th class="CommonListHeader" align="center" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_Joined" />
			</th>
			<th class="CommonListHeader" align="center" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_LastActive" />
			</th>
			<th class="CommonListHeader" align="center" nowrap="true">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_TotalPosts" />
			</th>
		</tr>
		</thead>
		<tbody>
	</HeaderTemplate>    
	<ItemTemplate>
		<tr>
			<td class="CommonListCellLeftMost">
				<div><asp:hyperlink id="Username" runat="server" /></div>
				<div id="LocationDiv" runat="server"><asp:literal id="Location" runat="server" /></div>
			</td>
			<td align="center" class="CommonListCell">
				<CS:UserImageButtons runat="server" Mode="PrivateMessages" id="PrivateMessages" EnableText="true" runat="server"/>&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<CS:UserImageButtons runat="server" Mode="HomePage" id="HomePage" EnableText="true" runat="server"/>&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<CS:UserImageButtons runat="server" Mode="WebLog" id="Weblog" EnableText="true" runat="server" />&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<asp:literal id="DateCreated" runat="server" />&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<asp:literal id="LastActivity" runat="server" />&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<asp:hyperlink id="PostCount" runat="server" />&nbsp;
			</td>
		</tr>
	</ItemTemplate>
	<AlternatingItemTemplate>
		<tr>
			<td class="CommonListCellLeftMost">
				<div><asp:hyperlink id="Username" runat="server" /></div>
				<div id="LocationDiv" runat="server"><asp:literal id="Location" runat="server" /></div>
			</td>
			<td align="center" class="CommonListCell">
				<cs:userimagebuttons runat="server" mode="PrivateMessages" EnableText="true" id="PrivateMessages" runat="server"/>&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<cs:userimagebuttons runat="server" mode="HomePage" id="HomePage" EnableText="true" runat="server"/>&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<cs:userimagebuttons runat="server" mode="WebLog" id="WebLog" EnableText="true" runat="server" />&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<asp:literal id="DateCreated" runat="server" />&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<asp:literal id="LastActivity" runat="server" />&nbsp;
			</td>
			<td align="center" class="CommonListCell">
				<asp:hyperlink id="PostCount" runat="server" />&nbsp;
			</td>
		</tr>
	</AlternatingItemTemplate>    
	<NoneTemplate>
		<tr>
			<td align="left" class="CommonListCellLeftMost" colspan="8">
				<CS:ResourceLabel runat="server" ResourceName="ForumMembers_NoRecords" id="Resourcelabel2" NAME="Resourcelabel2"/>
			</td>
		</tr>
	</NoneTemplate>
	<FooterTemplate>
		</tbody>
  		</table>
  		</div>
	</FooterTemplate>
	</CS:RepeaterPlusNone>

	<asp:Panel id="DisplayPager" Visible="True" Runat="server" align="right" CssClass="CommonPagingArea">
		<CS:CurrentPage Cssclass="columnText" id="Currentpage" runat="server" />
		<CSD:ForumLinkButtonPager id="Pager" runat="server" />
	</asp:Panel>

</div>
</div>
