You'd probably write a plugin something like this:
PHP Code:
switch ($forumid){
case "1":
$forumbanner = '<a href="http://wherever.com/shop" target="_blank"><img src="http://www.audizine.com/images/banners/banner1.gif" alt="JHMotorsports" border="0"></a>';
break;
case "2":
$forumbanner = '<a href="http://wherever2.com/shop" target="_blank"><img src="http://www.audizine.com/images/banners/banner2.gif" alt="JHMotorsports" border="0"></a>';
break;
case "3":
$forumbanner = '<a href="http://wherever3.com/shop" target="_blank"><img src="http://www.audizine.com/images/banners/banner3.gif" alt="JHMotorsports" border="0"></a>';
break;
default:
$forumbanner = '<img src="clear.gif" alt="nothing" border="0">';
return;
}
And then in your template, something like this:
HTML Code:
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
<td class="alt1"><div align="center">$forumbanner</div></td>
</tr>
</table>
<br />
</if>