<div id='adminpage'>
	<h1>{{$title}} - {{$page}}</h1>
{{if $warningtext|count}}
	<div id="admin-warning-message-wrapper">
		{{foreach $warningtext as $wt}}
		<p class="warning-message">{{$wt nofilter}}</p>
		{{/foreach}}
	</div>
{{/if}}

	<dl>
		<dt>{{$queues.label}}</dt>
		<dd><a href="{{$baseurl}}/admin/queue/deferred">{{$queues.deferred}}</a> - <a href="{{$baseurl}}/admin/queue">{{$queues.workerq}}</a></dd>
	</dl>
	<dl>
		<dt>{{$pending.0}}</dt>
		<dd>{{$pending.1}}</dt>
	</dl>

	<dl>
		<dt>{{$users.0}}</dt>
		<dd>{{$users.1}}</dd>
	</dl>
	{{foreach $accounts as $p}}
		<dl>
			<dt>{{$p.0}}</dt>
			<dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd>
		</dl>
	{{/foreach}}


	<dl>
		<dt>{{$addons.0}}</dt>
		
		{{foreach $addons.1 as $p}}
			<dd><a href="/admin/addons/{{$p}}/">{{$p}}</a></dd>
		{{/foreach}}
		
	</dl>

	<dl>
		<dt>{{$version.0}}</dt>
		<dd> {{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}</dt>
	</dl>

	<dl>
		<dt>{{$serversettings.label}}</dt>
		<dd>
			<table>
				<tbody>
					<tr><td colspan="2"><b>PHP</b></td></tr>
					{{foreach $serversettings.php as $k => $p}}
						<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
					{{/foreach}}
					<tr><td colspan="2"><b>MySQL / MariaDB</b></td></tr>
					{{foreach $serversettings.mysql as $k => $p}}
						<tr><td>{{$k}}</td><td>{{$p}}</td></tr>
					{{/foreach}}
				</tbody>
			</table>
		</dd>
	</dl>

</div>