-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
39 lines (34 loc) · 1.01 KB
/
index.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
<?php
define('IP_ADD',$_SERVER['REMOTE_ADDR']);
require_once('conn.php');
require_once('counter.php');
updateCounter("Homepage"); // Updates page hits
updateInfo(); // Updates hit info
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
// Include and instantiate the class.
require_once 'Mobile-Detect/Mobile_Detect.php';
$detect = new Mobile_Detect;
if($detect->isMobile()){
$isMOBILE = true;
}
?>
<meta name='viewport' content='width=device-width,initial-scale=1.0'>
<link rel="stylesheet" href="themes/style.css">
<link rel="stylesheet" href="themes/blog-style.css">
<?php include "themes/includes.php"; ?>
</head>
<body>
<div id="blog"></div>
<div id='blogsearchbox'></div>
<?php include "content.php"; ?>
<!--DO NOT ADD ANY CODE AFTER THIS-->
<script src="script.js"></script>
<script>
blog();
</script>
</body>
</html>