EIOS/inc/smarty/templates_c/5e7435904d898bb2a159c48e389...

48 lines
2.2 KiB
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 20:35:54
compiled from "tpl/tpl_messager.html" */ ?>
<?php /*%%SmartyHeaderCode:167606728625466fa4ff5e3-31964232%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5e7435904d898bb2a159c48e3898aed7ab2caa80' =>
array (
0 => 'tpl/tpl_messager.html',
1 => 1576560920,
2 => 'file',
),
),
'nocache_hash' => '167606728625466fa4ff5e3-31964232',
'function' =>
array (
),
'variables' =>
array (
'msg' => 0,
'er' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_625466fa504da4_52944304',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_625466fa504da4_52944304')) {function content_625466fa504da4_52944304($_smarty_tpl) {?><?php if (isset($_smarty_tpl->tpl_vars['msg']->value['msg'])){?><?php $_smarty_tpl->tpl_vars['er'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['er']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['msg']->value['msg']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['er']->key => $_smarty_tpl->tpl_vars['er']->value){
$_smarty_tpl->tpl_vars['er']->_loop = true;
?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Выполнено!</strong> <?php echo $_smarty_tpl->tpl_vars['er']->value;?>
</div>
<?php } ?><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['msg']->value['err'])){?><?php $_smarty_tpl->tpl_vars['er'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['er']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['msg']->value['err']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['er']->key => $_smarty_tpl->tpl_vars['er']->value){
$_smarty_tpl->tpl_vars['er']->_loop = true;
?>
<div class="alert alert-error">
<button data-dismiss="alert" class="close">×</button>
<strong>Ошибка!</strong> <?php echo $_smarty_tpl->tpl_vars['er']->value;?>
</div>
<?php } ?><?php }?><?php }} ?>