Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Exemple bidon d'utilisation de php avec smarty en partant du principe que smarty c'est chiant -_-v
- {php}
- $number = rand(1,4);
- $this->assign('number', $number);
- {/php}
- <img src="maphoto_{$number}.png" />
- // J'ai dis que je n'aimais pas smarty ? :)
Add Comment
Please, Sign In to add comment