 <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:10px" border="0" width="100%" align="center" cellpadding="5" cellspacing="0">
<?
// достаём контентные страницы
$query_page = mysql_query ("SELECT id, title FROM jshop_page WHERE publick = 1 ORDER by title");
if (mysql_num_rows ($query_page))
{
	while ($page = mysql_fetch_assoc ($query_page)) echo "<tr valign=top><td><a href=\"".$h."/page/".$page['id']."/\" title=\"".htmlspecialchars($page['title'])."\"><span class=\"bgray nd\">".$page['title']."</span></a></td></tr>";
}
// достаём контентные страницы
?>	
  </table>
  <br style="line-height:5px">
</div>
<br>
<br>
