%%F1^F13^F135F556%%catalogs_brend.tpl.php 5.74 KB
<?php /* Smarty version 2.6.16, created on 2015-08-26 16:04:27
         compiled from catalogs_brend.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', 'catalogs_brend.tpl', 33, false),array('modifier', 'urlcode', 'catalogs_brend.tpl', 39, false),)), $this); ?>
<h1>Êîìïàíèÿ <?php echo $this->_tpl_vars['brend_seo']['name']; ?>
</h1>
<div class="leftbar2">
<?php echo @BREND_INFO_TXT1; ?>

<br /><br />

	<div class="box_br">
<?php $_from = $this->_tpl_vars['brend_rubrics']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
        $this->_foreach['foo']['iteration']++;
?>
   <p class="txtb"><?php echo $this->_tpl_vars['k']; ?>
</p>

	<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['v']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
	 <p><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo $this->_tpl_vars['v'][$this->_sections['i']['index']]['translit']; ?>
-catalogs/filter;brend=<?php echo $this->_tpl_vars['brend_seo']['name']; ?>
" class="link4"><?php echo $this->_tpl_vars['v'][$this->_sections['i']['index']]['name']; ?>
 <span>(<?php echo $this->_tpl_vars['v'][$this->_sections['i']['index']]['c']; ?>
)</span></a></p>
	<?php endfor; endif; ?>
	<?php if (($this->_foreach['foo']['iteration']-1) < count ( $this->_tpl_vars['brend_rubrics'] ) -1): ?>
	<hr />
	<?php endif;  endforeach; endif; unset($_from); ?>	
	</div>

</div>
<div class="content">

	<ul class="list mrt" id="list1">
		<li id="tab31"><span class="l"></span><a href="#etab31"><?php echo @BREND_INFO_TXT2; ?>
</a><span class="r"></span></li>
		<li id="tab32"><span class="l"></span><a href="#etab32"><?php echo @BREND_INFO_TXT3; ?>
</a><span class="r"></span></li>
	</ul> 

	<div class="tab_container" style="width:700px;">
		<div id="etab31" class="tab_content">

<?php if ($this->_tpl_vars['brend_seo']['pic']): ?>
<img src="<?php echo @URL; ?>
uploaded/pic/catalogs/brends/<?php echo $this->_tpl_vars['brend_seo']['pic']; ?>
" border="0" align="left" class="pic right" />
<?php endif;  if ($_GET['history'] == 1):  echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['history'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

<?php elseif ($_GET['teh'] == 1):  echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['teh'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

<?php else: ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['about'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
<div class="both"></div>
<?php endif; ?>
 <?php if ($this->_tpl_vars['brend_seo']['link']): ?>
  Ññûëêà: <a href="<?php echo @URL; ?>
redirect2.php?url_encode=<?php echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['link'])) ? $this->_run_mod_handler('urlcode', true, $_tmp) : smarty_modifier_urlcode($_tmp)); ?>
" target="_blank"><?php echo $this->_tpl_vars['brend_seo']['link']; ?>
</a>
 <?php endif;  if ($this->_tpl_vars['brend_seo']['youtube']): ?>
<div class="title3"><div class="l"><div class="r"><div class="w">Âèäåî <?php echo $this->_tpl_vars['brend_seo']['name']; ?>
</div></div></div></div>
<div>&nbsp;</div>
<div class='youtube'>
<?php echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['youtube'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

</div>
<?php endif; ?>



</div>
<div id="etab32" class="tab_content">
<?php echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['teh'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>


<div class="both"></div>
<div class="hr"></div>

<a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
catalogs/brends/<?php echo $this->_tpl_vars['brend_seo']['name']; ?>
/products/"><?php echo @BREND_PRODUCTS_MORE; ?>
</a>

</div>


</div><div class="both"></div>

<div style="width:700px;margin-top:20px;">
<?php echo ((is_array($_tmp=$this->_tpl_vars['brend_seo']['seo'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

</div>
</div><div class="both"></div>