For anyone out there that needs to do an if statment:
{let usernum=5}
{section name=if show=eq($usernum, 5)}
usernum equals 5
{/section}
{section-else}
usernum does not equal 5
{/section}
The nice part about this code, is whatever you put before {/section} will not show up unless $usernum = 5. So you can put HTML code in there and only some people can see a picture or something. Hope this helps someone!
Modified by Frey Staso
on 31/03/2005 at 7:40:37 pm
if-then-else statements
Frey Staso
Thursday 31 March 2005 8:37:07 pm
{let usernum=5}
{section name=if show=eq($usernum, 5)}
usernum equals 5
{/section}
{section-else}
usernum does not equal 5
{/section}
The nice part about this code, is whatever you put before {/section} will not show up unless $usernum = 5. So you can put HTML code in there and only some people can see a picture or something. Hope this helps someone!
Modified by Frey Staso on 31/03/2005 at 7:40:37 pm