<!doctype html>
<html lang="ru">

<!-- Разработка сайта CoolSkript.org-->
<!-- CoolSkript.org --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /CoolSkript.org -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf_token" content="IMCcz40P06V0xm21MPs3gRrAcvP0vOY6Ht1qttai">
<link rel="apple-touch-icon" sizes="57x57" href="fav/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="fav/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="fav/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="fav/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="fav/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="fav/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="fav/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="fav/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="fav/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="fav/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="fav/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="fav/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="fav/favicon-16x16.png">
<link rel="manifest" href="fav/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="fav/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta name="google-site-verification" content="yU-v_nD7gozL7YUu5UtG9SFOqlMyrGLAQo54US6zJww" />
<title>Дальнобойщики - Экономический симулятор с реальной прибылью</title>
<link rel="stylesheet" href="/cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="/use.fontawesome.com/releases/v5.0.7/css/all.css">
<link rel="stylesheet" href="/css/grid.css">
<link rel="stylesheet" href="/css/bbe908.css">
	
<script type="text/javascript">function DocumentReady(callback){window.addEventListener('DOMContentLoaded', callback);};</script>
</head>
<body>


<?PHP
$tfstats = time() - 60*60*24;
$db->Query("SELECT
(SELECT COUNT(*) FROM db_users_a) all_users,
(SELECT SUM(insert_sum) FROM db_users_b) all_insert,
(SELECT SUM(payment_sum) FROM db_users_b) all_payment,
(SELECT COUNT(*) FROM db_users_a WHERE date_reg > '$tfstats') new_users");
$stats_data = $db->FetchArray();
?>
<?php if($_SERVER['REQUEST_URI']=='/' && $_SERVER['REQUEST_URI']!='/main') {  ?>
<?PHP include("components/boot.php"); ?>

<?php
 } // Главная страница
?>

<?php if($_SERVER['REQUEST_URI']!='/' && $_SERVER['REQUEST_URI']!='/main') {  ?>

<?PHP
} // Остальные страницы
 ?>
