<span class="bgreen">Категории</span> <br>
<br>
<div style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(<?=$im?>/left_table_bottom_bg.gif); BACKGROUND-REPEAT: no-repeat;">
  <table style="margin:15px" border="0" width="100%" align="center" cellpadding="0" cellspacing="0">
    <?
$categories = mysql_query("SELECT id, category_name FROM jshop_categories WHERE root_category = 0 ORDER by category_name ASC");
while($category = mysql_fetch_assoc($categories)) echo "<tr><td><img alt=\"Категория &laquo;".$category['category_name']."&raquo;\" align=absmiddle src=\"".$im."/c.gif\"> <a href=\"".$h."/cat/".$category['id']."/\" title=\"Категория &laquo;".$category['category_name']."&raquo;\"><span class=borange>".$category['category_name']."</span></a></td></tr>";
?>
  </table>
  <br style="line-height:5px">
</div>
<br>
<br>
