changement methode dans le project entity pour mieux faire marcher l'ajout de projet et personalisation encore meilleur du header
This commit is contained in:
parent
e2e55e669e
commit
e486091c28
51 changed files with 63 additions and 4634 deletions
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
/* Smarty version 5.7.0, created on 2026-02-11 17:15:22
|
||||
/* Smarty version 5.7.0, created on 2026-02-11 20:36:23
|
||||
from 'file:views/_partial/preview.tpl' */
|
||||
|
||||
/* @var \Smarty\Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
||||
'version' => '5.7.0',
|
||||
'unifunc' => 'content_698cb92a3aa989_86517927',
|
||||
'unifunc' => 'content_698ce8478dbef1_65073741',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'67e1ae3a210fc2d1bf8782993687bad91a1cf0f6' =>
|
||||
array (
|
||||
0 => 'views/_partial/preview.tpl',
|
||||
1 => 1770828147,
|
||||
1 => 1770841277,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
|
|
@ -20,12 +20,12 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
|
|||
array (
|
||||
),
|
||||
))) {
|
||||
function content_698cb92a3aa989_86517927 (\Smarty\Template $_smarty_tpl) {
|
||||
function content_698ce8478dbef1_65073741 (\Smarty\Template $_smarty_tpl) {
|
||||
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
||||
?>
|
||||
|
||||
|
||||
<article class="col-md-3 mb-4">
|
||||
<article class="col-md-3 mb-5 <?php if ((true && (true && null !== ($_SESSION['user'] ?? null))) && $_SESSION['user']['user_status'] == 2) {?> pb-5 <?php }?>">
|
||||
<div class="card h-100 shadow-sm article-card">
|
||||
|
||||
<div class="ratio ratio-16x9">
|
||||
|
|
@ -52,7 +52,7 @@ $_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
|||
<time><?php echo $_smarty_tpl->getValue('objProject')->getCreation_date();?>
|
||||
</time>
|
||||
–
|
||||
<a href="index.php?ctrl=user&action=user&id=<?php echo $_smarty_tpl->getValue('objProject')->getUser();?>
|
||||
<a href="index.php?ctrl=user&action=user&id=<?php echo $_smarty_tpl->getValue('objProject')->getUser_id();?>
|
||||
"
|
||||
class="text-decoration-none"
|
||||
style="position: relative; z-index: 2;">
|
||||
|
|
@ -67,7 +67,7 @@ $_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
|
|||
Lire la suite →
|
||||
</a>
|
||||
<?php if ((true && (true && null !== ($_SESSION['user'] ?? null)))) {?>
|
||||
<?php if ($_SESSION['user']['user_id'] == $_smarty_tpl->getValue('objProject')->getUser()) {?>
|
||||
<?php if ($_SESSION['user']['user_id'] == $_smarty_tpl->getValue('objProject')->getUser_id()) {?>
|
||||
<a href="index.php?ctrl=project&action=display&id=<?php echo $_smarty_tpl->getValue('objProject')->getId();?>
|
||||
"
|
||||
class="stretched-link small">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue