<?php
/* Smarty version 4.5.2, created on 2024-08-14 19:56:57
  from '/home/life/public_html/teg.lifestyle.uz/themes/template-ru/article-product.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66bd0c0972d948_62625280',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '5e71cc43a0f529d3753eb69bc947592a0b064c72' => 
    array (
      0 => '/home/life/public_html/teg.lifestyle.uz/themes/template-ru/article-product.tpl',
      1 => 1723665413,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_66bd0c0972d948_62625280 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('title'=>$_smarty_tpl->tpl_vars['article']->value['title'],'keywords'=>$_smarty_tpl->tpl_vars['article']->value['keywords'],'description'=>$_smarty_tpl->tpl_vars['article']->value['description']), 0, false);
?>

<main class="main">

	<section class="flex:col pad-tb-50">
		<div class="flex:col-max">

			<div class="block">
				<div class="block__inner">

					<div class="product-desc">

						<div class="product-desc__slider">

							<div class="product-desc__slider-img slider-img_js">
								<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
">
							</div>
							<?php if (!empty($_smarty_tpl->tpl_vars['article']->value['gallery'])) {?>
							<div class="product-desc__slider-btns">
								<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['article']->value['gallery'], 'articleImage', false, NULL, 'articleImage', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['articleImage']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['articleImage']->value) {
$_smarty_tpl->tpl_vars['articleImage']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_articleImage']->value['iteration']++;
?>
								<button class="product-desc__slider-btn slider-btn_js <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_articleImage']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_articleImage']->value['iteration'] : null) == 1) {?>active<?php }?>">
									<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['articleImage']->value['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['articleImage']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
">
								</button>
								<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
							</div>
							<?php }?>

						</div>

						<div class="product-desc__info">
							<div class="text-tmp title-36 title-dec-28 title-tt-up txt-14 txt-accent-2 txt-fw-500">
								<p>
									Трансформатор
								</p>
								<h1><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</h1>
								
							</div>

							<div class="text-tmp title-18 title-tt-up txt-14 txt-fw-500">
								<h2>Описание</h2>
								
								<?php echo $_smarty_tpl->tpl_vars['article']->value['summary'];?>

								
								<?php echo $_smarty_tpl->tpl_vars['article']->value['content'];?>


							</div>

						</div>

					</div>

				</div>
			</div>

		</div>
	</section>

</main>

<?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}
}
