rangement fichier + réglage beug

This commit is contained in:
James BOUTARIC 2024-06-12 11:18:32 +02:00
parent 253fd100d8
commit 4e2ccff2e4
33 changed files with 100 additions and 564 deletions

View File

@ -9,9 +9,9 @@ class Connexion extends CI_Controller{
$this->load->model('model_music'); $this->load->model('model_music');
} }
public function index(){ public function index(){
//$this->load->view('layout/header'); $this->load->view('layout/header');
$this->load->view('login'); $this->load->view('login');
//$this->load->view('layout/footer'); $this->load->view('layout/footer');
} }
public function login() { public function login() {
@ -29,7 +29,7 @@ class Connexion extends CI_Controller{
$this->load->view('layout/header'); $this->load->view('layout/header');
redirect('albums'); redirect('albums');
} else { } else {
//$this->load->view('layout/header'); $this->load->view('layout/header');
$this->load->view('login'); $this->load->view('login');
$this->load->view('layout/footer'); $this->load->view('layout/footer');
echo "Invalid login or password"; echo "Invalid login or password";

View File

@ -10,6 +10,6 @@ class Deconnexion extends CI_Controller {
public function index() { public function index() {
$this->session->unset_userdata('logged'); $this->session->unset_userdata('logged');
$this->session->sess_destroy(); $this->session->sess_destroy();
redirect('albums'); redirect('welcome');
} }
} }

View File

@ -8,9 +8,9 @@ class Enregistrer extends CI_Controller{
$this->load->model('model_music'); $this->load->model('model_music');
} }
public function index(){ public function index(){
//$this->load->view('layout/header'); $this->load->view('layout/header');
$this->load->view('SignUp'); $this->load->view('SignUp');
//$this->load->view('layout/footer'); $this->load->view('layout/footer');
} }
public function SignUp() { public function SignUp() {
$pseudo = ''; $pseudo = '';

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -1,3 +1,4 @@
<h2>S'inscrire à SpotiFly</h2>
<form method="post" action="<?php echo base_url('index.php/Enregistrer/SignUp'); ?>"> <form method="post" action="<?php echo base_url('index.php/Enregistrer/SignUp'); ?>">
<input type="text" name="pseudo" placeholder="Pseudo" required> <input type="text" name="pseudo" placeholder="Pseudo" required>
<input type="text" name="login" placeholder="Adresse mail" required> <input type="text" name="login" placeholder="Adresse mail" required>

View File

@ -15,21 +15,9 @@
<nav class="menu"> <nav class="menu">
<ul> <ul>
<li><?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/','Home'); ?></li> <li><?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/','Home'); ?></li>
<li class="menu_déroulant"><?= anchor('albums','Albums'); ?> <li><?= anchor('albums','Albums'); ?>
<div class="menu_déroulant_content">
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/196','New Masters'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/88','Joe Cocker!'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/213','Dylan'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/142','Mothers Milk'); ?>
</div>
</li> </li>
<li class="menu_déroulant"><?= anchor('artistes','Artistes'); ?> <li><?= anchor('artistes','Artistes'); ?>
<div class="menu_déroulant_content">
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/artistes/view/34','Queen'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/21','Slayer'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/63','Muse'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/62','Tool'); ?>
</div>
</li> </li>
<?php if ($this->session->userdata('logged')): ?> <?php if ($this->session->userdata('logged')): ?>
<li><?= anchor('playlist','Playlist'); ?></li> <li><?= anchor('playlist','Playlist'); ?></li>

View File

