-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathallservers.php
34 lines (22 loc) · 950 Bytes
/
allservers.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
<?php
// Userspice
require_once 'users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';
if (!securePage($_SERVER['PHP_SELF']))
die();
require_once "common.php";
$Parsedown = new Parsedown();
?>
<?php
$servers = GS_list_servers(["current"], [], GS_REQTYPE_WEBSITE, 0, $lang["THIS_LANGUAGE"], $user);
$mods = GS_list_mods($servers["mods"], [], [], [], GS_REQTYPE_WEBSITE, $servers["lastmodified"]);
echo '
<div class="permalink_parent" style="padding-right: 26px;">
<div class="permalink_child" style="padding-top: 24px;">
<a href="rss?server=all"><span class="fa fa-rss fa-2x"></span></a>
</div>
</div>';
echo "<div class=\"row\">" . GS_format_server_info($servers, $mods, 12, GS_SPLIT_PERSISTENT) . "</div>";
?>
<!-- Place any per-page javascript here -->
<?php require_once $abs_us_root . $us_url_root . 'usersc/templates/' . $settings->template . '/footer.php'; //custom template footer ?>