-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
48 lines (47 loc) · 1.26 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
40
41
42
43
44
45
46
47
48
<?php
require_once('/classes/public/blog.public.php');
$configblog = new ConfigBlog;
?>
<html doctype="html">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css"></link>
<link href='https://fonts.googleapis.com/css?family=Fira+Sans:300,700,400' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Karma' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="/libs/jquery-1.11.3/jquery-1.11.3.min.js"></script>
<script>
$(window).scroll(function () {
console.log($(this).scrollTop());
if ($(this).scrollTop() > 85) {
$('#subnav').addClass("sticky");
} else {
$('#subnav').removeClass("sticky");
}
});
</script>
<title>evd.nl blog</title>
</head>
<body>
<div id="frame"></div>
<div id="nav">
<div id="subnav">
<div id="mark">
<a href="index.php">erik van deursen</a>
</div>
<div id="menu">
<ul>
<li><a href="admin/index.php">login</a></li>
</ul>
</div>
</div>
</div>
<div id="wrapper">
<?php
$configblog->retrieveAllBlogPost();
?>
<div id="footer">
</div>
</div>
</body>
</html>