<?php

/**
 * WebEngine CMS
 * https://webenginecms.org/
 * 
 * @version 1.2.0
 * @author Lautaro Angelico <http://lautaroangelico.com/>
 * @copyright (c) 2013-2019 Lautaro Angelico, All Rights Reserved
 * 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 */

if (!defined('access') or !access) die();
include('inc/template.functions.php');

$disabledSidebar = array(
	'rankings',
);
?>
<!DOCTYPE html>
<h>

	<head>
		<meta charset="utf-8" />
		<title><?php $handler->websiteTitle(); ?></title>
		<meta name="generator" content="WebEngine <?php echo __WEBENGINE_VERSION__; ?>" />
		<meta name="author" content="Lautaro Angelico" />
		<meta name="description" content="<?php config('website_meta_keywords'); ?>" />
		<meta name="keywords" content="<?php config('website_meta_keywords'); ?>" />
		<link rel="shortcut icon" href="<?php echo __PATH_TEMPLATE__; ?>favicon.ico" />
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
		<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet">
		<link href="<?php echo __PATH_TEMPLATE_CSS__; ?>nation.css" rel="stylesheet" media="screen">
		<link href="<?php echo __PATH_TEMPLATE_CSS__; ?>style.css" rel="stylesheet" media="screen">

		<script>
			var baseUrl = '<?php echo __BASE_URL__; ?>';
		</script>
	</head>

	<body>
		<div class="top-panel flex-c-c">
			<div class="logo-top-smoll">
				<a href="<?php echo __BASE_URL__; ?>"><img src="<?php echo __PATH_TEMPLATE_IMG__; ?>logo-top-smoll.png" alt=""></a>
			</div>

			<div id="navbar">
				<?php templateBuildNavbar(); ?>

			</div>

		</div><!-- top-panel -->
		<div class="wrapper">
			<header class="header">
				<div class="logo">
					<a href="<?php echo __BASE_URL__; ?>"><img src="<?php echo __PATH_TEMPLATE_IMG__; ?>logo.png" alt=""></a>
				</div>
				<div class="leaves">
					<div class="leaves-1"></div>
					<div class="leaves-2"></div>
					<div class="leaves-3"></div>
				</div>
				<div class="sparks">
					<div class="spark-1"></div>
					<div class="spark-2"></div>
					<div class="spark-3"></div>
				</div>
			</header><!-- .header-->
			<div class="button-top flex-c-c">
				<div class="download-block">
					<a href="<?php echo __BASE_URL__; ?>downloads"><span>DOWNLOAD</span><br>
						<p>Game client 1.45Gb</p>
					</a>
				</div><!-- download-block -->
				<div class="registration-block">
					<a href="<?php echo __BASE_URL__; ?>register"><span>REGISTRATION</span><br>
						<p>now for free</p>
					</a>
				</div><!-- registration-block -->
			</div>
			<div class="container">
				<main class="content">
					<div class="top">
						<?php include(__PATH_TEMPLATE_ROOT__ . 'inc/modules/slider.php'); ?>

					</div>
					<?php include(__PATH_TEMPLATE_ROOT__ . 'inc/modules/fastlinks.php'); ?>

					<div class="last-news">
						<?php $handler->loadModule($_REQUEST['page'], $_REQUEST['subpage']); ?>


					</div>
					<aside class="right-sidebar">
						<?php include(__PATH_TEMPLATE_ROOT__ . 'inc/modules/sidebar.php'); ?>
					</aside><!-- left-sidebar -->
				</main><!-- .content -->

			</div>
			<footer class="footer">
				<?php include(__PATH_TEMPLATE_ROOT__ . 'inc/modules/footer.php'); ?>
			</footer>

		</div>
		<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
		<script src="<?php echo __PATH_TEMPLATE_JS__; ?>jquery-2.1.4.min.js"></script>
		<script src="<?php echo __PATH_TEMPLATE_JS__; ?>global.js"></script>
		<script src="<?php echo __PATH_TEMPLATE_JS__; ?>main.js"></script>
		<script src="<?php echo __PATH_TEMPLATE_JS__; ?>circle-js.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
		<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>

	</body>

	</html>