3 <!-- Latest compiled
and minified CSS
-->
4 <link rel
="stylesheet" href
="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
6 <!-- jQuery library
-->
7 <script src
="https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.slim.min.js"></script
>
10 <script src
="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script
>
12 <!-- Latest compiled JavaScript
-->
13 <script src
="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script
>
15 <title
>UnrealIRCd Panel
</title
>
16 <link rel
="icon" type
="image/x-icon" href
="/img/favicon.ico">
17 <link href
="css/unrealircd-admin.css" rel
="stylesheet">
19 <body role
="document">
20 <div
class="container">
22 <nav
class="navbar navbar-expand-sm navbar-light bg-primary fixed-top">
23 <ul
class="nav navbar-nav">
25 foreach($pages as $name=>$page)
28 if (str_ends_with($_SERVER['SCRIPT_FILENAME'], $page))
30 $active = " class=\"active\"";
32 echo " <li class=\"nav-item\"".$active."><a class=\"nav-link\" href=\"$page\">$name</a></li>\n";
40 <div
class="container-fluid" role
="main">