 <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">
    <tr valign="top">
      <td><?
############# корзина ###############
if (isset($_SESSION['tovar']) && $_SESSION['tovar'] != "")
{
	$count_pos = count($_SESSION['tovar']);
	if ($count_pos) echo "<img src=\"".$im."/cart.gif\">&nbsp;&nbsp;<a HREF=\"".$h."/cart/\"><span class=bred>В корзине ".$count_pos." ".PluralForm($count_pos,"товар","товара","товаров")."</span></a>
		<br>
		<a href=\"".$h."/cart/buy/\"><strong class=green>&nbsp;&rarr;&nbsp;Оформить покупку</strong></a>";
	else echo "<img src=\"".$im."/cart.gif\">&nbsp;&nbsp;<span class=borange>Ваша корзина пуста</span>";
}
else echo "<img src=\"".$im."/cart.gif\">&nbsp;&nbsp;<span class=borange>Ваша корзина пуста</span>";
############# корзина ###############
?>
      </td>
    </tr>
  </table>
  <br style="line-height:5px">
</div>
<br>
<br>