-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtmlhead.php
41 lines (31 loc) · 1.22 KB
/
htmlhead.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
<head>
<?php
$config = require('config.php');
require('connect.php');
require('src/SessionHandler.inc.php');
// Session Data
session_start();
// end[session].
echo '<script async src="https://www.googletagmanager.com/gtag/js?id="' . $config['global']['GOOGLE_ANALYTICS_ID'] . '></script>';
echo "
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '" . $config['global']['GOOGLE_ANALYTICS_ID'] ."');
</script>
";
?>
<!-- jQuery 3.4.1 -->
<script src="js/jquery-3.4.1.min.js"></script>
<!-- Bootstrap 4.3.1 -->
<script src="js/bootstrap.bundle.js"></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome 5.9.0 -->
<link href="fontawesome5.9.0/css/all.css" rel="stylesheet">
<!-- Emojione Textarea -->
<link rel="stylesheet" href="css/emojionearea.min.css">
<script type="text/javascript" src="js/emojionearea.min.js"></script>
<!-- Meta -->
<meta http-equiv="content-type" content="text/html; charset=utf-8"></meta>
</head>