Blame view

templates_c/%%F1^F13^F135F556%%catalogs_brend.tpl.php 5.74 KB
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  <?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>