Вход Регистрация
Файл: DARK WARS/dark_war/style/tpl_c/9fb7dafb6010b60f6b8199b94fa72ed7fecc0cec.file.view_info.tpl.php
Строк: 164
<?php /* Smarty version Smarty-3.1.8, created on 2013-10-06 18:29:30
         compiled from "/home/usr/data/manyak/public_html/dark_war/style/tpl/view_info.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:2002248147525173ca9d99a4-91504329%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid $_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'9fb7dafb6010b60f6b8199b94fa72ed7fecc0cec' => 
    array (
      
=> '/home/usr/data/manyak/public_html/dark_war/style/tpl/view_info.tpl',
      
=> 1352471510,
      
=> 'file',
    ),
  ),
  
'nocache_hash' => '2002248147525173ca9d99a4-91504329',
  
'function' => 
  array (
  ),
  
'variables' => 
  array (
    
'list' => 0,
  ),
  
'has_nocache_code' => false,
  
'version' => 'Smarty-3.1.8',
  
'unifunc' => 'content_525173caa80cc3_74276164',
),
false); /*/%%SmartyHeaderCode%%*/?>
<?php 
if ($_valid && !is_callable('content_525173caa80cc3_74276164')) {function content_525173caa80cc3_74276164($_smarty_tpl) {?><div class="view_info">
<?php if ($_smarty_tpl->tpl_vars['list']->value['title']){?>
    <div class="view_info_title">
    <?php echo $_smarty_tpl->tpl_vars['list']->value['title'];?>

    </div>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['list']->value['img']){?>
    <div class="view_info_title">
    <?php echo $_smarty_tpl->tpl_vars['list']->value['img'];?>

    </div>
    
<?php }?>
<?php 
if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) 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=$_smarty_tpl->tpl_vars['list']->value['request']) ? 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'] > $_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']);
?>
    <div class="view_info_text">
        <?php echo $_smarty_tpl->tpl_vars['list']->value['request'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
<br />
    </div>
<?php endfor; endif; ?>
<?php 
if ($_smarty_tpl->tpl_vars['list']->value['action']){?>
    <br />
    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['b'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['b']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['name'] = 'b';
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['list']->value['action']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total']);
?>
    <a href="<?php echo $_smarty_tpl->tpl_vars['list']->value['action'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']]['link'];?>
"><span><?php echo $_smarty_tpl->tpl_vars['list']->value['action'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']]['name'];?>
</span></a>
    <?php endfor; endif; ?>
<?php 
}?>
</div>
<br />
<?php }} ?>
Онлайн: 3
Реклама