This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebshop.php
59 lines (57 loc) · 2.69 KB
/
webshop.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
<?php
require "include/nav.php";
require "include/class/ShopClass.php";
?>
<title>WebShop - Wok & Roll</title>
<body class="bc-gray-black d-flex flex-column h-100">
<div class="container container-web">
<div class="row row-web grid-gap" style="overflow: hidden;">
<div class="image-1-3 img-chinesefood d-flex align-items-center justify-content-center" onclick="window.location.href='<?php echo $url;?>webshop.php/?cat=0'">
<div class="text-center ts-1">
<h1 class="fos-4"><?php echo $arraytekst['cat_chinese'];?></h1>
</div>
</div>
<div class="image-1-3 img-japanesefood d-flex align-items-center justify-content-center" onclick="window.location.href='<?php echo $url;?>webshop.php/?cat=1'">
<div class="text-center ts-1" >
<h1 class="fos-4"><?php echo $arraytekst['cat_japanese'];?></h1>
</div>
</div>
<div class="image-1-3 img-indian d-flex align-items-center justify-content-center" onclick="window.location.href='<?php echo $url;?>webshop.php/?cat=2'">
<div class="text-center ts-1">
<h1 class="fos-4"><?php echo $arraytekst['cat_indian'];?></h1>
</div>
</div>
</div>
<div class="row row-web grid-gap" style="overflow: hidden;">
<div class="image-1-3 img-tai d-flex align-items-center justify-content-center" onclick="window.location.href='<?php echo $url;?>webshop.php/?cat=3'">
<div class="text-center ts-1">
<h1 class="fos-4"><?php echo $arraytekst['cat_tai'];?></h1>
</div>
</div>
<div class="image-1-3 img-vait d-flex align-items-center justify-content-center" onclick="window.location.href='<?php echo $url;?>webshop.php/?cat=4'">
<div class="text-center ts-1">
<h1 class="fos-4"><?php echo $arraytekst['cat_viat'];?></h1>
</div>
</div>
<div class="image-1-3 img-wok d-flex align-items-center justify-content-center" onclick="window.location.href='<?php echo $url;?>webshop.php/?cat=5'">
<div class="text-center ts-1">
<h1 class="fos-4"><?php echo $arraytekst['cat_wok'];?></h1>
</div>
</div>
</div>
</div>
<div class="row row-web-prod row-cols-1 row-cols-sm-4 g-4 c-red">
<?php
if (isset($_GET['cat'])) {
(new ShopClass($_GET['cat'],$url))->GetProductCat();
}else{
$empty = '';
(new ShopClass($empty, $url))->GetProductall();
}
?>
</div>
</div>
</body>
<?php
require "include/footer.php";
?>