This repository has been archived by the owner on Aug 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.php
74 lines (55 loc) · 3 KB
/
gallery.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
<?php
require_once('admin/phpscripts/init.php');
$pageTitle = "Gallery";
include "includes/header.php";
include "includes/nav.php";
include "admin/phpscripts/connect.php";
$query = "SELECT * FROM tbl_gallery";
$select_gallery = mysqli_query($link,$query);
//echo $query; //didn't display anything so I am not sure what is going on
while($row = mysqli_fetch_assoc($select_gallery)){
$gallery_id = $row['gallery_id'];
$gallery_thumb = $row['gallery_thumbnail'];
$gallery_image = $row['gallery_image'];
$gallery_title = $row['gallery_title'];
$gallery_desc = $row['gallery_description'];
}
?>
<section>
<div class="row">
<div class="small-10 medium-10 large-12 columns">
<h2>Photo Gallery</h2>
<p>Welcome to our photo gallery. This section includes pictures of Chantry Island and the area of Lake Huron surrounding the Island. It also includes pictures of the lighthouse and keeper's cottage inside and out, as well as photos of some of the birds and flowers native to the island.</p>
<p>If you have photos of Chantry Island that you would like to share with us, connect with our Facebook page.</p>
<h2 class="text-center">Gallery</h2>
<ul class="small-block-grid-2 medium-block-grid-6 large-block-grid-9 gallery">
<li id="1"><a href="gallery/1.jpg" data-lightbox="gallery"><img src="gallery/Thumbs/Pic_01_TH.jpg" alt=""></a></li>
<li id="2"><a href="gallery/2.jpg" data-lightbox="gallery"><img src="gallery/Thumbs/Pic_02_TH.jpg" alt=""></a></li>
<li id="3"><img src="gallery/Thumbs/Pic_03_TH.jpg" alt=""></li>
<li id="4"><img src="gallery/Thumbs/Pic_04_TH.jpg" alt=""></li>
<li id="5"><img src="gallery/Thumbs/Pic_05_TH.jpg" alt=""></li>
<li id="6"><img src="gallery/Thumbs/Pic_06_TH.jpg" alt=""></li>
<li id="7"><img src="gallery/Thumbs/Pic_07_TH.jpg" alt=""></li>
<li id="8"><img src="gallery/Thumbs/Pic_08_TH.jpg" alt=""></li>
<li id="9"><img src="gallery/Thumbs/Pic_09_TH.jpg" alt=""></li>
<li id="10"><img src="gallery/Thumbs/Pic_10_TH.jpg" alt=""></li>
<li id="11"><img src="gallery/Thumbs/Pic_11_TH.jpg" alt=""></li>
<li id="12"><img src="gallery/Thumbs/Pic_12_TH.jpg" alt=""></li>
<li id="13"><img src="gallery/Thumbs/Pic_13_TH.jpg" alt=""></li>
<li id="14"><img src="gallery/Thumbs/Pic_14_TH.jpg" alt=""></li>
<li id="15"><img src="gallery/Thumbs/Pic_15_TH.jpg" alt=""></li>
<li id="16"><img src="gallery/Thumbs/Pic_16_TH.jpg" alt=""></li>
<li id="17"><img src="gallery/Thumbs/Pic_17_TH.jpg" alt=""></li>
<li id="18"><img src="gallery/Thumbs/Pic_18_TH.jpg" alt=""></li>
<li id="19"><img src="gallery/Thumbs/Pic_19_TH.jpg" alt=""></li>
<li id="20"><img src="gallery/Thumbs/Pic_20_TH.jpg" alt=""></li>
<!-- <?php
//echo "<li class='$gallery_id'><img src='$gallery_thumb'></li>";
?> -->
</ul>
</div>
</div>
</section>
<?php
include "includes/footer.php";
?>