Blame view

templates_c/%%BC^BCC^BCC4CBB3%%sitemap.tpl.php 4.22 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
  <?php /* Smarty version 2.6.16, created on 2015-07-24 16:45:52
           compiled from sitemap.tpl */ ?>
  <h1>Êàðòà ñàéòà</h1>
  <ul>
  <li><a href="<?php echo @URL; ?>
  ">Ãëàâíàÿ</a></li>
  <li>Êàòàëîã
  	<ul>
  		<?php unset($this->_sections['i']);
  $this->_sections['i']['name'] = 'i';
  $this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin']) ? 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']);
  ?>
  		<?php unset($this->_sections['j']);
  $this->_sections['j']['name'] = 'j';
  $this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
  $this->_sections['j']['show'] = true;
  $this->_sections['j']['max'] = $this->_sections['j']['loop'];
  $this->_sections['j']['step'] = 1;
  $this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
  if ($this->_sections['j']['show']) {
      $this->_sections['j']['total'] = $this->_sections['j']['loop'];
      if ($this->_sections['j']['total'] == 0)
          $this->_sections['j']['show'] = false;
  } else
      $this->_sections['j']['total'] = 0;
  if ($this->_sections['j']['show']):
  
              for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
                   $this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
                   $this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
  $this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
  $this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
  $this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
  $this->_sections['j']['first']      = ($this->_sections['j']['iteration'] == 1);
  $this->_sections['j']['last']       = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
  ?>
  		<li>
  		<a href="<?php echo @URL; ?>
  sitemap-catalog-<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][$this->_sections['j']['index']]['id']; ?>
  /"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][$this->_sections['j']['index']]['name']; ?>
  </a>
  		</li>
  		<?php endfor; endif; ?>
  		<?php endfor; endif; ?>
  	</ul>
  </li>
  <li><a href="<?php echo @URL; ?>
  payment/">Äîñòàâêà è îïëàòà</a></li>
  <li><a href="<?php echo @URL; ?>
  catalogs/brends/">Áðåíäû</a></li>
  <li><a href="<?php echo @URL; ?>
  shops/">Ìàãàçèíû</a></li>
  <li><a href="<?php echo @URL; ?>
  services/">Ñåðâèñ</a></li>
  <li><a href="<?php echo @URL; ?>
  vacancy/">Âàêàíñèè</a></li>
  <li><a href="<?php echo @URL; ?>
  training/">Îáó÷åíèå</a></li>
  <li><a href="<?php echo @URL; ?>
  line/">Ãîðÿ÷àÿ ëèíèÿ</a></li>
  <li><a href="<?php echo @URL; ?>
  sitemap-news/">Íîâîñòè</a></li>
  <li><a href="<?php echo @URL; ?>
  sitemap-articles/">Ñòèòüè</a></li>
  <ul>