@extends('layouts.content')
@section('title')
	Admin page
@stop
@section('content')
	<div class="content contentAdmin">
		<div class="container">
			<div class="row">
				<div class="cntadmin">
					<h3><i class="glyphicon glyphicon-dashboard"></i> Admin Dashboard</h3>
					<small style="float:right; position:relative; top:36px;">(Pixel version 1.0.2.1.1.1)</small>
					<div style="clear:both"></div>
					<div class="adminpage">
						<?php 
						if(!empty($_GET['message'])) {
    						$message = ucfirst($_GET['message']) . ", demo account doesn't support this function.";
    						echo "<div class='alert alert-danger'><h3>" . $message . "</h3></div>";
    					} ?>
						<a href="/admin/media" class="col-sm-6 mediadownload">
							<div class="headadmin">
								<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i><b>Media/Downloads</b>&nbsp;<span>(<?= $media ?>)</span>
							</div>
							<div class="linkadmin">
								Add/Edit/Delete Downloads&nbsp;&nbsp;<i class="glyphicon glyphicon-play" aria-hidden="true"></i>
							</div>
						</a>
						<a href="/admin/categories" class="col-sm-6 categoriesadmin">
							<div class="headadmin">
								<i class="glyphicon glyphicon-folder-open" aria-hidden="true"></i><b>Categories</b>
							</div>
							<div class="linkadmin">
								Add/Edit Categories&nbsp;&nbsp;<i class="glyphicon glyphicon-play" aria-hidden="true"></i>
							</div>
						</a>
						<a href="/admin/settings" class="col-sm-6 settingadmin">
							<div class="headadmin">
								<i class="glyphicon glyphicon-cog" aria-hidden="true"></i><b>Site Settings</b>
							</div>
							<div class="linkadmin">
								Edit Site Settings&nbsp;&nbsp;<i class="glyphicon glyphicon-play" aria-hidden="true"></i>
							</div>
						</a>
						<a href="/admin/about" class="col-sm-6 aboutadmin">
							<div class="headadmin">
								<i class="glyphicon glyphicon-info-sign" aria-hidden="true"></i><b>About</b>
							</div>
							<div class="linkadmin">
								Edit Your About Settings&nbsp;&nbsp;<i class="glyphicon glyphicon-play" aria-hidden="true"></i>
							</div>
						</a>
					</div>
				</div>
			</div>
		</div>
	</div>
@stop
