From c91eb6cf89f25a1e04a35bb55de04247914afc01 Mon Sep 17 00:00:00 2001 From: GuillaumeH-Cci Date: Tue, 17 Feb 2026 17:53:41 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9bug=20de=20l'affichage=20des=20projet=20?= =?UTF-8?q?hors=20connexion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...519973f0177a783a4561_0.file_header.tpl.php | 28 +++---- ...803dc4119c46e490c52_0.file_preview.tpl.php | 44 ++++++++--- ...8ed73fcd1924b1bda41b_0.file_layout.tpl.php | 10 +-- ...f5b7b444b7670474263f88_0.file_home.tpl.php | 57 +++++++------ ...0dc5baa93ac9d38bfe874_0.file_login.tpl.php | 10 +-- ...9dcacc6c7b4e161e98a2_0.file_footer.tpl.php | 6 +- ...c0e3f74733796438d51_0.file_project.tpl.php | 45 ++++++++--- views/project_display.tpl | 36 +++++---- views/projet_display.tpl | 79 +++++++++++++++++++ 9 files changed, 225 insertions(+), 90 deletions(-) create mode 100644 views/projet_display.tpl diff --git a/templates_c/20a11b6ecdc7e0959bdb519973f0177a783a4561_0.file_header.tpl.php b/templates_c/20a11b6ecdc7e0959bdb519973f0177a783a4561_0.file_header.tpl.php index ab2a5b4..f1acd5a 100644 --- a/templates_c/20a11b6ecdc7e0959bdb519973f0177a783a4561_0.file_header.tpl.php +++ b/templates_c/20a11b6ecdc7e0959bdb519973f0177a783a4561_0.file_header.tpl.php @@ -1,18 +1,18 @@ getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_6989f726978651_30802796', + 'unifunc' => 'content_69949cd5a907e4_36611222', 'has_nocache_code' => false, 'file_dependency' => array ( '20a11b6ecdc7e0959bdb519973f0177a783a4561' => array ( 0 => 'views/_partial/header.tpl', - 1 => 1770639154, + 1 => 1771345389, 2 => 'file', ), ), @@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( array ( ), ))) { -function content_6989f726978651_30802796 (\Smarty\Template $_smarty_tpl) { +function content_69949cd5a907e4_36611222 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views\\_partial'; ?> @@ -38,7 +38,7 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views\\_ - +getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_6989f7269f97f7_68511256', + 'unifunc' => 'content_69949cca585988_04307644', 'has_nocache_code' => false, 'file_dependency' => array ( '3848b4db17319a951391d803dc4119c46e490c52' => array ( 0 => 'views/_partial/preview.tpl', - 1 => 1770646177, + 1 => 1770991201, 2 => 'file', ), ), @@ -20,12 +20,12 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( array ( ), ))) { -function content_6989f7269f97f7_68511256 (\Smarty\Template $_smarty_tpl) { +function content_69949cca585988_04307644 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views\\_partial'; ?> -
+
- getValue('objProject')->getStatus() == "en_attente") {?> +
+ Supprimer + + getValue('objProject')->getStatus() == "en_attente" && $_SESSION['user']['user_status'] == 2) {?> Accepter Refuser - Supprimer
getValue('projectStatus') == "refusé") {?>

Portfolio refusé

-
+getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_6989f726914163_83904848', + 'unifunc' => 'content_69949cd5a22020_02990218', 'has_nocache_code' => false, 'file_dependency' => array ( @@ -22,21 +22,21 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( 'file:views/_partial/footer.tpl' => 1, ), ))) { -function content_6989f726914163_83904848 (\Smarty\Template $_smarty_tpl) { +function content_69949cd5a22020_02990218 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views'; $_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); ?> getInheritance()->instanceBlock($_smarty_tpl, 'Block_14089017836989f726912e95_86271581', "content"); +$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_38239549469949cd5a20c56_48859268', "content"); ?> 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"} */ -class Block_14089017836989f726912e95_86271581 extends \Smarty\Runtime\Block +class Block_38239549469949cd5a20c56_48859268 extends \Smarty\Runtime\Block { public function callBlock(\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views'; diff --git a/templates_c/7e6dbbb1e41ad859e7f5b7b444b7670474263f88_0.file_home.tpl.php b/templates_c/7e6dbbb1e41ad859e7f5b7b444b7670474263f88_0.file_home.tpl.php index 96a1596..68282d7 100644 --- a/templates_c/7e6dbbb1e41ad859e7f5b7b444b7670474263f88_0.file_home.tpl.php +++ b/templates_c/7e6dbbb1e41ad859e7f5b7b444b7670474263f88_0.file_home.tpl.php @@ -1,18 +1,18 @@ getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_6989f72687e0c8_78461032', + 'unifunc' => 'content_69949cca3eb5d3_41418023', 'has_nocache_code' => false, 'file_dependency' => array ( '7e6dbbb1e41ad859e7f5b7b444b7670474263f88' => array ( 0 => 'views/home.tpl', - 1 => 1770639154, + 1 => 1771345389, 2 => 'file', ), ), @@ -21,49 +21,62 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( 'file:views/_partial/preview.tpl' => 1, ), ))) { -function content_6989f72687e0c8_78461032 (\Smarty\Template $_smarty_tpl) { +function content_69949cca3eb5d3_41418023 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views'; $_smarty_tpl->getInheritance()->init($_smarty_tpl, true); ?> getInheritance()->instanceBlock($_smarty_tpl, 'Block_15962470546989f72687a521_39502617', "content"); +$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_170960686969949cca3e7560_93553609', "content"); ?> getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir); } /* {block "content"} */ -class Block_15962470546989f72687a521_39502617 extends \Smarty\Runtime\Block +class Block_170960686969949cca3e7560_93553609 extends \Smarty\Runtime\Block { public function callBlock(\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views'; ?> -
-

Folliow

-

Là où les talents rencontrent leur avenir

-

Une plateforme de portfolio adapté à vos besoins et aux besoins des entreprises. - Créer un portfolio réellement pertinent aux exigences du marché et rentrez - directement en contact avec les entreprises.

-
+
+

Folliow

+

Là où les talents rencontrent leur avenir

+

Une plateforme de portfolio adapté à vos besoins et aux besoins des entreprises. + Créer un portfolio réellement pertinent aux exigences du marché et rentrez + directement en contact avec les entreprises.

+
-
-

Les 4 derniers articles

-
- - +
+
+ + + + + + Tout +
+
+
+ +
+

Les 4 derniers articles

+
+ + getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('arrProjectToDisplay'), 'objProject'); $foreach0DoElse = true; foreach ($_from ?? [] as $_smarty_tpl->getVariable('objProject')->value) { $foreach0DoElse = false; ?> - renderSubTemplate("file:views/_partial/preview.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); + renderSubTemplate("file:views/_partial/preview.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); ?> - getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?> -
+$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?> + getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_6989f71c761896_25894348', + 'unifunc' => 'content_69949cc31946f2_99570077', 'has_nocache_code' => false, 'file_dependency' => array ( @@ -20,18 +20,18 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( array ( ), ))) { -function content_6989f71c761896_25894348 (\Smarty\Template $_smarty_tpl) { +function content_69949cc31946f2_99570077 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views'; $_smarty_tpl->getInheritance()->init($_smarty_tpl, true); ?> getInheritance()->instanceBlock($_smarty_tpl, 'Block_19992775976989f71c758fc2_34188356', "content"); +$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_48413822169949cc30e4725_27989269', "content"); $_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir); } /* {block "content"} */ -class Block_19992775976989f71c758fc2_34188356 extends \Smarty\Runtime\Block +class Block_48413822169949cc30e4725_27989269 extends \Smarty\Runtime\Block { public function callBlock(\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views'; diff --git a/templates_c/cef94db5b9dde613f0f79dcacc6c7b4e161e98a2_0.file_footer.tpl.php b/templates_c/cef94db5b9dde613f0f79dcacc6c7b4e161e98a2_0.file_footer.tpl.php index 3a5773c..e62caed 100644 --- a/templates_c/cef94db5b9dde613f0f79dcacc6c7b4e161e98a2_0.file_footer.tpl.php +++ b/templates_c/cef94db5b9dde613f0f79dcacc6c7b4e161e98a2_0.file_footer.tpl.php @@ -1,11 +1,11 @@ getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_6989f726ac4850_67307943', + 'unifunc' => 'content_69949cd5b10bc9_79471252', 'has_nocache_code' => false, 'file_dependency' => array ( @@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( array ( ), ))) { -function content_6989f726ac4850_67307943 (\Smarty\Template $_smarty_tpl) { +function content_69949cd5b10bc9_79471252 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\projet_php-guillaume\\views\\_partial'; ?>