-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patharchive.php
41 lines (36 loc) · 1.23 KB
/
archive.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
<?php include "./includes/header.php";
require_once "./includes/db_cnx.php";
?>
<body>
<div class="container img-container">
<div class="archive-date">
<span>
The 17th of November 2019
</span>
<hr class="archive-sperator-line">
</div>
<div class="row text-center">
<?php
$res = mysqli_query($conn,'select name,photographe.firstname,photographe.lastname from photographe,image
where photographe.id = image.owner and verified = 1');
$i=1;
while($row = mysqli_fetch_array($res)){
?>
<div class="col-md-4">
<a href='<?php echo $row['name']?> ' target="_blank">
<img class="img-responsive lazyestload" src='<?php echo $row['name']?> ' />
</a>
<h5 class="Nexa-Bold mt-4">
<?php echo "".$row['firstname']." ". $row['lastname']?>
</h5>
</div>
<?php if($i % 3 == 0) echo('
</div>
<div class="row text-center">');
$i++;
}?>
</div>
</div>
</body>
<!-- footer start -->
<?php include "./includes/footer.php" ?>