Файл: DARK WARS/dark_war/style/tpl_c/3db9ae6488bd954c37a9f0caab5b7a74854aa27f.file.view_list_plus_img.tpl.php
Строк: 197
<?php /* Smarty version Smarty-3.1.8, created on 2012-08-31 11:52:33
compiled from "Z:/home/trololo/www//dark_war/style/tplview_list_plus_img.tpl" */ ?>
<?php /*%%SmartyHeaderCode:294764fd8f260aee4f9-32416037%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'3db9ae6488bd954c37a9f0caab5b7a74854aa27f' =>
array (
0 => 'Z:/home/trololo/www//dark_war/style/tpl\view_list_plus_img.tpl',
1 => 1346399549,
2 => 'file',
),
),
'nocache_hash' => '294764fd8f260aee4f9-32416037',
'function' =>
array (
),
'version' => 'Smarty-3.1.8',
'unifunc' => 'content_4fd8f260bd0ec3_85941913',
'variables' =>
array (
'post' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd8f260bd0ec3_85941913')) {function content_4fd8f260bd0ec3_85941913($_smarty_tpl) {?><?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['post']->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;
$_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']);
?>
<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['link']){?><a href='<?php echo $_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['link'];?>
'><?php }?>
<table class="<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['link']){?>view_list <?php }else{ ?>view_list_no_link<?php }?>" width="100%" cellpadding="0" cellspacing="1">
<tr>
<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['img']){?>
<td width="<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['ico_size']){?><?php echo $_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['ico_size'];?>
<?php }else{ ?>48px<?php }?>" align="center" valign="top">
<img src="<?php echo $_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['img'];?>
" alt="" />
</td>
<?php }?>
<td>
<?php echo $_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['title'];?>
<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['descrip']){?>
<br />
<div style="color:#9a380d;">
<?php echo $_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['descrip'];?>
</div>
<?php }?>
</td>
</tr>
</table>
<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['link']){?></a><?php }?>
<?php if ($_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['action']){?>
<?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['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['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'] > 0 ? 0 : $_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['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['action'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']]['link'];?>
">
<span class="view_list_even">
<?php echo $_smarty_tpl->tpl_vars['post']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['action'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']]['name'];?>
</span>
</a>
<?php endfor; endif; ?>
<?php }?>
<?php endfor; endif; ?>
<?php }} ?>