-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditDashboard.php
100 lines (73 loc) · 2.04 KB
/
editDashboard.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
89
90
91
92
93
94
95
96
97
98
99
100
<html>
<?php
include('globalsetup.php');
include('picasaFunctions.php');
setupHeader();
?>
<style>
hr {color:sienna;}
p {margin-left:20px;}
body {background-color: #4D54D8;}
#flip {background-color: #FFF040; }
#flip2 {background-color: #FFF040;}
#flip3 {background-color: #FFF040;}
#label1 {background-color: #FF4040;}
#label2 {background-color: #FF4040;}
#label3 {background-color: #FF4040;}
#flip a {background-color: #FF4040;}
#flip2 a {background-color: #FF4040;}
#flip3 a {background-color: #FF4040;}
</style>
<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();
});
});
</script>
<body>
<h2>Pictures</h2>
<?php
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(getDashboardDisplayItems());
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>