2024-07-01 09:45:07 +00:00
|
|
|
|
2024-10-11 07:22:20 +00:00
|
|
|
<div class="container-fluid">
|
|
|
|
|
2024-08-02 13:07:50 +00:00
|
|
|
<!-- Menu -->
|
|
|
|
<div class="menu-container">
|
|
|
|
<ul class="menu-left">
|
2024-08-05 17:21:34 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2025-04-12 13:22:41 +00:00
|
|
|
<a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>" class="logo-link">
|
|
|
|
<div class="col-4">
|
|
|
|
<img class="logo" src="<?= htmlspecialchars($app_root) ?>static/jilo-logo.png" alt="JILO"/>
|
|
|
|
</div>
|
|
|
|
</a>
|
2024-08-05 17:21:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-08-05 16:53:24 +00:00
|
|
|
|
2025-04-12 13:22:41 +00:00
|
|
|
<li class="font-weight-light text-uppercase" style="font-size: 0.5em; color: whitesmoke; margin-right: 70px; align-content: center;">
|
|
|
|
version <?= htmlspecialchars($config['version']) ?>
|
|
|
|
</li>
|
2024-08-07 08:13:55 +00:00
|
|
|
|
2025-04-13 16:12:28 +00:00
|
|
|
<?php if (Session::isValidSession()) { ?>
|
2024-08-07 08:13:55 +00:00
|
|
|
|
2024-09-24 06:39:30 +00:00
|
|
|
<?php foreach ($platformsAll as $platform) {
|
2024-10-05 15:12:15 +00:00
|
|
|
$platform_switch_url = switchPlatform($platform['id']);
|
2024-09-24 06:39:30 +00:00
|
|
|
?>
|
2024-08-25 10:24:48 +00:00
|
|
|
<li style="margin-right: 3px;">
|
2024-10-05 15:12:15 +00:00
|
|
|
<?php if ((isset($_REQUEST['platform']) || empty($_SERVER['QUERY_STRING'])) && $platform['id'] == $platform_id) { ?>
|
2024-10-06 15:22:05 +00:00
|
|
|
<span style="background-color: #fff; border: 1px solid #111; color: #111; border-bottom-color: #fff; padding-bottom: 12px;">
|
2024-10-04 11:18:28 +00:00
|
|
|
<?= htmlspecialchars($platform['name']) ?>
|
2024-10-06 15:22:05 +00:00
|
|
|
</span>
|
2024-10-05 15:12:15 +00:00
|
|
|
<?php } else { ?>
|
|
|
|
<a href="<?= htmlspecialchars($platform_switch_url) ?>">
|
|
|
|
<?= htmlspecialchars($platform['name']) ?>
|
|
|
|
</a>
|
|
|
|
<?php } ?>
|
2024-08-19 10:25:09 +00:00
|
|
|
</li>
|
2024-10-05 15:12:15 +00:00
|
|
|
<?php } ?>
|
2024-08-07 08:13:55 +00:00
|
|
|
|
2024-07-01 09:45:07 +00:00
|
|
|
<?php } ?>
|
2024-08-02 13:07:50 +00:00
|
|
|
</ul>
|
2024-07-01 09:45:07 +00:00
|
|
|
|
2024-08-02 13:07:50 +00:00
|
|
|
<ul class="menu-right">
|
2025-04-13 16:12:28 +00:00
|
|
|
<?php if (Session::isValidSession()) { ?>
|
2025-04-07 13:35:05 +00:00
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
|
|
|
<i class="fas fa-user"></i>
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
|
|
|
<h6 class="dropdown-header"><?= htmlspecialchars($currentUser) ?></h6>
|
|
|
|
<a class="dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=profile">
|
|
|
|
<i class="fas fa-id-card"></i>Profile details
|
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=credentials">
|
|
|
|
<i class="fas fa-shield-alt"></i>Login credentials
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a class="dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=logout">
|
|
|
|
<i class="fas fa-sign-out-alt"></i>Logout
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
2024-07-01 09:45:07 +00:00
|
|
|
<?php } else { ?>
|
2024-10-04 11:18:28 +00:00
|
|
|
<li><a href="<?= htmlspecialchars($app_root) ?>?page=login">login</a></li>
|
|
|
|
<li><a href="<?= htmlspecialchars($app_root) ?>?page=register">register</a></li>
|
2024-07-01 09:45:07 +00:00
|
|
|
<?php } ?>
|
2024-08-02 13:07:50 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- /Menu -->
|