Zachariah
02-13-2004, 10:02 PM
Little help would be cool :)
I was thinking this might work. If file is on the server in the folder labled the forumid.jpg then place the image and if not do nothing.
<if condition="$stylevar[imgdir]/banner/$forum[forumid].jpg"><center><td><img src="$stylevar[imgdir]/banner/$forum[forumid].jpg" alt="" border="0" /></td></center>
<else />
</if>
Insted I get Warning: Division by zero in forumdisplay.php(821) : eval()'d code on line 12
I placed it in Formhome after $navbar
So what did I do incorect ?
I was thinking this might work. If file is on the server in the folder labled the forumid.jpg then place the image and if not do nothing.
<if condition="$stylevar[imgdir]/banner/$forum[forumid].jpg"><center><td><img src="$stylevar[imgdir]/banner/$forum[forumid].jpg" alt="" border="0" /></td></center>
<else />
</if>
Insted I get Warning: Division by zero in forumdisplay.php(821) : eval()'d code on line 12
I placed it in Formhome after $navbar
So what did I do incorect ?