-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
235 lines (212 loc) · 7.79 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<?php if (!defined('FLUX_ROOT')) exit; ?>
</div>
<!--box-->
</div>
<!--column-->
<?php if ($hurtsky['enableSocialNetworkLink']) : ?>
<div class="column is-12">
<div class="columns">
<div id="social" class="column has-background-custom1 box">
<nav class="level">
<div class="level-left">
<div class="level-item">
</div>
</div>
<div class="level-right">
<div class="level-item">
<p class="heading has-text-white">GET CONNECTED WITH US</p>
</div>
<div class="level-item"> </div>
<?php if ($hurtsky['enableFacebookIcon']) : ?>
<div class="level-item">
<a class="icon is-medium has-text-white" href="<?php echo $hurtsky['facebookLink']; ?>" target="_blank">
<i class="fab fa-facebook-square fa-3x"></i>
</a>
</div>
<?php endif ?>
<div class="level-item"> </div>
<?php if ($hurtsky['enableDiscordIcon']) : ?>
<div class="level-item">
<a class="icon is-medium has-text-white" href="<?php echo $hurtsky['discordInviteLink']; ?>" target="_blank">
<i class="fab fa-discord fa-3x"></i>
</a>
</div>
<?php endif ?>
<div class="level-item"> </div>
<?php if ($hurtsky['enableTwitterIcon']) : ?>
<div class="level-item">
<a class="icon is-medium has-text-white" href="<?php echo $hurtsky['twitterLink']; ?>" target="_blank">
<i class="fab fa-twitter-square fa-3x"></i>
</a>
</div>
<?php endif ?>
<div class="level-item"> </div>
</div>
</nav>
</div>
</div>
</div>
<?php endif ?>
</div>
<!--columns-->
</div>
<!--container-->
</div>
<!--hero-body-->
<div class="hero-foot has-background-custom1 has-text-white">
<nav id="footer">
<div class="container">
<p class="has-text-centered">
<?php if (Flux::config('ShowCopyright')) : ?>
Powered by <a href="https://github.com/rathena/FluxCP" target="_blank">FluxCP</a>
<?php endif ?>
<?php if (Flux::config('ShowRenderDetails')) : ?>
Page generated in <strong class="has-text-warning"><?php echo round(microtime(true) - __START__, 5) ?></strong> second(s).
Number of queries executed: <strong class="has-text-warning"><?php echo (int) Flux::$numberOfQueries ?></strong>.
<?php if (Flux::config('GzipCompressOutput')) : ?>Gzip Compression: <strong class="has-text-warning">Enabled</strong>.<?php endif ?>
<?php endif ?>
<?php if (count(Flux::$appConfig->get('ThemeName', false)) > 1) : ?>
<span>Theme:
<select name="preferred_theme" onchange="updatePreferredTheme(this)">
<?php foreach (Flux::$appConfig->get('ThemeName', false) as $themeName) : ?>
<option value="<?php echo htmlspecialchars($themeName) ?>" <?php if ($session->theme == $themeName) echo ' selected="selected"' ?>><?php echo htmlspecialchars($themeName) ?></option>
<?php endforeach ?>
</select>
</span>
<?php endif ?>
<form action="<?php echo $this->urlWithQs ?>" method="post" name="preferred_theme_form" style="display: none">
<input type="hidden" name="preferred_theme" value="" />
</form>
</p>
<p class="has-text-centered">
<?php echo $hurtsky['footerCopyrightTrademarkLable']; ?>
</p>
<p class="has-text-centered">
<?php echo $hurtsky['footerCopyrightInitialDate']; ?> - <?php echo date("Y"); ?> <?php echo $hurtsky['yourServerName']; ?> All rights reserved.
</p>
</div>
</nav>
<nav class="level">
<div class="level-left">
</div>
<div class="level-right">
<div class="level-item">
<span class="tag is-dark">
<a class="has-text-white" href="https://github.com/hurtsky" target="_blank">Beautified by Hurtsky</a>
<span class="icon is-dark">
<img src="https://avatars3.githubusercontent.com/u/4039059?s=460&v=4">
</span>
</span>
</div>
</div>
</nav>
</div>
</section>
<script type="text/javascript" src="<?php echo $this->themePath('js/jquery-3.4.1.min.js') ?>"></script>
<script type="text/javascript" src="<?php echo $this->themePath('js/jquery-ui.min.js') ?>"></script>
<script type="text/javascript" src="<?php echo $this->themePath('js/extensions.js') ?>"></script>
<script type="text/javascript" src="<?php echo $this->themePath('js/carousel.js') ?>"></script>
<script type="text/javascript" src="<?php echo $this->themePath('js/init.js') ?>?v<?php echo time(); ?>"></script>
<script type="text/javascript" src="<?php echo $this->themePath('js/flux.datefields.js') ?>"></script>
<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitip.js') ?>"></script>
<script type="text/javascript">
$(function() {
$(document).tooltip({
position: {
my: "left+5 top-50",
at: "right center",
collision: "flipfit"
},
items: "[data-map]",
content: function() {
if ($(this).is("[data-map]")) {
return "<img class='map' src='addons/vendingItem/modules/map/map.php?map=" + $(this).data('map') + "&x=" + $(this).data('x') + "&y=" + $(this).data('y') + "'>";
}
}
});
});
</script>
<script type="text/javascript">
function updatePreferredServer(sel) {
var preferred = sel.options[sel.selectedIndex].value;
document.preferred_server_form.preferred_server.value = preferred;
document.preferred_server_form.submit();
}
function updatePreferredTheme(sel) {
var preferred = sel.options[sel.selectedIndex].value;
document.preferred_theme_form.preferred_theme.value = preferred;
document.preferred_theme_form.submit();
}
// Preload spinner image.
var spinner = new Image();
spinner.src = '<?php echo $this->themePath('img/spinner.gif') ?>';
function refreshSecurityCode(imgSelector) {
$(imgSelector).attr('src', spinner.src);
// Load image, spinner will be active until loading is complete.
var clean = <?php echo Flux::config('UseCleanUrls') ? 'true' : 'false' ?>;
var image = new Image();
image.src = "<?php echo $this->url('captcha') ?>" + (clean ? '?nocache=' : '&nocache=') + Math.random();
$(imgSelector).attr('src', image.src);
}
function toggleSearchForm() {
//$('.search-form').toggle();
$('.search-form').slideToggle('fast');
}
</script>
<?php if (Flux::config('EnableReCaptcha') && Flux::config('ReCaptchaTheme')) : ?>
<script type="text/javascript">
var RecaptchaOptions = {
theme: '<?php echo Flux::config('ReCaptchaTheme') ?>'
};
</script>
<?php endif ?>
<script type="text/javascript">
$(document).ready(function() {
var inputs = 'input[type=text],input[type=password],input[type=file]';
$(inputs).focus(function() {
$(this).css({
'background-color': '#f9f5e7',
'border-color': '#dcd7c7',
'color': '#726c58'
});
});
$(inputs).blur(function() {
$(this).css({
'backgroundColor': '#ffffff',
'borderColor': '#dddddd',
'color': '#444444'
}, 500);
});
$('.menuitem a').hover(
function() {
$(this).fadeTo(200, 0.85);
$(this).css('cursor', 'pointer');
},
function() {
$(this).fadeTo(150, 1.00);
$(this).css('cursor', 'normal');
}
);
$('.money-input').keyup(function() {
var creditValue = parseInt($(this).val() / <?php echo Flux::config('CreditExchangeRate') ?>, 10);
if (isNaN(creditValue))
$('.credit-input').val('?');
else
$('.credit-input').val(creditValue);
}).keyup();
$('.credit-input').keyup(function() {
var moneyValue = parseFloat($(this).val() * <?php echo Flux::config('CreditExchangeRate') ?>);
if (isNaN(moneyValue))
$('.money-input').val('?');
else
$('.money-input').val(moneyValue.toFixed(2));
}).keyup();
// In: js/flux.datefields.js
processDateFields();
});
function reload() {
window.location.href = '<?php echo $this->url ?>';
}
</script>
</body>
</html>