<div class="form stats">
	<div class="form__header">
		<h1 class="form__title">Site statistics</h1>
		<a href="/" class="form__btn icon-at-left"><span class="far fa-home"></span>Home</a>
	</div>
	<ul class="stats__latest">
		<li>Last 24 hours: <b>{news_day}</b> posts, <b>{comm_day}</b> comments, <b>{user_day}</b> users</li>
		<li>Last 7 days: <b>{news_week}</b> posts, <b>{comm_week}</b> comments, <b>{user_week}</b> users</li>
		<li>Last 30 days: <b>{news_month}</b> posts, <b>{comm_month}</b> comments, <b>{user_month}</b> users</li>
	</ul>
	<div class="stats__common d-flex jc-flex-start">
		<ul class="stats__list">
			<li><h2>Posts:</h2></li>
			<li>Total: <b>{news_num}</b></li>
			<li>Published: <b>{news_allow}</b></li>
			<li>On homepage: <b>{news_main}</b></li>
			<li>Pending moderation: <b>{news_moder}</b></li>
		</ul>
		<ul class="stats__list">
			<li><h2>Users:</h2></li>
			<li>Total: <b>{user_num}</b></li>
			<li>Banned: <b>{user_banned}</b></li>
		</ul>
		<ul class="stats__list">
			<li><h2>Comments:</h2></li>
			<li>Total: <b>{comm_num}</b></li>
			<li><a href="/?do=lastcomments">View latest</a></li>
		</ul>
	</div>
	<div class="form__row">
		<div class="form__caption form__caption--above">
			<label class="form__label">Top users</label>
		</div>
		<div class="form__content">
			<div class="table-responsive"><table class="dle-table">{topusers}</table></div>
		</div>
	</div>
</div>