-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathheader.php
36 lines (32 loc) · 1.34 KB
/
header.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
<!DOCTYPE html>
<?php include_once 'lib/db.php';
include_once 'lib/function.php'; ?>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" href="include/style/style.css">
<link rel="stylesheet" href="include/style/bootstrap.css">
<!-- slider properties -->
<script src="include/sliderengine/jquery.js"></script>
<script src="include/sliderengine/amazingslider.js"></script>
<link rel="stylesheet" type="text/css" href="include/sliderengine/amazingslider-1.css">
<script src="include/sliderengine/initslider-1.js"></script>
<!-- End of slider properties -->
<title>funiture</title>
</head>
<body class="">
<div class="topmenu">
<ul>
<?php
$sql = "SELECT * FROM menu ";
$statment = $pdo->query($sql);
while ($row = $statment->fetch(PDO::FETCH_ASSOC)):
?>
<li><a class="btn btn-light" href="<?php echo $row['link'] ?>" ><?php echo $row['title'] ?></a></li>
<?php endwhile; ?>
</ul>
</div>
<div class="container-fluid" style="background: #f1f1f1">
<br/><br><br><br>