Just look in your torrenttable function and there you'll have this code that includes caticons:
PHP Code:
if (isset($row["cat_name"]))
{
$htmlout .= "<a href='browse.php?cat={$row['category']}'>";
if (isset($row["cat_pic"]) && $row["cat_pic"] != "")
$htmlout .= "<img border='0' src='{$TBDEV['pic_base_url']}caticons/{$row['cat_pic']}' alt='{$row['cat_name']}' />";
else
{
$htmlout .= $row["cat_name"];
}
$htmlout .= "</a>";
}
else
{
$htmlout .= "-";
}
just look here, use your brain and then modify this code:
PHP Code:
<input name='c".$cat['id']."' type=\"checkbox\" " . (in_array($cat['id'],$wherecatina) ? "checked='checked' " : "") . "value='1' /><a class='catlink' href='browse.php?cat={$cat['id']}'>" . htmlspecialchars($cat['name']) . "</a></td>\n";