-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinc.head.php
60 lines (53 loc) · 1.65 KB
/
inc.head.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php session_start();
if (file_exists(stream_resolve_include_path('config.php'))) {
include('config.php');
} else if (file_exists(stream_resolve_include_path('config.sample.php'))) {
include('config.sample.php');
} else {
die;
}
if($show_errors == true){
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
}
?>
<?php
if ($lang == "german") {
require('lang.de.php');
} else {
require('lang.en.php');
}
?>
<!DOCTYPE html>
<?php
if ($lang == "german") {
echo '<html lang="de">';
} else {
echo '<html lang="en">';
}
?>
<?php require "db/db.php"; ?>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, shrink-to-fit=no, initial-scale=1">
<meta name="description" content="end of the internet">
<meta name="author" content="eti">
<title><?php echo $lan_title; ?></title>
<script src="assets/jquery.js"></script>
<script src="assets/jquery.json.js"></script>
<script src="assets/jquery.bracket.js"></script>
<script src="assets/jquery.datatables.js"></script>
<script src="assets/bootstrap.js"></script>
<script src="assets/bootstrap.datatables.js"></script>
<link href="assets/bootstrap.css" rel="stylesheet">
<link href="assets/main.css" rel="stylesheet">
<link href="assets/custom.css" rel="stylesheet">
<?php if ($enable_stats == true) {
echo ('<script src="assets/stats.js"></script>');
}; ?>
<?php if ($enable_chat == true) {
echo ('<script src="assets/chat.js"></script>');
}; ?>
</head>