%%52^520^5207CD86%%promo.tpl.php 8.55 KB
<?php /* Smarty version 2.6.16, created on 2012-02-03 14:58:55
         compiled from promo.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'promo.tpl', 4, false),array('modifier', 'stripslashes', 'promo.tpl', 74, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
        <title><?php echo ((is_array($_tmp=@$this->_tpl_vars['meta']['title'])) ? $this->_run_mod_handler('default', true, $_tmp, 'Ëûæè, ñíîóáîðäû, êîíüêè, âåëîñèïåäû, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã') : smarty_modifier_default($_tmp, 'Ëûæè, ñíîóáîðäû, êîíüêè, âåëîñèïåäû, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã')); ?>
</title>
        <meta http-equiv="content-type" content="text/html; charset=windows-1251">
        <meta name="author" content="ArtWeb Studio">
        <meta name="description" content="<?php echo ((is_array($_tmp=@$this->_tpl_vars['meta']['description'])) ? $this->_run_mod_handler('default', true, $_tmp, 'ExtrimStyle') : smarty_modifier_default($_tmp, 'ExtrimStyle')); ?>
" />
        <meta name="keywords" content="<?php echo ((is_array($_tmp=@$this->_tpl_vars['meta']['keywords'])) ? $this->_run_mod_handler('default', true, $_tmp, 'ExtrimStyle') : smarty_modifier_default($_tmp, 'ExtrimStyle')); ?>
" />
        <link rel="shortcut icon" href="http://extremstyle.ua/img/favicon.ico" type="image/x-icon" />
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
        <script type="text/javascript" src="js/promo/code.js"></script>
        <script type="text/javascript" src="js/promo/jquery.jcarousel.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/promo/skin.css" />
<link rel="stylesheet" type="text/css" href="js/promo/skin2.css" />
<?php echo '
<script type="text/javascript">

jQuery(document).ready(function() {
    jQuery(\'#mycarousel\').jcarousel({scroll: 1});
    jQuery(\'#mycarousel2\').jcarousel({scroll: 1});
});

</script>

<style>
html, body {
        margin: 0px;
        padding: 0px;
        width: 100%;
        min-width:1000px;
        height:100%;
}BODY{font-family:Arial,tahoma;}
#opacity{width:100%;height:100%;background:#000000;opacity: 0.5;position:absolute;}

#content{background:#ffffff url('; ?>
'uploaded/pic/promo/bg/<?php echo $this->_tpl_vars['news']['bgpic']; ?>
'<?php echo ') no-repeat;position:absolute;width:1000px;height:700px;}
#content .wrp{padding:150px 0px 0px 50px;}
.leftbar{float:left;width:450px;}
.rightbar{float:right;width:470px;}
.info{background:#000000;padding:10px;color:#ffffff;margin-bottom:20px;-moz-border-radius: 10px;-webkit-border-radius: 10px;}
.info h1{color:#e51e26;margin:0px 0px 5px 0px;padding:0px;font-size:25px;}

.cost_last{display:inline-block;background:#000000;color:#ffffff;padding:5px 10px;margin-right:20px;}
.cost{display:inline-block;background:#ffffff;color:#e51e26;padding:5px 10px;font-weight:bold;margin-right:20px;}
.bay{display:inline-block;background:#e51e26;color:#ffffff;padding:5px 10px;font-weight:bold;margin-right:20px;}
.bay a{color:#ffffff;text-decoration:none;}
.picone{height:360px;}
</style>
'; ?>

</head>

<body>

<div id="opacity"></div>

<div id="content"><div class="wrp">
 <div class="leftbar">
  <div class="picone">
   <?php if ($this->_tpl_vars['foto']['id'] > 0): ?>
   <img src="uploaded/pic/promo/foto/<?php echo $this->_tpl_vars['foto']['pic']; ?>
" border="0" alt="<?php echo $this->_tpl_vars['foto']['title']; ?>
" />
   <?php else: ?><img src="uploaded/pic/promo/<?php echo $this->_tpl_vars['news']['pic']; ?>
" border="0" alt="<?php echo $this->_tpl_vars['news']['title']; ?>
" /><?php endif; ?>
  </div>
  
  <ul id="mycarousel2" class="jcarousel-skin-tango2">
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['list']) ? 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']);
?>
    <li><a href="promo.php?prefix=<?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['prefix']; ?>
"><img src="uploaded/pic/promo/ico/<?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['icopic']; ?>
" width="150" height="150" alt="<?php echo $this->_tpl_vars['list'][$this->_sections['i']['index']]['title']; ?>
" border="0" /></a></li>
    <?php endfor; endif; ?>
  </ul>
  
 </div>
 <div class="rightbar">

  <div class="info">
   <h1><?php echo $this->_tpl_vars['news']['title']; ?>
</h1>
   <?php echo ((is_array($_tmp=$this->_tpl_vars['news']['about'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>

  </div>
  <span class="cost_last"><strike><?php echo $this->_tpl_vars['news']['cost_last']; ?>
 ãðí.</strike></span>
  <span class="cost"><?php echo $this->_tpl_vars['news']['cost']; ?>
 ãðí.</span>
  <span class="bay"><a href="<?php echo $this->_tpl_vars['news']['link']; ?>
">êóïèòü</a></span>
  
  
  
 <?php if (count ( $this->_tpl_vars['fotos'] ) > 0): ?>
  <ul id="mycarousel" class="jcarousel-skin-tango">
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['fotos']) ? 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']);
?>
    <li><a href="promo.php?prefix=<?php echo $_GET['prefix']; ?>
&fotoID=<?php echo $this->_tpl_vars['fotos'][$this->_sections['i']['index']]['id']; ?>
"><img src="uploaded/pic/promo/foto/ico/<?php echo $this->_tpl_vars['fotos'][$this->_sections['i']['index']]['icopic']; ?>
" width="75" height="75" alt="<?php echo $this->_tpl_vars['fotos'][$this->_sections['i']['index']]['title']; ?>
" border="0" /></a></li>
    <?php endfor; endif; ?>
  </ul>
 <?php endif; ?>
  <?php echo ((is_array($_tmp=$this->_tpl_vars['news']['code'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>


 </div><div style="clear:both"></div>
</div></div>

</body>
</html>