-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
107 lines (93 loc) · 2.95 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
<?php
try {
include_once './includes/connection.php';
$stmt = $conn->prepare('SELECT * FROM exhibit WHERE id=? ');
$stmt->execute([$_GET['id']]);
$item = $stmt->fetch();
} catch (\Throwable $th) {
throw $th;
}
?>
<!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.0">
<title>Ajaramuseums.ge - აჭარის მუზეუმების გაერთიანებასსიპ "აჭარის მუზეუმი"</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous" />
<!-- BOX ICONS CSS-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/boxicons.min.css" rel="stylesheet" />
<style>
body{ height:100vh; margin:0; }
nav{ min-height:120px;}
footer{ min-height:50px; }
body{
display:flex;
flex-direction:column;
}
footer{
margin-top: 5%;
}
.center-logo {
margin: 0 auto;
}
.exp-img {
padding-top: 23px;
}
@media only screen and (max-width: 320px) {
.exp-img {
width: 90%;
height: auto;
}
}
@media only screen and (max-width: 375px) {
.exp-img {
width: 90%;
height: auto;
}
}
@media only screen and (max-width: 425px) {
.exp-img {
width: 90%;
height: auto;
}
}
@media only screen and (max-width: 768px) {
.exp-img {
width: 90%;
height: auto;
}
}
@media only screen and (max-width: 1024px) {
.exp-img {
width: 90%;
height: auto;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="center-logo">
<a class="navbar-brand" href="#"><img src="logos.png" width="100px" height="auto" style="padding: 5px"/></a>
</div>
</nav>
<div class="mt-4 container">
<h3 class="text-center mb-3"><?=$item['title']?></h3>
<div class="container">
<div class="row mt-5">
<div class="col-md-6 col-lg-6 col-sm-12">
<img src="<?php echo $item['img']?>" class="exp-img"/>
</div>
<div class="col-md-6 col-lg-6 col-sm-12">
<p><?=$item['description']?></p>
</div>
</div>
</div>
</div>
<footer>
<p class="text-center"><?=$item['qr_image']?></p>
</footer>
</body>
</html>