-
Notifications
You must be signed in to change notification settings - Fork 204
/
footer.php
75 lines (72 loc) · 2.84 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
<?php if (!defined('FLUX_ROOT')) exit; ?>
</td>
<td bgcolor="#f5f5f5"></td>
</tr>
<tr>
<td><img src="<?php echo $this->themePath('img/content_bl.gif') ?>" style="display: block" /></td>
<td bgcolor="#f5f5f5"></td>
<td><img src="<?php echo $this->themePath('img/content_br.gif') ?>" style="display: block" /></td>
</tr>
</table>
</td>
<!-- Spacing between content and horizontal end-of-page -->
<td style="padding: 10px"></td>
</tr>
<?php if (Flux::config('ShowCopyright')): ?>
<tr>
<td colspan="3"></td>
<td id="copyright">
<p>
<strong>Powered by <a href="https://github.com/rathena/FluxCP" target="_blank">FluxCP</a></strong>
</p>
</td>
<td></td>
</tr>
<?php endif ?>
<?php if (Flux::config('ShowRenderDetails')): ?>
<tr>
<td colspan="3"></td>
<td id="info">
<p>
Page generated in <strong><?php echo round(microtime(true) - __START__, 5) ?></strong> second(s).
Number of queries executed: <strong><?php echo (int)Flux::$numberOfQueries ?></strong>.
<?php if (Flux::config('GzipCompressOutput')): ?>Gzip Compression: <strong>Enabled</strong>.<?php endif ?>
</p>
</td>
<td></td>
</tr>
<?php endif ?>
<?php if (count(Flux::$appConfig->get('ThemeName', false)) > 1): ?>
<tr>
<td colspan="3"></td>
<td align="right">
<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>
<form action="<?php echo $this->urlWithQs ?>" method="post" name="preferred_theme_form" style="display: none">
<input type="hidden" name="preferred_theme" value="" />
</form>
</td>
<td></td>
</tr>
<?php endif ?>
<tr>
<td colspan="3"></td>
<td align="right">
<span>Language:
<select name="preferred_language" onchange="updatePreferredLanguage(this)">
<?php foreach (Flux::getAvailableLanguages() as $lang_key => $lang): ?>
<option value="<?php echo htmlspecialchars($lang_key) ?>"<?php if (!empty($_COOKIE['language']) && $_COOKIE['language'] == $lang_key) echo ' selected="selected"' ?>><?php echo htmlspecialchars($lang) ?></option>
<?php endforeach ?>
</select>
</span>
</td>
<td></td>
</tr>
</table>
</body>
</html>