Blame view

templates_c/%%9C^9CD^9CDD9A1B%%product_kite.tpl.php 8.88 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
  <?php /* Smarty version 2.6.16, created on 2015-07-24 16:50:26
           compiled from box/product_kite.tpl */ ?>
  <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  smarty_core_load_plugins(array('plugins' => array(array('modifier', 'usd', 'box/product_kite.tpl', 34, false),array('modifier', 'round', 'box/product_kite.tpl', 50, false),array('modifier', 'stripslashes', 'box/product_kite.tpl', 57, false),array('modifier', 'prodliteral', 'box/product_kite.tpl', 57, false),array('modifier', 'strip_tags', 'box/product_kite.tpl', 59, false),array('modifier', 'truncate', 'box/product_kite.tpl', 59, false),)), $this); ?>
       <div class="row_product"><div class="wrp">
       	 <div class="fl">
  	 <a href="<?php echo @URL;  echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['rubric_translit']; ?>
  -catalogs/<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['translit']; ?>
  -<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  /" class="link_pic1" target="_blank"><img src="<?php echo @URL;  if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['mod']['pic']): ?>uploaded/pic/catalogs/modifications/<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['mod']['pic'];  elseif ($this->_tpl_vars['data'][$this->_sections['i']['index']]['pic']): ?>uploaded/pic/catalogs/products/<?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['akcii_id'] > 0): ?>a_<?php endif;  echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['pic'];  else: ?>img/picno.jpg<?php endif; ?>" alt="<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['list_name']; ?>
   <?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['brend_name']; ?>
  " title="<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['list_name']; ?>
   <?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['brend_name']; ?>
  " itemprop="image" border="0" /></a>
        <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['sail'] == 1): ?>
  		<br /><img src="<?php echo @URL; ?>
  img/sail.png"  border="0" />
  	  <?php endif; ?>
  	  </div>
  	  <div class="infor" align="center" style="position:relative;">
  
  <div id='ratig-layer-<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  ' style="float: none;">
  <div class="rating" style="">
  		<ul class="unit-rating">
  		<li class="current-rating" style="width:<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['rating']; ?>
  px;"><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['rating']; ?>
  </li>
  		<li><a href="#" title="Óæàñíî" class="r1-unit" onclick="doRate('1', '<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  '); return false;">1</a></li>
  		<li><a href="#" title="Ïëîõî" class="r2-unit" onclick="doRate('2', '<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  '); return false;">2</a></li>
  		<li><a href="#" title="Ñðåäíå" class="r3-unit" onclick="doRate('3', '<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  '); return false;">3</a></li>
  		<li><a href="#" title="Õîðîøî" class="r4-unit" onclick="doRate('4', '<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  '); return false;">4</a></li>
  		<li><a href="#" title="Îòëè÷íî" class="r5-unit" onclick="doRate('5', '<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  '); return false;">5</a></li>
  		</ul>
  </div></div>	
  <p><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['rating2']; ?>
   íà îñíîâå <?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['vote_num']; ?>
   ãîëîñîâ</p>  
  <br />	  
         <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['cine'] == 1): ?>
         <div class="jdom">Òîâàð îæèäàåòñÿ</div>
         <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['active'] > 1): ?><div class="cine"><div class="l"><div class="r"><div class="w"><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['active']; ?>
  </div></div></div></div><?php endif; ?>
        <?php elseif ($this->_tpl_vars['data'][$this->_sections['i']['index']]['is_cost2'] == 1): ?>
         <div><strike><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['cine']; ?>
  </strike></div>
         <div class="cost"><div class="l"><div class="r"><div class="w"><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['cine2']; ?>
  </div></div></div></div>
        <?php else: ?>
         <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['cine_last'] > 0): ?><div><strike><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['cine_last']; ?>
  </strike></div><?php endif; ?>
         <div class="cost"><div class="l"><div class="r"><div class="w"><span itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer"><span itemprop="price"><?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['salepc'] > 0): ?><strike><?php endif;  echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['cine']; ?>
   ãðí.<?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['salepc'] > 0): ?></strike><?php endif;  if ($this->_tpl_vars['rubric']['is_usd'] == 1): ?><br /><?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['i']['index']]['cine'])) ? $this->_run_mod_handler('usd', true, $_tmp) : smarty_modifier_usd($_tmp)); ?>
   $<?php endif; ?></span><meta itemprop="currency" content="UAH" /></span><?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['sale'] > 0): ?><span class="sale">*</span><?php endif; ?></div></div></div></div>
  	   <?php endif; ?>
  
  
  
  
  
  
        <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['cine'] != 1): ?>
         <a href="<?php echo @URL;  echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['rubric_translit']; ?>
  -catalogs/<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['translit']; ?>
  -<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  /" class="link_kupit" target="_blank">Êóïèòü</a><br />
        <?php endif; ?>
  	  
  			
  			<?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['salepc'] > 0): ?>
  			<?php $this->assign('twenty_procent', ($this->_tpl_vars['data'][$this->_sections['i']['index']]['cine']*$this->_tpl_vars['data'][$this->_sections['i']['index']]['salepc']/100)); ?>
  			<img src="<?php echo @URL; ?>
  img/_sale10.png" style="position:absolute;right:130px;top:120px" width="57" height="46" />
  			<div class="cost" style="color:#e31515;font-size:16px;"> = <?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['i']['index']]['cine']-$this->_tpl_vars['twenty_procent'])) ? $this->_run_mod_handler('round', true, $_tmp) : round($_tmp)); ?>
   ãðí.</div><br />
  			<?php endif; ?>
        </div>
        <div class="infob">
        	  <a href="<?php echo @URL;  echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['rubric_translit']; ?>
  -catalogs/<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['translit']; ?>
  -<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['id']; ?>
  /" target="_blank" style="text-transform:uppercase;" class="link_green"><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['ph1']; ?>
   <?php echo $this->_tpl_vars['rubric']['list_name']; ?>
   <?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['brend_name']; ?>
   <?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['art']; ?>
  , <span itemprop="name"><?php if ($this->_tpl_vars['rubric']['literal'] == 1):  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('prodliteral', true, $_tmp) : smarty_modifier_prodliteral($_tmp));  else:  echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp));  endif; ?></span></a>
  	  <div class="fr" style="padding-top:50px;text-align:center;"><span class='onstock'>Íàëè÷èå è öåíû<br/> óòî÷íÿéòå íà<br/> ìîìåíò ïîêóïêè</span></div>
        <p><span itemprop="description"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['i']['index']]['about'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
  </span></p>
              </div><div class="both"></div>
  	  		<?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['kovrick'] == 1): ?>
  			<img src="/img/kovrick.png" style="margin-left:150px;margin-top:-60px;" width="168" height="64" />
  		<?php endif; ?>
       </div></div>