I am trying to use the following code as a replacement for a bbcode. The problem is that it's supposed to be collapsible but the image path is wrong. Can anyone tell me what the deal is I can't seem to figure it out?
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('my_table_$post[postid]')"><img id="collapseimg_my_table_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$GLOBALS['vbcollapse']['collapseimg_my_table_' . $post[postid]]}.gif" alt="" border="0" /></a>
TABLE TITLE
</td>
</tr>
</thead>
<tbody id="collapseobj_my_table_$post[postid]" style="{$GLOBALS['vbcollapse']['collapseobj_my_table_' . $post[postid]]}">
<tr>
<td class="alt1">
{param}
</td>
</tr>
</tbody>
</table>