2024-05-22 23:26:06 +02:00
|
|
|
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
|
|
|
class MentionsLegales extends CI_Controller {
|
|
|
|
|
|
|
|
public function __construct(){
|
|
|
|
parent::__construct();
|
|
|
|
$this->load->helper('url');
|
2024-05-23 11:52:41 +02:00
|
|
|
$this->load->helper('html');
|
2024-05-22 23:26:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function index()
|
|
|
|
{
|
2024-05-23 14:33:23 +02:00
|
|
|
include 'temporaire.php';
|
|
|
|
if($logged == true){
|
|
|
|
$this->load->view('layout/header_dark');
|
|
|
|
$this->load->view('layout/header_logged_dark');
|
|
|
|
$this->load->view('mentions-legals');
|
|
|
|
$this->load->view('layout/footer_dark');
|
|
|
|
} else {
|
|
|
|
$this->load->view('layout/header_dark');
|
|
|
|
$this->load->view('layout/header_not_logged_dark');
|
|
|
|
$this->load->view('mentions-legals');
|
|
|
|
$this->load->view('layout/footer_dark');
|
|
|
|
}
|
|
|
|
|
2024-05-22 23:26:06 +02:00
|
|
|
}
|
|
|
|
}
|