Avancer sur la fonctionnalité de Créer/Modifier un projet

This commit is contained in:
Guillaume HESS 2026-02-13 11:58:36 +01:00
parent 483ae3c9c0
commit 7be3bac167
12 changed files with 67 additions and 51 deletions

View file

@ -116,6 +116,7 @@
$objImage->hydrate($arrDetImage); $objImage->hydrate($arrDetImage);
$arrImageToDisplay[] = $objImage; $arrImageToDisplay[] = $objImage;
} }
//Variable data //Variable data
$_SESSION['title'] = $_POST['titleProject']??""; $_SESSION['title'] = $_POST['titleProject']??"";
$_SESSION['description'] = $_POST['descProject']??""; $_SESSION['description'] = $_POST['descProject']??"";
@ -123,11 +124,10 @@
$_SESSION['thumbnail'] = $_FILES['imageThumbnail']['name']??""; $_SESSION['thumbnail'] = $_FILES['imageThumbnail']['name']??"";
$_SESSION['status'] = 'en_attente'; $_SESSION['status'] = 'en_attente';
$objProject = new Project(); $objProject = new Project();
/** /**
* Créer par Besnik le GOAT et l'autre GOAT de Guillaume * Créer par Besnik le GOAT et Guillaume
* *
* @return bool pour savoir si le fichier existe, * @return bool pour savoir si le fichier existe,
* puis déplace vers le fichier uploads avec les images projet des utilisateurs * puis déplace vers le fichier uploads avec les images projet des utilisateurs
@ -143,16 +143,14 @@
} }
/** En cas d'appuis sur le bouton d'envoie ou celui de remettre a plus tard /** En cas d'appuis sur le bouton d'envoie ou celui de remettre a plus tard
* 1. Changement de status * 1. Changement de status ou pas
* 2. Hydratation avec les informations récupéré de l'utilisateur * 2. Hydratation avec les informations récupéré de l'utilisateur
* 3. Envoie des données à la BDD * 3. Envoie des données à la BDD
*/ */
if (isset($_POST['sendMessage'])) { if (isset($_POST['sendMessage'])) {
$_SESSION['status'] = 'publié';
$objProject->hydrate($_SESSION); $objProject->hydrate($_SESSION);
$objProject->setThumbnail($strDest); $objProject->setThumbnail($strDest);
$objProjectModel->insert($objProject); $objProjectModel->insert($objProject);
} else if (isset($_POST['toContinue'])) { } else if (isset($_POST['toContinue'])) {
$objProject->hydrate($_SESSION); $objProject->hydrate($_SESSION);
$objProject->setThumbnail($strDest); $objProject->setThumbnail($strDest);
@ -161,6 +159,7 @@
var_dump($_SESSION); var_dump($_SESSION);
var_dump($objProject); var_dump($objProject);
$this->_arrData['arrProjectToDiplay'] = $arrProjectToDisplay; $this->_arrData['arrProjectToDiplay'] = $arrProjectToDisplay;
$this->_arrData['arrImageToDiplay'] = $arrImageToDisplay; $this->_arrData['arrImageToDiplay'] = $arrImageToDisplay;

View file

@ -23,7 +23,7 @@
CONCAT(user_firstname, ' ', user_name) AS 'project_creatorname', CONCAT(user_firstname, ' ', user_name) AS 'project_creatorname',
user_image user_image
FROM project FROM project
INNER JOIN users ON user_id = project_user"; INNER JOIN users ON user_id = project_user_id";
$strWhere = " WHERE "; $strWhere = " WHERE ";

View file

@ -1,11 +1,11 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:26:10 /* Smarty version 5.7.0, created on 2026-02-13 07:38:16
from 'file:views/login.tpl' */ from 'file:views/login.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_698c9f92453c08_24507694', 'unifunc' => 'content_698ed4e80d1241_05782427',
'has_nocache_code' => false, 'has_nocache_code' => false,
'file_dependency' => 'file_dependency' =>
array ( array (
@ -20,18 +20,18 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
array ( array (
), ),
))) { ))) {
function content_698c9f92453c08_24507694 (\Smarty\Template $_smarty_tpl) { function content_698ed4e80d1241_05782427 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true); $_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
?> ?>
<?php <?php
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_2118721076698c9f923fe728_66184593', "content"); $_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1501214486698ed4e807c474_40846729', "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_2118721076698c9f923fe728_66184593 extends \Smarty\Runtime\Block class Block_1501214486698ed4e807c474_40846729 extends \Smarty\Runtime\Block
{ {
public function callBlock(\Smarty\Template $_smarty_tpl) { public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';

View file

@ -1,11 +1,11 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:27:17 /* Smarty version 5.7.0, created on 2026-02-13 08:48:00
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_698c9fd53aaff8_74186876', 'unifunc' => 'content_698ee54027c692_47294813',
'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_698c9fd53aaff8_74186876 (\Smarty\Template $_smarty_tpl) { function content_698ee54027c692_47294813 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
?> ?>
<footer class="footer container-fluid d-flex justify-content-around"> <footer class="footer container-fluid d-flex justify-content-around">

View file

@ -1,11 +1,11 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:27:17 /* Smarty version 5.7.0, created on 2026-02-13 09:26:01
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_698c9fd50c20d9_40745175', 'unifunc' => 'content_698eee29a76a24_89248455',
'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_698c9fd50c20d9_40745175 (\Smarty\Template $_smarty_tpl) { function content_698eee29a76a24_89248455 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\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_2129100121698c9fd50b63e9_26531432', "content"); $_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1471911380698eee29a699a7_12148894', "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_2129100121698c9fd50b63e9_26531432 extends \Smarty\Runtime\Block class Block_1471911380698eee29a699a7_12148894 extends \Smarty\Runtime\Block
{ {
public function callBlock(\Smarty\Template $_smarty_tpl) { public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';

View file

@ -1,11 +1,11 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 14:50:21 /* Smarty version 5.7.0, created on 2026-02-13 07:38:22
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_698c972d007f30_07399540', 'unifunc' => 'content_698ed4eeeb9a63_02339117',
'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_698c972d007f30_07399540 (\Smarty\Template $_smarty_tpl) { function content_698ed4eeeb9a63_02339117 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true); $_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
?> ?>
<?php <?php
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_335658017698c972ce8c1b7_47061646', "content"); $_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_466388494698ed4eedf8875_98482148', "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_335658017698c972ce8c1b7_47061646 extends \Smarty\Runtime\Block class Block_466388494698ed4eedf8875_98482148 extends \Smarty\Runtime\Block
{ {
public function callBlock(\Smarty\Template $_smarty_tpl) { public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';

View file

@ -1,18 +1,18 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:27:17 /* Smarty version 5.7.0, created on 2026-02-13 09:26:01
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_698c9fd5234b11_98726477', 'unifunc' => 'content_698eee29d9bb23_31258074',
'has_nocache_code' => false, 'has_nocache_code' => false,
'file_dependency' => 'file_dependency' =>
array ( array (
'd1ce76cd275b7aacbc06533821a89d7d735c5727' => 'd1ce76cd275b7aacbc06533821a89d7d735c5727' =>
array ( array (
0 => 'views/_partial/header.tpl', 0 => 'views/_partial/header.tpl',
1 => 1770795606, 1 => 1770967614,
2 => 'file', 2 => 'file',
), ),
), ),
@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
array ( array (
), ),
))) { ))) {
function content_698c9fd5234b11_98726477 (\Smarty\Template $_smarty_tpl) { function content_698eee29d9bb23_31258074 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
?><!DOCTYPE html> ?><!DOCTYPE html>
<html lang="fr"> <html lang="fr">
@ -38,7 +38,7 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
<body> <body>
<nav class="navbar navbar-expand-lg navbar-light"> <nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand d-flex align-items-center" href="#"> <a class="navbar-brand d-flex align-items-center" href="index.php">
<img src="assests/img/logo.png" alt="Logo" class="logo-image"> <img src="assests/img/logo.png" alt="Logo" class="logo-image">
</a> </a>
@ -91,7 +91,7 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
<ul class="navbar-nav"> <ul class="navbar-nav">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="edit_account.php" title="Modifier mon compte" aria-label="Modifier mon compte"> <a class="nav-link" href="edit_account.php" title="Modifier mon compte" aria-label="Modifier mon compte">
<img src=".<?php echo $_SESSION['user']['user_image'];?> <img src="<?php echo $_SESSION['user']['user_image'];?>
" "
class="rounded-circle flex-shrink-0 mt-2 ml-5" class="rounded-circle flex-shrink-0 mt-2 ml-5"
style="width: 36px; height: 36px; object-fit: cover;" style="width: 36px; height: 36px; object-fit: cover;"
@ -111,5 +111,6 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
</div> </div>
</nav> </nav>
</body> </body>
</html><?php } </html>
<?php }
} }

View file

@ -1,18 +1,18 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:26:16 /* Smarty version 5.7.0, created on 2026-02-13 09:26:02
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_698c9f98010897_35547345', 'unifunc' => 'content_698eee2a213901_58530696',
'has_nocache_code' => false, 'has_nocache_code' => false,
'file_dependency' => 'file_dependency' =>
array ( array (
'd60fb02b58bc4794052e022152a4d410b20abede' => 'd60fb02b58bc4794052e022152a4d410b20abede' =>
array ( array (
0 => 'views/_partial/preview.tpl', 0 => 'views/_partial/preview.tpl',
1 => 1770822997, 1 => 1770967614,
2 => 'file', 2 => 'file',
), ),
), ),
@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
array ( array (
), ),
))) { ))) {
function content_698c9f98010897_35547345 (\Smarty\Template $_smarty_tpl) { function content_698eee2a213901_58530696 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
?> ?>
@ -38,7 +38,7 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
<div class="d-flex align-items-start gap-3"> <div class="d-flex align-items-start gap-3">
<img src=".<?php echo $_smarty_tpl->getValue('objProject')->getUser_image();?> <img src="<?php echo $_smarty_tpl->getValue('objProject')->getUser_image();?>
" "
class="rounded-circle flex-shrink-0 mt-2 ml-5" class="rounded-circle flex-shrink-0 mt-2 ml-5"
style="width: 48px; height: 48px; object-fit: cover;" style="width: 48px; height: 48px; object-fit: cover;"
@ -51,8 +51,14 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
<small class="text-body-secondary d-block mb-1"> <small class="text-body-secondary d-block mb-1">
<time><?php echo $_smarty_tpl->getValue('objProject')->getCreation_date();?> <time><?php echo $_smarty_tpl->getValue('objProject')->getCreation_date();?>
</time> </time>
<?php echo $_smarty_tpl->getValue('objProject')->getCreatorname();?>
<a href="index.php?ctrl=user&action=user&id=<?php echo $_smarty_tpl->getValue('objProject')->getUser();?>
"
class="text-decoration-none"
style="position: relative; z-index: 2;">
<?php echo $_smarty_tpl->getValue('objProject')->getCreatorname();?>
</a>
</small> </small>
<a href="index.php?ctrl=project&action=display&id=<?php echo $_smarty_tpl->getValue('objProject')->getId();?> <a href="index.php?ctrl=project&action=display&id=<?php echo $_smarty_tpl->getValue('objProject')->getId();?>
@ -60,6 +66,15 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
class="stretched-link small"> class="stretched-link small">
Lire la suite Lire la suite
</a> </a>
<?php if ((true && (true && null !== ($_SESSION['user'] ?? null)))) {?>
<?php if ($_SESSION['user']['user_id'] == $_smarty_tpl->getValue('objProject')->getUser()) {?>
<a href="index.php?ctrl=project&action=display&id=<?php echo $_smarty_tpl->getValue('objProject')->getId();?>
"
class="stretched-link small">
Editer
</a>
<?php }?>
<?php }?>
</div> </div>
</div> </div>
@ -77,5 +92,6 @@ $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views\\_partial';
<?php } elseif ($_smarty_tpl->getValue('projectStatus') == "refusé") {?> <?php } elseif ($_smarty_tpl->getValue('projectStatus') == "refusé") {?>
<p class="text-danger fw-bold">Portfolio refusé</p> <p class="text-danger fw-bold">Portfolio refusé</p>
<?php }?> <?php }?>
</article><?php } </article>
<?php }
} }

View file

@ -1,11 +1,11 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:26:15 /* Smarty version 5.7.0, created on 2026-02-13 09:26:01
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_698c9f9795f494_06984213', 'unifunc' => 'content_698eee297c6a01_92208913',
'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_698c9f9795f494_06984213 (\Smarty\Template $_smarty_tpl) { function content_698eee297c6a01_92208913 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true); $_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
?> ?>
<?php <?php
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_492640025698c9f979401d0_84454540', "content"); $_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1902790934698eee2955f9f3_02581757', "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_492640025698c9f979401d0_84454540 extends \Smarty\Runtime\Block class Block_1902790934698eee2955f9f3_02581757 extends \Smarty\Runtime\Block
{ {
public function callBlock(\Smarty\Template $_smarty_tpl) { public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';

View file

@ -1,11 +1,11 @@
<?php <?php
/* Smarty version 5.7.0, created on 2026-02-11 15:27:16 /* Smarty version 5.7.0, created on 2026-02-13 08:47:59
from 'file:views/project.tpl' */ from 'file:views/project.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_698c9fd4d6a381_80658789', 'unifunc' => 'content_698ee53fc2cf91_24542112',
'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:../app/views/partials/preview.tpl' => 1, 'file:../app/views/partials/preview.tpl' => 1,
), ),
))) { ))) {
function content_698c9fd4d6a381_80658789 (\Smarty\Template $_smarty_tpl) { function content_698ee53fc2cf91_24542112 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true); $_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
?> ?>
<?php <?php
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1774323013698c9fd4d14ce3_58308352', "content"); $_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_348652156698ee53fbddf70_21846825', "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_1774323013698c9fd4d14ce3_58308352 extends \Smarty\Runtime\Block class Block_348652156698ee53fbddf70_21846825 extends \Smarty\Runtime\Block
{ {
public function callBlock(\Smarty\Template $_smarty_tpl) { public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views'; $_smarty_current_dir = 'C:\\wamp64\\www\\Folliow\\views';

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB