function smarty_template_function_fe_fn_c_img_delay_1774553027562772e371cd06_40569116($_smarty_tpl,$params) { $saved_tpl_vars = $_smarty_tpl->tpl_vars; $params = array_merge(array('size'=>60,'imgattr'=>"data-imagedelaysrc"), $params); foreach ($params as $key => $value) { $_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value); }?> <div class="c-img c-img-<?php echo (($tmp = @$_smarty_tpl->tpl_vars['type']->value)===null||$tmp==='' ? "s" : $tmp);?> "> <img <?php echo $_smarty_tpl->tpl_vars['imgattr']->value;?> ="<?php echo Utils_Common::timgUrl($_smarty_tpl->tpl_vars['imgsrc']->value,8,$_smarty_tpl->tpl_vars['size']->value);?> " /> </div> <?php foreach (Smarty::$global_tpl_vars as $key => $value){ if ($_smarty_tpl->tpl_vars[$key] === $value) $saved_tpl_vars[$key] = $value; } $_smarty_tpl->tpl_vars = $saved_tpl_vars; }
function smarty_template_function_fe_fn_c_img_delay_49074763255f3c84c5f78a4_14536676($_smarty_tpl,$params) { $saved_tpl_vars = $_smarty_tpl->tpl_vars; foreach ($params as $key => $value) { $_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value); }?> <div class="c-img c-img-<?php echo (($tmp = @$_smarty_tpl->tpl_vars['type']->value)===null||$tmp==='' ? "s" : $tmp);?> "> <img data-imagedelaysrc="<?php echo Utils_Common::timgUrl($_smarty_tpl->tpl_vars['imgsrc']->value,8);?> " /> </div> <?php foreach (Smarty::$global_tpl_vars as $key => $value){ if ($_smarty_tpl->tpl_vars[$key] === $value) $saved_tpl_vars[$key] = $value; } $_smarty_tpl->tpl_vars = $saved_tpl_vars; }