<!DOCTYPE html>
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<head>
<meta charset="UTF-8" />
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<meta property="og:title" content="<?php echo $title; ?>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?php echo $og_url; ?>" />
<?php if ($og_image) { ?>
<meta property="og:image" content="<?php echo $og_image; ?>" />
<?php } else { ?>
<meta property="og:image" content="<?php echo $logo; ?>" />
<?php } ?>
<meta property="og:site_name" content="<?php echo $name; ?>" />
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
<link href="catalog/view/javascript/jquery/cloud-zoom/cloud-zoom.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/carousel/skins/tango/skin.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/modal/jquery.reveal.css" media="screen" />
<?php foreach ($styles as $style) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
<!-- JV_Quick_Order -->
<script type="text/javascript" src="catalog/view/javascript/jv_quickorder/jquery.validate.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jv_quickorder/jquery.maskedinput-1.3.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jv_quickorder/jv_quickorder.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jv_bootstrap/bootstrap.min.js"></script>
<!-- JV_Quick_Order -->
<script type="text/javascript" src="catalog/view/javascript/modal/jquery.reveal.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/common.js"></script>
<script type='text/javascript'>$(function(){$.config = {url:'<?php echo HTTP_SERVER; ?>'};});</script>
<script type="text/javascript" src="catalog/view/javascript/fastorder.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery.liveValidation.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/fastorder.css" />
<script type="text/javascript" src="catalog/view/javascript/jquery.notify.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="catalog/view/javascript/notification.js" ></script>
<script type="text/javascript" src="catalog/view/javascript/carousel/jquery.jcarousel.min.js" ></script>
<script type="text/JavaScript" src="catalog/view/javascript/jquery/cloud-zoom/cloud-zoom.1.0.2.js"></script>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>

<noindex>
<style>
    #less label{ width: 150px; float:left; font-size: 20px; margin-top: 5px; margin-bottom: 3px; }
    #less input{ width: 300px; float:right; margin: 4px 0; }
</style>
<script type="text/javascript" src="catalog/view/javascript/jquery/less.js"></script>

<div id="error"></div>

<div id="less">
    <form>
        <b>Мы гарантируем персональное снижение цены, при следующих условиях:</b>
        <ol>
            <li>Товар конкурента абсолютно идентичен товару нашего магазина</li>
            <li>Конкурент предлагает аналогичные условия оплаты и доставки товара</li>
            <li>Товар конкурента находится на складе, и доступен для заказа.</li>
        </ol>
        <div>
            <label>Ваше имя</label>
            <input type="text" name="less_name" value="" maxlength="50" />
        </div>
        <div>
            <label>Товар</label>
            <input type="text" name="less_product" value="" maxlength="100" />
        </div>
        <div>
            <label>Найденная цена</label>
            <input type="text" name="less_price" value="" maxlength="100" />
        </div>
        <div>
            <label>Ссылка</label>
            <input type="text" name="less_url" value="" maxlength="255" />
        </div>
        <div>
            <label>Ваш тел.</label>
            <input type="text" name="less_phone" maxlength="20" />
        </div>
        <div>
            <label>E-mail</label>
            <input type="text" name="less_email" maxlength="50" />
        </div>
    </form>
</div>
</noindex>

<!--[if IE 7]> 
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie7.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#logo img');
</script>
<![endif]-->
<script type="text/javascript">
jQuery(document).ready(function() {
	jQuery('#mycarousel').jcarousel({
		wrap: null,
		vertical: true,
        scroll: 2
	});
});
</script>
<?php if ($stores) { ?>
<script type="text/javascript"><!--
$(document).ready(function() {
<?php foreach ($stores as $store) { ?>
$('body').prepend('<iframe src="<?php echo $store; ?>" style="display: none;"></iframe>');
<?php } ?>
});
//--></script>
<?php } ?>
<?php echo $google_analytics; ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />




<link rel="stylesheet" href="cb_bpc/blue.css" type="text/css" media="all" />
<script src="cb_bpc/script.js" type="text/javascript"></script>

</head>
<body>
 <!-- Start SiteHeart code -->
    <script>
    (function(){
    // your widget ID
    var widget_id = 651691;
    _shcp =[{widget_id : widget_id}];
    // set default language
    var lang =(navigator.language || navigator.systemLanguage
    || navigator.userLanguage ||"en")
    .substr(0,2).toLowerCase();
    // script url
    var url ="widget.siteheart.com/widget/sh/"+ widget_id +"/"+ lang +"/widget.js";
    var hcc = document.createElement("script");
    hcc.type ="text/javascript";
    hcc.async =true;
    hcc.src =("https:"== document.location.protocol ?"https":"http")
    +"://"+ url;
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hcc, s.nextSibling);
    })();
    </script>
    <!-- End SiteHeart code -->
<div id="toppanel"><!-- toppanel -->
		<div id="wrap_analog">
			<div class="popup_feedback"><a href="javascript:void(0);" onClick="recall_show();">Обратная связь</a></div>
			<div class="popup_recall"><a href="javascript:void(0);" onClick="recall_show();">Заказать обратный звонок</a></div>
			<div class="site_email">info@igrawka.ru</div>
			<div class="tp_line"></div>
			<div class="toppanel_basket"><?php echo $cart; ?></div>
			<!--<?php if (!$logged) { ?>
			<div class="authulka"><a href="/create-account/">Регистрация</a> &nbsp; &nbsp; 
			<a class="logaut">Войти</a></div>
			<?php } else { ?>
			<div class="authulka"><?php echo $text_logged; ?></div>
			<?php } ?>-->
			<?php if (!$logged) { ?>
			<div class="authulka"><a href="index.php?route=account/register">Регистрация</a> &nbsp; &nbsp; 
			<a id="logaut">Войти</a></div>
			<?php } else { ?>
			<div class="authulka"><?php echo $text_logged; ?></div>
			<?php } ?>
		</div>
			
