SAEWEB2.2/ci/application/views/layout/header.php

43 lines
1.8 KiB
PHP
Raw Normal View History

2024-05-21 15:05:29 +02:00
<!doctype html>
<html lang="fr" class="has-navbar-fixed-top">
2024-05-30 10:05:37 +02:00
<head>
<meta charset="UTF-8" />
2024-05-30 10:41:32 +02:00
<title>SpotiFly</title>
2024-06-12 11:18:32 +02:00
<link rel="stylesheet" href="<?= base_url('assets/CSS/style.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/CSS/song.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/CSS/artiste.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/CSS/album.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/CSS/playlist.css') ?>">
2024-05-30 10:05:37 +02:00
</head>
<body>
<main class='contain'>
2024-05-30 10:05:37 +02:00
<header class="navbar">
2024-06-11 16:12:33 +02:00
<img src=<?= base_url('assets/img/Logo1.png') ?> alt="Description de l'image 2">
2024-05-30 10:05:37 +02:00
<div class="logo">
</div>
<nav class="menu">
<ul>
2024-06-11 16:12:33 +02:00
<li><?= anchor('https://dwarves.iut-fbleau.fr/~boutaric/SAEWEB2.2/ci/','Home'); ?></li>
2024-06-12 11:18:32 +02:00
<li><?= anchor('albums','Albums'); ?></li>
<li><?= anchor('artistes','Artistes'); ?> </li>
2024-06-10 16:12:11 +02:00
<?php if ($this->session->userdata('logged')): ?>
<li><?= anchor('playlist','Playlist'); ?></li>
<?php endif ?>
2024-05-30 10:05:37 +02:00
</ul>
</nav>
<div class="user">
2024-06-10 16:12:11 +02:00
<?php if ($this->session->userdata('logged')): ?>
<li class="bouton"><?=anchor('Deconnexion', 'Déconnexion');?></li>
<?php else: ?>
<li class="bouton"><?=anchor('Connexion','Connexion');?></li>
<li class="bouton"><?=anchor('Enregistrer','Enregistrer');?></li>
<?php endif ?>
2024-06-05 11:14:54 +02:00
</div>
</header>
</main>
<script src="../assets/bouton.js"></script>
2024-06-05 11:14:54 +02:00
<button id="scrollTopBtn" onclick="scrollToTop()">
<span>&#8593;</span>
</button>
</body>
2024-06-10 16:12:11 +02:00
</html>