I have to be a pain in the arse and have different ubbthreads.tmpl coding.

The section in question in the instructions looks slightly different in my code. Here is the area:
[]
</tr>
UBBTPRINT;
} //UBBTREMARK
echo <<<UBBTPRINT
<!-- END OF FORUM LOOP -->
$tbclose
<br />
UBBTPRINT;
} //UBBTREMARK
echo <<<UBBTPRINT
<!-- END CATEGORY LOOP -->
$tbopen
<tr>
[/]
I've tried sticking the code in various places to no avail. Any idears?
