]>
Commit | Line | Data |
---|---|---|
82f5bcbf VP |
1 | <link href="/css/unrealircd-admin.css" rel="stylesheet"> |
2 | <body> | |
3 | <div id="headerContainer"> | |
4 | <h2>UnrealIRCd <small>Administration Panel</small></h2><br> | |
5 | </div> | |
709b97f3 VP |
6 | <script src="js/unrealircd-admin.js" defer></script> |
7 | <div class="topnav"> | |
8 | <a data-tab-target="#overview" class="active" href="#overview">Overview</a> | |
9 | <a data-tab-target="#Users" href="#Users">Users</a> | |
10 | <a data-tab-target="#Channels" href="#Channels">Channels</a> | |
11 | <a data-tab-target="#TKL" href="#TKL">Server Bans</a> | |
12 | <a data-tab-target="#Spamfilter" href="#Spamfilter">Spamfilter</a> | |
13 | </div> | |
14 | <?php | |
15 | /** | |
16 | * Provide a admin area view for the plugin | |
17 | * | |
18 | * This file is used to markup the admin-facing aspects of the plugin. | |
19 | * | |
20 | * @link https://https://github.com/ValwareIRC | |
21 | * @since 1.0.0 | |
22 | * | |
23 | * @package Unrealircd | |
24 | * @subpackage Unrealircd/admin/partials | |
25 | */ | |
26 | ||
27 | define('UPATH', true); | |
28 | include "Classes/class-rpc.php"; | |
29 | ||
30 | rpc_pop_lists(); | |
709b97f3 | 31 | ?> |
82f5bcbf VP |
32 | |
33 | <div class="tab-content\"> | |
34 | <div id="overview" data-tab-content class="active"> | |
35 | <table class='unrealircd_overview'> | |
36 | <th>Chat Overview</th><th></th> | |
37 | <tr><td><b>Users</b></td><td><?php echo count(RPC_List::$user); ?></td></tr> | |
38 | <tr><td><b>Opers</b></td><td><?php echo RPC_List::$opercount; ?></td></tr> | |
39 | <tr><td><b>Services</b></td><td><?php echo RPC_List::$services_count; ?></td></tr> | |
40 | <tr><td><b>Most popular channel</b></td><td><?php echo RPC_List::$most_populated_channel; ?> (<?php echo RPC_List::$channel_pop_count; ?> users)</td></tr> | |
41 | <tr><td><b>Channels</b></td><td><?php echo count(RPC_List::$channel); ?></td></tr> | |
42 | <tr><td><b>Server bans</b></td><td><?php echo count(RPC_List::$tkl); ?></td></tr> | |
43 | <tr><td><b>Spamfilter entries</b></td><td><?php echo count(RPC_List::$spamfilter); ?></td></tr></th> | |
44 | </table></div></div> | |
45 | ||
46 | <div class="tab-content\"> | |
47 | <div id="users" data-tab-content> | |
48 | <h2>Users Overview Panel</h2> | |
49 | <table class='unrealircd_overview'> | |
50 | <th> | |
51 | <tr> | |
52 | <td> | |
53 | </td> | |
54 | </tr> | |
55 | </th> | |
56 | <tbody> | |
57 | ||
58 | </tbody> | |
59 | </table></div></div> | |
60 | ||
61 | </body> |