Blame view

views/compile/9f2a7677c0c3b833b4d0ca1b8c605deaa0ba96fb.file.header.tpl.php 10.2 KB
8d65d0ce   andryeyev   init
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
  <?php /* Smarty version Smarty-3.0.9, created on 2016-01-27 13:35:01
           compiled from "./views/include/header.tpl" */ ?>
  <?php /*%%SmartyHeaderCode:2389556a89d5529bca4-59649568%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  $_smarty_tpl->decodeProperties(array (
    'file_dependency' => 
    array (
      '9f2a7677c0c3b833b4d0ca1b8c605deaa0ba96fb' => 
      array (
        0 => './views/include/header.tpl',
        1 => 1453883107,
        2 => 'file',
      ),
    ),
    'nocache_hash' => '2389556a89d5529bca4-59649568',
    'function' => 
    array (
    ),
    'has_nocache_code' => false,
  )); /*/%%SmartyHeaderCode%%*/?>
  <?php if (!is_callable('smarty_function_mailto')) include 'D:\Server\OpenServer\domains\extremepride.dev\application\libs\Smarty-3.0.9\libs\plugins\function.mailto.php';
  ?><div id="modal_form">
        
  </div>
  <div id="overlay"></div>
  
  <div class="header">	
  	<div class="container">
  	<div class="logo">
  		<h1><a href="<?php echo $_smarty_tpl->getVariable('url_lang')->value;?>
  " title="Extreme pride"><span>Extreme pride</span></a></h1>
  	</div>
  	
  	<div class="search">
  		<div class="fr">
  			<div class="inpwrp"><div class="inptxt3">Ïîøóê </div><div class="inp3"><form method="get" action="<?php echo $_smarty_tpl->getVariable('url_lang')->value;?>
  /products/search/"><input type="text" name="search_str" value="<?php echo $_GET['search_str'];?>
  " /><input type="submit" value=" " /></form></div><div class="both"></div></div>
  			<div class="inpwrp" id="camera_code"><div class="inptxt">ïåðåâ³ðêà îô³ö³éíîñò³<br />êàìåðè GoPro</div><div class="inp"><form method="get" action="<?php echo $_smarty_tpl->getVariable('url_lang')->value;?>
  /code/"><input name="code" value="<?php echo $_GET['code'];?>
  " type="text" /><input type="submit" value=" " /></form></div><div class="both"></div></div>
  		</div>
  		<div class="txt">
  		Íîìåð <span id="actio" style="cursor:pointer;">ãàðÿ÷î¿</span> ë³í³¿ <span>0800-504-505</span><br />
  		<?php echo smarty_function_mailto(array('address'=>"info@extremepride.com.ua",'extra'=>'style="color:#ffffff"','encode'=>"javascript_charcode"),$_smarty_tpl);?>
  
  		</div>
  	</div><div class="both"></div>
  	</div>
  </div>
  
  	
  <div class="container">
  	<div class="menu">
  <ul style="position:relative;z-index:2;">
  <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=8) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
  if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
      $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
      if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
          $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  } else
      $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  
              for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                   $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                   $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
  ?>
  <li><a href="<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['url'];?>
  " title="<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
  "><img src="<?php echo $_smarty_tpl->getVariable('config')->value->url;?>
  /pics/brends/<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['pic'];?>
  " alt="<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
  " /></a></li>
  <?php endfor; endif; ?>
  </ul><div class="both"></div>
  <center>
  <ul style="position:relative;z-index:1;">
  <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = (int)8;
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('brends')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] < 0)
      $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start']);
  else
      $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1);
  if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
      $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max']);
      if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
          $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  } else
      $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  
              for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                   $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                   $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
  ?>
  
  <li><a href="<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['url'];?>
  " title="<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
  "><img src="<?php echo $_smarty_tpl->getVariable('config')->value->url;?>
  /pics/brends/<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['pic'];?>
  " alt="<?php echo $_smarty_tpl->getVariable('brends')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
  " /></a></li>
  
  <?php endfor; endif; ?>
  </ul>
  </center>
  </div><div class="both"></div>
  
  
  <div class="menu_all">
  <?php echo $_smarty_tpl->getVariable('menu_ul')->value;?>
  
  </div>
  </div>