jilo-web/public_html/templates/page-menu.php

32 lines
1.3 KiB
PHP
Raw Normal View History

2024-07-01 09:45:07 +00:00
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">
2024-08-05 19:25:32 +00:00
<div class="col-4"><img class="logo" src="static/jilo-logo.png" alt="JILO"/></div>
2024-08-05 19:24:35 +00:00
<div class="col-4"><button class="btn btn-sm btn-info" style="position: absolute; top: 55px; left: 11px; z-index: 100;" type="button" id="toggleSidebarButton" value=">>"></button></div>
2024-08-05 17:21:34 +00:00
</div>
</div>
2024-08-05 16:53:24 +00:00
2024-08-02 13:07:50 +00:00
<li><a href="index.php">home</a></li>
2024-07-03 15:15:32 +00:00
<?php if ( isset($_SESSION['username']) ) { ?>
2024-08-02 13:07:50 +00:00
<li><a href="?page=config">config</a></li>
<li><a href="?page=conferences">conferences</a></li>
<li><a href="?page=participants">participants</a></li>
<li><a href="?page=components">components</a></li>
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">
2024-07-03 15:15:32 +00:00
<?php if ( isset($_SESSION['username']) ) { ?>
2024-08-02 13:07:50 +00:00
<li><a href="?page=profile"><?= $user ?></a></li>
<li><a href="?page=logout">logout</a></li>
2024-07-01 09:45:07 +00:00
<?php } else { ?>
2024-08-02 13:07:50 +00:00
<li><a href="?page=login">login</a></li>
<li><a href="?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 -->