Just put the PHP code right below the line that looks like this:
code:
<!-- for($f=0;$f<$forumsize[$c];$f++) { //UBBTREMARK -->
so that it looks like this:
code:
<!-- for($f=0;$f<$forumsize[$c];$f++) { //UBBTREMARK -->
if(is_readable("{$config['imagepath']}/{$forum[$c][$f]['Keyword']}.gif")){
$forumimagesize =getimagesize("{$config['imagepath']}/{$forum[$c][$f]['Keyword
']}.gif");
$forumimage = "<img src="{$config['images']}/{$forum[$c][$f]['Keyword']}.gif\
"alt="{$forum[$c][$f]['Title']}" align="left"{$forumimagesize[3]}>";
} else {
$forumimage = "<img src="{$config['images']}/board.gif" alt="{$forum[$c][$f
]['Title']}" align="left" width="35"height="35">";
}
And then put {$forumimage} where you put the image tag before, before the forum description.