Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/bc/ca/f1/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/bc/ca
<?php
/* Smarty version 4.3.1, created on 2024-01-02 04:09:14
from 'module:an_hurry_upviewstemplatesfronthurryup.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_65937e5a4ffec0_49125658',
'has_nocache_code' => false,
'file_dependency' =>
array (
'bccaf1b8f824c80a7e6f034bea21148fae391e26' =>
array (
0 => 'module:an_hurry_upviewstemplatesfronthurryup.tpl',
1 => 1702566465,
2 => 'module',
),
),
'includes' =>
array (
),
),false)) {
function content_65937e5a4ffec0_49125658 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- begin /home/webdevt/www/schtroumpf.fr/modules/an_hurry_up/views/templates/front/hurryup.tpl --><?php if ($_smarty_tpl->tpl_vars['product']->value['quantity'] <= $_smarty_tpl->tpl_vars['config']->value['stockProgressBarMaxValue']) {
if ($_smarty_tpl->tpl_vars['config']->value['stockProgressBarColor'] != '') {?>
<style>
.an_hurry_up-progress-fill { background-color: <?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['config']->value['stockProgressBarColor'], ENT_QUOTES, 'UTF-8');?>
!important; }
</style>
<?php }?>
<div class="an_hurry_up">
<div class="an_hurry_up-text">
<?php if ($_smarty_tpl->tpl_vars['product']->value['quantity'] > 0) {?>
<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['config']->value['title_left'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
<span class="an_hurry_up-count"><?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['product']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['config']->value['title_right'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
<?php } else { ?>
<?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['config']->value['title_noitems'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
<?php }?>
</div>
<?php if ((isset($_smarty_tpl->tpl_vars['config']->value['show_line'])) && $_smarty_tpl->tpl_vars['config']->value['show_line'] == '1') {?>
<div class="an_hurry_up-progress" >
<div class="an_hurry_up-progress-fill" data-max="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['config']->value['stockProgressBarMaxValue'], ENT_QUOTES, 'UTF-8');?>
"></div>
</div>
<?php }?>
</div>
<?php }?>
<!-- end /home/webdevt/www/schtroumpf.fr/modules/an_hurry_up/views/templates/front/hurryup.tpl --><?php }
}