I have the following code, the image displays properly but it doesnt link. Is the code correct?
Code:
<!-- / flags start -->
<div>
<if condition="$post[field6]"><a href="www.habbo.$post[field6]"><img src="images/flags/$post[field6].gif"></a></if>
</div>
<!-- / flags end -->
--------------- Added [DATE]1193967662[/DATE] at [TIME]1193967662[/TIME] ---------------
This is very urgent.
--------------- Added [DATE]1193967798[/DATE] at [TIME]1193967798[/TIME] ---------------
I have made an addition to this, if the user edits for say the Habbo CA name with Sprained, a CA flag will come up with a link to
www.habbo.ca/home/Sprained - and, same thing for how many ones they add. But it does not seem to be showing up.
Code:
<if condition="$post[field7]"><a href="www.habbo.com/home/$post[field7]"><img src="images/flags/US.gif"></a></if>
<if condition="$post[field8]"><a href="www.habbo.ca/home/$post[field8]"><img src="images/flags/CA.gif"></a></if>
<if condition="$post[field9]"><a href="www.habbo.co.uk/home/$post[field9]"><img src="images/flags/UK.gif"></a></if>
<if condition="$post[field10]"><a href="www.habbo.com.au/home/$post[field10]"><img src="images/flags/AU.gif"></a></if>
<if condition="$post[field11]"><a href="www.habbo.com.sg/home/$post[field11]"><img src="images/flags/SG.gif"></a></if>