</div><!-- /toppanel -->
	<div id="loginbox">
<!--	<form action="login/" method="post" enctype="multipart/form-data">-->
<form action="index.php?route=account/login" method="post" enctype="multipart/form-data">
        <div>
		  <input type="text" name="email" value="Ваш e-mail"/>
          <input type="password" name="password" value="Ваш пароль"/>
          <input type="submit" value=">" class="button" />
          <br />
          <a href="index.php?route=account/forgotten" style="margin-left:160px;">Забыли пароль?</a>
	  </div>
	</form>
	</div>
<div id="container">
<div  id="header">

  <!--<?php if ($logo) { ?>
  <div id="logo">
  <?php if ($home == $og_url) { ?>
  <img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" />
  <?php } else { ?>
  <a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a>
  <?php } ?>
  </div>
  <?php } ?>-->
  <a href="/"><div style="margin-top: 10px;" id="logo" ><img src="catalog/view/theme/default/image/logo.png" alt="" /></div></a>
  
  <div style="font-size: 19px;" class="phone1">
  <span class="phone-blue"><img  src="catalog/view/theme/default/image/phone.png"  alt="" /> (095) </span> 175-05-04
  </div>
  
  <div style="font-size: 19px;" class="phone2">
  <span class="phone-blue"><img  src="catalog/view/theme/default/image/phone.png"  alt="" /> (095) </span> 175-05-04
  </div>
  
    <div  style="font-size: 17px;" class="phone3">
  <span  class="phone-blue"><img  src="catalog/view/theme/default/image/skype.png"  alt="" /> </span>igrawka.ru 
  </div>
  
  <div style="font-size: 19px;" class="phone4">
  <span class="phone-blue"><img  src="catalog/view/theme/default/image/email.png"  alt="" /> </span>info@igrawka.ru 
  </div>

  <div style="margin-top: 30px;" id="search">
    <div class="button-search"></div>
    <input style="border:1px solid #aaaaaa; border-radius: 7px; " type="text" id="search-place" name="search" placeholder="" onFocus="if(this.value==this.defaultValue)this.value='';" onBlur="if(this.value=='')this.value=this.defaultValue;" value="например: вытяжка AEG" />
	<p style="margin-top: 30px;" class="price-new22"><img src="catalog/view/theme/default/image/bank.png" style="margin-top: -5px;"  alt="" /> <span>1€ = <?php echo round($price_ratioeur, 2); ?>грн.</span>  </b>	
			<span>1$ = <?php echo round($price_ratiousd, 2); ?>грн.</span>  <br /></p>
  </div>

  <!--<div id="welcome">
    <?php if (!$logged) { ?>
    <?php echo $text_welcome; ?>
    <?php } else { ?>
    <?php echo $text_logged; ?>
    <?php } ?>
  </div>-->

<ul style="margin-top: 32px;" class="top_menu_lvl1">
	<li><a class="home_icon" href="/"><span><img src="catalog/view/theme/default/image/home_icon.png" alt="" /> Главная </span></a></li>

	<li><a href="/delivery/"><span>Доставка</span></a></li>
	<li><a href="/payment/"><span>Оплата</span></a></li>
	<li><a href="/cooperation/"><span>Сотрудничество</span></a></li>
	<li><a href="/actions/"><span>Акции</span></a></li>
	<li><a href="/contacts/"><span>Контакты</span></a></li>
</ul>

</div>
<br> <br>
<?php echo $supermenu; ?>
	
<div id="notification"></div>

	<div id="monContainer">
						<div id="basic-template">
							<a class="ui-notify-cross ui-notify-close" href="#">x</a>
							<h1>#{title}</h1>
							<p>#{text}</p>
						   
						</div>
						<div id="templateShop">
							<a class="ui-notify-cross ui-notify-close s_button-remove" href="javascript:;">x</a>
							#{title}<div class="titleSuccess"><h2 class="s_success_24">Товар в корзине!</h2></div>#{text}		
						</div>
						<div id="templateCompare" class="classHeight">
							<a class="ui-notify-cross ui-notify-close s_button-remove" href="javascript:;">x</a>
							#{title}<div class="titleSuccess"><h2 class="s_success_24">Сравнить товары!</h2></div>#{text}		
						</div>
						<div id="templateWishList" class="classHeight">
							<a class="ui-notify-cross ui-notify-close s_button-remove" href="javascript:;">x</a>
							#{title}<div class="titleSuccess"><h2 class="s_success_24">Товар отложен!</h2></div>#{text}	
						</div>
	</div><!--end div monContainer-->

<script>
$(document).ready(function(){
	$('.search-input-help span.sample').on('click', function(){
		if($('input#search-place').attr('value')=="")
			$('input#search-place').attr('value', $(this).html() );
	});
});
</script>
<script>
$('#logaut').click(function(){
		if ($('#loginbox').css('display') == 'none')
		{
			//$('#call').css('display', 'block');
			$('#loginbox').slideDown(300);
		}
		else
		{
			//$('#call').css('display', 'none');
			$('#loginbox').slideUp(300);
		}
	});
</script>
