-
Notifications
You must be signed in to change notification settings - Fork 6
/
bottom.php
48 lines (38 loc) · 1.16 KB
/
bottom.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
</div>
</div>
<div class="footer">
<?php echo "Version " . $version . " | "; ?>
<a href="https://github.com/fireshaper/parcelpony">Github</a> | made by fireshaper
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(".media-body").click(function() {
if ($(this).closest(".media-box").find( ".media-track" ).css("display") == "block") {
$(this).closest(".media-box").find( ".media-click-text" ).text('Click to Expand');
} else {
$(this).closest(".media-box").find( ".media-click-text" ).text('Click to Close');
}
$(this).closest(".media-box").find( ".media-track" ).slideToggle(100, function() {
return $(this).closest(".media-box").find( ".media-track" ).is(":visible");
});
});
$(".media-click-text").click(function() {
var link = $(this);
if ($(this).next( ".media-track" ).css("display") == "block") {
link.text('Click to Expand');
} else {
link.text('Click to Close');
}
$(this).nextAll( ".media-track" ).slideToggle(100, function() {
return $(this).nextAll( ".media-track" ).is(":visible");
});
});
function AutoRefresh( t ) {
setTimeout("location.reload(true);", t);
}
</script>
</body>
</html>