-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.php
81 lines (61 loc) · 2.09 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
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Wall-Off::Official Site </title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/custom.css">
</head>
<body>
<div id="wrap">
<nav>
<ul id="dropdown-content">
<a href="index.html"><li> Home </li></a>
<a href="join.php"><li>Join</li></a>
<a href="map.html"><li>Map</li></a>
<a href="upload.php"><li>Upload</li></a>
<a href="gallery.php"><li>Gallery</li></a>
<a href="donate.php"><li> Donate</li></a>
<a href="signin.php"><li>Sign In</li></a>
</ul>
<table width="100%"><tr><td align="center">
<h1>WALL-OFF</h1>
<h3>"Discover Public Art"</h3></td>
<td valign="top" align="right"><img src="image/mobilemenu.png" id="dropbtn"></td></tr>
</table>
</nav>
<div id="innerC">
<form method="POST" action="database.php" id="wallJoin">
<legend>Archive Gallery </legend>
<label> <input type="text" name="search" id="S1" size="30" placeholder="Search by artist or location"/></label>
<input type="hidden" name="dataSource" value="gallery"/>
<input type="submit" id="searchBtn" value="Search"/>
</form>
<?php
include_once("obj/dbKon.php");
$sql = "select * from Mural";
$rec = $db->query($sql);
foreach( $rec as $row){
print $row['name'];
print $row['city'];
print $row['state'];
echo '<img src="$imagePath"/>';
echo "<br>";
}
?>
</div>
<footer id="contact">
Contact us via email <a href="mailto:digikanyc@gmail.com">info@Wall_Off</a>
All rights reserved by Wall-Off NYC © Copyright
</footer>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/custom.js"></script>
<script src="js/val.js"></script>
</body>
</html>