<div class="BodyContainer">

%%GLOBAL_Show_Tab%%

<form method="get" action="">
	<table class="OuterPanel" id="outerpanel" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td class="Heading1" colspan="5">%%GLOBAL_StatsTitle%%</td></tr>
		<tr>
			<td class="Intro" colSpan="5">
				<div>%%GLOBAL_StatsIntro%%</div></td>
		</tr>

		<tr>
			<td>
				<ul id="tabnav">
					<li><a href="#" class="active" id="tab0" onClick="ShowTab(0)">%%LNG_StatsCategorySummary%%</a></li>
					<li><a href="#" id="tab1" onClick="ShowTab(1)">%%LNG_StatMostPopularCategories%%</a></li>
				</ul>
			</td>
		</tr>

		<tr>
			<td>

				<div id="div0" style="display: none">

					<br />%%LNG_StatsCategoryInfo%%<br /><br />

					<table width="100%" border="0">
						<tr>
							<td rowspan="3" width="45%" valign="top">
								<table border="0" cellpadding="0" cellspacing="0"  width="100%" class="text">
									<tr class="Heading3">
										<td colspan="2" nowrap align="left">
											Category Statistics
										</td>
									</tr>
									<tr class="GridRow">
										<td width="40%">%%LNG_TotalCategories%%:</td>
										<td>%%GLOBAL_TotalCats%%</td>
									</tr>
									<tr class="GridRow">
										<td>%%LNG_TotalRootCategories%%:</td>
										<td>%%GLOBAL_RootCats%%</td>
									</tr>
									<tr class="GridRow">
										<td>%%LNG_TotalSubCategories%%:</td>
										<td>%%GLOBAL_SubCats%%</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td align="center"><p><strong>%%LNG_StatsChartCategories%%</strong></p></td>
						</tr>
						<tr>
							<td valign="top" width="55%">
								<script>PrintChart("%%GLOBAL_chartPopularCategories%%");</script>
							</td>
						</tr>
					</table>
				</div>

				<div id="div1" style="display: none">
					<div id="REMOTE_MostViewedCategories"></div>

					<script>
						REMOTE_admin_table(
							'REMOTE_MostViewedCategories',
							'remote/remote_admin_table.php',
							'MostViewedCategories',
							'd',
							'views',
							1
						);
					</script>
				</div>
			</td>
		</tr>
	</table>
</form>

<script>ShowTab(0);</script>

</div>