Newer
Older
WebMCR / upload / themes / default / modules / admin / info / stats.html
@Qexy.org Qexy.org on 25 Jun 2016 3 KB Update 1.3.7
<div class="form-block">

	<div class="block-header">
		<div class="block-name"><?php echo $this->lng_m['info_and_stats']; ?></div>
	</div>

	<div class="block-line"></div>

	<div class="adm-info-stats">
		<form method="post"></form>
		<ul class="nav nav-tabs" id="myTab">
			<li><a href="<?php echo ADMIN_URL; ?>&do=info&op=main"><?php echo $this->lng_m['info']; ?></a></li>
			<li><a href="<?php echo ADMIN_URL; ?>&do=info&op=extensions"><?php echo $this->lng_m['info_ext']; ?></a></li>
			<li class="active"><a href="<?php echo ADMIN_URL; ?>&do=info&op=stats"><?php echo $this->lng_m['info_stats']; ?></a></li>
		</ul>
		 
		<div class="tab-content">
			<div class="tab-pane active">

				<ul class="thumbnails">
					<li class="span6">
						<div class="thumbnail">
							<h3><?php echo $this->lng_m['info_news_stats']; ?></h3>
							<p>
								<table class="table table-hover">
									<tr>
										<td><?php echo $this->lng_m['info_count_news']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_NEWS']; ?></td>
									</tr>

									<tr>
										<td><?php echo $this->lng_m['info_count_views']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_VIEWS']; ?></td>
									</tr>

									<tr>
										<td><?php echo $this->lng_m['info_count_votes']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_VOTES']; ?></td>
									</tr>

									<tr>
										<td><?php echo $this->lng_m['info_count_cats']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_CATEGORIES']; ?></td>
									</tr>

									<tr>
										<td><?php echo $this->lng_m['info_count_coms']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_COMMENTS']; ?></td>
									</tr>
								</table>
							</p>
						</div>
					</li>
					
					<li class="span6">
						<div class="thumbnail">
							<h3><?php echo $this->lng_m['info_users_stats']; ?></h3>
							<p>
								<table class="table table-hover">
									<?php echo $data['USERS_STATS']; ?>
									<tfoot>
										<tr>
											<td><b><?php echo $this->lng_m['info_count_users']; ?></b></td>
											<td class="text-right"><?php echo $data['COUNT_USERS']; ?></td>
										</tr>

										<tr>
											<td><b><?php echo $this->lng_m['info_count_groups']; ?></b></td>
											<td class="text-right"><?php echo $data['COUNT_GROUPS']; ?></td>
										</tr>
									</tfoot>
								</table>
							</p>
						</div>
					</li>

					<li class="span12">
						<div class="thumbnail">
							<h3><?php echo $this->lng_m['info_other']; ?></h3>
							<p>
								<table class="table table-hover">
									<tr>
										<td><?php echo $this->lng_m['info_count_statics']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_STATICS']; ?></td>
									</tr>

									<tr>
										<td><?php echo $this->lng_m['info_count_perms']; ?></td>
										<td class="text-right"><?php echo $data['COUNT_PERMISSIONS']; ?></td>
									</tr>
								</table>
							</p>
						</div>
					</li>
				</ul>
			
			</div>
		</div>
	</div>
		
</div>