-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstandartScriptJS.php
45 lines (38 loc) · 1.61 KB
/
standartScriptJS.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
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php
if(isset($siteData) && isset($siteData['tags'])) {
echo('<meta name="keywords" content="'.$siteData['tags'].'">'."\n");
}
if(isset($siteData) && isset($siteData['description'])) {
echo('<meta name="description" content="'.$siteData['description'].'">'."\n");
}
?>
<!-- Favicon (Start) -->
<link rel='shortcut icon' href='media/icons/favicon.ico' type='image/x-icon'/>
<!-- Favicon (End) -->
<!-- Jquery (Start) -->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/jquery.maskedinput.js"></script>
<!-- Jquery (End) -->
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/standart.js"></script>
<script type="text/javascript" src="js/style.js"></script>
<!-- Statistics (Start) -->
<script type="application/javascript" src="js/evercookie/evercookie.js"></script>
<script type="application/javascript" src="js/fingerprintjs2/fingerprint2.js"></script>
<script type="text/javascript" src="js/statistics.js"></script>
<!-- Statistics (End) -->
<script type="text/javascript" src="js/learning.js"></script>
<?php
if(isset($userData)) {
// set PHP var as JS var
echo("<script>var userData = new Object();\n");
foreach($userData as $key => $val) {
echo("userData['".$key."'] = ".var_export($val, true).";\n");
}
echo('</script>');
}
?>