correction bug d'erreur
This commit is contained in:
parent
4a96b41d03
commit
9d3ff72100
10 changed files with 135 additions and 187 deletions
|
|
@ -85,6 +85,7 @@
|
||||||
|
|
||||||
$this->_arrData['arrProjectToDisplay'] = $arrProjectToDisplay;
|
$this->_arrData['arrProjectToDisplay'] = $arrProjectToDisplay;
|
||||||
$this->_arrData['arrCategory'] = $arrCategory;
|
$this->_arrData['arrCategory'] = $arrCategory;
|
||||||
|
$this->_arrData['arrProject'] = $arrProject;
|
||||||
$this->_arrData['arrUser'] = $arrUser;
|
$this->_arrData['arrUser'] = $arrUser;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -147,6 +147,7 @@ class UserCtrl extends MotherCtrl {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Affichage de la vue inscription
|
// Affichage de la vue inscription
|
||||||
|
$this->_arrData["arrError"] = $arrError;
|
||||||
$this->_display("inscription");
|
$this->_display("inscription");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-11 16:45:26
|
/* Smarty version 5.7.0, created on 2026-02-11 16:50:16
|
||||||
from 'file:views/home.tpl' */
|
from 'file:views/home.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698cb226808f21_86889286',
|
'unifunc' => 'content_698cb3489df022_21637833',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -21,20 +21,20 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'file:views/_partial/preview.tpl' => 1,
|
'file:views/_partial/preview.tpl' => 1,
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698cb226808f21_86889286 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb3489df022_21637833 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_702794187698cb226804e46_22039504', "content");
|
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_625675898698cb3489daba8_53798441', "content");
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php $_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
<?php $_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
||||||
}
|
}
|
||||||
/* {block "content"} */
|
/* {block "content"} */
|
||||||
class Block_702794187698cb226804e46_22039504 extends \Smarty\Runtime\Block
|
class Block_625675898698cb3489daba8_53798441 extends \Smarty\Runtime\Block
|
||||||
{
|
{
|
||||||
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-11 16:45:32
|
/* Smarty version 5.7.0, created on 2026-02-11 16:54:33
|
||||||
from 'file:views/layout.tpl' */
|
from 'file:views/layout.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698cb22c0fba06_93938818',
|
'unifunc' => 'content_698cb4496b9cb3_04936871',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -22,21 +22,21 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'file:views/_partial/footer.tpl' => 1,
|
'file:views/_partial/footer.tpl' => 1,
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698cb22c0fba06_93938818 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb4496b9cb3_04936871 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
$_smarty_tpl->getInheritance()->init($_smarty_tpl, false);
|
$_smarty_tpl->getInheritance()->init($_smarty_tpl, false);
|
||||||
$_smarty_tpl->renderSubTemplate("file:views/_partial/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
|
$_smarty_tpl->renderSubTemplate("file:views/_partial/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_335426824698cb22c0fa1f5_59224788', "content");
|
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_382193566698cb4496b8402_05526599', "content");
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php $_smarty_tpl->renderSubTemplate("file:views/_partial/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
|
<?php $_smarty_tpl->renderSubTemplate("file:views/_partial/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
|
||||||
}
|
}
|
||||||
/* {block "content"} */
|
/* {block "content"} */
|
||||||
class Block_335426824698cb22c0fa1f5_59224788 extends \Smarty\Runtime\Block
|
class Block_382193566698cb4496b8402_05526599 extends \Smarty\Runtime\Block
|
||||||
{
|
{
|
||||||
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-11 16:45:32
|
/* Smarty version 5.7.0, created on 2026-02-11 16:54:33
|
||||||
from 'file:views/_partial/footer.tpl' */
|
from 'file:views/_partial/footer.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698cb22c31f069_74633644',
|
'unifunc' => 'content_698cb4497a9957_69792336',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
array (
|
array (
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698cb22c31f069_74633644 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb4497a9957_69792336 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
||||||
?>
|
?>
|
||||||
<footer class="footer container-fluid d-flex justify-content-around">
|
<footer class="footer container-fluid d-flex justify-content-around">
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-11 16:45:32
|
/* Smarty version 5.7.0, created on 2026-02-11 16:54:28
|
||||||
from 'file:views/_partial/preview.tpl' */
|
from 'file:views/_partial/preview.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698cb22c205107_49895293',
|
'unifunc' => 'content_698cb444c774d7_84020681',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
array (
|
array (
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698cb22c205107_49895293 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb444c774d7_84020681 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-10 12:08:50
|
/* Smarty version 5.7.0, created on 2026-02-11 16:54:33
|
||||||
from 'file:views/search.tpl' */
|
from 'file:views/search.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698b1fd2698769_42709444',
|
'unifunc' => 'content_698cb449528ce0_29774694',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -21,18 +21,18 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'file:views/_partial/preview.tpl' => 1,
|
'file:views/_partial/preview.tpl' => 1,
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698b1fd2698769_42709444 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb449528ce0_29774694 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1250328584698b1fd263a267_71319682', "content");
|
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1725036509698cb4495172e5_57583375', "content");
|
||||||
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
||||||
}
|
}
|
||||||
/* {block "content"} */
|
/* {block "content"} */
|
||||||
class Block_1250328584698b1fd263a267_71319682 extends \Smarty\Runtime\Block
|
class Block_1725036509698cb4495172e5_57583375 extends \Smarty\Runtime\Block
|
||||||
{
|
{
|
||||||
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-11 16:45:32
|
/* Smarty version 5.7.0, created on 2026-02-11 16:54:33
|
||||||
from 'file:views/_partial/header.tpl' */
|
from 'file:views/_partial/header.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698cb22c174be6_98238317',
|
'unifunc' => 'content_698cb44972d2f4_15349681',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
array (
|
array (
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698cb22c174be6_98238317 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb44972d2f4_15349681 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-11 16:45:31
|
/* Smarty version 5.7.0, created on 2026-02-11 16:46:56
|
||||||
from 'file:views/user.tpl' */
|
from 'file:views/user.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_698cb22bf10520_97303160',
|
'unifunc' => 'content_698cb2800e84d0_43477988',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
|
|
@ -21,18 +21,18 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'file:views/_partial/preview.tpl' => 1,
|
'file:views/_partial/preview.tpl' => 1,
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_698cb22bf10520_97303160 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb2800e84d0_43477988 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1767111791698cb22bf02113_69556474', "content");
|
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_2003790771698cb2800d9f81_10343438', "content");
|
||||||
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
||||||
}
|
}
|
||||||
/* {block "content"} */
|
/* {block "content"} */
|
||||||
class Block_1767111791698cb22bf02113_69556474 extends \Smarty\Runtime\Block
|
class Block_2003790771698cb2800d9f81_10343438 extends \Smarty\Runtime\Block
|
||||||
{
|
{
|
||||||
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
<?php
|
<?php
|
||||||
/* Smarty version 5.7.0, created on 2026-02-09 10:06:01
|
/* Smarty version 5.7.0, created on 2026-02-11 16:46:47
|
||||||
from 'file:views/admin.tpl' */
|
from 'file:views/admin.tpl' */
|
||||||
|
|
||||||
/* @var \Smarty\Template $_smarty_tpl */
|
/* @var \Smarty\Template $_smarty_tpl */
|
||||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
'version' => '5.7.0',
|
'version' => '5.7.0',
|
||||||
'unifunc' => 'content_6989b189902285_60575184',
|
'unifunc' => 'content_698cb277dd9632_57655004',
|
||||||
'has_nocache_code' => false,
|
'has_nocache_code' => false,
|
||||||
'file_dependency' =>
|
'file_dependency' =>
|
||||||
array (
|
array (
|
||||||
'f80694cc4829becd656ad4f73c431db5dba4722b' =>
|
'f80694cc4829becd656ad4f73c431db5dba4722b' =>
|
||||||
array (
|
array (
|
||||||
0 => 'views/admin.tpl',
|
0 => 'views/admin.tpl',
|
||||||
1 => 1770630804,
|
1 => 1770827564,
|
||||||
2 => 'file',
|
2 => 'file',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -20,193 +20,139 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||||
array (
|
array (
|
||||||
),
|
),
|
||||||
))) {
|
))) {
|
||||||
function content_6989b189902285_60575184 (\Smarty\Template $_smarty_tpl) {
|
function content_698cb277dd9632_57655004 (\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_13716580806989b1898f9564_82803825', "content");
|
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_186078871698cb277dcbef8_81710710', "content");
|
||||||
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
|
||||||
}
|
}
|
||||||
/* {block "content"} */
|
/* {block "content"} */
|
||||||
class Block_13716580806989b1898f9564_82803825 extends \Smarty\Runtime\Block
|
class Block_186078871698cb277dcbef8_81710710 extends \Smarty\Runtime\Block
|
||||||
{
|
{
|
||||||
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
public function callBlock(\Smarty\Template $_smarty_tpl) {
|
||||||
$_smarty_current_dir = 'D:\\projetphp\\views';
|
$_smarty_current_dir = 'D:\\projetphp\\views';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<section class="sb-nav-fixed">
|
<section>
|
||||||
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
|
||||||
|
|
||||||
<a class="navbar-brand ps-3" href="index.php?ctrl=project&action=home"><img src="assests/img/Logo-Wordmark.svg" alt="Logo du site" width="150px"></a>
|
|
||||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
|
||||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
|
||||||
<div class="input-group">
|
|
||||||
<input class="form-control" type="text" placeholder="Recherche par pseudo..." aria-label="Recherche pseudo" aria-describedby="btnNavbarSearch" />
|
|
||||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<!-- Navbar - User-->
|
|
||||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
|
||||||
<li class="nav-item dropdown">
|
|
||||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
|
||||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
|
||||||
<li><a class="dropdown-item" href="/option.php">Paramètre</a></li>
|
|
||||||
<li><hr class="dropdown-divider" /></li>
|
|
||||||
<li><a class="dropdown-item" href="/deconnexion.php">Déconnexion</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- SideNav Infos -->
|
|
||||||
<div id="layoutSidenav">
|
|
||||||
<div id="layoutSidenav_nav">
|
|
||||||
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
|
||||||
<div class="sb-sidenav-menu">
|
|
||||||
<div class="nav">
|
|
||||||
<div class="sb-sidenav-menu-heading"></div>
|
|
||||||
<a class="nav-link" href="index.html">
|
|
||||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
|
||||||
Rafraichir la page
|
|
||||||
</a>
|
|
||||||
<div class="sb-sidenav-menu-heading"></div>
|
|
||||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form action="post">
|
|
||||||
<div class="container-fluid ps-2">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-6">
|
|
||||||
<label for="checkbox1">Par date</label>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 text-center">
|
|
||||||
<input type="checkbox" name="search_date" id="">
|
|
||||||
</div>
|
|
||||||
<div class="col-6">
|
|
||||||
<label for="checkbox2">Par date de creation de compte</label>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 text-center">
|
|
||||||
<input type="checkbox" name="search_creationdate" id="">
|
|
||||||
</div>
|
|
||||||
<div class="col-6">
|
|
||||||
<label for="checkbox3">Recherche par date</label>
|
|
||||||
</div>
|
|
||||||
<div class="col-6 text-center">
|
|
||||||
<input type="checkbox" name="search_date" id="">
|
|
||||||
</div>
|
|
||||||
<div class="col-12 text-center">
|
|
||||||
<button type="submit" class="btn mt-3 bg-primary text-light">Recherche</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="sb-sidenav-footer">
|
|
||||||
<div class="small">Connecté avec le compte :</div>
|
|
||||||
<?php echo $_SESSION['user']['user_name'];?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="layoutSidenav_content">
|
<div id="layoutSidenav_content">
|
||||||
<main>
|
|
||||||
<div class="container-fluid px-4">
|
<div class="container-fluid px-4">
|
||||||
<h1 class="mt-4">Dashboard</h1>
|
<h1 class="mt-4">Dashboard</h1>
|
||||||
<div class="container-fluid px-4">
|
<div class="container-fluid px-4">
|
||||||
<!-- USER MODIF -->
|
<!-- USER MODIF -->
|
||||||
<div class="p-3 mt-2 text-primary-emphasis bg-primary-subtle border border-primary-subtle rounded-3">
|
<div class="p-3 mt-2 text-primary-emphasis bg-primary-subtle border border-primary-subtle rounded-3">
|
||||||
<div class="container-fluid pt-2">
|
<div class="container-fluid pt-2">
|
||||||
|
<h2>Gestion de l'utilsateur</h2>
|
||||||
|
<p>Changer le statut ou supprimer un utilisateur</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-4">
|
<div class="col-2">
|
||||||
<img src="./assests/img/Logo-Wordmark.svg" alt="" width="100">
|
<img src="./assests/img/Logo-Wordmark.svg" alt="" width="100">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4">
|
<form method="POST">
|
||||||
<select class="form-select" aria-label="Default select example">
|
<div class="col-6">
|
||||||
<option value="0" selected>Modifier le statut de l'Utilisateur...</option>
|
<select class="form-select" aria-label="Default select example" name="user_id">
|
||||||
|
<option value="0">Choisir un utilisateur</option>
|
||||||
<?php
|
<?php
|
||||||
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('arrStatusToDisplay'), 'arrDetStatus');
|
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('arrUserToDisplay'), 'user');
|
||||||
$foreach0DoElse = true;
|
$foreach0DoElse = true;
|
||||||
foreach ($_from ?? [] as $_smarty_tpl->getVariable('arrDetStatus')->value) {
|
foreach ($_from ?? [] as $_smarty_tpl->getVariable('user')->value) {
|
||||||
$foreach0DoElse = false;
|
$foreach0DoElse = false;
|
||||||
?>
|
?>
|
||||||
<option value="<?php echo $_smarty_tpl->getValue('arrDetStatus')->getId();?>
|
<option value="<?php echo $_smarty_tpl->getValue('user')->getId();?>
|
||||||
"><?php echo $_smarty_tpl->getValue('arrDetStatus')->getStatusName();?>
|
"><?php echo $_smarty_tpl->getValue('user')->getName();?>
|
||||||
|
<?php echo $_smarty_tpl->getValue('user')->getFirstname();?>
|
||||||
|
</option>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
|
||||||
|
</select>
|
||||||
|
<select class="form-select" aria-label="Default select example" name="new_status">
|
||||||
|
<option value="0" selected>Modifier le statut de l'Utilisateur...</option>
|
||||||
|
<?php
|
||||||
|
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('arrAuthorisationToDisplay'), 'arrDetAuthorisation');
|
||||||
|
$foreach1DoElse = true;
|
||||||
|
foreach ($_from ?? [] as $_smarty_tpl->getVariable('arrDetAuthorisation')->value) {
|
||||||
|
$foreach1DoElse = false;
|
||||||
|
?>
|
||||||
|
<option value="<?php echo $_smarty_tpl->getValue('arrDetAuthorisation')->getId();?>
|
||||||
|
"><?php echo $_smarty_tpl->getValue('arrDetAuthorisation')->getName();?>
|
||||||
</option>
|
</option>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
|
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4">
|
<div class="col-2">
|
||||||
<button class="btn bg-danger text-light rounded-circle">X</button>
|
<button type="submit" name="action" value="update_status" class="btn bg-success text-light"> Valider</button>
|
||||||
|
<button type="submit" name="action" value="delete_user" class="btn bg-danger text-light">Supprimer l'utilisateur</button>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- catégorie modif -->
|
<!-- catégorie modif -->
|
||||||
<div class="p-3 mt-2 text-primary-emphasis bg-primary-subtle border border-primary-subtle rounded-3">
|
<div class="p-3 mt-2 text-primary-emphasis bg-primary-subtle border border-primary-subtle rounded-3">
|
||||||
<form method="post">
|
|
||||||
<div class="container-fluid pt-2">
|
<div class="container-fluid pt-2">
|
||||||
|
<h2>Gestion des catégories</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<select class="form-select" aria-label="Default select example">
|
<form method="post">
|
||||||
<option value="0" selected >Modifier un catégorie existante</option>
|
<p>Modifier une catégorie existante</p>
|
||||||
|
<select class="form-select" aria-label="Default select example" name="id_to_edit">
|
||||||
|
<option value="0">Choix de la catégorie</option>
|
||||||
<?php
|
<?php
|
||||||
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('arrCategoryToDisplay'), 'arrDetCategory');
|
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('arrCategoryToDisplay'), 'category');
|
||||||
$foreach1DoElse = true;
|
$foreach2DoElse = true;
|
||||||
foreach ($_from ?? [] as $_smarty_tpl->getVariable('arrDetCategory')->value) {
|
foreach ($_from ?? [] as $_smarty_tpl->getVariable('category')->value) {
|
||||||
$foreach1DoElse = false;
|
$foreach2DoElse = false;
|
||||||
?>
|
?>
|
||||||
<option value="<?php echo $_smarty_tpl->getValue('arrDetCategory')->getId();?>
|
<option value="<?php echo $_smarty_tpl->getValue('category')->getId();?>
|
||||||
" >
|
"><?php echo $_smarty_tpl->getValue('category')->getName();?>
|
||||||
<?php echo $_smarty_tpl->getValue('arrDetCategory')->getName();?>
|
</option>
|
||||||
|
|
||||||
</option>
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
|
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
|
||||||
</select>
|
</select>
|
||||||
<br>
|
<br>
|
||||||
<input type="text" class="form-control" id="floatingInput" name="edit_category">
|
<div class="form-floating mb-3">
|
||||||
|
<input type="text" class="form-control" id="floatingInput" name="new_name">
|
||||||
|
<label for="floatingInput">Nouveau nom de la catégorie</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
|
||||||
<button type="submit" class="btn bg-success text-light rounded-circle"> ✓</button>
|
<button type="submit" class="btn bg-success text-light rounded-circle"> ✓</button>
|
||||||
|
</form>
|
||||||
|
<div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
|
||||||
<button class="btn bg-danger text-light rounded-circle">X</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- creation cat-->
|
<!-- creation cat-->
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<label>Créer une nouvelle catégorie</label>
|
<form method="POST">
|
||||||
|
<p>Créer une nouvelle catégorie</p>
|
||||||
<div class="form-floating mb-3">
|
<div class="form-floating mb-3">
|
||||||
<input type="text" class="form-control" id="floatingInput" name="new_category">
|
<input type="text" class="form-control" id="floatingInput" name="new_category">
|
||||||
<label for="floatingInput">Créer une nouvelle catégorie</label>
|
<label for="floatingInput">Nom de la nouvelle catégorie</label>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<button type="submit" class="btn bg-success text-light rounded-circle"> ✓</button>
|
<button type="submit" class="btn bg-success text-light rounded-circle"> ✓</button>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
<div class="small">Connecté avec le compte : <?php echo $_SESSION['user']['user_name'];?>
|
||||||
|
<?php echo $_SESSION['user']['user_firstname'];?>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue