55 lines
2.6 KiB
PHP
55 lines
2.6 KiB
PHP
<footer class="footer bg-dark text-white py-4 px-3 px-md-0">
|
|
<div class="container">
|
|
<div class="row d-flex flex-row justify-content-between align-items-center">
|
|
<a href="https://www.facebook.com/Posilovna-Tj-Olympia-Zl%C3%ADn-Bure%C5%A1ov-199000300263655">
|
|
<img src="<?php echo $webpath; ?>-img/facebook.svg" alt="Facebook" class="fb-logo">
|
|
</a>
|
|
<?php
|
|
if (isset($_SESSION['userrole'])) {
|
|
if ($_SESSION['userrole'] != 'Cvičenec') {
|
|
echo '<a class="text-white" href="' . $webpath . 'admin/index.php">Administrace</a>';
|
|
}
|
|
}
|
|
?>
|
|
<span class="text-right">TJ Olympia © 2020</span>
|
|
</div>
|
|
<hr>
|
|
<div class="row">
|
|
<span class="mx-auto text-center">Souhlasím s využítím pro potřeby výuky na KITTV PEDF UK. @David_Zálešák</span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<?php echo (isset($_SESSION['userid'])) ? '' : '<script src="https://captcheck.netsyms.com/captcheck.min.js"></script>' ?>
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('[data-toggle="popover"]').popover();
|
|
<?php
|
|
if (isset($loginerror)) {
|
|
echo "$('#login').modal('show');";
|
|
}
|
|
if (isset($registererror)) {
|
|
echo "$('#register').modal('show');";
|
|
}
|
|
if (isset($adderror)) {
|
|
echo "$('#add').modal('show');";
|
|
}
|
|
if (isset($_GET["list"])) {
|
|
echo "$('#userList').modal('show');";
|
|
}
|
|
if (isset($_GET["edit"])) {
|
|
echo "$('#edit').modal('show');";
|
|
}
|
|
if (isset($_GET["edituser"])) {
|
|
echo "$('#editUser').modal('show');";
|
|
}
|
|
?>
|
|
//$('#staticBackdrop').modal('show');
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|