{include file="$gentemplates/$header_tpl"}
	<div class="ecards_category">
		<h2>{$lang.cards.cards_in}&nbsp;{$form.subcategory_name}
                    <a href="{$form.file_name}?sel=my_orders" style="font-size: 13px;margin-top:7px;" class="float_right">{$lang.cards.my_orders}</a>
                    <div class="float_right">&nbsp;</div>
                    <a onclick="javascript:location.href='{$form.file_name}?sel=my_orders';" class="basket float_right" title="{$lang.button.view}">&nbsp;</a>
		</h2>
		<div>
			<b>{$form.subcategory_descr}</b>
		</div>
		<div style="display:table;width:100%;padding-top:0px;">
			{include file="$gentemplates/pagination_top.tpl"}
		</div>
		<div class="block_cards">
		{section name=c loop=$cards}
			{if $smarty.section.c.index is div by 3}{/if}
				<div class="content">				
					<div class="image">
						<a href="#" onclick="launchWindow('{$form.file_name}','sel=show_card&par={$cards[c].card_image_big}&title= ({$cards[c].name})',580,420); return false;"><img src="{$cards[c].card_image}" width="100" height="100" alt="" border="0"></a>
					</div>
					<div class="descr">
						<div><a href="{$form.file_name}?sel=card&id_card={$cards[c].id}"><b>{$cards[c].name}</b></a></div>
						<div style="padding-top: 5px;"><b>{$lang.cards.price}</b>:<font class="text">{if $cards[c].card_price ne '0.00'}{$cards[c].card_price}&nbsp;{$form.cur}{else}&nbsp;{$lang.cards.price_free}{/if}</font></div>
					</div>
				</div>
			{if $smarty.section.c.index_next is div by 3 || $smarty.section.c.last}{/if}
		{/section}
		</div>
		{include file="$gentemplates/pagination_bottom.tpl"}
	</div>
{include file="$gentemplates/$footer_tpl"}