Commit de Moncef : Ajout de foncitonnalités
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/album_view.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/album_view'); ?>">
|
||||
<title><?php echo $album->name; ?> - Details</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/style.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/style'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/Logo_ONZEUR.png'); ?>">
|
||||
<title>Albums - Onzeur</title>
|
||||
</head>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/artiste_details.css'); ?>">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/artiste_details'); ?>">
|
||||
<title>Détails de l'artiste <?php echo $artiste->name; ?></title>
|
||||
</head>
|
||||
<body>
|
||||
|
@@ -15,7 +15,7 @@
|
||||
<a href="https://www.youtube.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/youtube.png'); ?>" alt="Youtube"></a>
|
||||
</div>
|
||||
<div class="legal">
|
||||
<a href="#" class="legal-link">Mentions légales</a>
|
||||
<a href="<?php echo site_url('MentionsLegales'); ?>" class="legal-link">Mentions légales</a>
|
||||
<span>|</span>
|
||||
<span>© 2024 Onzeur</span>
|
||||
<span>|</span>
|
||||
|
@@ -7,29 +7,39 @@
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/Logo_ONZEUR.png'); ?>">
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<div class="header-content">
|
||||
<div class="logo">
|
||||
<a href="<?php echo site_url('home'); ?>">
|
||||
<img src="<?php echo base_url('assets/img/Logo_ONZEUR_DARK.png'); ?>" alt="Logo de ONZEUR">
|
||||
</a>
|
||||
</div>
|
||||
<nav class="nav">
|
||||
<div class="nav-buttons">
|
||||
<a href="<?php echo site_url('albums'); ?>" class="btn-albums">Albums</a>
|
||||
<a href="<?php echo site_url('artiste/list_artists'); ?>" class="btn-artistes">Artistes</a>
|
||||
<a href="<?php echo site_url('musiques'); ?>" class="btn-musiques">Musiques</a>
|
||||
<a href="#CONNEXIONBIENTOT" class="btn-connexion">Connexion</a>
|
||||
<a href="#INSCRIPTIONBIENTOT" class="btn-inscription">Inscription</a>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="menu-toggle">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
<header class="header">
|
||||
<div class="header-content">
|
||||
<div class="logo">
|
||||
<a href="<?php echo site_url('home'); ?>">
|
||||
<img src="<?php echo base_url('assets/img/Logo_ONZEUR_DARK.png'); ?>" alt="Logo de ONZEUR">
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
<nav class="nav">
|
||||
<div class="nav-buttons">
|
||||
<form action="<?php echo site_url('search'); ?>" method="get" class="search-form">
|
||||
<input type="text" name="query" placeholder="Recherche...">
|
||||
<button type="submit">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="15px" height="15px">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.94-5-5.75-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.81 2.56 5.28 5.34 5.75a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
|
||||
</svg>
|
||||
</button>
|
||||
</form>
|
||||
<a href="<?php echo site_url('albums'); ?>" class="btn-albums">Albums</a>
|
||||
<a href="<?php echo site_url('artiste/list_artists'); ?>" class="btn-artistes">Artistes</a>
|
||||
<a href="<?php echo site_url('musiques'); ?>" class="btn-musiques">Musiques</a>
|
||||
<a href="#CONNEXIONBIENTOT" class="btn-connexion">Connexion</a>
|
||||
<a href="#INSCRIPTIONBIENTOT" class="btn-inscription">Inscription</a>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="menu-toggle">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<script>
|
||||
document.querySelector('.menu-toggle').addEventListener('click', function() {
|
||||
|
42
CodeIgniter-3.1.13/application/views/mentions-legals.php
Normal file
42
CodeIgniter-3.1.13/application/views/mentions-legals.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/mention-legals'); ?>">
|
||||
<title>Mentions Légales</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Mentions Légales</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<h2>1. Informations sur l'éditeur du site</h2>
|
||||
<p>Ce site web est une "parodie" du site web de Deezer. Il a été réalisé dans le cadre d'un projet scolaire et n'est en aucun cas lié à une activité commerciale ou autre type.</p>
|
||||
<p>Adresse de l'école : IUT de Fontainebleau - Route Hurtault, 77300 Fontainebleau, France</p>
|
||||
<p>Noms des étudiants : Moncef STITI, Marco ORFAO et Louay DARDOURI</p>
|
||||
<p>Email du chef de projet : <a href="mailto:moncef.stiti@etu.u-pec.fr">moncef.stiti@etu.u-pec.fr</a></p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>2. Directeur de la publication</h2>
|
||||
<p>Nom : Moncef STITI</p>
|
||||
<p>Contact : <a href="mailto:moncef.stiti@etu.u-pec.fr">moncef.stiti@etu.u-pec.fr</a></p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>3. Hébergeur du site</h2>
|
||||
<p>Raison sociale : IUT de Fontainebleau</p>
|
||||
<p>Adresse : Route Hurtault, 77300 Fontainebleau, France</p>
|
||||
<p>Téléphone : +33 1 60 74 68 00</p>
|
||||
<p>Email : <a href="mailto:brouard@u-pec.fr">brouard@u-pec.fr</a></p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Cette page de mentions légales est conforme aux exigences légales en vigueur. Dernière mise à jour : 22 mai 2024.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
52
CodeIgniter-3.1.13/application/views/search_results.php
Normal file
52
CodeIgniter-3.1.13/application/views/search_results.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Résultats de la recherche</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Résultats de la recherche pour "<?php echo $query; ?>"</h2>
|
||||
|
||||
<?php if (!empty($musiques)): ?>
|
||||
<h3>Musiques</h3>
|
||||
<ul>
|
||||
<?php foreach($musiques as $musique): ?>
|
||||
<li><?php echo $musique->name; ?> - <?php echo $musique->artistName; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($albums)): ?>
|
||||
<h3>Albums</h3>
|
||||
<ul>
|
||||
<?php foreach($albums as $album): ?>
|
||||
<li><?php echo $album->name; ?> by <?php echo $album->artistName; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($genres)): ?>
|
||||
<h3>Genres</h3>
|
||||
<ul>
|
||||
<?php foreach($genres as $genre): ?>
|
||||
<li><?php echo $genre->name; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($artistes)): ?>
|
||||
<h3>Artistes</h3>
|
||||
<ul>
|
||||
<?php foreach($artistes as $artiste): ?>
|
||||
<li><?php echo $artiste->name; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (empty($musiques) && empty($albums) && empty($genres) && empty($artistes)): ?>
|
||||
<p>Aucun résultat trouvé.</p>
|
||||
<?php endif; ?>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user