-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
240 lines (227 loc) · 11.6 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pizza Advisor | Maribor</title>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<!-- jquery-->
<script>
$(document).ready(function(){
//Skrije vse class opisPizzarije
$(".opisPizzarije").hide();
$("#vsiOpisi").click(function(){
$(".opisPizzarije").show("slide");
});
$("#button1").click(function(){
$(".pizza1").toggle("slide");
});
$("#button2").click(function(){
$(".pizza2").toggle("slide");
});
$("#button3").click(function(){
$(".pizza3").toggle("slide");
});
$("#button4").click(function(){
$(".pizza4").toggle("slide");
});
$("#button5").click(function(){
$(".pizza5").toggle("slide");
});
});
</script>
<script>
$(document).ready(function(){
$('.verypopup').magnificPopup({
type: 'image',
removalDelay: 300,
mainClass: 'mfp-fade'
});
});
</script>
<!-- jquery end-->
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<header>
<img src="images/2000x200.png" width="100%" height="auto" alt="Pizza Advisor - Maribor"/>
</header>
<div class="container" align="center">
<nav>
<a href="index.php" class="btn btn-info" role="button">Domov</a>
<a href="naj_pizze.php" class="btn btn-default" role="button">Naj Pizzarije</a>
<a href="oceni.php" class="btn btn-default" role="button">Oceni</a>
<a href="prijava.php" class="btn btn-default" role="button">Prijavi se</a>
</nav>
<div class="content">
<div class="row">
<div class="col-xs-10 col-lg-2 col-md-12">
<h2 align="left">Novi vnosi</h2>
</div>
<div class="col-xs-10 col-lg-10 col-md-10" align="right">
<form>
<input type="search" class="text" placeholder="Vnesite ime pizzarije...">
<input align="right" class="btn btn-info" type="submit" value="Išči!">
</form>
</div>
</div>
<div class="row">
<div align="right">
<button id="vsiOpisi" class="btn btn-default">Prikaži vse opise</button>
</div>
</div>
<!--Restavracija 1!-->
<div class="row">
<div class="col-xs-12 col-lg-6">
<h3 align="left">Restavracija 1</h3>
<h4 align="left"><p>Cena bona: 0.50€</p>
<p>Naslov: test</p>
<p>Ocena: 5/7</p>
<p>Dostava: Ne</p></h4>
<h4 align="left">Meni</h4>
<ul>
<li align="left">Pizza klasika</li>
<li align="left">Pizza salami</li>
<li align="left"> Pizza mexica</li>
</ul>
<article>
<div align="left"><button id="button1" class="btn btn-default">Preberi več...</button></div>
<p align="left" class="opisPizzarije pizza1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus at varius ligula. Sed congue nibh ut enim vehicula, eu ultricies orci accumsan. Vivamus blandit varius enim at maximus. Nam faucibus tortor et eros malesuada feugiat. Donec justo justo, vestibulum non nunc sed, pellentesque vestibulum est. Vestibulum blandit mauris ac metus vestibulum iaculis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean at efficitur leo. Mauris tristique dolor vel ex auctor ultrices. Nullam a urna nunc. Proin vestibulum leo sed elementum luctus. Cras et lorem in ex ornare feugiat sed et nibh.</p>
<p> </p>
</article>
</div>
<div align="right" class="col-xs-12 col-lg-6">
<a class="verypopup" href="images/restaurant-1.png"><img src="images/restaurant-1.png" width="100%" height="100%" alt="Restavracija xyz"/></a>
</div>
</div>
<!--/Restavracija 1!-->
<!--Restavracija 2!-->
<div class="row">
<div class="col-xs-12 col-lg-6">
<h3 align="left">Restavracija 2</h3>
<h4 align="left"><p>Cena bona: 2.50€</p>
<p>Naslov: test</p>
<p>Ocena: 5/10</p>
<p>Dostava: Da</p></h4>
<h4 align="left">Meni</h4>
<ul>
<li align="left">Pizza šunka, sir, gobice</li>
<li align="left">Pizza s salamo</li>
<li align="left">Pizza tuna</li>
</ul>
<article>
<div align="left"><button id="button2" class="btn btn-default">Preberi več...</button></div>
<p align="left" class="opisPizzarije pizza2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus at varius ligula. Sed congue nibh ut enim vehicula, eu ultricies orci accumsan. Vivamus blandit varius enim at maximus. Nam faucibus tortor et eros malesuada feugiat. Donec justo justo, vestibulum non nunc sed, pellentesque vestibulum est. Vestibulum blandit mauris ac metus vestibulum iaculis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean at efficitur leo. Mauris tristique dolor vel ex auctor ultrices. Nullam a urna nunc. Proin vestibulum leo sed elementum luctus. Cras et lorem in ex ornare feugiat sed et nibh.</p>
<p> </p>
</article>
</div>
<div align="right" class="col-xs-12 col-lg-6">
<a class="verypopup" href="images/restaurant-2.png"><img src="images/restaurant-2.png" width="100%" height="100%" alt="Restavracija xyz"/></a>
</div>
</div>
<!--/Restavracija 2!-->
<!--Restavracija 3!-->
<div class="row">
<div class="col-xs-12 col-lg-6">
<h3 align="left">Restavracija 3</h3>
<h4 align="left"><p>Cena bona: 2.75€</p>
<p>Naslov: test</p>
<p>Ocena: 2/5</p>
<p>Dostava: Ne</p></h4>
<h4 align="left">Meni</h4>
<ul>
<li align="left">Sadni kompot z pico</li>
<li align="left">Jogurt z pico</li>
<li align="left">Pizza jalapeno</li>
</ul>
<article>
<div align="left"><button id="button3" class="btn btn-default">Preberi več...</button></div>
<p align="left" class="opisPizzarije pizza3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus at varius ligula. Sed congue nibh ut enim vehicula, eu ultricies orci accumsan. Vivamus blandit varius enim at maximus. Nam faucibus tortor et eros malesuada feugiat. Donec justo justo, vestibulum non nunc sed, pellentesque vestibulum est. Vestibulum blandit mauris ac metus vestibulum iaculis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean at efficitur leo. Mauris tristique dolor vel ex auctor ultrices. Nullam a urna nunc. Proin vestibulum leo sed elementum luctus. Cras et lorem in ex ornare feugiat sed et nibh.</p>
<p> </p>
</article>
</div>
<div align="right" class="col-xs-12 col-lg-6">
<a class="verypopup" href="images/restaurant-3.png"><img src="images/restaurant-3.png" width="100%" height="100%" alt="Restavracija xyz"/></a>
</div>
</div>
<!--/Restavracija 3!-->
<!--Restavracija 4!-->
<div class="row">
<div class="col-xs-12 col-lg-6">
<h3 align="left">Restavracija 4</h3>
<h4 align="left"><p>Cena bona: 3.75€</p>
<p>Naslov: test</p>
<p>Ocena: 5/5</p>
<p>Dostava: Ne</p></h4>
<h4 align="left">Meni</h4>
<ul>
<li align="left">Sadni kompot z pico</li>
<li align="left">Jogurt z pico</li>
<li align="left">Pizza jalapeno</li>
</ul>
<article>
<div align="left"><button id="button4" class="btn btn-default">Preberi več...</button></div>
<p align="left" class="opisPizzarije pizza4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus at varius ligula. Sed congue nibh ut enim vehicula, eu ultricies orci accumsan. Vivamus blandit varius enim at maximus. Nam faucibus tortor et eros malesuada feugiat. Donec justo justo, vestibulum non nunc sed, pellentesque vestibulum est. Vestibulum blandit mauris ac metus vestibulum iaculis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean at efficitur leo. Mauris tristique dolor vel ex auctor ultrices. Nullam a urna nunc. Proin vestibulum leo sed elementum luctus. Cras et lorem in ex ornare feugiat sed et nibh.</p>
<p> </p>
</article>
</div>
<div align="right" class="col-xs-12 col-lg-6">
<a class="verypopup" href="images/restaurant-4.png"><img src="images/restaurant-4.png" width="100%" height="100%" alt="Restavracija xyz"/></a>
</div>
</div>
<!--/Restavracija 4!-->
<!--Restavracija 5!-->
<div class="row">
<div class="col-xs-12 col-lg-6">
<h3 align="left">Restavracija 5</h3>
<h4 align="left"><p>Cena bona: 0.00€</p>
<p>Naslov: test</p>
<p>Ocena: 1/5</p>
<p>Dostava: Ne</p></h4>
<h4 align="left">Meni</h4>
<ul>
<li align="left">Sadni kompot z pico</li>
<li align="left">Jogurt z pico</li>
<li align="left">Pizza jalapeno</li>
</ul>
<article>
<div align="left"><button id="button5" class="btn btn-default">Preberi več...</button></div>
<p align="left" class="opisPizzarije pizza5">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus at varius ligula. Sed congue nibh ut enim vehicula, eu ultricies orci accumsan. Vivamus blandit varius enim at maximus. Nam faucibus tortor et eros malesuada feugiat. Donec justo justo, vestibulum non nunc sed, pellentesque vestibulum est. Vestibulum blandit mauris ac metus vestibulum iaculis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean at efficitur leo. Mauris tristique dolor vel ex auctor ultrices. Nullam a urna nunc. Proin vestibulum leo sed elementum luctus. Cras et lorem in ex ornare feugiat sed et nibh.</p>
<p> </p>
</article>
</div>
<div align="right" class="col-xs-12 col-lg-6">
<a class="verypopup" href="images/restaurant-5.png"><img src="images/restaurant-5.png" width="100%" height="100%" alt="Restavracija xyz"/></a>
</div>
</div>
<!--/Restavracija 5!-->
</div>
<footer class="text-center">
<div class="container">
<div class="row">
<div class="col-xs-12">
<p>Copyright © Pizza Advisor | Maribor. All rights reserved.</p>
</div>
</div>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-1.11.3.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="js/jquery.magnific-popup.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
</div>
</body>
</html>