Foren / Cotonti / Support / IF statement in forum posts.tpl

Cant get it to work with "equal to" and "greater than".

foxhound
#27388 7. Dezember 2010, 19:02
I see, so if you do not want any performence impact I would have to create template tags of the variables I want to use? This is something I have no idea about so I personally have to stick with the php variables.

I dont think using one php variable in a tpl (like in my above example) has much impact on performance right?
Or does that, like most times just depend on how many requests there are for that tpl?
I had planned to use the same kind of "if statement" for my list.tpl as well.
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />