]>
jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - servers/details.php
2 require_once "../common.php";
3 require_once "../header.php";
5 $title = "Server Lookup";
8 if (isset($_GET['server']))
10 $servername = $_GET['server'];
11 $srv = $rpc->server()->get($servername);
12 echo highlight_string("<?php ".var_export($srv, true));
13 $modules = $rpc->server()->module_list($servername);
15 echo highlight_string("<?php ".var_export($modules, true). "$err");
19 Message::Fail("Could not find server
: \"$servername\"");
21 $servername = $srv->name;
22 $title .= " for \"" . $servername . "\"
";
26 <title><?php echo $title; ?></title>
27 <h4><?php echo $title; ?></h4>
29 <form method="get
" action="details
.php
">
30 <div class="input
-group short
-form
-control justify
-content
-center align
-items
-center
">
31 <input style="margin
: 0%
; height
: 24px
;" class="left
-pan form
-control
" id="nick
" name="nick
" type="text
" value=<?php echo $servername; ?>>
32 <div class="input
-group
-append
">
33 <br><button type="submit
" class="btn btn
-primary
">Go</button>
42 <div class="col
-sm
-3">
44 <div class="card
-body
">
45 <h5 class="card
-title
">Basic Information</h5>
46 <p class="card
-text
"><?php generate_html_whois($srv); ?></p>
50 <div class="col
-sm
-4">
52 <div class="card
-body
">
53 <h5 class="card
-title
">Server Settings</h5>
54 <p class="card
-text
"><?php generate_html_usersettings($srv); ?></p>
60 <div class="col
-sm
-3">
62 <div class="card
-body
">
63 <h5 class="card
-title
">User Settings</h5>
64 <p class="card
-text
"><?php generate_html_usersettings($srv); ?></p>