|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
abrioit Smarty n00b
Joined: 07 Dec 2008 Posts: 2
|
Posted: Sun Dec 07, 2008 10:42 am Post subject: Une petite question pour $_SESSION dans mon .tpl |
|
|
Bonjour à tous
Pouvez vous m'aider car je suis en grande difuculté.
Comment mettre ce code sur mon tpl ? car je veux afficher mon formulaire
Code: | if(isset($_SESSION['login']))
{
{foreach item=actu from=$blocNewsarticle}
{$actu.titre}
{/foreach}
}
else
{
echo 'Vous etes pas conecté';
} |
Je vous remercie |
|
Back to top |
|
Gowser Smarty Pro
Joined: 19 Feb 2008 Posts: 104 Location: Nantes (France)
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|