@ -1,5 +1,5 @@
<section class="container"> <section class="albums">
<?php <?php
foreach($albums as $album){ foreach($albums as $album){
echo "<div class='album'><article>"; echo "<div class='album'><article>";

View File

@ -1,27 +0,0 @@
<div class="content">
<section id="about" class="box">
<div class="box-content">
<img src=<?= base_url('assets/img/musique.png') ?> alt="Description de l'image 2">
<div class="text-content">
<h2>Créer une nouvelle Playlist</h2>
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post" class="playlist-form">
<label for="name_playlist" class="playlist-label">Nom de la Playlist:</label>
<input type="text" name="name_playlist" id="name_playlist" class="playlist-input" required>
<button type="submit" name="submit" class="playlist-button">Créer</button>
</div>
</div>
</section>
<section id="product" class="box">
<div class="box-img">
<img src=<?= base_url('assets/img/musique1.png') ?> alt="Description de l'image 2">
<div class="text-content">
<h2>Créer une playlist aléatoire</h2>
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post" class="playlist-form">
<label for="name_playlist" class="playlist-label">Nom de la Playlist:</label>
<input type="text" name="name_playlist" id="name_playlist" class="playlist-input" required>
<button type="submit" name="submit" class="playlist-button">Créer</button>
</div>
</div>
</section>
</div>
</form>

View File

@ -1,8 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
echo "\nERROR: ",
$heading,
"\n\n",
$message,
"\n\n";

View File

@ -1,8 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
echo "\nDatabase error: ",
$heading,
"\n\n",
$message,
"\n\n";

View File

@ -1,21 +0,0 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
An uncaught Exception was encountered
Type: <?php echo get_class($exception), "\n"; ?>
Message: <?php echo $message, "\n"; ?>
Filename: <?php echo $exception->getFile(), "\n"; ?>
Line Number: <?php echo $exception->getLine(); ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
Backtrace:
<?php foreach ($exception->getTrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
File: <?php echo $error['file'], "\n"; ?>
Line: <?php echo $error['line'], "\n"; ?>
Function: <?php echo $error['function'], "\n\n"; ?>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>

View File

@ -1,8 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
echo "\nERROR: ",
$heading,
"\n\n",
$message,
"\n\n";

View File

@ -1,21 +0,0 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
A PHP Error was encountered
Severity: <?php echo $severity, "\n"; ?>
Message: <?php echo $message, "\n"; ?>
Filename: <?php echo $filepath, "\n"; ?>
Line Number: <?php echo $line; ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
Backtrace:
<?php foreach (debug_backtrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
File: <?php echo $error['file'], "\n"; ?>
Line: <?php echo $error['line'], "\n"; ?>
Function: <?php echo $error['function'], "\n\n"; ?>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>

View File

@ -1,64 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>404 Page Not Found</title>
<style type="text/css">
::selection { background-color: #E13300; color: white; }
::-moz-selection { background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
box-shadow: 0 0 8px #D0D0D0;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="container">
<h1><?php echo $heading; ?></h1>
<?php echo $message; ?>
</div>
</body>
</html>

View File

@ -1,64 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Database Error</title>
<style type="text/css">
::selection { background-color: #E13300; color: white; }
::-moz-selection { background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
box-shadow: 0 0 8px #D0D0D0;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="container">
<h1><?php echo $heading; ?></h1>
<?php echo $message; ?>
</div>
</body>
</html>

View File

@ -1,32 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>An uncaught Exception was encountered</h4>
<p>Type: <?php echo get_class($exception); ?></p>
<p>Message: <?php echo $message; ?></p>
<p>Filename: <?php echo $exception->getFile(); ?></p>
<p>Line Number: <?php echo $exception->getLine(); ?></p>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
<p>Backtrace:</p>
<?php foreach ($exception->getTrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
<p style="margin-left:10px">
File: <?php echo $error['file']; ?><br />
Line: <?php echo $error['line']; ?><br />
Function: <?php echo $error['function']; ?>
</p>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
</div>

View File

@ -1,64 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
<style type="text/css">
::selection { background-color: #E13300; color: white; }
::-moz-selection { background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
box-shadow: 0 0 8px #D0D0D0;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="container">
<h1><?php echo $heading; ?></h1>
<?php echo $message; ?>
</div>
</body>
</html>

View File

@ -1,33 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>A PHP Error was encountered</h4>
<p>Severity: <?php echo $severity; ?></p>
<p>Message: <?php echo $message; ?></p>
<p>Filename: <?php echo $filepath; ?></p>
<p>Line Number: <?php echo $line; ?></p>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
<p>Backtrace:</p>
<?php foreach (debug_backtrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
<p style="margin-left:10px">
File: <?php echo $error['file'] ?><br />
Line: <?php echo $error['line'] ?><br />
Function: <?php echo $error['function'] ?>
</p>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
</div>

View File

@ -1,32 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connexion Spotify</title>
<link rel="stylesheet" href="assets/connexion.css">
</head>
<body>
<div class="container">
<div class="login-box">
<h1>Se connecter à Spotify</h1>
<form action="/login" method="post">
<div class="textbox">
<input type="email" placeholder="Adresse e-mail" name="email" required>
</div>
<div class="textbox">
<input type="password" placeholder="Mot de passe" name="password" required>
</div>
<button type="submit" class="btn">Se connecter</button>
</form>
<hr>
<div class="alt-login">
<p>Ou se connecter avec</p>
<button class="btn social-btn apple">Apple</button>
<button class="btn social-btn google">Google</button>
<button class="btn social-btn facebook">Facebook</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -3,8 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>MUSIC APP</title> <title>MUSIC APP</title>
<link rel="stylesheet" href="<?= base_url('assets/style.css') ?>"> <link rel="stylesheet" href="<?= base_url('assets/CSS/style.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/playlist.css') ?>">
</head> </head>
<body> <body>
<footer class="footer"> <footer class="footer">

View File

@ -1,50 +0,0 @@
<!doctype html>
<html lang="fr" class="has-navbar-fixed-top">
<head>
<meta charset="UTF-8" />
<title>SpotiFly</title>
<link rel="stylesheet" href="<?= base_url('assets/style.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/song.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/artiste.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/album.css') ?>">
</head>
<body>
<main class='container'>
<header class="navbar">
<div class="logo">
<img src="../assets/img/Logo1.png" alt="SpotiFly">
</div>
<nav class="menu">
<ul>
<li><?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/','Home'); ?></li>
<li class="menu_déroulant"><?= anchor('albums','Albums'); ?>
<div class="menu_déroulant_content">
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/196','New Masters'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/88','Joe Cocker!'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/213','Dylan'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/142','Mothers Milk'); ?>
</div>
</li>
<li class="menu_déroulant"><?= anchor('artistes','Artistes'); ?>
<div class="menu_déroulant_content">
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/artistes/view/34','Queen'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/21','Slayer'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/63','Muse'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~gallego/SAEWEB2.2/ci/index.php/Song/view/62','Tool'); ?>
</div>
</li>
<li><?= anchor('playlist','Playlist'); ?></li>
</ul>
</nav>
<div class="user">
<a class="bouton" href="connexion.php">Connexion</a>
<a class="bouton" href="html/Inscription.html">S'inscrire</a>
</div>
</header>
</main>
<script src="../assets/bouton.js"></script>
<button id="scrollTopBtn" onclick="scrollToTop()">
<span>&#8593;</span>
</button>
</body>
</html>

View File

@ -3,11 +3,11 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>SpotiFly</title> <title>SpotiFly</title>
<link rel="stylesheet" href="<?= base_url('assets/style.css') ?>"> <link rel="stylesheet" href="<?= base_url('assets/CSS/style.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/song.css') ?>"> <link rel="stylesheet" href="<?= base_url('assets/CSS/song.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/artiste.css') ?>"> <link rel="stylesheet" href="<?= base_url('assets/CSS/artiste.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/album.css') ?>"> <link rel="stylesheet" href="<?= base_url('assets/CSS/album.css') ?>">
<link rel="stylesheet" href="<?= base_url('assets/playlist.css') ?>"> <link rel="stylesheet" href="<?= base_url('assets/CSS/playlist.css') ?>">
</head> </head>
<body> <body>
<main class='contain'> <main class='contain'>
@ -18,22 +18,8 @@
<nav class="menu"> <nav class="menu">
<ul> <ul>
<li><?= anchor('https://dwarves.iut-fbleau.fr/~boutaric/SAEWEB2.2/ci/','Home'); ?></li> <li><?= anchor('https://dwarves.iut-fbleau.fr/~boutaric/SAEWEB2.2/ci/','Home'); ?></li>
<li class="menu_déroulant"><?= anchor('albums','Albums'); ?> <li><?= anchor('albums','Albums'); ?></li>
<div class="menu_déroulant_content"> <li><?= anchor('artistes','Artistes'); ?> </li>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/196','New Masters'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/88','Joe Cocker!'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/213','Dylan'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/142','Mothers Milk'); ?>
</div>
</li>
<li class="menu_déroulant"><?= anchor('artistes','Artistes'); ?>
<div class="menu_déroulant_content">
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/artistes/view/34','Queen'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/21','Slayer'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/63','Muse'); ?>
<?= anchor('https://dwarves.iut-fbleau.fr/~brigitte/SAEWEB2.2/ci/index.php/Song/view/62','Tool'); ?>
</div>
</li>
<?php if ($this->session->userdata('logged')): ?> <?php if ($this->session->userdata('logged')): ?>
<li><?= anchor('playlist','Playlist'); ?></li> <li><?= anchor('playlist','Playlist'); ?></li>
<?php endif ?> <?php endif ?>

View File

@ -1,5 +1,9 @@
<form method="post" action="<?php echo base_url('index.php/Connexion/login'); ?>"> <!-- login.php -->
<input type="text" name="login" placeholder="Adresse mail" required> <div class="login">
<input type="password" name="password" placeholder="Mot de passe" required> <h2>Se connecter à SpotiFly</h2>
<button type="submit">Submit</button> <form method="post" action="<?php echo base_url('index.php/Connexion/login'); ?>">
</form> <input type="text" name="login" placeholder="Adresse mail" required>
<input type="password" name="password" placeholder="Mot de passe" required>
<button type="submit">Se connecter</button>
</form>
</div>

View File

@ -0,0 +1,32 @@
<div class="content">
<div class="mention_legale">
<section>
<h2>Mentions Légales</h2>
<p>
<strong>Raison sociale :</strong> CogniCube<br>
<strong>Siège social :</strong> <a href="https://www.google.fr/maps/place/IUT+S%C3%A9nart-Fontainebleau/@48.3977457,2.6842742,17z/data=!3m1!4b1!4m6!3m5!1s0x47e5f482d85b7b99:0x25ca8642ba306cfc!8m2!3d48.3977457!4d2.6868545!16s%2Fg%2F1tksmnpc?entry=ttu" target="_blank">Route forestière Hurtault, Route Forestière de la Génisse, 77300 Fontainebleau</a><br>
<strong>Numéro de téléphone :</strong> <a href="tel:+33175489632">+33 01 60 54 02 98</a><br>
<strong>Adresse e-mail :</strong> <a href="mailto:contact.CogniCube@gmail.co">contact.CogniCube@gmail.com</a><br>
<br>
</p>
<p>
<strong>Hébergeur :</strong> IUT de Fontainebleau<br>
</p>
<p>
<strong>Droits d'auteur :</strong> © 2024 CogniCube. Tous droits réservés.
</p>
<p>
<strong>Projet d'étude à l'IUT de Fontainebleau :</strong> Ce site web a été réalisé dans le cadre d'une SAE. Il s'agit d'une création d'entreprise fictive à des fins éducatives, développée par : <br> - James Boutaric <br> - Aman Khan <br> - Jude-Christ Aissi
</p>
<p>
<strong>CogniCube - Entreprise fictive :</strong> CogniCube est une entreprise fictive créée à des fins pédagogiques. Toutes les informations sont purement imaginaires et ne représentent aucune entité réelle.
</p>
<p>
<strong>Crédits :</strong> Les images, vidéos, et autres contenus utilisés sur ce site sont soit des créations originales des étudiants du projet.
</p>
<p>
<strong>Contact :</strong> Pour toute question concernant ce projet, veuillez nous contacter aux adresses suivante : <br> <a href="mailto:james.boutaric@etu.u-pec.fr">- james.boutaric@etu.u-pec.fr</a> <br> <a href="mailto:aman.khan@etu.u-pec.fr">- aman_khan@etu.u-pec.fr</a> <br> <a href="mailto:jude.aissi@etu.u-pec.fr">- jude_aissi@etu.u-pec.fr</a>
</p>
</section>
</div>
</div>

View File

@ -1,9 +1,34 @@
<?php
echo "<div class='playlist-container'>"; <div class="content">
echo "<form action='" . base_url("index.php/playlist/MenuCreate/") . "' method='post'>"; <section id="about" class="box">
echo "<button type='submit' class='create-button'>Create</button>"; <div class="box-content">
echo "</form>"; <img src=<?= base_url('assets/img/musique.png') ?> alt="Description de l'image 2">
<div class="text-content">
<h2>Créer une nouvelle Playlist</h2>
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post" class="playlist-form">
<label for="name_playlist" class="playlist-label">Nom de la Playlist:</label>
<input type="text" name="name_playlist" id="name_playlist" class="playlist-input" required>
<button type="submit" name="submit" class="playlist-button">Créer</button>
</div>
</div>
</section>
<section id="product" class="box">
<div class="box-img">
<img src=<?= base_url('assets/img/musique1.png') ?> alt="Description de l'image 2">
<div class="text-content">
<h2>Créer une playlist aléatoire</h2>
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post" class="playlist-form">
<label for="name_playlist" class="playlist-label">Nom de la Playlist:</label>
<input type="text" name="name_playlist" id="name_playlist" class="playlist-input" required>
<button type="submit" name="submit" class="playlist-button">Créer</button>
</div>
</div>
</section>
</div>
<div id="header"> </div>
</form>
<?php
foreach($playlists as $playlist){ foreach($playlists as $playlist){
echo "<div class='playlist-item'>"; echo "<div class='playlist-item'>";
echo "<header class='short-text'>"; echo "<header class='short-text'>";

View File

@ -1,4 +1,4 @@
.container { .albums {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;

View File

@ -1,21 +1,3 @@
/* artiste.css */
/* Corps principal */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
/* Conteneur principal */
.container {
width: 100%;
margin: auto;
overflow: hidden;
}
/* Section des artistes */
.artiste { .artiste {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -23,7 +5,6 @@ body {
margin-top: 20px; margin-top: 20px;
} }
/* Style des liens des artistes */
.artiste a { .artiste a {
display: block; display: block;
width: 80%; width: 80%;
@ -38,13 +19,11 @@ body {
transition: background-color 0.3s, border-color 0.3s; transition: background-color 0.3s, border-color 0.3s;
} }
/* Effet au survol des liens des artistes */
.artiste a:hover { .artiste a:hover {
background-color: #f0f0f0; background-color: #f0f0f0;
border-color: #ccc; border-color: #ccc;
} }
/* Couleur des liens visités */
.artiste a:visited { .artiste a:visited {
color: #333; color: #333;
} }

View File

@ -4,8 +4,15 @@ body {
font-size: 16px; font-size: 16px;
height: 80%; height: 80%;
padding-top: 100px; padding-top: 100px;
padding-right: 50px; margin-right: 5px;
} }
.content {
max-width: 1200px;
margin: 80px auto 0;
padding: 20px;
}
.navbar a { .navbar a {
color: white; color: white;
text-decoration: none; text-decoration: none;
@ -71,35 +78,6 @@ body {
font-family: Open Sans, 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-family: Open Sans, 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 1.2rem; font-size: 1.2rem;
} }
.menu_déroulant {
position: relative;
}
.menu_déroulant:hover .menu_déroulant_content {
display: block;
}
.menu_déroulant_content {
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: black;
min-width: 170px;
border-radius: 5px;
z-index: 1;
}
.menu_déroulant_content a {
color: #fff;
padding: 10px;
text-decoration: none;
display: block;
}
.menu_déroulant_content a:hover {
color: #1ed860;
}
#Page { #Page {
text-align: center; text-align: center;
padding: 50px 0; padding: 50px 0;
@ -122,11 +100,7 @@ body {
padding: 2px 0; padding: 2px 0;
} }
.content {
max-width: 1200px;
margin: 80px auto 0;
padding: 20px;
}
.mention_legale h2{ .mention_legale h2{
color: #1ed860; color: #1ed860;
font-size: 2em; font-size: 2em;
@ -174,7 +148,7 @@ body {
text-align: center; text-align: center;
} }
.box h2 { .box h2 {
color: #81b71a; color: #1ed860;
font-weight: bold; font-weight: bold;
font-family: 'Open Sans', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-family: 'Open Sans', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 3.5em; font-size: 3.5em;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

View File

@ -1,9 +0,0 @@
body{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: white;
font-size: 16px;
height: 80%;
}