-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
116 lines (105 loc) · 2.79 KB
/
Copy pathindex.php
File metadata and controls
116 lines (105 loc) · 2.79 KB
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
<?php
include('config.php');
session_start();
$user_id = $_SESSION['user_id'];
if(!isset($user_id)){
header('location:login.php');
}
?>
<!Doctype html>
<html>
<head>
<title>home</title>
<!-- css file link -->
<link rel="stylesheet" href="css/mainstyle.css"/>
<!-- font awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"/>
</head>
<body>
<div class="header">
<?php include('header.php'); ?>
</div>
<!-- Quote -->
<div class="Quote">
<h2 id=q1>"Color is the place where our brain and the universe meet".<img id="phquote"src="carousel/img1.jpg" alt=""></h2>
<h2 id="q2">"ART is a line around your throughts".</h2>
<h2 id="q3">~Gustav Kimt.</h2>
</div>
<!-- Video -->
<div class="video">
<video id="video" controls loop autoplay muted>
<source src="video.mp4" type="video/mp4">
<source src="video.mp4" type="video/ogg">
</video>
<div class="desc">
<h5>Inside a gallery of ART!</h5>
</div>
</div>
<!-- Exhibition -->
<div class="Exhibition">
<h4 id="exh1">The Best of 2022:</h4>
<h4 id="exh2"> Top 6 Exhibitions Around the World</h4>
</div>
<?php
$query = "SELECT * FROM exhibition " ;
$query_run = mysqli_query($conn,$query);
while($row = mysqli_fetch_array($query_run))
{
?>
<div class="wrapper">
<div class="item">
<div class="polaroid" ><img src="imagehome/<?php echo $row["exhibition_image"] ;?>" alt="images"/>
</div>
<!-- caption (php) -->
<div class="caption">
<?php echo $row["exhibition_name"];?> </h4>
"<?php echo $row["exhibition_place"] ?> </h4>
<?php echo $row["exhibition_address"] ?></h4>
</div>
</div>
<?php
}
?>
</div>
<div class="newstitle">
<h4 id="ph1">The best of 2022:</h4>
<h4 id="ph2">Top news about ART,MUSEUMS and ARTISTS.</h4>
</div>
<!-- news1 -->
<div class="news">
<div class="image1">
<img id="lucian1" src="imagehome/lucian1.jpg" alt="" >
<div class="desc1">
<p><a href="news1.html">National Gallery takes a closer look at Lucian Freud
with sweeping survey to mark centenary</a></p>
</div>
</div>
<!-- news2 -->
<div class="image1">
<img id="lucian2" src="imagehome/lucian2.jpg" alt="" >
<div class="desc1">
<p><a href="news2.html">Lucian Freud's self-portraits sure
to pack a punch in London show </a></p>
</div>
</div>
<!-- news3 -->
<div class="image1">
<img id="frida" src="imagehome/frida.jpg" alt="">
<div class="desc1">
<p><a href="news3.html">MOST FAMOUS PAINTERS IN THE WORLD</a></p>
</div>
</div>
<!-- news4 -->
<div class="image1">
<img id="vatican" src="imagehome/vatican.jpg" alt="">
<div class="desc1">
<p><a href="news4.html">Man arrested after attacking
ancient sculptures at Vatican Museums in Italy</a></p>
</div>
</div>
</div>
<!-- Footer -->
<?php include('footer.php'); ?>
<script src="Js/script.js"></script>
</body>
</html>