-<div id="users" data-tab-content>
- <h2>Users Overview Panel</h2>
- <table class='unrealircd_overview'>
- <th>
- <tr>
- <td>
- </td>
- </tr>
-</th>
- <tbody>
+<div id="Users" data-tab-content>
+ <p></p>
+ <table class='users_overview'>
+ <th>Nick</th>
+ <th>UID</th>
+ <th>IP/Host</th>
+ <th>Account</th>
+ <th>Usermodes</th>
+ <th>Oper</th>
+ <th>Secure</th>
+ <th>Connected to</th>
+ <th>Reputation <a href="https://www.unrealircd.org/docs/Reputation_score"></a>ℹ️</th>
+
+ <?php
+ foreach(RPC_List::$user as $user)
+ {
+ echo "<tr>";
+ echo "<td>".$user['name']."</td>";
+ echo "<td>".$user['id']."</td>";
+ echo "<td>".$user['hostname']." (".$user['ip'].")</td>";
+ $account = (isset($user['account'])) ? $user['account'] : "";
+ echo "<td>".$account."</td>";
+ $modes = (isset($user['user']['modes'])) ? "+" . $user['user']['modes'] : "<none>";
+ echo "<td>".$modes."</td>";
+ $oper = (isset($user['user']['operlogin'])) ? $user['user']['operlogin']." (".$user['user']['operclass'].")" : "";
+ echo "<td>".$oper."</td>";
+ $secure = (isset($user['tls'])) ? "✅" : "❌";
+ echo "<td>".$secure."</td>";
+ echo "<td>".$user['user']['servername']."</td>";
+ echo "<td>".$user['user']['reputation']."</td>";
+ }
+ ?>