I am using smarty template system , I just want to know can I include php tags between template file (tpl file)? Thanks
You can do that using {php}php code here{/php} Refer to this: http://www.smarty.net/manual/en/language.function.php.php
To be honest there's nothing you can do with php that you can't with smarty. You can always build filters and modifiers to better divide the content and the logic
But in smarty all this things are already done. As for me smarty is quite convenient. P.S. Sorry for offtop.