-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
106 lines (90 loc) · 4.03 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
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
101
102
103
104
105
<?php if ($page != 'admin') { ?>
<div class="push"></div>
<?php } ?>
</div>
<?php if ($page != 'admin') { ?>
<div class="footer">
<div class="container">
<div class="row">
<div class="col-xs-6">
<?php if(getSetting('disable_tos', 'value2') == 0){ ?>
<a href="tos.php" class="tos-link"><?= lang('tos'); ?></a>
<?php } ?>
<?php if (getSetting('imprint_enable', 'value2') == 1) { ?>
- <a href="imprint.php" class="tos-link"><?= lang('imprint'); ?></a>
<?php } ?>
<?php if(getSetting('privacy_enable', 'value2') == 1){ ?>
<br>
<a href="privacy.php" class="tos-link"><?= lang('privacy', 'Privacy Policy'); ?></a>
<?php } ?>
</div>
<div class="col-xs-6" style="text-align: right;">
<!-- Check if copyright is set to show -->
<?php if(getSetting('site_copyright', 'value2') == 1) { ?>
<font color="#c10000"><a href="http://PrometheusIPN.com">Prometheus</a></font> © IPN <?= lang('by'); ?> <a href="http://steamcommunity.com/profiles/76561197988497435/">Marcuz</a> & <a href="http://steamcommunity.com/profiles/76561198043838389/">Newjorciks</a></a><br>
<?php } ?>
<i class="fa fa-steam"></i> Powered by <a href="http://steampowered.com">Steam</a><br>
<!-- Print version number -->
<span class="version">v.<?= $version; ?></span>
<!--
Revision
46658931
-->
</div>
</div>
<div class="row">
<div class="col-xs-12 text-right" style="margin-top: 5px;">
<?php if(getSetting('disable_language_selector', 'value2') == 0) { ?>
<select name="language" class="selectpicker client_language_picker" data-style="btn-prom" data-live-search="true">
<?php
echo options::languages();
?>
</select>
<?php } ?>
<?php if(getSetting('disable_theme_selector', 'value2') == 0) { ?>
<select name="theme" class="selectpicker client_theme_picker" data-style="btn-prom" data-live-search="true">
<?php
echo theme::options();
?>
</select>
<?php } ?>
</div>
</div>
</div>
</div>
<?php } ?>
<script src="compiled/js/site.js?v=1.0.1"></script>
<script>
<?php if($page != 'admin' && getSetting('halloween_things', 'value2') == 1){ ?>
$.fn.halloweenBats({});
<?php } ?>
</script>
<script type="template" id="message-danger">
<p class='bs-callout bs-callout-danger'>
<button type='button' class='close' data-dismiss='alert'>×</button>
</p>
</script>
<script type="template" id="message-success">
<p class='bs-callout bs-callout-success'>
<button type='button' class='close' data-dismiss='alert'>×</button>
</p>
</script>
</body>
</html>
<?php
if ($devmode) {
echo "Page loaded in: " . (microtime(true) - $time) . "s";
}
?>
<script src="ignis/compiled/js/jquery.matchHeight.js"></script>
<?php if ($backstretch['enable'] && count($backstretch['backgrounds']) > 0) { ?>
<script src="ignis/compiled/js/jquery.backstretch.min.js"></script>
<script>
var backgrounds = {};
backgrounds.duration = <?= $backstretch['duration']*1000; ?>;
backgrounds.fade = <?= $backstretch['fade']*1000; ?>;
backgrounds.random = <?= $backstretch['random']; ?>;
backgrounds.list = [<?= "'".implode("','", $backstretch['backgrounds'])."'"; ?>];
</script>
<script src="ignis/compiled/js/custom.js"></script>
<?php } ?>