Файл: Space race/header.php
Строк: 136
<?php ob_start(); ?>
<?php include_once('classes/translate.class.php'); ?>
<?php if (!isset($_SESSION)) session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Star Race 3D</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="css/multi.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="css/fonts.css" type="text/css" charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<style>
body {
padding:0;
margin:0;
}
canvas { pointer-events:none; width: 100%; z-index:9}
#overlay{
position: absolute;
z-index: 9999;
top: 0;
left: 0;
width: 100%;
}
</style>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/sr3d.css" rel="stylesheet">
</head>
<body>
<!-- Navigation
================================================== -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">МЕНЮ</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="home.php">Star Race 3D</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.php"><i class="glyphicon glyphicon-home"></i> Главная</a></li>
<li><a href="game.php"><i class="glyphicon glyphicon-road"></i> Играть</a></li>
<li><a href="tuning.php"><i class="glyphicon glyphicon-cog"></i> Тюнинг</a></li>
<li><a href="bestscore.php"><i class="glyphicon glyphicon-star"></i> Зал Славы</a></li>
<li><a href="pay.php"><i class="glyphicon glyphicon-shopping-cart"></i> Бонусы</a></li>
</ul>
<?php if(isset($_SESSION['starrace']['username'])) { ?>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<p class="navbar-text dropdown-toggle" data-toggle="dropdown" id="userDrop">
<?php echo $_SESSION['starrace']['gravatar']; ?>
<a href="#"><?php echo $_SESSION['starrace']['username']; ?></a>
<b class="caret"></b>
</p>
<ul class="dropdown-menu">
<?php if(in_array(1, $_SESSION['starrace']['user_level'])) { ?>
<li><a href="admin/index.php"><i class="glyphicon glyphicon-home"></i> Панель управления</a></li>
<li><a href="admin/settings.php"><i class="glyphicon glyphicon-cog"></i> Настройки</a></li> <?php } ?>
<li><a href="profile.php"><i class="glyphicon glyphicon-user"></i> Мой аккаунт</a></li>
<li><a href="help.php"><i class="glyphicon glyphicon-info-sign"></i> Помощь</a></li>
<li class="divider"></li>
<li><a href="logout.php">Выход</a></li>
</ul>
</li>
</ul>
<?php } else { ?>
<ul class="nav navbar-nav navbar-right">
<li><a href="login.php" class="signup-link"><strong>Войти</strong></a></li>
</ul>
<?php } ?>
</div><!-- /.navbar-collapse -->
</div><!-- /.container -->
</nav>
<!-- Main content
================================================== -->
<div class="container" >
<div class="row">
<div class="col-md-12">