-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
133 lines (101 loc) · 2.77 KB
/
index.php
File metadata and controls
133 lines (101 loc) · 2.77 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?php
session_start();
include('include/display_art.php');
include('include/display_art_min.php');
?>
<!DOCTYPE HTML>
<!--
Future Imperfect by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Je suis une bobo</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body>
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<h1><a href="index.php">BLOG D'UN BOBO</a></h1>
<?php
include ('include/menu.php')
?>
<nav class="main">
<ul>
<li class="menu">
<a class="fa-bars" href="#menu">Menu</a>
</li>
</ul>
</nav>
</header>
<!-- Menu -->
<section id="menu">
<!-- Links -->
<section>
<?php display_articles_min(); ?>
</section>
<!-- Actions -->
<section>
<ul class="actions vertical">
<li><a href="connexion.php" class="button big fit">Se connecter</a></li>
</ul>
</section>
</section>
<!-- Main -->
<div id="main">
<?php
if(isset($_GET['p']) && !empty($_GET['p'])) {
$p_max = display_articles($_GET['p']);
}
else {
$p_max = display_articles("1");
}
?>
<!-- Pagination -->
<ul class="actions pagination">
<?php
if(isset($_GET['p']) && !empty($_GET['p'])) {
$p_max = display_pagination($p_max, $_GET['p']);
}
else {
$p_max = display_pagination($p_max, "1");
}
?>
</ul>
</div>
<!-- Sidebar -->
<section id="sidebar">
<!-- Intro -->
<section id="intro">
<a href="#" class="logo"><img src="images/logo.jpg" alt="" /></a>
<header>
<h2>Les bobos de Paris</h2>
<p>Le blog des bobos de Paris intra-muros</a></p>
</header>
</section>
<!-- About -->
<section class="blurb">
<h2>A prpopos</h2>
<a href="https://www.youtube.com/watch?v=KG-q7vzxKY8">Ma chanson préférée</a>
<p>Voila ma vie, mon oeuvre, et bla bla bla bla !!</p>
</section>
<!-- Footer -->
</section>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
</body>
</html>