mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-11-12 22:01:41 +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();
|
||||
$this->load->model('model_music');
|
||||
$this->load->helper('url');
|
||||
$this->load->helper('html');
|
||||
}
|
||||
|
||||
public function index($page = 1){
|
||||
|
@ -8,6 +8,7 @@ class Artiste extends CI_Controller {
|
||||
$this->load->model('Model_artist');
|
||||
$this->load->model('Model_music');
|
||||
$this->load->helper('url');
|
||||
$this->load->helper('html');
|
||||
}
|
||||
|
||||
public function index($artiste_id){
|
||||
|
@ -7,6 +7,8 @@ public function index() {
|
||||
|
||||
$this->load->helper('url');
|
||||
|
||||
$this->load->helper('html');
|
||||
|
||||
// Appeler la fonction pour récupérer les couvertures d'albums
|
||||
$data['covers'] = $this->Cover_model->get_covers();
|
||||
|
||||
|
@ -6,6 +6,7 @@ class MentionsLegales extends CI_Controller {
|
||||
public function __construct(){
|
||||
parent::__construct();
|
||||
$this->load->helper('url');
|
||||
$this->load->helper('html');
|
||||
}
|
||||
|
||||
public function index()
|
||||
|
@ -8,6 +8,7 @@ class Musiques extends CI_Controller {
|
||||
$this->load->model('Model_music');
|
||||
$this->load->library('pagination');
|
||||
$this->load->helper('url');
|
||||
$this->load->helper('html');
|
||||
}
|
||||
|
||||
public function index($page = 1){
|
||||
|
@ -7,6 +7,7 @@ class Search extends CI_Controller {
|
||||
parent::__construct();
|
||||
$this->load->model('Search_model');
|
||||
$this->load->helper('url');
|
||||
$this->load->helper('html');
|
||||
}
|
||||
|
||||
public function index(){
|
||||
|
@ -8,6 +8,7 @@ class Utilisateur extends CI_Controller {
|
||||
$this->load->helper(array('form', 'url'));
|
||||
$this->load->library(array('form_validation', 'session'));
|
||||
$this->load->model('Utilisateur_model');
|
||||
$this->load->helper('html');
|
||||
}
|
||||
|
||||
public function inscription(){
|
||||
|
@ -1,27 +1,18 @@
|
||||
<!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/footer_dark'); ?>">
|
||||
</head>
|
||||
<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>
|
||||
<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>
|
||||
</footer>
|
||||
</body>
|
||||
<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>
|
||||
</footer>
|
||||
</html>
|
||||
|
@ -3,15 +3,15 @@
|
||||
<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/header_not_logged_dark'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/Logo_ONZEUR.png'); ?>">
|
||||
<?=link_tag('assets/css/header_not_logged_dark')?>
|
||||
<?=link_tag('assets/img/Logo_ONZEUR.png')?>
|
||||
<?=link_tag('assets/css/footer_dark.css')?>
|
||||
</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">
|
||||
<?=img('assets/img/Logo_ONZEUR_DARK.png');?>
|
||||
</a>
|
||||
</div>
|
||||
<nav class="nav">
|
||||
@ -46,5 +46,4 @@
|
||||
document.querySelector('.nav-buttons').classList.toggle('active');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user