forked from simmons-tech/7k-of-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
showPics.php
88 lines (65 loc) · 1.74 KB
/
showPics.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
82
83
84
85
86
87
88
<html>
<?php
// phpinfo();
// exit();
include('globalsetup.php');
include('picasaFunctions.php');
setupHeader();
?>
<script>
//alert("Preshifted");
$(window).load(function() {
//$(document).ready(function() {
$('#flip').jcoverflip();
$('#flip2').jcoverflip();
$('#flip3').jcoverflip();
//$(window).load(function() {
$(document).ready(function() {
$('#flip').jcoverflip();
$('#flip2').jcoverflip();
$('#flip3').jcoverflip();
//alert("midshifted");
});
//alert("midshifted");
});
//alert("Postshifted");
</script>
<body>
<h2>Simmons 7k Display Manager</h2>
<?php
printAdminStatus();
printControlButtons();
//Editing button options
if($isAdmin) {
//Add admin controls
//print('<div id="place2" ondrop="dropIt(event);" ondragover="event.preventDefault();">');
//print("<b>Trash</b>");
//print("</div>");
}
print("</div>
<br/><br/>");
echo '<div id="wrapper1">
<div id="label1" class="label">Active Photos</div>
<ul id="flip" class="theslider">';
showSliderUserPhotos(getDisplayDisplayItems());
echo '</ul>
</div>';
//showUserPhotos(getActiveDisplayItems());
//showUserPhotos(getDisplayItemsOf($myusername));
echo '<div id="wrapper2">
<div id="label2" class="label">My Photos</div>
<ul id="flip2" class="theslider">';
showSliderUserPhotos(getDisplayItemsOf($myusername));
echo '</ul>
</div>';
//showUserPhotos(getDisplayItems());
echo '<div id="wrapper3">
<div id="label3" class="label">All Photos</div>
<ul id="flip3" class="theslider">';
showSliderUserPhotos(getDisplayItems());
echo '</ul>
</div>';
?>
<br/>
</body>
</html>