-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
48 lines (46 loc) · 1.96 KB
/
footer.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
<?php
/* BanManagement © 2012, a web interface for the Bukkit plugin BanManager
by James Mortemore of http://www.frostcast.net
is licenced under a Creative Commons
Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales.
Permissions beyond the scope of this licence
may be available at http://creativecommons.org/licenses/by-nc-sa/2.0/uk/.
Additional licence terms at https://raw.github.com/confuser/Ban-Management/master/banmanagement/licence.txt
*/
?>
<hr>
<footer>
<p class="pull-left"><?php echo $settings['footer']; ?></p>
<!-- Must not be removed as per the licence terms -->
<p class="pull-right">Created By <a href="http://www.flatcraft.net" target="_blank">cwk4229</a></p>
</footer>
</div> <!-- /container -->
<script type="text/javascript">
$(function() {
$(".span4 button[rel='popover']").popover({trigger: 'hover', placement: 'left'});
$("#search li").click(function(e) {
var s = $(this);
if(s.attr("id") == 'ip') {
var player = $("#player");
$("#ip").attr('id', 'player').find("a").text('Player');
player.attr('id', 'ip').html('IP <span class="caret"></span>');
$("#search input[type=text]").attr('placeholder', 'Enter IP Address');
$("#search input[name=action]").attr('value', 'searchip');
} else {
var ip = $("#ip");
$("#player").attr('id', 'ip').find("a").text('IP');
ip.attr('id', 'player').html('Player <span class="caret"></span>');
$("#search input[type=text]").attr('placeholder', 'Enter Player Name');
$("#search input[name=action]").attr('value', 'searchplayer');
}
});
$("#viewall").click(function() {
var server = $("#search input[name=server]:checked").val();
if(typeof server === 'undefined')
server = 0;
window.location.href = 'index.php?action='+$("#search input[name=action]").val()+'&server='+server+'&player=%';
});
});
</script>
</body>
</html>