-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
110 lines (83 loc) · 2.16 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
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
<?php require_once('admin/includes/init.php');
$kategorije = Kategorija::find_all();
?>
<!DOCTYPE html>
<html>
<head>
<title></title>
<link href="https://fonts.googleapis.com/css?family=Quattrocento+Sans:400,700|Roboto:300,400,500|Vidaloka" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<link rel="stylesheet" href="css/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="css/owlcarousel/owl.theme.default.min.css">
</head>
<body>
<header id="section-header">
<div class="top-header">
<div class="top-navigation fl-left">
<ul>
<a href="#"><li>Home</li></a>
<a href="#"><li>Blog</li></a>
<a href="#"><li>About</li></a>
<a href="#"><li>Contact Us</li></a>
</ul>
</div>
</div>
<div class="main-header sticky">
<div class="logo">VIVA</div>
<div class="main-navigation center">
<ul>
<?php foreach($kategorije as $kategorija):?>
<a href="proizvodi.php?kategorija=<?=$kategorija->id;?>"><li><?=$kategorija->ime?></li></a>
<?php endforeach;?>
</ul>
</div>
</div>
</header>
<div class="owl-carousel">
<div class="tagline-slider" id="slider1">
<p>PERFECT UTILITY</p>
</div>
<div class="tagline-slider" id="slider2">
<p>PERFECT UTILITY</p>
</div>
<div class="tagline-slider" id="slider3">
<p>PERFECT UTILITY</p>
</div>
</div>
<section class="featured">
<div class="col3">
<div class="boxed-feature">
<p>NEW ARRIVALS</p>
</div>
</div>
<div class="col3">
<div class="boxed-feature">
<p>NEW ARRIVALS</p>
</div>
</div>
<div class="col3">
<div class="boxed-feature">
<p>NEW ARRIVALS</p>
</div>
</div>
</section>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/sticky-header.js"></script>
<script src="js/owlcarousel/owl.carousel.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.sticky').stickMe(); // Yes, that's it!
})
</script>
<script type="text/javascript">
$('.owl-carousel').owlCarousel({
items:1,
margin:10,
autoHeight:true,
autoplay:true,
loop:true,
center:true
});
</script>
</body>
</html>