<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_StatsQuestionsSummary%%</a></li>
					<li><a href="#" id="tab1" onClick="ShowTab(1)">%%LNG_StatsQuestionsViewed%%</a></li>
					<li><a href="#" id="tab2" onClick="ShowTab(2)">%%LNG_StatsQuestionsPopular%%</a></li>
					<li><a href="#" id="tab3" onClick="ShowTab(3)">%%LNG_StatsQuestionsDiscussed%%</a></li>
					<li><a href="#" id="tab4" onClick="ShowTab(4)">%%LNG_StatsQuestionsRated%%</a></li>
				</ul>
			</td>
		</tr>
		<tr>
			<td>
				<div id="div0" style="display: none;">
					<p>%%LNG_StatsQuestionsTabSummary%%</p>

					<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">
											%%LNG_StatsQuestions%%
										</td>
									</tr>
									<tr class="GridRow">
										<td width="40%">&nbsp;%%LNG_StatTotalQuestions%%:</td>
										<td>%%GLOBAL_TotalQuestions%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatTotalSubscribers%%:</td>
										<td>%%GLOBAL_TotalSubscribers%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatTotalVisibleQuestions%%:</td>
										<td>%%GLOBAL_VisibleQuestions%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatTotalHiddenQuestions%%:</td>
										<td>%%GLOBAL_HiddenQuestions%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatTotalRatedQuestions%%:</td>
										<td>%%GLOBAL_TotalRatedQuestions%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatTotalCategories%%:</td>
										<td>%%GLOBAL_TotalCats%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatMostPopularQuestion%%:</td>
										<td>%%GLOBAL_MostPopularQuestion%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatMostPopularCategory%%:</td>
										<td>%%GLOBAL_MostPopularCategory%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatMostPopularAuthor%%:</td>
										<td>%%GLOBAL_MostPopularAuthor%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatsTotalViews%%:</td>
										<td>%%GLOBAL_TotalViews%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatQuestionTotalPosvotes%%:</td>
										<td>%%GLOBAL_TotalPos%%</td>
									</tr>
									<tr class="GridRow">
										<td>&nbsp;%%LNG_StatQuestionTotalNegvotes%%:</td>
										<td>%%GLOBAL_TotalNeg%%</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td align="center"><p><strong>%%LNG_StatschartPopularQuestions%%</strong></p></td>
						</tr>
						<tr>
							<td valign="top" width="55%">
								<script>PrintChart("%%GLOBAL_chartPopularQuestions%%");</script>
							</td>
						</tr>
					</table>
				</div>

				<div id="div1" style="display: none">
					<p>%%LNG_StatsViewedQuestionsInfo%%</p>

					<div id="REMOTE_MostViewedQuestionsFull"></div>

					<script>
						REMOTE_admin_table(
							'REMOTE_MostViewedQuestionsFull',
							'remote/remote_admin_table.php',
							'MostViewedQuestionsFull',
							'd',
							'views',
							1
						);
					</script>
				</div>

				<div id="div2" style="display: none">
					<p>%%LNG_StatsMostPopularQuestionsInfo%%</p>

					<div id="REMOTE_MostPopularQuestionsFull"></div>

					<script>
						REMOTE_admin_table(
							'REMOTE_MostPopularQuestionsFull',
							'remote/remote_admin_table.php',
							'MostPopularQuestionsFull',
							'd',
							'score',
							1
						);
					</script>
				</div>

				<div id="div3" style="display: none">
					<p>%%LNG_StatsMostDiscussedQuestionsInfo%%</p>

					<div id="REMOTE_MostDiscussedQuestionsFull"></div>

					<script>
						REMOTE_admin_table(
							'REMOTE_MostDiscussedQuestionsFull',
							'remote/remote_admin_table.php',
							'MostDiscussedQuestionsFull',
							'd',
							'comment',
							1
						);
					</script>
				</div>

				<div id="div4" style="display: none">
					<p>%%LNG_StatsHighestRatedQuestionsInfo%%</p>

					<div id="REMOTE_HighestRatedQuestionsFull"></div>

					<script>
						REMOTE_admin_table(
							'REMOTE_HighestRatedQuestionsFull',
							'remote/remote_admin_table.php',
							'HighestRatedQuestionsFull',
							'd',
							'posvotes',
							1
						);
					</script>
				</div>
			</td>
		</tr>
	</table>
</form>

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

</div>