mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-11-09 21:11:40 +01:00
réglage de bugs + optimisation du code
This commit is contained in:
parent
e55821b0fe
commit
deca6ccb93
@ -7,6 +7,7 @@ class Albums extends CI_Controller {
|
|||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->load->model('model_music');
|
$this->load->model('model_music');
|
||||||
$this->load->helper('url');
|
$this->load->helper('url');
|
||||||
|
$this->load->helper('html');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index($page = 1){
|
public function index($page = 1){
|
||||||
|
@ -8,6 +8,7 @@ class Artiste extends CI_Controller {
|
|||||||
$this->load->model('Model_artist');
|
$this->load->model('Model_artist');
|
||||||
$this->load->model('Model_music');
|
$this->load->model('Model_music');
|
||||||
$this->load->helper('url');
|
$this->load->helper('url');
|
||||||
|
$this->load->helper('html');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index($artiste_id){
|
public function index($artiste_id){
|
||||||
|
@ -7,6 +7,8 @@ public function index() {
|
|||||||
|
|
||||||
$this->load->helper('url');
|
$this->load->helper('url');
|
||||||
|
|
||||||
|
$this->load->helper('html');
|
||||||
|
|
||||||
// Appeler la fonction pour récupérer les couvertures d'albums
|
// Appeler la fonction pour récupérer les couvertures d'albums
|
||||||
$data['covers'] = $this->Cover_model->get_covers();
|
$data['covers'] = $this->Cover_model->get_covers();
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ class MentionsLegales extends CI_Controller {
|
|||||||
public function __construct(){
|
public function __construct(){
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->load->helper('url');
|
$this->load->helper('url');
|
||||||
|
$this->load->helper('html');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index()
|
public function index()
|
||||||
|
@ -8,6 +8,7 @@ class Musiques extends CI_Controller {
|
|||||||
$this->load->model('Model_music');
|
$this->load->model('Model_music');
|
||||||
$this->load->library('pagination');
|
$this->load->library('pagination');
|
||||||
$this->load->helper('url');
|
$this->load->helper('url');
|
||||||
|
$this->load->helper('html');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index($page = 1){
|
public function index($page = 1){
|
||||||
|
@ -7,6 +7,7 @@ class Search extends CI_Controller {
|
|||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->load->model('Search_model');
|
$this->load->model('Search_model');
|
||||||
$this->load->helper('url');
|
$this->load->helper('url');
|
||||||
|
$this->load->helper('html');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index(){
|
public function index(){
|
||||||
|
@ -8,6 +8,7 @@ class Utilisateur extends CI_Controller {
|
|||||||
$this->load->helper(array('form', 'url'));
|
$this->load->helper(array('form', 'url'));
|
||||||
$this->load->library(array('form_validation', 'session'));
|
$this->load->library(array('form_validation', 'session'));
|
||||||
$this->load->model('Utilisateur_model');
|
$this->load->model('Utilisateur_model');
|
||||||
|
$this->load->helper('html');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inscription(){
|
public function inscription(){
|
||||||
|
@ -1,27 +1,18 @@
|
|||||||
<!DOCTYPE html>
|
<footer class="footer">
|
||||||
<html lang="fr">
|
<div class="footer-content">
|
||||||
<head>
|
<div class="social-links">
|
||||||
<meta charset="UTF-8">
|
<a href="https://www.instagram.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/instagram.png'); ?>" alt="Instagram"></a>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<a href="https://www.facebook.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/facebook.png'); ?>" alt="Facebook"></a>
|
||||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/footer_dark'); ?>">
|
<a href="https://www.snapchat.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/snapchat.png'); ?>" alt="Snapchat"></a>
|
||||||
</head>
|
<a href="https://www.youtube.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/youtube.png'); ?>" alt="Youtube"></a>
|
||||||
<body>
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="footer-content">
|
|
||||||
<div class="social-links">
|
|
||||||
<a href="https://www.instagram.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/instagram.png'); ?>" alt="Instagram"></a>
|
|
||||||
<a href="https://www.facebook.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/facebook.png'); ?>" alt="Facebook"></a>
|
|
||||||
<a href="https://www.snapchat.com" class="social-icon"><img src="<?php echo base_url('assets/img/reseaux_sociaux/snapchat.png'); ?>" alt="Snapchat"></a>
|
|
||||||
<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="<?php echo site_url('MentionsLegales'); ?>" class="legal-link">Mentions légales</a>
|
|
||||||
<span>|</span>
|
|
||||||
<span>© 2024 Onzeur</span>
|
|
||||||
<span>|</span>
|
|
||||||
<a href="#" class="legal-link">Nous contacter</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
<div class="legal">
|
||||||
</body>
|
<a href="<?php echo site_url('MentionsLegales'); ?>" class="legal-link">Mentions légales</a>
|
||||||
|
<span>|</span>
|
||||||
|
<span>© 2024 Onzeur</span>
|
||||||
|
<span>|</span>
|
||||||
|
<a href="#" class="legal-link">Nous contacter</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
</html>
|
</html>
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/header_not_logged_dark'); ?>">
|
<?=link_tag('assets/css/header_not_logged_dark')?>
|
||||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/Logo_ONZEUR.png'); ?>">
|
<?=link_tag('assets/img/Logo_ONZEUR.png')?>
|
||||||
|
<?=link_tag('assets/css/footer_dark.css')?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<div class="header-content">
|
<div class="header-content">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<a href="<?php echo site_url('home'); ?>">
|
<a href="<?php echo site_url('home'); ?>">
|
||||||
<img src="<?php echo base_url('assets/img/Logo_ONZEUR_DARK.png'); ?>" alt="Logo de ONZEUR">
|
<?=img('assets/img/Logo_ONZEUR_DARK.png');?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
@ -46,5 +46,4 @@
|
|||||||
document.querySelector('.nav-buttons').classList.toggle('active');
|
document.querySelector('.nav-buttons').classList.toggle('active');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user