Hi, i am trying to include random file ads1.html, ads2.html, ads3.html, ads4.html based on random 1-4.
How can i do this?
I tried to edit html file and add :
<?php ?> - -didnt worked (whole source code showed up)
{php}{/php} -didnt worked (whole source code showed up)
<%include file="ads{1|rand:4}.html"%> - didnt worked
Please help me how can i use php in these templates - what i found about smarty - that didnt worked (above).


LinkBack URL
About LinkBacks
