-
Notifications
You must be signed in to change notification settings - Fork 1
/
viewphotogallerysingle.php
64 lines (55 loc) · 1.82 KB
/
viewphotogallerysingle.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
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="res/styles.css" type="text/css" media="screen">
<link rel="stylesheet" href="res/lightbox.css" type="text/css" media="screen">
<script src="res/prototype.js" type="text/javascript"></script>
<script src="res/scriptaculous.js" type="text/javascript"></script>
<script src="res/lightbox.js" type="text/javascript"></script>
<?php
include("header.php");
?>
<div id="main">
<div id="content" class="left">
<div class="highlight">
<!-- View photo gallery -->
<DIV style="CLEAR: both"></DIV>
</div><div id="contentBox">
<h3>Album<br />
<a href="viewphotogallery.php"><< Back </a></h3>
<DIV style="CLEAR: both"></DIV>
<div class="thumbsBox">
<img src="user_data/<?php echo $_GET[photoname]; ?>" width="580" height="511" border="0">
</div>
<DIV style="CLEAR: both"></DIV>
<!-- End View photo gallery -->
<p> </p>
</div>
<div class="projects">
<div class="item"></div>
<div class="item">
<div class="cl"> </div>
</div>
</div>
</div>
<div id="sidebar" class="right">
<h3>Select institution</h3>
<div class="sidebar-nav">
<ul>
<?php
$resinst = mysqli_query($con,"select * from institute");
while($recs = mysqli_fetch_array($resinst))
{
echo "<li><a href='viewphotogallery.php?instname=$recs[inst_name]&instid=$recs[inst_id]'>$recs[inst_name]</a></li>";
}
?>
</ul>
</div>
</div>
<div class="cl"> </div>
</div>
<div class="shadow-l"></div>
<div class="shadow-r"></div>
<div class="shadow-b"></div>
</div>
<?php
include("footer.php");
?>