{include file="$gentemplates/$header_tpl"}
{strip}
	<div class="ecards_category">
			<h2>{$lang.cards.subcategories_in}&nbsp;{$form.category_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.category_descr}</b>
			</div>
			<div>				
				<div class="block">
					{section name=c loop=$subcategories start=0 max=$form.categories_1_limit}
						<div class="content">
							<div class="image">
								<a href="{$form.file_name}?sel=cards&id_category={$form.id_category}&id_subcategory={$subcategories[c].id}"><img src="{$subcategories[c].image}" width="100" height="100" border="0"></a>
							</div>
							<div class="descr">
								<p>
									<a href="{$form.file_name}?sel=cards&id_category={$form.id_category}&id_subcategory={$subcategories[c].id}" style="font-size: 14px;">
										{$subcategories[c].name}
									</a> 
									<font class="text_hidden">({$subcategories[c].cards_count})</font><br />
								</p>
								<p>{$subcategories[c].descr}</p>
							</div>
						</div>
					{/section}
				</div>
				<div class="block">
					{section name=c loop=$subcategories start=$form.categories_1_limit max=$form.categories_2_limit}
						<div class="content">
							<div class="image">
								<a href="{$form.file_name}?sel=cards&id_category={$form.id_category}&id_subcategory={$subcategories[c].id}"><img src="{$subcategories[c].image}" width="100" height="100" border="0"></a>
							</div>
							<div class="descr">
								<a href="{$form.file_name}?sel=cards&id_category={$form.id_category}&id_subcategory={$subcategories[c].id}" class="text_head">{$subcategories[c].name}</a>
								&nbsp;<font class="text_hidden">({$subcategories[c].cards_count})</font>
								<br />
								<p>{$subcategories[c].descr}</p>
							</div>
						</div>
					{/section}
				</div>
			</div>
	</div>
{/strip}
{include file="$gentemplates/$footer_tpl"}