This is the file, wich contains the code, ther ist missing in your bottom.php
This file must be in the dir maindir/include
include(XOOPS_ROOT_PATH."/include/xoopsjs.php");
$bbImage['post'] = $bbUrl['images']."/post.gif";
$bbImage['newposts_forum'] = $bbUrl['images']."/folder_new_big.gif";
$bbImage['folder_forum'] = $bbUrl['images']."/folder_big.gif";
$bbImage['locked_forum'] = $bbUrl['images']."/folder_locked_big.gif";
$bbImage['folder_topic'] = $bbUrl['images']."/folder.gif";
$bbImage['hot_folder_topic'] = $bbUrl['images']."/hot_folder.gif";
$bbImage['newposts_topic'] = $bbUrl['images']."/red_folder.gif";
$bbImage['hot_newposts_topic'] = $bbUrl['images']."/hot_red_folder.gif";
$bbImage['locked_topic'] = $bbUrl['images']."/lock.gif";
$bbImage['locktopic'] = $bbUrl['images']."/lock_topic.gif";
$bbImage['deltopic'] = $bbUrl['images']."/del_topic.gif";
$bbImage['movetopic'] = $bbUrl['images']."/move_topic.gif";
$bbImage['unlocktopic'] = $bbUrl['images']."/unlock_topic.gif";
$bbImage['sticky'] = $bbUrl['images']."/sticky.gif";
$bbImage['unsticky'] = $bbUrl['images']."/unsticky.gif";
$bbImage['newtopic'] = $bbUrl['images']."/new_topic-dark.jpg";
$bbImage['folder_sticky'] = $bbUrl['images']."/folder_sticky.gif";