Différents fichiers (ça marche pas sur MacBook)

This commit is contained in:
2020-05-09 12:18:56 +02:00
parent 193e608d4e
commit 8fd5f28ef7
2918 changed files with 14926 additions and 513425 deletions

View File

@@ -1,830 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 13:45:08
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/options/options.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd29254141e45_48072979',
'has_nocache_code' => false,
'file_dependency' =>
array (
'00477f4d9eb209f8df397ce8f2f436e8a4574e5b' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/options/options.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd29254141e45_48072979 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div class="leadin"><?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2260166825dd292540d4af6_26564699', "leadin");
?>
</div>
<?php echo '<script'; ?>
type="text/javascript">
id_language = Number(<?php echo $_smarty_tpl->tpl_vars['current_id_lang']->value;?>
);
<?php if (isset($_smarty_tpl->tpl_vars['tabs']->value) && count($_smarty_tpl->tpl_vars['tabs']->value)) {?>
var helper_tabs= <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( $_smarty_tpl->tpl_vars['tabs']->value ));?>
;
var unique_field_id = '<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_';
<?php }
echo '</script'; ?>
>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_7813143295dd292540d8271_02061412', "defaultOptions");
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2616569585dd2925413f981_36905910', "after");
?>
<?php }
/* {block "leadin"} */
class Block_2260166825dd292540d4af6_26564699 extends Smarty_Internal_Block
{
public $subBlocks = array (
'leadin' =>
array (
0 => 'Block_2260166825dd292540d4af6_26564699',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "leadin"} */
/* {block "label"} */
class Block_9929477295dd292540ed7f9_58939102 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['title']) && isset($_smarty_tpl->tpl_vars['field']->value['hint'])) {?>
<label class="control-label col-lg-3<?php if (isset($_smarty_tpl->tpl_vars['field']->value['required']) && $_smarty_tpl->tpl_vars['field']->value['required'] && $_smarty_tpl->tpl_vars['field']->value['type'] != 'radio') {?> required<?php }?>">
<?php if (!$_smarty_tpl->tpl_vars['categoryData']->value['hide_multishop_checkbox'] && $_smarty_tpl->tpl_vars['field']->value['multishop_default'] && empty($_smarty_tpl->tpl_vars['field']->value['no_multishop_checkbox'])) {?>
<input type="checkbox" name="multishopOverrideOption[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" value="1"<?php if (!$_smarty_tpl->tpl_vars['field']->value['is_disabled']) {?> checked="checked"<?php }?> onclick="toggleMultishopDefaultValue(this, '<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
')"/>
<?php }?>
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="
<?php if (is_array($_smarty_tpl->tpl_vars['field']->value['hint'])) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['hint'], 'hint');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['hint']->value) {
?>
<?php if (is_array($_smarty_tpl->tpl_vars['hint']->value)) {?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['hint']->value['text'],'html','UTF-8' ));?>
<?php } else { ?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['hint']->value,'html','UTF-8' ));?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['field']->value['hint'];?>
<?php }?>
" data-html="true">
<?php echo $_smarty_tpl->tpl_vars['field']->value['title'];?>
</span>
</label>
<?php } elseif (isset($_smarty_tpl->tpl_vars['field']->value['title'])) {?>
<label class="control-label col-lg-3">
<?php if (!$_smarty_tpl->tpl_vars['categoryData']->value['hide_multishop_checkbox'] && $_smarty_tpl->tpl_vars['field']->value['multishop_default'] && empty($_smarty_tpl->tpl_vars['field']->value['no_multishop_checkbox'])) {?>
<input type="checkbox" name="multishopOverrideOption[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" value="1"<?php if (!$_smarty_tpl->tpl_vars['field']->value['is_disabled']) {?> checked="checked"<?php }?> onclick="checkMultishopDefaultValue(this, '<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
')" />
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['field']->value['title'];?>
</label>
<?php }?>
<?php
}
}
/* {/block "label"} */
/* {block "input"} */
class Block_1945608365dd292540f5f44_65888028 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/clients/client1/web14/web/vendor/smarty/smarty/libs/plugins/modifier.replace.php','function'=>'smarty_modifier_replace',),));
?>
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'select') {?>
<div class="col-lg-9">
<?php if ($_smarty_tpl->tpl_vars['field']->value['list']) {?>
<select class="form-control fixed-width-xxl <?php if (isset($_smarty_tpl->tpl_vars['field']->value['class'])) {
echo $_smarty_tpl->tpl_vars['field']->value['class'];
}?>" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
"<?php if (isset($_smarty_tpl->tpl_vars['field']->value['js'])) {?> onchange="<?php echo $_smarty_tpl->tpl_vars['field']->value['js'];?>
"<?php }?> id="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" <?php if (isset($_smarty_tpl->tpl_vars['field']->value['size'])) {?> size="<?php echo $_smarty_tpl->tpl_vars['field']->value['size'];?>
"<?php }?>>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['list'], 'option', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['option']->value) {
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['option']->value[$_smarty_tpl->tpl_vars['field']->value['identifier']];?>
"<?php if ($_smarty_tpl->tpl_vars['field']->value['value'] == $_smarty_tpl->tpl_vars['option']->value[$_smarty_tpl->tpl_vars['field']->value['identifier']]) {?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['option']->value['name'];?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php } elseif (isset($_smarty_tpl->tpl_vars['input']->value['empty_message'])) {?>
<?php echo $_smarty_tpl->tpl_vars['input']->value['empty_message'];?>
<?php }?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'bool') {?>
<div class="col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_on" value="1" <?php if ($_smarty_tpl->tpl_vars['field']->value['value']) {?> checked="checked"<?php }
if (isset($_smarty_tpl->tpl_vars['field']->value['js']['on'])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['js']['on'];
}
if (isset($_smarty_tpl->tpl_vars['field']->value['disabled']) && (bool)$_smarty_tpl->tpl_vars['field']->value['disabled']) {?> disabled="disabled"<?php }?>/><label for="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_on" class="radioCheck"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Yes','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label><input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_off" value="0" <?php if (!$_smarty_tpl->tpl_vars['field']->value['value']) {?> checked="checked"<?php }
if (isset($_smarty_tpl->tpl_vars['field']->value['js']['off'])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['js']['off'];
}
if (isset($_smarty_tpl->tpl_vars['field']->value['disabled']) && (bool)$_smarty_tpl->tpl_vars['field']->value['disabled']) {?> disabled="disabled"<?php }?>/><label for="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_off" class="radioCheck"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<a class="slide-button btn"></a>
</span>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'radio') {?>
<div class="col-lg-9">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['choices'], 'v', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['v']->value) {
?>
<p class="radio">
<label for="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
"><input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
"<?php if ($_smarty_tpl->tpl_vars['k']->value == $_smarty_tpl->tpl_vars['field']->value['value']) {?> checked="checked"<?php }
if (isset($_smarty_tpl->tpl_vars['field']->value['js'][$_smarty_tpl->tpl_vars['k']->value])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['js'][$_smarty_tpl->tpl_vars['k']->value];
}?>/><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</label>
</p>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'checkbox') {?>
<div class="col-lg-9">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['choices'], 'v', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['v']->value) {
?>
<p class="checkbox">
<label class="col-lg-3" for="<?php echo $_smarty_tpl->tpl_vars['key']->value;
echo $_smarty_tpl->tpl_vars['k']->value;?>
_on"><input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['key']->value;
echo $_smarty_tpl->tpl_vars['k']->value;?>
_on" value="<?php echo intval($_smarty_tpl->tpl_vars['k']->value);?>
"<?php if ($_smarty_tpl->tpl_vars['k']->value == $_smarty_tpl->tpl_vars['field']->value['value']) {?> checked="checked"<?php }
if (isset($_smarty_tpl->tpl_vars['field']->value['js'][$_smarty_tpl->tpl_vars['k']->value])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['js'][$_smarty_tpl->tpl_vars['k']->value];
}?>/><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</label>
</p>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'text') {?>
<div class="col-lg-9"><?php if (isset($_smarty_tpl->tpl_vars['field']->value['suffix'])) {?><div class="input-group<?php if (isset($_smarty_tpl->tpl_vars['field']->value['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['class'];
}?>"><?php }?>
<input class="form-control <?php if (isset($_smarty_tpl->tpl_vars['field']->value['class'])) {
echo $_smarty_tpl->tpl_vars['field']->value['class'];
}?>" type="<?php echo $_smarty_tpl->tpl_vars['field']->value['type'];?>
"<?php if (isset($_smarty_tpl->tpl_vars['field']->value['id'])) {?> id="<?php echo $_smarty_tpl->tpl_vars['field']->value['id'];?>
"<?php }?> size="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['size'])) {
echo intval($_smarty_tpl->tpl_vars['field']->value['size']);
} else { ?>5<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['no_escape']) && $_smarty_tpl->tpl_vars['field']->value['no_escape']) {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['value'],'UTF-8' ));
} else {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['value'],'html','UTF-8' ));
}?>" <?php if (isset($_smarty_tpl->tpl_vars['field']->value['autocomplete']) && !$_smarty_tpl->tpl_vars['field']->value['autocomplete']) {?>autocomplete="off"<?php }?>/>
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['suffix'])) {?>
<span class="input-group-addon">
<?php echo strval($_smarty_tpl->tpl_vars['field']->value['suffix']);?>
</span>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['suffix'])) {?></div><?php }?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'password') {?>
<div class="col-lg-9"><?php if (isset($_smarty_tpl->tpl_vars['field']->value['suffix'])) {?><div class="input-group<?php if (isset($_smarty_tpl->tpl_vars['field']->value['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['class'];
}?>"><?php }?>
<input type="<?php echo $_smarty_tpl->tpl_vars['field']->value['type'];?>
"<?php if (isset($_smarty_tpl->tpl_vars['field']->value['id'])) {?> id="<?php echo $_smarty_tpl->tpl_vars['field']->value['id'];?>
"<?php }?> size="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['size'])) {
echo intval($_smarty_tpl->tpl_vars['field']->value['size']);
} else { ?>5<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value=""<?php if (isset($_smarty_tpl->tpl_vars['field']->value['autocomplete']) && !$_smarty_tpl->tpl_vars['field']->value['autocomplete']) {?> autocomplete="off"<?php }?> />
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['suffix'])) {?>
<span class="input-group-addon">
<?php echo strval($_smarty_tpl->tpl_vars['field']->value['suffix']);?>
</span>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['suffix'])) {?></div><?php }?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'textarea') {?>
<div class="col-lg-9">
<textarea class="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['autoload_rte']) && $_smarty_tpl->tpl_vars['field']->value['autoload_rte']) {?>rte autoload_rte<?php } else { ?>textarea-autosize<?php }?>" name=<?php echo $_smarty_tpl->tpl_vars['key']->value;
ob_start();
echo $_smarty_tpl->tpl_vars['field']->value['cols'];
$_prefixVariable1 = ob_get_clean();
if (isset($_prefixVariable1)) {?> cols="<?php echo $_smarty_tpl->tpl_vars['field']->value['cols'];?>
"<?php }
ob_start();
echo $_smarty_tpl->tpl_vars['field']->value['rows'];
$_prefixVariable2 = ob_get_clean();
if (isset($_prefixVariable2)) {?> rows="<?php echo $_smarty_tpl->tpl_vars['field']->value['rows'];?>
"<?php }?>"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['value'],'html','UTF-8' ));?>
</textarea>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'file') {?>
<div class="col-lg-9"><?php echo $_smarty_tpl->tpl_vars['field']->value['file'];?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'color') {?>
<div class="col-lg-2">
<div class="input-group">
<input type="color" size="<?php echo $_smarty_tpl->tpl_vars['field']->value['size'];?>
" data-hex="true" <?php if (isset($_smarty_tpl->tpl_vars['input']->value['class'])) {?>class="<?php echo $_smarty_tpl->tpl_vars['field']->value['class'];?>
" <?php } else { ?>class="color mColorPickerInput"<?php }?> name="<?php echo $_smarty_tpl->tpl_vars['field']->value['name'];?>
" class="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['class'])) {
echo $_smarty_tpl->tpl_vars['field']->value['class'];
}?>" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['value'],'html','UTF-8' ));?>
" />
</div>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'price') {?>
<div class="col-lg-9">
<div class="input-group fixed-width-lg">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency_left_sign']->value;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(tax excl.)'),$_smarty_tpl ) );?>
</span>
<input type="text" size="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['size'])) {
echo intval($_smarty_tpl->tpl_vars['field']->value['size']);
} else { ?>5<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['field']->value['value'],'html','UTF-8' ));?>
" />
</div>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'textLang' || $_smarty_tpl->tpl_vars['field']->value['type'] == 'textareaLang' || $_smarty_tpl->tpl_vars['field']->value['type'] == 'selectLang') {?>
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'textLang') {?>
<div class="col-lg-9">
<div class="row">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['languages'], 'value', false, 'id_lang');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['id_lang']->value => $_smarty_tpl->tpl_vars['value']->value) {
?>
<?php if (count($_smarty_tpl->tpl_vars['field']->value['languages']) > 1) {?>
<div class="translatable-field lang-<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['id_lang']->value != $_smarty_tpl->tpl_vars['current_id_lang']->value) {?>style="display:none;"<?php }?>>
<div class="col-lg-9">
<?php } else { ?>
<div class="col-lg-12">
<?php }?>
<input type="text"
name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
"
value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['value']->value,'html','UTF-8' ));?>
"
<?php if (isset($_smarty_tpl->tpl_vars['input']->value['class'])) {?>class="<?php echo $_smarty_tpl->tpl_vars['input']->value['class'];?>
"<?php }?>
/>
<?php if (count($_smarty_tpl->tpl_vars['field']->value['languages']) > 1) {?>
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['language']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['language']->value['id_lang'] == $_smarty_tpl->tpl_vars['id_lang']->value) {
echo $_smarty_tpl->tpl_vars['language']->value['iso_code'];
}?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['language']->value) {
?>
<li>
<a href="javascript:hideOtherLanguage(<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
);"><?php echo $_smarty_tpl->tpl_vars['language']->value['name'];?>
</a>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</div>
</div>
<?php } else { ?>
</div>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'textareaLang') {?>
<div class="col-lg-9">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['languages'], 'value', false, 'id_lang');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['id_lang']->value => $_smarty_tpl->tpl_vars['value']->value) {
?>
<div class="row translatable-field lang-<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['id_lang']->value != $_smarty_tpl->tpl_vars['current_id_lang']->value) {?>style="display:none;"<?php }?>>
<div id="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
" class="col-lg-9" >
<textarea class="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['autoload_rte']) && $_smarty_tpl->tpl_vars['field']->value['autoload_rte']) {?>rte autoload_rte<?php } else { ?>textarea-autosize<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
"><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['value']->value,'\r\n',"\n");?>
</textarea>
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['language']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['language']->value['id_lang'] == $_smarty_tpl->tpl_vars['id_lang']->value) {
echo $_smarty_tpl->tpl_vars['language']->value['iso_code'];
}?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['language']->value) {
?>
<li>
<a href="javascript:hideOtherLanguage(<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
);"><?php echo $_smarty_tpl->tpl_vars['language']->value['name'];?>
</a>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php echo '<script'; ?>
type="text/javascript">
$(document).ready(function() {
$(".textarea-autosize").autosize();
});
<?php echo '</script'; ?>
>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'selectLang') {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['language']->value) {
?>
<div id="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
" style="display: <?php if ($_smarty_tpl->tpl_vars['language']->value['id_lang'] == $_smarty_tpl->tpl_vars['current_id_lang']->value) {?>block<?php } else { ?>none<?php }?>;" class="col-lg-9">
<select name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
_<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['language']->value['iso_code'], 'UTF-8');?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['list'], 'v', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['v']->value) {
?>
<option value="<?php if (isset($_smarty_tpl->tpl_vars['v']->value['cast'])) {
echo $_smarty_tpl->tpl_vars['v']->value['cast'][$_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['field']->value['identifier']]];
} else {
echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['field']->value['identifier']];
}?>"
<?php if ($_smarty_tpl->tpl_vars['field']->value['value'][$_smarty_tpl->tpl_vars['language']->value['id_lang']] == $_smarty_tpl->tpl_vars['v']->value['name']) {?> selected="selected"<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['desc']) && !empty($_smarty_tpl->tpl_vars['field']->value['desc'])) {?>
<div class="col-lg-9 col-lg-offset-3">
<div class="help-block">
<?php if (is_array($_smarty_tpl->tpl_vars['field']->value['desc'])) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['desc'], 'p');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['p']->value) {
?>
<?php if (is_array($_smarty_tpl->tpl_vars['p']->value)) {?>
<span id="<?php echo $_smarty_tpl->tpl_vars['p']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['p']->value['text'];?>
</span><br />
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['p']->value;?>
<br />
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['field']->value['desc'];?>
<?php }?>
</div>
</div>
<?php }?>
<?php
}
}
/* {/block "input"} */
/* {block "field"} */
class Block_17155879965dd292540f5b93_99281144 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1945608365dd292540f5f44_65888028', "input", $this->tplIndex);
?>
<?php if ($_smarty_tpl->tpl_vars['field']->value['is_invisible']) {?>
<div class="col-lg-9 col-lg-offset-3">
<p class="alert alert-warning row-margin-top">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You can\'t change the value of this configuration field in the context of this shop.'),$_smarty_tpl ) );?>
</p>
</div>
<?php }?>
<?php
}
}
/* {/block "field"} */
/* {block "footer"} */
class Block_2096921035dd2925412d140_73296081 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['submit']) || isset($_smarty_tpl->tpl_vars['categoryData']->value['buttons'])) {?>
<div class="panel-footer">
<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['submit']) && !empty($_smarty_tpl->tpl_vars['categoryData']->value['submit'])) {?>
<button type="<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['submit']['type'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['submit']['type'];
} else { ?>submit<?php }?>" <?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['submit']['id'])) {?>id="<?php echo $_smarty_tpl->tpl_vars['categoryData']->value['submit']['id'];?>
"<?php }?> class="btn btn-default pull-right" name="<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['submit']['name'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['submit']['name'];
} else { ?>submitOptions<?php echo $_smarty_tpl->tpl_vars['table']->value;
}?>"><i class="process-icon-<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['submit']['imgclass'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['submit']['imgclass'];
} else { ?>save<?php }?>"></i> <?php echo $_smarty_tpl->tpl_vars['categoryData']->value['submit']['title'];?>
</button>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['buttons'])) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['categoryData']->value['buttons'], 'btn', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['btn']->value) {
?>
<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['href']) && trim($_smarty_tpl->tpl_vars['btn']->value['href']) != '') {?>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['btn']->value['href'],'html','UTF-8' ));?>
" <?php if (isset($_smarty_tpl->tpl_vars['btn']->value['id'])) {?>id="<?php echo $_smarty_tpl->tpl_vars['btn']->value['id'];?>
"<?php }?> class="btn btn-default<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['btn']->value['class'];
}?>" <?php if (isset($_smarty_tpl->tpl_vars['btn']->value['js']) && $_smarty_tpl->tpl_vars['btn']->value['js']) {?> onclick="<?php echo $_smarty_tpl->tpl_vars['btn']->value['js'];?>
"<?php }?>><?php if (isset($_smarty_tpl->tpl_vars['btn']->value['icon'])) {?><i class="<?php echo $_smarty_tpl->tpl_vars['btn']->value['icon'];?>
" ></i> <?php }
echo $_smarty_tpl->tpl_vars['btn']->value['title'];?>
</a>
<?php } else { ?>
<button type="<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['type'])) {
echo $_smarty_tpl->tpl_vars['btn']->value['type'];
} else { ?>button<?php }?>" <?php if (isset($_smarty_tpl->tpl_vars['btn']->value['id'])) {?>id="<?php echo $_smarty_tpl->tpl_vars['btn']->value['id'];?>
"<?php }?> class="<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['class'])) {
echo $_smarty_tpl->tpl_vars['btn']->value['class'];
} else { ?>btn btn-default<?php }?>" name="<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['name'])) {
echo $_smarty_tpl->tpl_vars['btn']->value['name'];
} else { ?>submitOptions<?php echo $_smarty_tpl->tpl_vars['table']->value;
}?>"<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['js']) && $_smarty_tpl->tpl_vars['btn']->value['js']) {?> onclick="<?php echo $_smarty_tpl->tpl_vars['btn']->value['js'];?>
"<?php }?>><?php if (isset($_smarty_tpl->tpl_vars['btn']->value['icon'])) {?><i class="<?php echo $_smarty_tpl->tpl_vars['btn']->value['icon'];?>
" ></i> <?php }
echo $_smarty_tpl->tpl_vars['btn']->value['title'];?>
</button>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
</div>
<?php }?>
<?php
}
}
/* {/block "footer"} */
/* {block "defaultOptions"} */
class Block_7813143295dd292540d8271_02061412 extends Smarty_Internal_Block
{
public $subBlocks = array (
'defaultOptions' =>
array (
0 => 'Block_7813143295dd292540d8271_02061412',
),
'label' =>
array (
0 => 'Block_9929477295dd292540ed7f9_58939102',
),
'field' =>
array (
0 => 'Block_17155879965dd292540f5b93_99281144',
),
'input' =>
array (
0 => 'Block_1945608365dd292540f5f44_65888028',
),
'footer' =>
array (
0 => 'Block_2096921035dd2925412d140_73296081',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/clients/client1/web14/web/vendor/smarty/smarty/libs/plugins/function.counter.php','function'=>'smarty_function_counter',),));
?>
<?php if (isset($_smarty_tpl->tpl_vars['table_bk']->value) && $_smarty_tpl->tpl_vars['table_bk']->value == $_smarty_tpl->tpl_vars['table']->value) {
$_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'table_count', null, null);
echo smarty_function_counter(array('name'=>'table_count'),$_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
}
$_smarty_tpl->_assignInScope('table_bk', $_smarty_tpl->tpl_vars['table']->value ,false ,8);?>
<form action="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['current']->value,'html','UTF-8' ));?>
&amp;token=<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['token']->value,'html','UTF-8' ));?>
" id="<?php if ($_smarty_tpl->tpl_vars['table']->value == null) {?>configuration_form<?php } else {
echo $_smarty_tpl->tpl_vars['table']->value;?>
_form<?php }
if ((($_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'table_count') !== null )) && $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'table_count')) {?>_<?php echo intval($_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'table_count'));
}?>" method="post" enctype="multipart/form-data" class="form-horizontal">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['option_list']->value, 'categoryData', false, 'category');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['category']->value => $_smarty_tpl->tpl_vars['categoryData']->value) {
?>
<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['top'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['top'];
}?>
<div class="panel <?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['class'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['class'];
}?>" id="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_fieldset_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
">
<div class="panel-heading">
<i class="<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['icon'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['icon'];
} else { ?>icon-cogs<?php }?>"></i>
<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['title'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['title'];
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Options','d'=>'Admin.Global'),$_smarty_tpl ) );
}?>
</div>
<?php if ((isset($_smarty_tpl->tpl_vars['categoryData']->value['description']) && $_smarty_tpl->tpl_vars['categoryData']->value['description'])) {?>
<div class="alert alert-info"><?php echo $_smarty_tpl->tpl_vars['categoryData']->value['description'];?>
</div>
<?php }?>
<?php if ((isset($_smarty_tpl->tpl_vars['categoryData']->value['info']) && $_smarty_tpl->tpl_vars['categoryData']->value['info'])) {?>
<div><?php echo $_smarty_tpl->tpl_vars['categoryData']->value['info'];?>
</div>
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['categoryData']->value['hide_multishop_checkbox'] && $_smarty_tpl->tpl_vars['use_multishop']->value) {?>
<div class="well clearfix">
<label class="control-label col-lg-3">
<i class="icon-sitemap"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Multistore'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_multishop_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_multishop_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
_on" value="1" onclick="toggleAllMultishopDefaultValue($('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_fieldset_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
'), true)"/><label for="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_multishop_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
_on"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Yes','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label><input type="radio" name="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_multishop_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_multishop_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
_off" value="0" checked="checked" onclick="toggleAllMultishopDefaultValue($('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_fieldset_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
'), false)"/><label for="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_multishop_<?php echo $_smarty_tpl->tpl_vars['category']->value;?>
_off"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<a class="slide-button btn"></a>
</span>
<div class="row">
<div class="col-lg-12">
<p class="help-block">
<strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Check / Uncheck all'),$_smarty_tpl ) );?>
</strong><br />
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You are editing this page for a specific shop or group. Click "Yes" to check all fields, "No" to uncheck all.'),$_smarty_tpl ) );?>
<br />
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If you check a field, change its value, and save, the multistore behavior will not apply to this shop (or group), for this particular parameter.'),$_smarty_tpl ) );?>
</p>
</div>
</div>
</div>
</div>
<?php }?>
<div class="form-wrapper">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['categoryData']->value['fields'], 'field', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['field']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'hidden') {?>
<input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['field']->value['value'];?>
" />
<?php } else { ?>
<div class="form-group<?php if (isset($_smarty_tpl->tpl_vars['field']->value['form_group_class'])) {?> <?php echo $_smarty_tpl->tpl_vars['field']->value['form_group_class'];
}?>"<?php if (isset($_smarty_tpl->tpl_vars['tabs']->value) && isset($_smarty_tpl->tpl_vars['field']->value['tab'])) {?> data-tab-id="<?php echo $_smarty_tpl->tpl_vars['field']->value['tab'];?>
"<?php }?>>
<div id="conf_id_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
"<?php if ($_smarty_tpl->tpl_vars['field']->value['is_invisible']) {?> class="isInvisible"<?php }?>>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_9929477295dd292540ed7f9_58939102', "label", $this->tplIndex);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17155879965dd292540f5b93_99281144', "field", $this->tplIndex);
?>
</div>
</div>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div><!-- /.form-wrapper -->
<?php if (isset($_smarty_tpl->tpl_vars['categoryData']->value['bottom'])) {
echo $_smarty_tpl->tpl_vars['categoryData']->value['bottom'];
}?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2096921035dd2925412d140_73296081', "footer", $this->tplIndex);
?>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAdminOptions'),$_smarty_tpl ) );?>
<?php if (isset($_smarty_tpl->tpl_vars['name_controller']->value)) {?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'hookName', 'hookName', null);?>display<?php echo ucfirst($_smarty_tpl->tpl_vars['name_controller']->value);?>
Options<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>$_smarty_tpl->tpl_vars['hookName']->value),$_smarty_tpl ) );?>
<?php } elseif (isset($_GET['controller'])) {?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'hookName', 'hookName', null);?>display<?php echo htmlentities(ucfirst($_GET['controller']));?>
Options<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>$_smarty_tpl->tpl_vars['hookName']->value),$_smarty_tpl ) );?>
<?php }?>
</form>
<?php
}
}
/* {/block "defaultOptions"} */
/* {block "autoload_tinyMCE"} */
class Block_4657388155dd29254141651_90111675 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
tinySetup({
editor_selector :"autoload_rte"
});
<?php
}
}
/* {/block "autoload_tinyMCE"} */
/* {block "after"} */
class Block_2616569585dd2925413f981_36905910 extends Smarty_Internal_Block
{
public $subBlocks = array (
'after' =>
array (
0 => 'Block_2616569585dd2925413f981_36905910',
),
'autoload_tinyMCE' =>
array (
0 => 'Block_4657388155dd29254141651_90111675',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if (isset($_smarty_tpl->tpl_vars['tinymce']->value) && $_smarty_tpl->tpl_vars['tinymce']->value) {
echo '<script'; ?>
type="text/javascript">
var iso = '<?php echo addslashes($_smarty_tpl->tpl_vars['iso']->value);?>
';
var pathCSS = '<?php echo addslashes(@constant('_THEME_CSS_DIR_'));?>
';
var ad = '<?php echo addslashes($_smarty_tpl->tpl_vars['ad']->value);?>
';
$(document).ready(function(){
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4657388155dd29254141651_90111675', "autoload_tinyMCE", $this->tplIndex);
?>
});
<?php echo '</script'; ?>
>
<?php }
}
}
/* {/block "after"} */
}

View File

@@ -1,39 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 12:02:10
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/not_found/content.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce85b2c079b6_19481539',
'has_nocache_code' => false,
'file_dependency' =>
array (
'029137da846a45ad7fb150d664db3a529cf785bc' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/not_found/content.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce85b2c079b6_19481539 (Smarty_Internal_Template $_smarty_tpl) {
if (isset($_smarty_tpl->tpl_vars['controller']->value) && !empty($_smarty_tpl->tpl_vars['controller']->value) && $_smarty_tpl->tpl_vars['controller']->value != 'adminnotfound') {?>
<h1><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'The controller %s is missing or invalid.','sprintf'=>array($_smarty_tpl->tpl_vars['controller']->value)),$_smarty_tpl ) );?>
</h1>
<?php }?>
<a class="btn btn-default" href="javascript:window.history.back();">
<i class="icon-arrow-left"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Back to the previous page'),$_smarty_tpl ) );?>
</a>
<a class="btn btn-default" href="index.php">
<i class="icon-dashboard"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Go to the dashboard'),$_smarty_tpl ) );?>
</a>
<?php }
}

View File

@@ -1,707 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:17
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list_header.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678de1f218_73074776',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0767c2911615f5bdb89336274a3b172dbed1e646' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list_header.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678de1f218_73074776 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/clients/client1/web14/web/vendor/smarty/smarty/libs/plugins/function.math.php','function'=>'smarty_function_math',),));
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<?php if ($_smarty_tpl->tpl_vars['ajax']->value) {?>
<?php echo '<script'; ?>
type="text/javascript">
$(function () {
$(".ajax_table_link").click(function () {
var link = $(this);
$.post($(this).attr('href'), function (data) {
if (data.success == 1) {
showSuccessMessage(data.text);
if (link.hasClass('action-disabled')){
link.removeClass('action-disabled').addClass('action-enabled');
} else {
link.removeClass('action-enabled').addClass('action-disabled');
}
link.children().each(function () {
if ($(this).hasClass('hidden')) {
$(this).removeClass('hidden');
} else {
$(this).addClass('hidden');
}
});
} else {
showErrorMessage(data.text);
}
}, 'json');
return false;
});
});
<?php echo '</script'; ?>
>
<?php }
if ($_smarty_tpl->tpl_vars['is_order_position']->value) {?>
<?php echo '<script'; ?>
type="text/javascript" src="../js/jquery/plugins/jquery.tablednd.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript">
var come_from = '<?php echo addslashes($_smarty_tpl->tpl_vars['list_id']->value);?>
';
var alternate = <?php if ($_smarty_tpl->tpl_vars['order_way']->value == 'DESC') {?>'1'<?php } else { ?>'0'<?php }?>;
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript" src="../js/admin/dnd.js"><?php echo '</script'; ?>
>
<?php }
if (!$_smarty_tpl->tpl_vars['simple_header']->value) {?>
<?php echo '<script'; ?>
type="text/javascript">
$(function() {
$('table.<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
.filter').keypress(function(e){
var key = (e.keyCode ? e.keyCode : e.which);
if (key == 13)
{
e.preventDefault();
formSubmit(e, 'submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
');
}
})
$('#submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
').click(function() {
$('#submitFilter<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
').val(1);
});
if ($("table .datepicker").length > 0) {
$("table .datepicker").datepicker({
prevText: '',
nextText: '',
altFormat: 'yy-mm-dd'
});
}
});
<?php echo '</script'; ?>
>
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['simple_header']->value) {?>
<div class="leadin">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5243121705dcd678dde2802_63238678', "leadin");
?>
</div>
<?php }?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10501887085dcd678dde2e73_54024369', "override_header");
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAdminListBefore'),$_smarty_tpl ) );?>
<?php if (isset($_smarty_tpl->tpl_vars['name_controller']->value)) {?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'hookName', 'hookName', null);?>display<?php echo ucfirst($_smarty_tpl->tpl_vars['name_controller']->value);?>
ListBefore<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>$_smarty_tpl->tpl_vars['hookName']->value),$_smarty_tpl ) );?>
<?php } elseif (isset($_GET['controller'])) {?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'hookName', 'hookName', null);?>display<?php echo htmlentities(ucfirst($_GET['controller']));?>
ListBefore<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>$_smarty_tpl->tpl_vars['hookName']->value),$_smarty_tpl ) );?>
<?php }?>
<div class="alert alert-warning" id="<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
-empty-filters-alert" style="display:none;"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please fill at least one field to perform a search in this list.'),$_smarty_tpl ) );?>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['sql']->value) && $_smarty_tpl->tpl_vars['sql']->value) {?>
<form id="sql_form_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
" action="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminRequestSql',true,array(),array('addrequest_sql'=>1)) ));?>
" method="post" class="hide">
<input type="hidden" id="sql_query_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
" name="sql" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sql']->value ));?>
"/>
<input type="hidden" id="sql_name_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
" name="name" value=""/>
</form>
<?php }?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_580314955dcd678ddea123_12771497', "startForm");
?>
<?php if (!$_smarty_tpl->tpl_vars['simple_header']->value) {?>
<input type="hidden" id="submitFilter<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
" name="submitFilter<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
" value="0"/>
<input type="hidden" name="page" value="<?php echo intval($_smarty_tpl->tpl_vars['page']->value);?>
"/>
<input type="hidden" name="selected_pagination" value="<?php echo intval($_smarty_tpl->tpl_vars['selected_pagination']->value);?>
"/>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8126927495dcd678ddeb987_15497385', "override_form_extra");
?>
<div class="panel col-lg-12">
<div class="panel-heading">
<?php if (isset($_smarty_tpl->tpl_vars['icon']->value)) {?><i class="<?php echo $_smarty_tpl->tpl_vars['icon']->value;?>
"></i> <?php }
if (is_array($_smarty_tpl->tpl_vars['title']->value)) {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( end($_smarty_tpl->tpl_vars['title']->value),'html','UTF-8' ));
} else {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['title']->value,'html','UTF-8' ));
}?>
<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value) && count($_smarty_tpl->tpl_vars['toolbar_btn']->value) > 0) {?>
<span class="badge"><?php echo $_smarty_tpl->tpl_vars['list_total']->value;?>
</span>
<span class="panel-heading-action">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['toolbar_btn']->value, 'btn', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['btn']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['k']->value != 'modules-list' && $_smarty_tpl->tpl_vars['k']->value != 'back') {?>
<a id="desc-<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
-<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['imgclass'])) {
echo $_smarty_tpl->tpl_vars['btn']->value['imgclass'];
} else {
echo $_smarty_tpl->tpl_vars['k']->value;
}?>" class="list-toolbar-btn<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['target']) && $_smarty_tpl->tpl_vars['btn']->value['target']) {?> _blank<?php }?>"<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['href'])) {?> href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['btn']->value['href'],'html','UTF-8' ));?>
"<?php }
if (isset($_smarty_tpl->tpl_vars['btn']->value['js']) && $_smarty_tpl->tpl_vars['btn']->value['js']) {?> onclick="<?php echo $_smarty_tpl->tpl_vars['btn']->value['js'];?>
"<?php }?>>
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>$_smarty_tpl->tpl_vars['btn']->value['desc']),$_smarty_tpl ) );?>
" data-html="true" data-placement="top">
<i class="process-icon-<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['imgclass'])) {
echo $_smarty_tpl->tpl_vars['btn']->value['imgclass'];
} else {
echo $_smarty_tpl->tpl_vars['k']->value;
}
if (isset($_smarty_tpl->tpl_vars['btn']->value['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['btn']->value['class'];
}?>"></i>
</span>
</a>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<a class="list-toolbar-btn" href="javascript:location.reload();">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Refresh list'),$_smarty_tpl ) );?>
" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
<?php if (isset($_smarty_tpl->tpl_vars['sql']->value) && $_smarty_tpl->tpl_vars['sql']->value) {?>
<?php $_smarty_tpl->_assignInScope('sql_manager', Profile::getProfileAccess(Context::getContext()->employee->id_profile,Tab::getIdFromClassName('AdminRequestSql')));?>
<?php if ($_smarty_tpl->tpl_vars['sql_manager']->value['view'] == 1) {?>
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="$('.leadin').first().append('<div class=\'alert alert-info\'>' + $('#sql_query_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
').val() + '</div>'); $(this).attr('onclick', '');">
<span class="label-tooltip" data-toggle="tooltip" data-original-title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Show SQL query'),$_smarty_tpl ) );?>
" data-html="true" data-placement="top" >
<i class="process-icon-terminal"></i>
</span>
</a>
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="$('#sql_name_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
').val(createSqlQueryName()); $('#sql_query_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
').val($('#sql_query_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
').val().replace(/\s+limit\s+[0-9,\s]+$/ig, '').trim()); $('#sql_form_<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['list_id']->value,'html','UTF-8' ));?>
').submit();">
<span class="label-tooltip" data-toggle="tooltip" data-original-title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Export to SQL Manager'),$_smarty_tpl ) );?>
" data-html="true" data-placement="top" >
<i class="process-icon-database"></i>
</span>
</a>
<?php }?>
<?php }?>
</span>
<?php }?>
</div>
<?php if ($_smarty_tpl->tpl_vars['show_toolbar']->value) {?>
<?php echo '<script'; ?>
type="text/javascript">
//<![CDATA[
var submited = false;
$(function() {
//get reference on save link
btn_save = $('i[class~="process-icon-save"]').parent();
//get reference on form submit button
btn_submit = $('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_form_submit_btn');
if (btn_save.length > 0 && btn_submit.length > 0) {
//get reference on save and stay link
btn_save_and_stay = $('i[class~="process-icon-save-and-stay"]').parent();
//get reference on current save link label
lbl_save = $('#desc-<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
-save div');
//override save link label with submit button value
if (btn_submit.val().length > 0) {
lbl_save.html(btn_submit.attr("value"));
}
if (btn_save_and_stay.length > 0) {
//get reference on current save link label
lbl_save_and_stay = $('#desc-<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
-save-and-stay div');
//override save and stay link label with submit button value
if (btn_submit.val().length > 0 && lbl_save_and_stay && !lbl_save_and_stay.hasClass('locked')) {
lbl_save_and_stay.html(btn_submit.val() + " <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'and stay'),$_smarty_tpl ) );?>
");
}
}
//hide standard submit button
btn_submit.hide();
//bind enter key press to validate form
$('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_form').keypress(function (e) {
if (e.which == 13 && e.target.localName != 'textarea') {
$('#desc-<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
-save').click();
}
});
//submit the form
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_15703612965dcd678ddf7f68_15768977', 'formSubmit');
?>
}
});
//]]>
<?php echo '</script'; ?>
>
<?php }
} elseif ($_smarty_tpl->tpl_vars['simple_header']->value) {?>
<div class="panel col-lg-12">
<?php if (isset($_smarty_tpl->tpl_vars['title']->value)) {?><h3><?php if (isset($_smarty_tpl->tpl_vars['icon']->value)) {?><i class="<?php echo $_smarty_tpl->tpl_vars['icon']->value;?>
"></i> <?php }
if (is_array($_smarty_tpl->tpl_vars['title']->value)) {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( end($_smarty_tpl->tpl_vars['title']->value),'html','UTF-8' ));
} else {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['title']->value,'html','UTF-8' ));
}?></h3><?php }
}?>
<?php if ($_smarty_tpl->tpl_vars['bulk_actions']->value && $_smarty_tpl->tpl_vars['has_bulk_actions']->value) {?>
<?php $_smarty_tpl->_assignInScope('y', 2);?>
<?php } else { ?>
<?php $_smarty_tpl->_assignInScope('y', 1);?>
<?php }?>
<style>
@media (max-width: 992px) {
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fields_display']->value, 'param', false, NULL, 'params', array (
'index' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['param']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_params']->value['index']++;
?>
.table-responsive-row td:nth-of-type(<?php echo smarty_function_math(array('equation'=>"x+y",'x'=>(isset($_smarty_tpl->tpl_vars['__smarty_foreach_params']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_params']->value['index'] : null),'y'=>$_smarty_tpl->tpl_vars['y']->value),$_smarty_tpl);?>
):before {
content: "<?php echo $_smarty_tpl->tpl_vars['param']->value['title'];?>
";
}
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
}
</style>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2954673015dcd678ddfe598_39430245', "preTable");
?>
<div class="table-responsive-row clearfix<?php if (isset($_smarty_tpl->tpl_vars['use_overflow']->value) && $_smarty_tpl->tpl_vars['use_overflow']->value) {?> overflow-y<?php }?>">
<table id="table-<?php if ($_smarty_tpl->tpl_vars['table_id']->value) {
echo $_smarty_tpl->tpl_vars['table_id']->value;
} elseif ($_smarty_tpl->tpl_vars['table']->value) {
echo $_smarty_tpl->tpl_vars['table']->value;
}?>" class="table<?php if ($_smarty_tpl->tpl_vars['table_dnd']->value) {?> tableDnD<?php }?> <?php echo $_smarty_tpl->tpl_vars['table']->value;?>
" >
<thead>
<tr class="nodrag nodrop">
<?php if ($_smarty_tpl->tpl_vars['bulk_actions']->value && $_smarty_tpl->tpl_vars['has_bulk_actions']->value) {?>
<th class="center fixed-width-xs"></th>
<?php }?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fields_display']->value, 'params', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['params']->value) {
?>
<th class="<?php if (isset($_smarty_tpl->tpl_vars['params']->value['class'])) {
echo $_smarty_tpl->tpl_vars['params']->value['class'];
}
if (isset($_smarty_tpl->tpl_vars['params']->value['align'])) {?> <?php echo $_smarty_tpl->tpl_vars['params']->value['align'];
}?>">
<span class="title_box<?php if (isset($_smarty_tpl->tpl_vars['order_by']->value) && ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['order_by']->value)) {?> active<?php }?>">
<?php if (isset($_smarty_tpl->tpl_vars['params']->value['hint'])) {?>
<span class="label-tooltip" data-toggle="tooltip"
title="
<?php if (is_array($_smarty_tpl->tpl_vars['params']->value['hint'])) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['params']->value['hint'], 'hint');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['hint']->value) {
?>
<?php if (is_array($_smarty_tpl->tpl_vars['hint']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['hint']->value['text'];?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['hint']->value;?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['params']->value['hint'];?>
<?php }?>
">
<?php echo $_smarty_tpl->tpl_vars['params']->value['title'];?>
</span>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['params']->value['title'];?>
<?php }?>
<?php if ((!isset($_smarty_tpl->tpl_vars['params']->value['orderby']) || $_smarty_tpl->tpl_vars['params']->value['orderby']) && !$_smarty_tpl->tpl_vars['simple_header']->value && $_smarty_tpl->tpl_vars['show_filters']->value) {?>
<a <?php if (isset($_smarty_tpl->tpl_vars['order_by']->value) && ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['order_by']->value) && ($_smarty_tpl->tpl_vars['order_way']->value == 'DESC')) {?>class="active"<?php }?> href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['currentIndex']->value,'html','UTF-8' ));?>
&amp;<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Orderby=<?php echo urlencode($_smarty_tpl->tpl_vars['key']->value);?>
&amp;<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Orderway=desc&amp;token=<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['token']->value,'html','UTF-8' ));
if (isset($_GET[$_smarty_tpl->tpl_vars['identifier']->value])) {?>&amp;<?php echo $_smarty_tpl->tpl_vars['identifier']->value;?>
=<?php echo intval($_GET[$_smarty_tpl->tpl_vars['identifier']->value]);
}?>">
<i class="icon-caret-down"></i>
</a>
<a <?php if (isset($_smarty_tpl->tpl_vars['order_by']->value) && ($_smarty_tpl->tpl_vars['key']->value == $_smarty_tpl->tpl_vars['order_by']->value) && ($_smarty_tpl->tpl_vars['order_way']->value == 'ASC')) {?>class="active"<?php }?> href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['currentIndex']->value,'html','UTF-8' ));?>
&amp;<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Orderby=<?php echo urlencode($_smarty_tpl->tpl_vars['key']->value);?>
&amp;<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Orderway=asc&amp;token=<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['token']->value,'html','UTF-8' ));
if (isset($_GET[$_smarty_tpl->tpl_vars['identifier']->value])) {?>&amp;<?php echo $_smarty_tpl->tpl_vars['identifier']->value;?>
=<?php echo intval($_GET[$_smarty_tpl->tpl_vars['identifier']->value]);
}?>">
<i class="icon-caret-up"></i>
</a>
<?php }?>
</span>
</th>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php if ($_smarty_tpl->tpl_vars['multishop_active']->value && $_smarty_tpl->tpl_vars['shop_link_type']->value) {?>
<th>
<span class="title_box">
<?php if ($_smarty_tpl->tpl_vars['shop_link_type']->value == 'shop') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shop','d'=>'Admin.Global'),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shop group'),$_smarty_tpl ) );?>
<?php }?>
</span>
</th>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['has_actions']->value || $_smarty_tpl->tpl_vars['show_filters']->value) {?>
<th><?php if (!$_smarty_tpl->tpl_vars['simple_header']->value) {
}?></th>
<?php }?>
</tr>
<?php if (!$_smarty_tpl->tpl_vars['simple_header']->value && $_smarty_tpl->tpl_vars['show_filters']->value) {?>
<tr class="nodrag nodrop filter <?php if ($_smarty_tpl->tpl_vars['row_hover']->value) {?>row_hover<?php }?>">
<?php if ($_smarty_tpl->tpl_vars['has_bulk_actions']->value) {?>
<th class="text-center">
--
</th>
<?php }?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fields_display']->value, 'params', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['params']->value) {
?>
<th <?php if (isset($_smarty_tpl->tpl_vars['params']->value['align'])) {?> class="<?php echo $_smarty_tpl->tpl_vars['params']->value['align'];?>
" <?php }?>>
<?php if (isset($_smarty_tpl->tpl_vars['params']->value['search']) && !$_smarty_tpl->tpl_vars['params']->value['search']) {?>
--
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['params']->value['type'] == 'bool') {?>
<select class="filter fixed-width-sm center"
onchange="$('#submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
').focus();$('#submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
').click();"
name="<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Filter_<?php if (isset($_smarty_tpl->tpl_vars['params']->value['filter_key'])) {
echo $_smarty_tpl->tpl_vars['params']->value['filter_key'];
} else {
echo $_smarty_tpl->tpl_vars['key']->value;
}?>">
<option value="">-</option>
<option value="1" <?php if ($_smarty_tpl->tpl_vars['params']->value['value'] == 1) {?> selected="selected" <?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Yes','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</option>
<option value="0" <?php if ($_smarty_tpl->tpl_vars['params']->value['value'] == 0 && $_smarty_tpl->tpl_vars['params']->value['value'] != '') {?> selected="selected" <?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</option>
</select>
<?php } elseif ($_smarty_tpl->tpl_vars['params']->value['type'] == 'date' || $_smarty_tpl->tpl_vars['params']->value['type'] == 'datetime') {?>
<div class="date_range row">
<div class="input-group fixed-width-md center">
<input type="text" class="filter datepicker date-input form-control" id="local_<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_0" name="local_<?php echo $_smarty_tpl->tpl_vars['params']->value['name_date'];?>
[0]" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'From'),$_smarty_tpl ) );?>
" />
<input type="hidden" id="<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_0" name="<?php echo $_smarty_tpl->tpl_vars['params']->value['name_date'];?>
[0]" value="<?php if (isset($_smarty_tpl->tpl_vars['params']->value['value'][0])) {
echo $_smarty_tpl->tpl_vars['params']->value['value'][0];
}?>">
<span class="input-group-addon">
<i class="icon-calendar"></i>
</span>
</div>
<div class="input-group fixed-width-md center">
<input type="text" class="filter datepicker date-input form-control" id="local_<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_1" name="local_<?php echo $_smarty_tpl->tpl_vars['params']->value['name_date'];?>
[1]" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'To'),$_smarty_tpl ) );?>
" />
<input type="hidden" id="<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_1" name="<?php echo $_smarty_tpl->tpl_vars['params']->value['name_date'];?>
[1]" value="<?php if (isset($_smarty_tpl->tpl_vars['params']->value['value'][1])) {
echo $_smarty_tpl->tpl_vars['params']->value['value'][1];
}?>">
<span class="input-group-addon">
<i class="icon-calendar"></i>
</span>
</div>
<?php echo '<script'; ?>
>
$(function() {
var dateStart = parseDate($("#<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_0").val());
var dateEnd = parseDate($("#<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_1").val());
$("#local_<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_0").datepicker("option", "altField", "#<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_0");
$("#local_<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_1").datepicker("option", "altField", "#<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_1");
if (dateStart !== null){
$("#local_<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_0").datepicker("setDate", dateStart);
}
if (dateEnd !== null){
$("#local_<?php echo $_smarty_tpl->tpl_vars['params']->value['id_date'];?>
_1").datepicker("setDate", dateEnd);
}
});
<?php echo '</script'; ?>
>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['params']->value['type'] == 'select') {?>
<?php if (isset($_smarty_tpl->tpl_vars['params']->value['filter_key'])) {?>
<select class="filter<?php if (isset($_smarty_tpl->tpl_vars['params']->value['align']) && $_smarty_tpl->tpl_vars['params']->value['align'] == 'center') {?>center<?php }?>" onchange="$('#submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
').focus();$('#submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
').click();" name="<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Filter_<?php echo $_smarty_tpl->tpl_vars['params']->value['filter_key'];?>
" <?php if (isset($_smarty_tpl->tpl_vars['params']->value['width'])) {?> style="width:<?php echo $_smarty_tpl->tpl_vars['params']->value['width'];?>
px"<?php }?>>
<option value="" <?php if ($_smarty_tpl->tpl_vars['params']->value['value'] == '') {?> selected="selected" <?php }?>>-</option>
<?php if (isset($_smarty_tpl->tpl_vars['params']->value['list']) && is_array($_smarty_tpl->tpl_vars['params']->value['list'])) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['params']->value['list'], 'option_display', false, 'option_value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['option_value']->value => $_smarty_tpl->tpl_vars['option_display']->value) {
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['option_value']->value;?>
" <?php if ((string)$_smarty_tpl->tpl_vars['option_display']->value === (string)$_smarty_tpl->tpl_vars['params']->value['value'] || (string)$_smarty_tpl->tpl_vars['option_value']->value === (string)$_smarty_tpl->tpl_vars['params']->value['value']) {?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['option_display']->value;?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
</select>
<?php }?>
<?php } else { ?>
<input type="text" class="filter" name="<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
Filter_<?php if (isset($_smarty_tpl->tpl_vars['params']->value['filter_key'])) {
echo $_smarty_tpl->tpl_vars['params']->value['filter_key'];
} else {
echo $_smarty_tpl->tpl_vars['key']->value;
}?>" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['params']->value['value'],'html','UTF-8' ));?>
" <?php if (isset($_smarty_tpl->tpl_vars['params']->value['width']) && $_smarty_tpl->tpl_vars['params']->value['width'] != 'auto') {?> style="width:<?php echo $_smarty_tpl->tpl_vars['params']->value['width'];?>
px"<?php }?> />
<?php }?>
<?php }?>
</th>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php if ($_smarty_tpl->tpl_vars['multishop_active']->value && $_smarty_tpl->tpl_vars['shop_link_type']->value) {?>
<th>--</th>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['has_actions']->value || $_smarty_tpl->tpl_vars['show_filters']->value) {?>
<th class="actions">
<?php if ($_smarty_tpl->tpl_vars['show_filters']->value) {?>
<span class="pull-right">
<button type="submit" id="submitFilterButton<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
" name="submitFilter" class="btn btn-default" data-list-id="<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
">
<i class="icon-search"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Search','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<?php if ($_smarty_tpl->tpl_vars['filters_has_value']->value) {?>
<button type="submit" name="submitReset<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
" class="btn btn-warning">
<i class="icon-eraser"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reset'),$_smarty_tpl ) );?>
</button>
<?php }?>
</span>
<?php }?>
</th>
<?php }?>
</tr>
<?php }?>
</thead>
<?php }
/* {block "leadin"} */
class Block_5243121705dcd678dde2802_63238678 extends Smarty_Internal_Block
{
public $subBlocks = array (
'leadin' =>
array (
0 => 'Block_5243121705dcd678dde2802_63238678',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "leadin"} */
/* {block "override_header"} */
class Block_10501887085dcd678dde2e73_54024369 extends Smarty_Internal_Block
{
public $subBlocks = array (
'override_header' =>
array (
0 => 'Block_10501887085dcd678dde2e73_54024369',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "override_header"} */
/* {block "startForm"} */
class Block_580314955dcd678ddea123_12771497 extends Smarty_Internal_Block
{
public $subBlocks = array (
'startForm' =>
array (
0 => 'Block_580314955dcd678ddea123_12771497',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<form method="post" action="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action']->value,'html','UTF-8' ));?>
" class="form-horizontal clearfix" id="form-<?php echo $_smarty_tpl->tpl_vars['list_id']->value;?>
">
<?php
}
}
/* {/block "startForm"} */
/* {block "override_form_extra"} */
class Block_8126927495dcd678ddeb987_15497385 extends Smarty_Internal_Block
{
public $subBlocks = array (
'override_form_extra' =>
array (
0 => 'Block_8126927495dcd678ddeb987_15497385',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "override_form_extra"} */
/* {block 'formSubmit'} */
class Block_15703612965dcd678ddf7f68_15768977 extends Smarty_Internal_Block
{
public $subBlocks = array (
'formSubmit' =>
array (
0 => 'Block_15703612965dcd678ddf7f68_15768977',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
btn_save.click(function() {
// Avoid double click
if (submited) {
return false;
}
submited = true;
//add hidden input to emulate submit button click when posting the form -> field name posted
btn_submit.before('<input type="hidden" name="'+btn_submit.attr("name")+'" value="1" />');
$('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_form').submit();
return false;
});
if (btn_save_and_stay) {
btn_save_and_stay.click(function() {
//add hidden input to emulate submit button click when posting the form -> field name posted
btn_submit.before('<input type="hidden" name="'+btn_submit.attr("name")+'AndStay" value="1" />');
$('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_form').submit();
return false;
});
}
<?php
}
}
/* {/block 'formSubmit'} */
/* {block "preTable"} */
class Block_2954673015dcd678ddfe598_39430245 extends Smarty_Internal_Block
{
public $subBlocks = array (
'preTable' =>
array (
0 => 'Block_2954673015dcd678ddfe598_39430245',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "preTable"} */
}

View File

@@ -1,459 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 19:19:02
from '/var/www/clients/client1/web14/web/themes/classic/templates/_partials/form-fields.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd9a964d1bb9_21597133',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0949827206a4111e82e94542af0ef15d0d6a37a8' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/_partials/form-fields.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:_partials/form-errors.tpl' => 1,
),
),false)) {
function content_5dcd9a964d1bb9_21597133 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'hidden') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19094923295dcd9a964b73f5_17268665', 'form_field_item_hidden');
?>
<?php } else { ?>
<div class="form-group row <?php if (!empty($_smarty_tpl->tpl_vars['field']->value['errors'])) {?>has-error<?php }?>">
<label class="col-md-3 form-control-label<?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?> required<?php }?>">
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] !== 'checkbox') {?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['label'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
</label>
<div class="col-md-6<?php if (($_smarty_tpl->tpl_vars['field']->value['type'] === 'radio-buttons')) {?> form-control-valign<?php }?>">
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] === 'select') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_20177244395dcd9a964ba035_94796434', 'form_field_item_select');
?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] === 'countrySelect') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1783525355dcd9a964bcaf5_97364643', 'form_field_item_country');
?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] === 'radio-buttons') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_7788218835dcd9a964bf0f3_30437222', 'form_field_item_radio');
?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] === 'checkbox') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_7634294995dcd9a964c15d6_38257830', 'form_field_item_checkbox');
?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] === 'date') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_21371609315dcd9a964c2ef4_52662426', 'form_field_item_date');
?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] === 'birthday') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10844997825dcd9a964c5237_19596002', 'form_field_item_birthday');
?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] === 'password') {?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19070291575dcd9a964cac86_98260533', 'form_field_item_password');
?>
<?php } else { ?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10554015525dcd9a964cc9d0_87753545', 'form_field_item_other');
?>
<?php }?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_11140540555dcd9a964cfc40_11706821', 'form_field_errors');
?>
</div>
<div class="col-md-3 form-control-comment">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_11342080595dcd9a964d0590_83007510', 'form_field_comment');
?>
</div>
</div>
<?php }
}
/* {block 'form_field_item_hidden'} */
class Block_19094923295dcd9a964b73f5_17268665 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_hidden' =>
array (
0 => 'Block_19094923295dcd9a964b73f5_17268665',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<input type="hidden" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['value'], ENT_QUOTES, 'UTF-8');?>
">
<?php
}
}
/* {/block 'form_field_item_hidden'} */
/* {block 'form_field_item_select'} */
class Block_20177244395dcd9a964ba035_94796434 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_select' =>
array (
0 => 'Block_20177244395dcd9a964ba035_94796434',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<select class="form-control form-control-select" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
" <?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?>required<?php }?>>
<option value disabled selected><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'-- please choose --','d'=>'Shop.Forms.Labels'),$_smarty_tpl ) );?>
</option>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['availableValues'], 'label', false, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value => $_smarty_tpl->tpl_vars['label']->value) {
?>
<option value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8');?>
" <?php if ($_smarty_tpl->tpl_vars['value']->value == $_smarty_tpl->tpl_vars['field']->value['value']) {?> selected <?php }?>><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['label']->value, ENT_QUOTES, 'UTF-8');?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php
}
}
/* {/block 'form_field_item_select'} */
/* {block 'form_field_item_country'} */
class Block_1783525355dcd9a964bcaf5_97364643 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_country' =>
array (
0 => 'Block_1783525355dcd9a964bcaf5_97364643',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<select
class="form-control form-control-select js-country"
name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
"
<?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?>required<?php }?>
>
<option value disabled selected><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'-- please choose --','d'=>'Shop.Forms.Labels'),$_smarty_tpl ) );?>
</option>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['availableValues'], 'label', false, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value => $_smarty_tpl->tpl_vars['label']->value) {
?>
<option value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8');?>
" <?php if ($_smarty_tpl->tpl_vars['value']->value == $_smarty_tpl->tpl_vars['field']->value['value']) {?> selected <?php }?>><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['label']->value, ENT_QUOTES, 'UTF-8');?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php
}
}
/* {/block 'form_field_item_country'} */
/* {block 'form_field_item_radio'} */
class Block_7788218835dcd9a964bf0f3_30437222 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_radio' =>
array (
0 => 'Block_7788218835dcd9a964bf0f3_30437222',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['field']->value['availableValues'], 'label', false, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value => $_smarty_tpl->tpl_vars['label']->value) {
?>
<label class="radio-inline">
<span class="custom-radio">
<input
name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
"
type="radio"
value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['value']->value, ENT_QUOTES, 'UTF-8');?>
"
<?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?>required<?php }?>
<?php if ($_smarty_tpl->tpl_vars['value']->value == $_smarty_tpl->tpl_vars['field']->value['value']) {?> checked <?php }?>
>
<span></span>
</span>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['label']->value, ENT_QUOTES, 'UTF-8');?>
</label>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
/* {/block 'form_field_item_radio'} */
/* {block 'form_field_item_checkbox'} */
class Block_7634294995dcd9a964c15d6_38257830 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_checkbox' =>
array (
0 => 'Block_7634294995dcd9a964c15d6_38257830',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<span class="custom-checkbox">
<label>
<input name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
" type="checkbox" value="1" <?php if ($_smarty_tpl->tpl_vars['field']->value['value']) {?>checked="checked"<?php }?> <?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?>required<?php }?>>
<span><i class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
<?php echo $_smarty_tpl->tpl_vars['field']->value['label'];?>
</label>
</span>
<?php
}
}
/* {/block 'form_field_item_checkbox'} */
/* {block 'form_field_item_date'} */
class Block_21371609315dcd9a964c2ef4_52662426 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_date' =>
array (
0 => 'Block_21371609315dcd9a964c2ef4_52662426',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<input name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
" class="form-control" type="date" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['value'], ENT_QUOTES, 'UTF-8');?>
" placeholder="<?php if (isset($_smarty_tpl->tpl_vars['field']->value['availableValues']['placeholder'])) {
echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['availableValues']['placeholder'], ENT_QUOTES, 'UTF-8');
}?>">
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['availableValues']['comment'])) {?>
<span class="form-control-comment">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['availableValues']['comment'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php }?>
<?php
}
}
/* {/block 'form_field_item_date'} */
/* {block 'form_field_item_birthday'} */
class Block_10844997825dcd9a964c5237_19596002 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_birthday' =>
array (
0 => 'Block_10844997825dcd9a964c5237_19596002',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/clients/client1/web14/web/vendor/smarty/smarty/libs/plugins/function.html_select_date.php','function'=>'smarty_function_html_select_date',),));
?>
<div class="js-parent-focus">
<?php ob_start();
echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['value'], ENT_QUOTES, 'UTF-8');
$_prefixVariable1 = ob_get_clean();
ob_start();
echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');
$_prefixVariable2 = ob_get_clean();
ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'-- day --','d'=>'Shop.Forms.Labels'),$_smarty_tpl ) );
$_prefixVariable3 = ob_get_clean();
ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'-- month --','d'=>'Shop.Forms.Labels'),$_smarty_tpl ) );
$_prefixVariable4 = ob_get_clean();
ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'-- year --','d'=>'Shop.Forms.Labels'),$_smarty_tpl ) );
$_prefixVariable5 = ob_get_clean();
ob_start();
echo htmlspecialchars(date('Y'), ENT_QUOTES, 'UTF-8');
$_prefixVariable6 = ob_get_clean();
ob_start();
echo htmlspecialchars(date('Y'), ENT_QUOTES, 'UTF-8');
$_prefixVariable7 = ob_get_clean();
echo smarty_function_html_select_date(array('field_order'=>'DMY','time'=>$_prefixVariable1,'field_array'=>$_prefixVariable2,'prefix'=>false,'reverse_years'=>true,'field_separator'=>'<br>','day_extra'=>'class="form-control form-control-select"','month_extra'=>'class="form-control form-control-select"','year_extra'=>'class="form-control form-control-select"','day_empty'=>$_prefixVariable3,'month_empty'=>$_prefixVariable4,'year_empty'=>$_prefixVariable5,'start_year'=>$_prefixVariable6-100,'end_year'=>$_prefixVariable7),$_smarty_tpl);?>
</div>
<?php
}
}
/* {/block 'form_field_item_birthday'} */
/* {block 'form_field_item_password'} */
class Block_19070291575dcd9a964cac86_98260533 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_password' =>
array (
0 => 'Block_19070291575dcd9a964cac86_98260533',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="input-group js-parent-focus">
<input
class="form-control js-child-focus js-visible-password"
name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
"
type="password"
value=""
pattern=".{5,}"
<?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?>required<?php }?>
>
<span class="input-group-btn">
<button
class="btn"
type="button"
data-action="show-password"
data-text-show="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Show','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
"
data-text-hide="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Hide','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
"
>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Show','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</span>
</div>
<?php
}
}
/* {/block 'form_field_item_password'} */
/* {block 'form_field_item_other'} */
class Block_10554015525dcd9a964cc9d0_87753545 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_item_other' =>
array (
0 => 'Block_10554015525dcd9a964cc9d0_87753545',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<input
class="form-control"
name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['name'], ENT_QUOTES, 'UTF-8');?>
"
type="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['type'], ENT_QUOTES, 'UTF-8');?>
"
value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['value'], ENT_QUOTES, 'UTF-8');?>
"
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['availableValues']['placeholder'])) {?>placeholder="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['availableValues']['placeholder'], ENT_QUOTES, 'UTF-8');?>
"<?php }?>
<?php if ($_smarty_tpl->tpl_vars['field']->value['maxLength']) {?>maxlength="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['maxLength'], ENT_QUOTES, 'UTF-8');?>
"<?php }?>
<?php if ($_smarty_tpl->tpl_vars['field']->value['required']) {?>required<?php }?>
>
<?php if (isset($_smarty_tpl->tpl_vars['field']->value['availableValues']['comment'])) {?>
<span class="form-control-comment">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['availableValues']['comment'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php }?>
<?php
}
}
/* {/block 'form_field_item_other'} */
/* {block 'form_field_errors'} */
class Block_11140540555dcd9a964cfc40_11706821 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_errors' =>
array (
0 => 'Block_11140540555dcd9a964cfc40_11706821',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_subTemplateRender('file:_partials/form-errors.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('errors'=>$_smarty_tpl->tpl_vars['field']->value['errors']), 0, false);
?>
<?php
}
}
/* {/block 'form_field_errors'} */
/* {block 'form_field_comment'} */
class Block_11342080595dcd9a964d0590_83007510 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_field_comment' =>
array (
0 => 'Block_11342080595dcd9a964d0590_83007510',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ((!$_smarty_tpl->tpl_vars['field']->value['required'] && !in_array($_smarty_tpl->tpl_vars['field']->value['type'],array('radio-buttons','checkbox')))) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Optional','d'=>'Shop.Forms.Labels'),$_smarty_tpl ) );?>
<?php }?>
<?php
}
}
/* {/block 'form_field_comment'} */
}

View File

@@ -1,160 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_new_product.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678fa47d59_03559842',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0a189c7dc9646e9b09e142c3ef8dcd2ac48d1d0b' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_new_product.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678fa47d59_03559842 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('currencySymbolBeforeAmount', $_smarty_tpl->tpl_vars['currency']->value->format[0] === '¤');?>
<tr id="new_product" style="display:none">
<td style="display:none;" colspan="2">
<input type="hidden" id="add_product_product_id" name="add_product[product_id]" value="0" />
<div class="form-group">
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<div class="input-group">
<input type="text" id="add_product_product_name" value=""/>
<div class="input-group-addon">
<i class="icon-search"></i>
</div>
</div>
</div>
<div id="add_product_product_attribute_area" class="form-group" style="display: none;">
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Combinations','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<select name="add_product[product_attribute_id]" id="add_product_product_attribute_id"></select>
</div>
<div id="add_product_product_warehouse_area" class="form-group" style="display: none;">
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Warehouse'),$_smarty_tpl ) );?>
</label>
<select id="add_product_warehouse" name="add_product_warehouse"></select>
</div>
</td>
<td style="display:none;">
<div class="row">
<div class="input-group fixed-width-xl">
<?php if ($_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax excl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
<input type="text" name="add_product[product_price_tax_excl]" id="add_product_product_price_tax_excl" value="" disabled="disabled" />
<?php if (!$_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax excl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
</div>
</div>
<br/>
<div class="row">
<div class="input-group fixed-width-xl">
<?php if ($_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax incl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
<input type="text" name="add_product[product_price_tax_incl]" id="add_product_product_price_tax_incl" value="" disabled="disabled" />
<?php if (!$_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax incl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
</div>
</div>
</td>
<td style="display:none;" class="productQuantity">
<input type="number" class="form-control fixed-width-sm" name="add_product[product_quantity]" id="add_product_product_quantity" value="1" disabled="disabled" />
</td>
<?php if (($_smarty_tpl->tpl_vars['order']->value->hasBeenPaid())) {?><td style="display:none;" class="productQuantity"></td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['display_warehouse']->value) {?><td></td><?php }?>
<?php if (($_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered())) {?><td style="display:none;" class="productQuantity"></td><?php }?>
<td style="display:none;" class="productQuantity" id="add_product_product_stock">0</td>
<td style="display:none;" id="add_product_product_total"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>0,'currency'=>$_smarty_tpl->tpl_vars['currency']->value->id),$_smarty_tpl ) );?>
</td>
<td style="display:none;" colspan="2">
<?php if (sizeof($_smarty_tpl->tpl_vars['invoices_collection']->value)) {?>
<select class="form-control" name="add_product[invoice]" id="add_product_product_invoice" disabled="disabled">
<optgroup class="existing" label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Existing'),$_smarty_tpl ) );?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['invoices_collection']->value, 'invoice');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['invoice']->value) {
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['invoice']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['invoice']->value->getInvoiceNumberFormatted($_smarty_tpl->tpl_vars['current_id_lang']->value);?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</optgroup>
<optgroup label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'New'),$_smarty_tpl ) );?>
">
<option value="0"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Create a new invoice','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</option>
</optgroup>
</select>
<?php }?>
</td>
<td style="display:none;">
<button type="button" class="btn btn-default" id="cancelAddProduct">
<i class="icon-remove text-danger"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Cancel','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<button type="button" class="btn btn-default" id="submitAddProduct" disabled="disabled">
<i class="icon-ok text-success"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
</td>
</tr>
<tr id="new_invoice" style="display:none">
<td colspan="10">
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'New invoice information','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</h4>
<div class="form-horizontal">
<div class="form-group">
<label class="control-label col-lg-3"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Carrier','d'=>'Admin.Shipping.Feature'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<p class="form-control-static"><strong><?php echo $_smarty_tpl->tpl_vars['carrier']->value->name;?>
</strong></p>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shipping Costs','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<div class="checkbox">
<label>
<input type="checkbox" name="add_invoice[free_shipping]" value="1" />
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Free shipping','d'=>'Admin.Shipping.Feature'),$_smarty_tpl ) );?>
</label>
<p class="help-block"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If you don\'t select "Free shipping," the normal shipping costs will be applied.','d'=>'Admin.Orderscustomers.Help'),$_smarty_tpl ) );?>
</p>
</div>
</div>
</div>
</div>
</td>
</tr>
<?php }
}

View File

@@ -1,26 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:49:00
from '/var/www/clients/client1/web14/web/pdf/pagination.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce829c5b8b59_34309279',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0ab727619dc449b86414700a72d6a57b57e5fa5e' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/pagination.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce829c5b8b59_34309279 (Smarty_Internal_Template $_smarty_tpl) {
?><p style="text-align: right; vertical-align: text-top;"> {:png:} / {:ptg:} </p>
<?php }
}

View File

@@ -1,64 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:21
from '/var/www/clients/client1/web14/web/pdf/footer.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67915b6643_45636571',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0ca440dcfe501713aef691434db432128299c2d4' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/footer.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67915b6643_45636571 (Smarty_Internal_Template $_smarty_tpl) {
?><table style="width: 100%;">
<tr>
<td style="text-align: center; font-size: 6pt; color: #444; width:100%;">
<?php if ($_smarty_tpl->tpl_vars['available_in_your_account']->value) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br />
<?php }?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop_address']->value,'html','UTF-8' ));?>
<br />
<?php if (!empty($_smarty_tpl->tpl_vars['shop_phone']->value) || !empty($_smarty_tpl->tpl_vars['shop_fax']->value)) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'For more assistance, contact Support:','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br />
<?php if (!empty($_smarty_tpl->tpl_vars['shop_phone']->value)) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tel: %s','sprintf'=>array(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop_phone']->value,'html','UTF-8' ))),'d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php }?>
<?php if (!empty($_smarty_tpl->tpl_vars['shop_fax']->value)) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Fax: %s','sprintf'=>array(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop_fax']->value,'html','UTF-8' ))),'d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php }?>
<br />
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['shop_details']->value)) {?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop_details']->value,'html','UTF-8' ));?>
<br />
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['free_text']->value)) {?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['free_text']->value,'html','UTF-8' ));?>
<br />
<?php }?>
</td>
</tr>
</table>
<?php }
}

View File

@@ -1,37 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:18
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/content.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678e08e264_40457930',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0cb24ab2aca49bc82498878d0c02494e3a16bc89' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/content.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678e08e264_40457930 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="ajax_confirmation" class="alert alert-success hide"></div>
<div id="ajaxBox" style="display:none"></div>
<div class="row">
<div class="col-lg-12">
<?php if (isset($_smarty_tpl->tpl_vars['content']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
<?php }?>
</div>
</div>
<?php }
}

View File

@@ -1,48 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:21
from '/var/www/clients/client1/web14/web/pdf/delivery-slip.summary-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67915f4d95_20967253',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0d37e43c5f9b112703dbe01850be8977f24a9b2b' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/delivery-slip.summary-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67915f4d95_20967253 (Smarty_Internal_Template $_smarty_tpl) {
?><table id="summary-tab" width="100%">
<tr>
<th class="header small" valign="middle"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order Reference','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="header small" valign="middle"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order Date','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php if (isset($_smarty_tpl->tpl_vars['carrier']->value)) {?>
<th class="header small" valign="middle"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Carrier','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php }?>
</tr>
<tr>
<td class="center small white"><?php echo $_smarty_tpl->tpl_vars['order']->value->getUniqReference();?>
</td>
<td class="center small white"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['dateFormat'][0], array( array('date'=>$_smarty_tpl->tpl_vars['order']->value->date_add,'full'=>0),$_smarty_tpl ) );?>
</td>
<?php if (isset($_smarty_tpl->tpl_vars['carrier']->value)) {?>
<td class="center small white"><?php echo $_smarty_tpl->tpl_vars['carrier']->value->name;?>
</td>
<?php }?>
</tr>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:54:06
/* Smarty version 3.1.33, created on 2020-05-05 15:30:20
from 'module:psshoppingcartmodal.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67ae3b1dc3_49708154',
'unifunc' => 'content_5eb16a6c994f66_29602823',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0de54a7df2ce9f325675562cb8b6164899785ff9' =>
array (
0 => 'module:psshoppingcartmodal.tpl',
1 => 1561472940,
1 => 1574190562,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dce67ae3b1dc3_49708154 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a6c994f66_29602823 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="blockcart-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">

View File

@@ -1,31 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:18
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678e0838f0_24214079',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0eb0b93c1c845027cabab604e0abcee1dd758b62' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678e0838f0_24214079 (Smarty_Internal_Template $_smarty_tpl) {
echo $_smarty_tpl->tpl_vars['header']->value;?>
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
<?php echo $_smarty_tpl->tpl_vars['footer']->value;?>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:09
/* Smarty version 3.1.33, created on 2020-05-05 15:29:56
from 'module:pscontactinfonav.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c1287524_90719741',
'unifunc' => 'content_5eb16a54cb3aa3_78626062',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0eb2119957cbc13b240126b3ccd8fac8f109f1e2' =>
array (
0 => 'module:pscontactinfonav.tpl',
1 => 1561472940,
1 => 1574190553,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dcd67c1287524_90719741 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a54cb3aa3_78626062 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="_desktop_contact_link">
<div id="contact-link">
<?php if ($_smarty_tpl->tpl_vars['contact_infos']->value['phone']) {?>

View File

@@ -1,36 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:53:42
from '/var/www/clients/client1/web14/web/themes/classic/modules/ps_emailalerts/views/templates/hook/my-account.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce6796781a95_89910253',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0f2db96b3d9222107735cee4c0b947c38cb61f6c' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/modules/ps_emailalerts/views/templates/hook/my-account.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce6796781a95_89910253 (Smarty_Internal_Template $_smarty_tpl) {
?>
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="emailsalerts"
href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'module','name'=>'ps_emailalerts','controller'=>'account'),$_smarty_tpl ) );?>
" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My alerts','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
">
<span class="link-item">
<i class="material-icons">&#xE151;</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My alerts','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</span>
</a>
<?php }
}

View File

@@ -1,50 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:30:34
from '/var/www/clients/client1/web14/web/pdf/invoice.payment-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce703ab312a2_28503126',
'has_nocache_code' => false,
'file_dependency' =>
array (
'10c20372daf19068b3edda15f55ca984f2345b92' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.payment-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce703ab312a2_28503126 (Smarty_Internal_Template $_smarty_tpl) {
?><table id="payment-tab" width="100%">
<tr>
<td class="payment center small grey bold" width="44%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Payment Method','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
<td class="payment left white" width="56%">
<table width="100%" border="0">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_invoice']->value->getOrderPaymentCollection(), 'payment');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['payment']->value) {
?>
<tr>
<td class="right small"><?php echo $_smarty_tpl->tpl_vars['payment']->value->payment_method;?>
</td>
<td class="right small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['payment']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['payment']->value->amount),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</td>
</tr>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:09
/* Smarty version 3.1.33, created on 2020-05-05 15:29:56
from 'module:pssearchbarpssearchbar.tp' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c128c810_42805184',
'unifunc' => 'content_5eb16a54ce29b8_11862426',
'has_nocache_code' => false,
'file_dependency' =>
array (
'110ec72aa9921d2c382ad628bdb2f0bc5105a617' =>
array (
0 => 'module:pssearchbarpssearchbar.tp',
1 => 1561472940,
1 => 1574190561,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dcd67c128c810_42805184 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a54ce29b8_11862426 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- Block search module TOP -->
<div id="search_widget" class="search-widget" data-search-controller-url="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['search_controller_url']->value, ENT_QUOTES, 'UTF-8');?>
">

View File

@@ -1,29 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/footer.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd6788068bb4_27598979',
'has_nocache_code' => false,
'file_dependency' =>
array (
'11fa669a336525320970352772654b3b194d4456' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/footer.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd6788068bb4_27598979 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="footer" class="bootstrap">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>"displayBackOfficeFooter"),$_smarty_tpl ) );?>
</div>
<?php }
}

View File

@@ -1,165 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:16:35
from '/var/www/clients/client1/web14/web/mails/en/order_conf_product_list.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7b0367a8e9_53532460',
'has_nocache_code' => false,
'file_dependency' =>
array (
'152973d622d4914e87c1f2c78fea36b0325a912b' =>
array (
0 => '/var/www/clients/client1/web14/web/mails/en/order_conf_product_list.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7b0367a8e9_53532460 (Smarty_Internal_Template $_smarty_tpl) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value, 'product');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['product']->value) {
?>
<tr>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['reference'], ENT_QUOTES, 'UTF-8');?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<strong><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['name'], ENT_QUOTES, 'UTF-8');?>
</strong>
<?php if (count($_smarty_tpl->tpl_vars['product']->value['customization']) == 1) {?>
<br>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['customization'], 'customization');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization']->value) {
?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['customization_text'], ENT_QUOTES, 'UTF-8');?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"unit_price"),$_smarty_tpl ) );?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['unit_price'], ENT_QUOTES, 'UTF-8');?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<?php if (count($_smarty_tpl->tpl_vars['product']->value['customization']) > 1) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['customization'], 'customization');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization']->value) {
?>
<tr>
<td colspan="3" style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['customization_text'], ENT_QUOTES, 'UTF-8');?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php if (count($_smarty_tpl->tpl_vars['product']->value['customization']) > 1) {?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['customization_quantity'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;"></td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}

View File

@@ -1,52 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:38:32
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/cart-summary-items-subtotal.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7218879604_46519890',
'has_nocache_code' => false,
'file_dependency' =>
array (
'173447cc640b655f4e18a93b9db4d3296eef345f' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/cart-summary-items-subtotal.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7218879604_46519890 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2876526275dce7218878945_27480449', 'cart_summary_items_subtotal');
?>
<?php }
/* {block 'cart_summary_items_subtotal'} */
class Block_2876526275dce7218878945_27480449 extends Smarty_Internal_Block
{
public $subBlocks = array (
'cart_summary_items_subtotal' =>
array (
0 => 'Block_2876526275dce7218878945_27480449',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="card-block cart-summary-line cart-summary-items-subtotal clearfix" id="items-subtotal">
<span class="label"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['summary_string'], ENT_QUOTES, 'UTF-8');?>
</span>
<span class="value"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['subtotals']['products']['amount'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php
}
}
/* {/block 'cart_summary_items_subtotal'} */
}

View File

@@ -1,212 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:15:29
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/order-confirmation-table.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7ac13b8f11_89158346',
'has_nocache_code' => false,
'file_dependency' =>
array (
'19338de9699abdfcc0bfac7d7f670f651560e5ca' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/order-confirmation-table.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7ac13b8f11_89158346 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div id="order-items" class="col-md-12">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_15354131135dce7ac13adca1_94919415', 'order_items_table_head');
?>
<div class="order-confirmation-table">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_18417198935dce7ac13ae543_75751928', 'order_confirmation_table');
?>
</div>
</div>
<?php }
/* {block 'order_items_table_head'} */
class Block_15354131135dce7ac13adca1_94919415 extends Smarty_Internal_Block
{
public $subBlocks = array (
'order_items_table_head' =>
array (
0 => 'Block_15354131135dce7ac13adca1_94919415',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<h3 class="card-title h3"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order items','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</h3>
<?php
}
}
/* {/block 'order_items_table_head'} */
/* {block 'order_confirmation_table'} */
class Block_18417198935dce7ac13ae543_75751928 extends Smarty_Internal_Block
{
public $subBlocks = array (
'order_confirmation_table' =>
array (
0 => 'Block_18417198935dce7ac13ae543_75751928',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['products']->value, 'product');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['product']->value) {
?>
<div class="order-line row">
<div class="col-sm-2 col-xs-3">
<span class="image">
<img src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['cover']['medium']['url'], ENT_QUOTES, 'UTF-8');?>
" />
</span>
</div>
<div class="col-sm-4 col-xs-9 details">
<?php if ($_smarty_tpl->tpl_vars['add_product_link']->value) {?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8');?>
" target="_blank"><?php }?>
<span><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['name'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php if ($_smarty_tpl->tpl_vars['add_product_link']->value) {?></a><?php }?>
<?php if (is_array($_smarty_tpl->tpl_vars['product']->value['customizations']) && count($_smarty_tpl->tpl_vars['product']->value['customizations'])) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['customizations'], 'customization');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization']->value) {
?>
<div class="customizations">
<a href="#" data-toggle="modal" data-target="#product-customizations-modal-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['id_customization'], ENT_QUOTES, 'UTF-8');?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product customization','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</a>
</div>
<div class="modal fade customization-modal" id="product-customizations-modal-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['id_customization'], ENT_QUOTES, 'UTF-8');?>
" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product customization','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</h4>
</div>
<div class="modal-body">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customization']->value['fields'], 'field');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) {
?>
<div class="product-customization-line row">
<div class="col-sm-3 col-xs-4 label">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['label'], ENT_QUOTES, 'UTF-8');?>
</div>
<div class="col-sm-9 col-xs-8 value">
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'text') {?>
<?php if ((int)$_smarty_tpl->tpl_vars['field']->value['id_module']) {?>
<?php echo $_smarty_tpl->tpl_vars['field']->value['text'];?>
<?php } else { ?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['text'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
<?php } elseif ($_smarty_tpl->tpl_vars['field']->value['type'] == 'image') {?>
<img src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['image']['small']['url'], ENT_QUOTES, 'UTF-8');?>
">
<?php }?>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"unit_price"),$_smarty_tpl ) );?>
</div>
<div class="col-sm-6 col-xs-12 qty">
<div class="row">
<div class="col-xs-5 text-sm-right text-xs-left"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
</div>
<div class="col-xs-2"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
</div>
<div class="col-xs-5 text-xs-right bold"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['total'], ENT_QUOTES, 'UTF-8');?>
</div>
</div>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<hr>
<table>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['subtotals']->value, 'subtotal');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['subtotal']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['subtotal']->value['type'] !== 'tax' && $_smarty_tpl->tpl_vars['subtotal']->value['label'] !== null) {?>
<tr>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotal']->value['label'], ENT_QUOTES, 'UTF-8');?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotal']->value['value'], ENT_QUOTES, 'UTF-8');?>
</td>
</tr>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php if ($_smarty_tpl->tpl_vars['subtotals']->value['tax']['label'] !== null) {?>
<tr class="sub">
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotals']->value['tax']['label'], ENT_QUOTES, 'UTF-8');?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotals']->value['tax']['value'], ENT_QUOTES, 'UTF-8');?>
</td>
</tr>
<?php }?>
<tr class="font-weight-bold">
<td><span class="text-uppercase"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['totals']->value['total']['label'], ENT_QUOTES, 'UTF-8');?>
</span> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['labels']->value['tax_short'], ENT_QUOTES, 'UTF-8');?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['totals']->value['total']['value'], ENT_QUOTES, 'UTF-8');?>
</td>
</tr>
</table>
<?php
}
}
/* {/block 'order_confirmation_table'} */
}

View File

@@ -1,193 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 13:36:42
from '/var/www/clients/client1/web14/web/themes/classic/templates/customer/_partials/address-form.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd2905ada0404_26345521',
'has_nocache_code' => false,
'file_dependency' =>
array (
'196386fbbe35457e3449e77ba42fc8f83956e8ca' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/customer/_partials/address-form.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:_partials/form-errors.tpl' => 1,
),
),false)) {
function content_5dd2905ada0404_26345521 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6700599175dd2905ad98488_84335538', "address_form");
?>
<?php }
/* {block "address_form_url"} */
class Block_6735296095dd2905ad9a580_40940354 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<form
method="POST"
action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'address','params'=>array('id_address'=>$_smarty_tpl->tpl_vars['id_address']->value)),$_smarty_tpl ) );?>
"
data-id-address="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_address']->value, ENT_QUOTES, 'UTF-8');?>
"
data-refresh-url="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'address','params'=>array('ajax'=>1,'action'=>'addressForm')),$_smarty_tpl ) );?>
"
>
<?php
}
}
/* {/block "address_form_url"} */
/* {block 'form_field'} */
class Block_8332261885dd2905ad9e3a4_01298374 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_field'][0], array( array('field'=>$_smarty_tpl->tpl_vars['field']->value),$_smarty_tpl ) );?>
<?php
}
}
/* {/block 'form_field'} */
/* {block 'form_fields'} */
class Block_1565755285dd2905ad9bcc2_88180132 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['formFields']->value, 'field');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) {
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8332261885dd2905ad9e3a4_01298374', 'form_field', $this->tplIndex);
?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
/* {/block 'form_fields'} */
/* {block "address_form_fields"} */
class Block_19477207845dd2905ad9b9f9_86163602 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<section class="form-fields">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1565755285dd2905ad9bcc2_88180132', 'form_fields', $this->tplIndex);
?>
</section>
<?php
}
}
/* {/block "address_form_fields"} */
/* {block 'form_buttons'} */
class Block_13522126335dd2905ad9f989_07797455 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<button class="btn btn-primary float-xs-right" type="submit" class="form-control-submit">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
<?php
}
}
/* {/block 'form_buttons'} */
/* {block "address_form_footer"} */
class Block_13103285735dd2905ad9f6a6_59187136 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<footer class="form-footer clearfix">
<input type="hidden" name="submitAddress" value="1">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_13522126335dd2905ad9f989_07797455', 'form_buttons', $this->tplIndex);
?>
</footer>
<?php
}
}
/* {/block "address_form_footer"} */
/* {block "address_form"} */
class Block_6700599175dd2905ad98488_84335538 extends Smarty_Internal_Block
{
public $subBlocks = array (
'address_form' =>
array (
0 => 'Block_6700599175dd2905ad98488_84335538',
),
'address_form_url' =>
array (
0 => 'Block_6735296095dd2905ad9a580_40940354',
),
'address_form_fields' =>
array (
0 => 'Block_19477207845dd2905ad9b9f9_86163602',
),
'form_fields' =>
array (
0 => 'Block_1565755285dd2905ad9bcc2_88180132',
),
'form_field' =>
array (
0 => 'Block_8332261885dd2905ad9e3a4_01298374',
),
'address_form_footer' =>
array (
0 => 'Block_13103285735dd2905ad9f6a6_59187136',
),
'form_buttons' =>
array (
0 => 'Block_13522126335dd2905ad9f989_07797455',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="js-address-form">
<?php $_smarty_tpl->_subTemplateRender('file:_partials/form-errors.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('errors'=>$_smarty_tpl->tpl_vars['errors']->value['']), 0, false);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6735296095dd2905ad9a580_40940354', "address_form_url", $this->tplIndex);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19477207845dd2905ad9b9f9_86163602', "address_form_fields", $this->tplIndex);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_13103285735dd2905ad9f6a6_59187136', "address_form_footer", $this->tplIndex);
?>
</form>
</div>
<?php
}
}
/* {/block "address_form"} */
}

View File

@@ -1,467 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/modules/sonice_retour/views/templates/admin/hook/orderReturn16.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678f9c1ba5_01611226',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1ad539f96ac1360e63bdab62ab413a007e5b8e61' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/sonice_retour/views/templates/admin/hook/orderReturn16.tpl',
1 => 1552521600,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678f9c1ba5_01611226 (Smarty_Internal_Template $_smarty_tpl) {
if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<link type="text/css" rel="stylesheet" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['cssDir']->value,'htmlall','UTF-8' ));?>
sonice_retour.css">
<?php echo '<script'; ?>
type="text/javascript" src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['jsDir']->value,'htmlall','UTF-8' ));?>
orderReturn.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript" src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['jquery_ui_url']->value,'htmlall','UTF-8' ));?>
"><?php echo '</script'; ?>
>
<?php }?>
<fieldset id="sonice_retour_env" class="panel">
<input type="hidden" id="sonice_retour_printing_type" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_printing_type']->value,'htmlall','UTF-8' ));?>
">
<?php if ($_smarty_tpl->tpl_vars['ps16x']->value) {?>
<h3><?php } else { ?>
<legend><?php }?>
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
delivery.gif" alt="delivery">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Merchandise returns','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['ps16x']->value) {?></h3>
<?php } else { ?></legend><?php }?>
<form id="sonice_retour" method="post" action="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action_merchandise_return_url']->value,'htmlall','UTF-8' ));?>
">
<!-- VARIABLES -->
<input type="hidden" name="sonice_retour[id_order]" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_id_order']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" name="sonice_retour[id_customer]" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_id_customer']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" name="sonice_retour[id_delivery]" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_id_delivery']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" name="sonice_retour[newReturn]" value="0">
<input type="hidden" id="sonice_retour_alert_drag" value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You have to drag and drop your products to return before choosing an action.','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
">
<input type="hidden" id="demo_send_warning" value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You cannot do it in demo mode, however you can have a look of it if you try to create a new return.','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
">
<input type="hidden" id="sonice_retour_return_done" value="0">
<input type="hidden" id="sonice_retour_demo" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_demo']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" id="ps15x" value="<?php if ($_smarty_tpl->tpl_vars['ps15x']->value) {?>1<?php } else { ?>0<?php }?>">
<!-- URL -->
<input type="hidden" id="saveMerchandiseReturn_url" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action_merchandise_return_url']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" id="get_label_url" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['get_label_url']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" id="change_return_state_url" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['change_return_state_url']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" id="sonice_retour_http_download_folder" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_http_download_folder']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" id="sonice_retour_function_folder" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_function_folder']->value,'htmlall','UTF-8' ));?>
">
<input type="hidden" id="sonice_retour_baseURL" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_baseURL']->value,'htmlall','UTF-8' ));?>
">
<!-- TPL -->
<div class="clear">&nbsp;</div>
<?php if (!$_smarty_tpl->tpl_vars['sonice_retour_alreadyChoseReturnProduct']->value || $_smarty_tpl->tpl_vars['sonice_retour_stillSome']->value) {?>
<div id="product_drop">
<table class="table sonice_retour_unselectedTable" cellspacing="0" cellpadding="0" id="sonice_retour_drop">
<thead>
<tr>
<th height="39" align="center" style="width: 7%">&nbsp;</th>
<th><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<th style="width: 15%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Unit Price','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<th style="width: 4%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Qty','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<?php if ($_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th style="width: 3%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Refunded','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th><?php }?>
<th style="width: 3%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Returned','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<?php if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th>Stock</th>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th style="width: 10%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Available quantity','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th><?php }?>
<th style="width: 10%; text-align: center">Total</th>
<?php if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th>Retour</th>
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th>&nbsp;</th>
<?php }?>
</tr>
</thead>
<tbody class="sonice_retour_tbody">
<?php if (!empty($_smarty_tpl->tpl_vars['sonice_retour_productLeft']->value)) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sonice_retour_productLeft']->value, 'detail', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['detail']->value) {
?>
<input type="hidden" class="sonice_retour_prodLeft" rel="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['key']->value,'htmlall','UTF-8' ));?>
" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['detail']->value,'htmlall','UTF-8' ));?>
">
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<tr id="sonice_retour_landing_area">
<td height="70" align="center" colspan="8">
<div style="border: 2px dashed black; padding: 5px 0;">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Drop products here','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
<br>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'To add them in your return label','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
<br>
<br>
<button type="button" id="snr_return_all" class="btn btn-primary"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Return all products','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="border-bottom: 2px solid silver; margin: 40px 0"></div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['sonice_retour_alreadyChoseReturnProduct']->value) {?>
<input type="hidden" id="sonice_retour_alreadyReturned">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sonice_retour_returnedProduct']->value['return'], 'sonice_retour_return', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['sonice_retour_return']->value) {
?>
<?php if (is_array($_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']) && count($_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata'])) {?>
<div class="metadata-command">
<dl>
<dt>Date :</dt>
<dd><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['date'],'htmlall','UTF-8' ));?>
</dd>
|
</dl>
<dl>
<dt><img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
tag_hash.png" alt="label"></dt>
<dd>
<a href="<?php echo $_smarty_tpl->tpl_vars['sonice_retour_returnDetail_link']->value;
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['id_order_return'],'htmlall','UTF-8' ));?>
"
target="_blank"
data-content="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['question'],'htmlall','UTF-8' ));?>
"
data-placement="top"
data-toggle="popover">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Return','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
# <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['id_order_return'],'htmlall','UTF-8' ));?>
</a>
</dd>
|
</dl>
<dl>
<dt><img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
so-conf.gif" alt="label"></dt>
<dd>
<?php if ($_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['pdf']) {?>
<span>
<?php if ($_smarty_tpl->tpl_vars['sonice_retour_tracking_url']->value) {?>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_tracking_url']->value,'htmlall','UTF-8' ));
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['pdf'],'htmlall','UTF-8' ));?>
" target="_blank">
<?php }?>
# <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['pdf'],'htmlall','UTF-8' ));
if ($_smarty_tpl->tpl_vars['sonice_retour_tracking_url']->value) {?></a><?php }?>
</span>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sorry, there is no label available for this order, you need to create one.','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
<br>
<?php }?>
</dd>
|
</dl>
<dl>
<dt><img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
tag_orange.png" alt="label"></dt>
<dd>
<span style="color: <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['color'],'htmlall','UTF-8' ));?>
"># <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['state'],'htmlall','UTF-8' ));?>
</span>
</dd>
|
</dl>
<dl>
<dt>
<select class="sonice_retour_select" rel="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['id_order_return'],'htmlall','UTF-8' ));?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sonice_retour_stateList']->value, 'state');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['state']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['state']->value['name'] == $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['state'] && $_smarty_tpl->tpl_vars['state']->value['id_order_return_state'] == 1) {?>
<?php if ($_smarty_tpl->tpl_vars['state']->value['name'] == $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['state']) {?>
<option value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['id_order_return_state'],'htmlall','UTF-8' ));?>
" class="sonice_retour_return_to_confirm" selected><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['name'],'htmlall','UTF-8' ));?>
</option>
<?php } else { ?>
<option value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['id_order_return_state'],'htmlall','UTF-8' ));?>
" class="sonice_retour_return_to_confirm"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['name'],'htmlall','UTF-8' ));?>
</option>
<?php }?>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['state']->value['name'] == $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['metadata']['state']) {?>
<option value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['id_order_return_state'],'htmlall','UTF-8' ));?>
" selected><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['name'],'htmlall','UTF-8' ));?>
</option>
<?php } else { ?>
<option value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['id_order_return_state'],'htmlall','UTF-8' ));?>
"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['name'],'htmlall','UTF-8' ));?>
</option>
<?php }?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</dt>
<dd>
<span class="sonice_retour_succeed" style="display: none;">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
tick.png" alt="Succeed">
</span>
<span class="sonice_retour_fail" style="display: none;">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
cross.png" alt="Fail">
</span>
</dd>
</dl>
<div class="clear"></div>
</div>
<?php }?>
<table class="table table-bordered sonice_retour_unselectedTable" cellspacing="0" cellpadding="0" rel="<?php echo intval($_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['id_order_return']);?>
">
<thead>
<tr>
<th height="39" align="center" style="width: 7%">&nbsp;</th>
<th><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<th style="width: 15%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Unit Price','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<th style="width: 4%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Qty','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<?php if ($_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th style="width: 3%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Refunded','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th><?php }?>
<th style="width: 3%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Returned','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th>
<?php if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th>Stock</th>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th style="width: 10%; text-align: center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Available quantity','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</th><?php }?>
<th style="width: 10%; text-align: center">Total</th>
<?php if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th>Retour</th>
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['ps15x']->value) {?>
<th>&nbsp;</th>
<?php }?>
</tr>
</thead>
<tbody class="sonice_retour_tbody_a centerfont">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sonice_retour_returnedProduct']->value['return'][$_smarty_tpl->tpl_vars['key']->value], 'retour_return');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['retour_return']->value) {
?>
<input type="hidden" class="sonice_retour_choseProd" rel="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['retour_return']->value['id_order_detail'],'htmlall','UTF-8' ));?>
" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['retour_return']->value['product_quantity'],'htmlall','UTF-8' ));?>
">
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
<?php ob_start();
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['pdf'],'htmlall','UTF-8' ));
$_prefixVariable3 = ob_get_clean();
if ($_prefixVariable3) {?>
<tfoot style="display: none;">
<tr>
<td><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_http_download_folder']->value,'htmlall','UTF-8' ));
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['sonice_retour_returnDetail']->value[$_smarty_tpl->tpl_vars['key']->value]['pdf'],'htmlall','UTF-8' ));?>
.pdf
</td>
</tr>
</tfoot>
<?php }?>
</table>
<div style="border-bottom: 2px solid silver; margin: 40px 0;"></div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<div class="clear">&nbsp;</div>
<div class="float-right">
<ul id="actionButton" class="etg_action_button">
<li id="actionButtonPrint">
<a class="toolbar_btn">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
printer.png" alt="save"><br>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Print return label','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</a>
</li>
<li id="actionButtonSave">
<a class="toolbar_btn">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
barcode.png" alt="save"><br>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Generate return label','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</a>
</li>
<li id="actionLoader" style="display: none;">
<a class="toolbar_btn">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
import-loader.gif" width="32px" alt="loading">
</a>
</li>
</ul>
</div>
<div class="clear">&nbsp;</div>
<div id="sonice_retour_return">
<div id="sonice_retour_loader">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
import-loader.gif" alt="loader">
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Generating label...','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</p>
</div>
<div class="alert alert-success" id="msgPrint" style="display: none;">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Label is ready to be printed.','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</div>
<div class="alert alert-success" id="msgSave" style="display: none;">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Label is ready to be saved','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</div>
<div class="alert alert-success" id="msgSend" style="display: none;">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'The return label has been sent to your customer','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</div>
<div class="alert alert-danger" style="display:none">
</div>
</div>
</form>
<div id="printLabel"></div>
<!-- Drag' n' Drop Copy -->
<table id="sonice_retour_dragndropTemplate" style="display: none;">
<td height="70" align="center" colspan="8">
<div style="border: 2px dashed black; height: 60px;">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Drop products here','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
<br>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'To add them in your return label','mod'=>'sonice_retour'),$_smarty_tpl ) );?>
</div>
</td>
</table>
<!-- Metadata Copy -->
<div class="metadata-model" style="display: none;">
<dl>
<dt>Date</dt>
<dd class="metadata-date"></dd>
|
</dl>
<dl>
<dt><img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
tag_hash.png" alt="label"></dt>
<dd>
# <span class="metadata-id_order_return"></span>
</dd>
|
</dl>
<dl>
<dt><img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
so-conf.gif" alt="label"></dt>
<dd>
<span class="metadata-tracking"><a href="#" target="_blank"></a></span>
</dd>
|
</dl>
<dl>
<dt><img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
tag_orange.png" alt="label"></dt>
<dd>
<span style=""># <span class="metadata-state"></span></span>
</dd>
|
</dl>
<dl>
<dt>
<select class="sonice_retour_select" rel="">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sonice_retour_stateList']->value, 'state');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['state']->value) {
?>
<option value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['id_order_return_state'],'htmlall','UTF-8' ));?>
" class="sonice_retour_return_to_confirm"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['state']->value['name'],'htmlall','UTF-8' ));?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</dt>
<dd>
<span class="sonice_retour_succeed" style="display: none;">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
tick.png" alt="Succeed">
</span>
<span class="sonice_retour_fail" style="display: none;">
<img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['imgUrl']->value,'htmlall','UTF-8' ));?>
cross.png" alt="Fail">
</span>
</dd>
</dl>
<div class="clear"></div>
</div>
<!-- iFrame for printing -->
<iframe id="iframe_sonice_retour" style="display: none;" src="#"></iframe>
</fieldset><?php }
}

View File

@@ -1,109 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:14:49
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/address-selector-block.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7a99c46521_90852339',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1d352564a0eb79a1904e39ee757161e5b22183f1' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/address-selector-block.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7a99c46521_90852339 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1291251105dce7a99c41470_40489192', 'address_selector_blocks');
?>
<?php }
/* {block 'address_selector_blocks'} */
class Block_1291251105dce7a99c41470_40489192 extends Smarty_Internal_Block
{
public $subBlocks = array (
'address_selector_blocks' =>
array (
0 => 'Block_1291251105dce7a99c41470_40489192',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['addresses']->value, 'address');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['address']->value) {
?>
<article
class="address-item<?php if ($_smarty_tpl->tpl_vars['address']->value['id'] == $_smarty_tpl->tpl_vars['selected']->value) {?> selected<?php }?>"
id="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'classname' ][ 0 ], array( $_smarty_tpl->tpl_vars['name']->value )), ENT_QUOTES, 'UTF-8');?>
-address-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['address']->value['id'], ENT_QUOTES, 'UTF-8');?>
"
>
<header class="h4">
<label class="radio-block">
<span class="custom-radio">
<input
type="radio"
name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8');?>
"
value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['address']->value['id'], ENT_QUOTES, 'UTF-8');?>
"
<?php if ($_smarty_tpl->tpl_vars['address']->value['id'] == $_smarty_tpl->tpl_vars['selected']->value) {?>checked<?php }?>
>
<span></span>
</span>
<span class="address-alias h4"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['address']->value['alias'], ENT_QUOTES, 'UTF-8');?>
</span>
<div class="address"><?php echo $_smarty_tpl->tpl_vars['address']->value['formatted'];?>
</div>
</label>
</header>
<hr>
<footer class="address-footer">
<?php if ($_smarty_tpl->tpl_vars['interactive']->value) {?>
<a
class="edit-address text-muted"
data-link-action="edit-address"
href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'order','params'=>array('id_address'=>$_smarty_tpl->tpl_vars['address']->value['id'],'editAddress'=>$_smarty_tpl->tpl_vars['type']->value,'token'=>$_smarty_tpl->tpl_vars['token']->value)),$_smarty_tpl ) );?>
"
>
<i class="material-icons edit">&#xE254;</i><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Edit','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
<a
class="delete-address text-muted"
data-link-action="delete-address"
href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'order','params'=>array('id_address'=>$_smarty_tpl->tpl_vars['address']->value['id'],'deleteAddress'=>true,'token'=>$_smarty_tpl->tpl_vars['token']->value)),$_smarty_tpl ) );?>
"
>
<i class="material-icons delete">&#xE872;</i><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Delete','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
<?php }?>
</footer>
</article>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php if ($_smarty_tpl->tpl_vars['interactive']->value) {?>
<p>
<button class="ps-hidden-by-js form-control-submit center-block" type="submit"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</p>
<?php }
}
}
/* {/block 'address_selector_blocks'} */
}

View File

@@ -1,151 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:22:39
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/layout-ajax.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7c6f0b5307_27468328',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1d99e45c3802455649bd844b8f52ddccdfd18e30' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/layout-ajax.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7c6f0b5307_27468328 (Smarty_Internal_Template $_smarty_tpl) {
if (isset($_smarty_tpl->tpl_vars['json']->value)) {?>
{<?php if (isset($_smarty_tpl->tpl_vars['status']->value) && is_string($_smarty_tpl->tpl_vars['status']->value) && trim($_smarty_tpl->tpl_vars['status']->value) != '') {
$_smarty_tpl->_assignInScope('hasresult', 'ok');?>"status" : "<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
"<?php }
if (isset($_smarty_tpl->tpl_vars['confirmations']->value) && count($_smarty_tpl->tpl_vars['confirmations']->value) > 0) {
if ($_smarty_tpl->tpl_vars['hasresult']->value == 'ok') {?>,<?php }
$_smarty_tpl->_assignInScope('hasresult', 'ok');?>"confirmations" : <?php echo $_smarty_tpl->tpl_vars['confirmations']->value;
}
if (isset($_smarty_tpl->tpl_vars['informations']->value) && count($_smarty_tpl->tpl_vars['informations']->value) > 0) {
if ($_smarty_tpl->tpl_vars['hasresult']->value == 'ok') {?>,<?php }
$_smarty_tpl->_assignInScope('hasresult', 'ok');?>"informations" : <?php echo $_smarty_tpl->tpl_vars['informations']->value;
}
if (isset($_smarty_tpl->tpl_vars['errors']->value) && count($_smarty_tpl->tpl_vars['errors']->value) > 0) {
if ($_smarty_tpl->tpl_vars['hasresult']->value == 'ok') {?>,<?php }
$_smarty_tpl->_assignInScope('hasresult', 'ok');?>"error" : <?php echo $_smarty_tpl->tpl_vars['errors']->value;
}
if (isset($_smarty_tpl->tpl_vars['warnings']->value) && count($_smarty_tpl->tpl_vars['warnings']->value) > 0) {
if ($_smarty_tpl->tpl_vars['hasresult']->value == 'ok') {?>,<?php }
$_smarty_tpl->_assignInScope('hasresult', 'ok');?>"warnings" : <?php echo $_smarty_tpl->tpl_vars['warnings']->value;
}
if ($_smarty_tpl->tpl_vars['hasresult']->value == 'ok') {?>,<?php }
$_smarty_tpl->_assignInScope('hasresult', 'ok');?>"content" : <?php echo $_smarty_tpl->tpl_vars['page']->value;?>
}
<?php } else { ?>
<?php if (isset($_smarty_tpl->tpl_vars['conf']->value)) {?>
<div class="alert alert-success">
<?php echo $_smarty_tpl->tpl_vars['conf']->value;?>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['errors']->value)) {?>
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['errors']->value) == 1) {?>
<?php echo $_smarty_tpl->tpl_vars['errors']->value[0];?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%d errors','sprintf'=>array(count($_smarty_tpl->tpl_vars['errors']->value))),$_smarty_tpl ) );?>
<br/>
<ul>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['errors']->value, 'error');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['error']->value) {
?>
<li><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['informations']->value) && count($_smarty_tpl->tpl_vars['informations']->value) && $_smarty_tpl->tpl_vars['informations']->value) {?>
<div class="alert alert-info" style="display:block;">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['informations']->value, 'info');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['info']->value) {
?>
<?php echo $_smarty_tpl->tpl_vars['info']->value;?>
<br/>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['confirmations']->value) && count($_smarty_tpl->tpl_vars['confirmations']->value) && $_smarty_tpl->tpl_vars['confirmations']->value) {?>
<div class="alert alert-success" style="display:block;">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['confirmations']->value, 'confirm');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['confirm']->value) {
?>
<?php echo $_smarty_tpl->tpl_vars['confirm']->value;?>
<br />
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)) {?>
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value) > 1) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There are %d warnings.','sprintf'=>count($_smarty_tpl->tpl_vars['warnings']->value)),$_smarty_tpl ) );?>
<span style="margin-left:20px;" id="labelSeeMore">
<a id="linkSeeMore" href="#" style="text-decoration:underline"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Click here to see more'),$_smarty_tpl ) );?>
</a>
<a id="linkHide" href="#" style="text-decoration:underline;display:none"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Hide warning'),$_smarty_tpl ) );?>
</a>
</span>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There is %d warning.','sprintf'=>count($_smarty_tpl->tpl_vars['warnings']->value)),$_smarty_tpl ) );?>
<?php }?>
<ul style="display:<?php if (count($_smarty_tpl->tpl_vars['warnings']->value) > 1) {?>none<?php } else { ?>block<?php }?>;" id="seeMore">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['warnings']->value, 'warning');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['warning']->value) {
?>
<li><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</div>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
<?php }
}
}

View File

@@ -1,68 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:24:55
from '/var/www/clients/client1/web14/web/mails/en/order_conf_product_list.txt' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7cf7da0db1_17564850',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1f2b56cfcccf7d17c640e1ad8369f41045672d98' =>
array (
0 => '/var/www/clients/client1/web14/web/mails/en/order_conf_product_list.txt',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7cf7da0db1_17564850 (Smarty_Internal_Template $_smarty_tpl) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value, 'product');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['product']->value) {
?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['reference'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, "productPriceBlock", null, null);
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"unit_price"),$_smarty_tpl ) );
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
echo trim(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'productPriceBlock')));?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['quantity'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['customization'], 'customization');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization']->value) {
?>
<?php echo $_smarty_tpl->tpl_vars['customization']->value['customization_text'];?>
<?php if (count($_smarty_tpl->tpl_vars['product']->value['customization']) > 1) {?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['customization_quantity'];?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}

View File

@@ -1,78 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/view/view.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678f90a554_99424378',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2001f401a8157f4c3251580df374ed445aaea89e' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/view/view.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678f90a554_99424378 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div class="leadin"><?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12233974785dcd678f906b62_10046500', "leadin");
?>
</div>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_11732862065dcd678f907159_39683631', "override_tpl");
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAdminView'),$_smarty_tpl ) );?>
<?php if (isset($_smarty_tpl->tpl_vars['name_controller']->value)) {?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'hookName', 'hookName', null);?>display<?php echo ucfirst($_smarty_tpl->tpl_vars['name_controller']->value);?>
View<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>$_smarty_tpl->tpl_vars['hookName']->value),$_smarty_tpl ) );?>
<?php } elseif (isset($_GET['controller'])) {?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'hookName', 'hookName', null);?>display<?php echo htmlentities(ucfirst($_GET['controller']));?>
View<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>$_smarty_tpl->tpl_vars['hookName']->value),$_smarty_tpl ) );?>
<?php }
}
/* {block "leadin"} */
class Block_12233974785dcd678f906b62_10046500 extends Smarty_Internal_Block
{
public $subBlocks = array (
'leadin' =>
array (
0 => 'Block_12233974785dcd678f906b62_10046500',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "leadin"} */
/* {block "override_tpl"} */
class Block_11732862065dcd678f907159_39683631 extends Smarty_Internal_Block
{
public $subBlocks = array (
'override_tpl' =>
array (
0 => 'Block_11732862065dcd678f907159_39683631',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block "override_tpl"} */
}

View File

@@ -1,26 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:21
from '/var/www/clients/client1/web14/web/pdf/pagination.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67915b9f63_36675812',
'has_nocache_code' => false,
'file_dependency' =>
array (
'215fd05a4ae123f88a8f104b604a341a099b6ed3' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/pagination.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67915b9f63_36675812 (Smarty_Internal_Template $_smarty_tpl) {
?><p style="text-align: right; vertical-align: text-top;"> {:png:} / {:ptg:} </p>
<?php }
}

View File

@@ -1,129 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:30:34
from '/var/www/clients/client1/web14/web/pdf/invoice.tax-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce703aaee9d0_21231618',
'has_nocache_code' => false,
'file_dependency' =>
array (
'21ce031c9b6fd4c5ac2580c2574790209b7d24a1' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.tax-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce703aaee9d0_21231618 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!-- TAX DETAILS -->
<?php if ($_smarty_tpl->tpl_vars['tax_exempt']->value) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Exempt of VAT according to section 259B of the General Tax Code.','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php } elseif ((isset($_smarty_tpl->tpl_vars['tax_breakdowns']->value) && $_smarty_tpl->tpl_vars['tax_breakdowns']->value)) {?>
<table id="tax-tab" width="100%">
<thead>
<tr>
<th class="header small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tax Detail','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="header small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tax Rate','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php if ($_smarty_tpl->tpl_vars['display_tax_bases_in_breakdowns']->value) {?>
<th class="header small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Base price','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php }?>
<th class="header-right small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Tax','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->_assignInScope('has_line', false);?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tax_breakdowns']->value, 'bd', false, 'label');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['label']->value => $_smarty_tpl->tpl_vars['bd']->value) {
?>
<?php $_smarty_tpl->_assignInScope('label_printed', false);?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['bd']->value, 'line');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['line']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['line']->value['rate'] == 0) {?>
<?php continue 1;?>
<?php }?>
<?php $_smarty_tpl->_assignInScope('has_line', true);?>
<tr>
<td class="white">
<?php if (!$_smarty_tpl->tpl_vars['label_printed']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['label']->value == 'product_tax') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Products','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php } elseif ($_smarty_tpl->tpl_vars['label']->value == 'shipping_tax') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shipping','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php } elseif ($_smarty_tpl->tpl_vars['label']->value == 'ecotax_tax') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Ecotax','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php } elseif ($_smarty_tpl->tpl_vars['label']->value == 'wrapping_tax') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Wrapping','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<?php }?>
<?php $_smarty_tpl->_assignInScope('label_printed', true);?>
<?php }?>
</td>
<td class="center white">
<?php echo $_smarty_tpl->tpl_vars['line']->value['rate'];?>
%
</td>
<?php if ($_smarty_tpl->tpl_vars['display_tax_bases_in_breakdowns']->value) {?>
<td class="right white">
<?php if (isset($_smarty_tpl->tpl_vars['is_order_slip']->value) && $_smarty_tpl->tpl_vars['is_order_slip']->value) {?>- <?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['line']->value['total_tax_excl']),$_smarty_tpl ) );?>
</td>
<?php }?>
<td class="right white">
<?php if (isset($_smarty_tpl->tpl_vars['is_order_slip']->value) && $_smarty_tpl->tpl_vars['is_order_slip']->value) {?>- <?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['line']->value['total_amount']),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php if (!$_smarty_tpl->tpl_vars['has_line']->value) {?>
<tr>
<td class="white center" colspan="<?php if ($_smarty_tpl->tpl_vars['display_tax_bases_in_breakdowns']->value) {?>4<?php } else { ?>3<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No taxes','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
</tbody>
</table>
<?php }?>
<!-- / TAX DETAILS -->
<?php }
}

View File

@@ -1,31 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 11:09:53
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list_action_edit.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd26df1b615b4_78336053',
'has_nocache_code' => false,
'file_dependency' =>
array (
'228cd06c174a89cd25e08c9c0674c0b880ac5148' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list_action_edit.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd26df1b615b4_78336053 (Smarty_Internal_Template $_smarty_tpl) {
?><a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['href']->value,'html','UTF-8' ));?>
" title="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action']->value,'html','UTF-8' ));?>
" class="edit">
<i class="icon-pencil"></i> <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action']->value,'html','UTF-8' ));?>
</a>
<?php }
}

View File

@@ -1,153 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:30:34
from '/var/www/clients/client1/web14/web/pdf/invoice.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce703ab474e0_29345475',
'has_nocache_code' => false,
'file_dependency' =>
array (
'23a0211e4da09e72df99b2e41c3a53deaa4306d5' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce703ab474e0_29345475 (Smarty_Internal_Template $_smarty_tpl) {
echo $_smarty_tpl->tpl_vars['style_tab']->value;?>
<table width="100%" id="body" border="0" cellpadding="0" cellspacing="0" style="margin:0;">
<!-- Invoicing -->
<tr>
<td colspan="12">
<?php echo $_smarty_tpl->tpl_vars['addresses_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="30">&nbsp;</td>
</tr>
<!-- TVA Info -->
<tr>
<td colspan="12">
<?php echo $_smarty_tpl->tpl_vars['summary_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="20">&nbsp;</td>
</tr>
<!-- Product -->
<tr>
<td colspan="12">
<?php echo $_smarty_tpl->tpl_vars['product_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="10">&nbsp;</td>
</tr>
<!-- TVA -->
<tr>
<!-- Code TVA -->
<td colspan="6" class="left">
<?php echo $_smarty_tpl->tpl_vars['tax_tab']->value;?>
</td>
<td colspan="1">&nbsp;</td>
<!-- Calcule TVA -->
<td colspan="5" rowspan="5" class="right">
<?php echo $_smarty_tpl->tpl_vars['total_tab']->value;?>
</td>
</tr>
<?php echo $_smarty_tpl->tpl_vars['note_tab']->value;?>
<tr>
<td colspan="12" height="10">&nbsp;</td>
</tr>
<tr>
<td colspan="6" class="left">
<?php echo $_smarty_tpl->tpl_vars['payment_tab']->value;?>
</td>
<td colspan="1">&nbsp;</td>
</tr>
<tr>
<td colspan="6" class="left">
<?php echo $_smarty_tpl->tpl_vars['shipping_tab']->value;?>
</td>
<td colspan="1">&nbsp;</td>
</tr>
<tr>
<td colspan="12" height="10">&nbsp;</td>
</tr>
<tr>
<td colspan="7" class="left small">
<table>
<tr>
<td>
<p><?php echo nl2br(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['legal_free_text']->value,'html','UTF-8' )));?>
</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- Hook -->
<?php if (isset($_smarty_tpl->tpl_vars['HOOK_DISPLAY_PDF']->value)) {?>
<tr>
<td colspan="12" height="30">&nbsp;</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
<td colspan="10">
<?php echo $_smarty_tpl->tpl_vars['HOOK_DISPLAY_PDF']->value;?>
</td>
</tr>
<?php }?>
</table>
<?php }
}

View File

@@ -1,58 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:18
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/modules_list/modal.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678e0b4261_31135117',
'has_nocache_code' => false,
'file_dependency' =>
array (
'24ff914ec928b48ff405f54c0597de792a84863b' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/modules_list/modal.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678e0b4261_31135117 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="modal fade" id="modules_list_container">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3 class="modal-title"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Recommended Modules and Services'),$_smarty_tpl ) );?>
</h3>
</div>
<div class="modal-body">
<div id="modules_list_container_tab_modal" style="display:none;"></div>
<div id="modules_list_loader"><i class="icon-refresh icon-spin"></i></div>
</div>
</div>
</div>
</div>
<?php echo '<script'; ?>
type="text/javascript">
$(document).ready(function(){
$('.fancybox-quick-view').fancybox({
type: 'ajax',
autoDimensions: false,
autoSize: false,
width: 600,
height: 'auto',
helpers: {
overlay: {
locked: false
}
}
});
});
<?php echo '</script'; ?>
>
<?php }
}

View File

@@ -1,149 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 08:12:58
from '/var/www/clients/client1/web14/web/modules/dashproducts/views/templates/hook/dashboard_zone_two.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce4ffaa88cc7_64757140',
'has_nocache_code' => false,
'file_dependency' =>
array (
'25d4b4aee707583195ddd9a56971256e79c95342' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/dashproducts/views/templates/hook/dashboard_zone_two.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce4ffaa88cc7_64757140 (Smarty_Internal_Template $_smarty_tpl) {
?>
<section id="dashproducts" class="panel widget <?php if ($_smarty_tpl->tpl_vars['allow_push']->value) {?> allow_push<?php }?>">
<header class="panel-heading">
<i class="icon-bar-chart"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Products and Sales','d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<span class="panel-heading-action">
<a class="list-toolbar-btn" href="#" onclick="toggleDashConfig('dashproducts'); return false;" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Configure','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
">
<i class="process-icon-configure"></i>
</a>
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashproducts'); return false;" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Refresh','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
">
<i class="process-icon-refresh"></i>
</a>
</span>
</header>
<section id="dashproducts_config" class="dash_config hide">
<header><i class="icon-wrench"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Configuration','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</header>
<?php echo $_smarty_tpl->tpl_vars['dashproducts_config_form']->value;?>
</section>
<section>
<nav>
<ul class="nav nav-pills">
<li class="active">
<a href="#dash_recent_orders" data-toggle="tab">
<i class="icon-fire"></i>
<span class="hidden-inline-xs"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Recent Orders','d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
</span>
</a>
</li>
<li>
<a href="#dash_best_sellers" data-toggle="tab">
<i class="icon-trophy"></i>
<span class="hidden-inline-xs"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Best Sellers','d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
</span>
</a>
</li>
<li>
<a href="#dash_most_viewed" data-toggle="tab">
<i class="icon-eye-open"></i>
<span class="hidden-inline-xs"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Most Viewed','d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
</span>
</a>
</li>
<li>
<a href="#dash_top_search" data-toggle="tab">
<i class="icon-search"></i>
<span class="hidden-inline-xs"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Top Searches','d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
</span>
</a>
</li>
</ul>
</nav>
<div class="tab-content panel">
<div class="tab-pane active" id="dash_recent_orders">
<h3><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Last %d orders','sprintf'=>intval($_smarty_tpl->tpl_vars['DASHPRODUCT_NBR_SHOW_LAST_ORDER']->value),'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
</h3>
<div class="table-responsive">
<table class="table data_table" id="table_recent_orders">
<thead></thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="tab-pane" id="dash_best_sellers">
<h3>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Top %d products','sprintf'=>intval($_smarty_tpl->tpl_vars['DASHPRODUCT_NBR_SHOW_BEST_SELLER']->value),'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"From",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_from']->value,'htmlall','UTF-8' ));?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"to",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_to']->value,'htmlall','UTF-8' ));?>
</span>
</h3>
<div class="table-responsive">
<table class="table data_table" id="table_best_sellers">
<thead></thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="tab-pane" id="dash_most_viewed">
<h3>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Most Viewed",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"From",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_from']->value,'htmlall','UTF-8' ));?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"to",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_to']->value,'htmlall','UTF-8' ));?>
</span>
</h3>
<div class="table-responsive">
<table class="table data_table" id="table_most_viewed">
<thead></thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="tab-pane" id="dash_top_search">
<h3>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Top %d most search terms','sprintf'=>intval($_smarty_tpl->tpl_vars['DASHPRODUCT_NBR_SHOW_TOP_SEARCH']->value),'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"From",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_from']->value,'htmlall','UTF-8' ));?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"to",'d'=>'Modules.Dashproducts.Admin'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_to']->value,'htmlall','UTF-8' ));?>
</span>
</h3>
<div class="table-responsive">
<table class="table data_table" id="table_top_10_most_search">
<thead></thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</section>
</section>
<?php }
}

View File

@@ -1,74 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:08
from '/var/www/clients/client1/web14/web/modules/ps_googleanalytics/views/templates/hook/ps_googleanalytics.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c0ec6794_70200994',
'has_nocache_code' => false,
'file_dependency' =>
array (
'274c2b3f616d725b7291859e64127e8475489af8' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/ps_googleanalytics/views/templates/hook/ps_googleanalytics.tpl',
1 => 1558435080,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67c0ec6794_70200994 (Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo '<script'; ?>
type="text/javascript">
(window.gaDevIds=window.gaDevIds||[]).push('d6YPbH');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
<?php if ($_smarty_tpl->tpl_vars['gaCrossdomainEnabled']->value) {?>
ga('create', '<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['gaAccountId']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', [
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['shops']->value, 'shop');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['shop']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['shop']->value['id_shop'] != $_smarty_tpl->tpl_vars['currentShopId']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['useSecureMode']->value) {?>'<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop']->value['domain_ssl'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
'<?php } else { ?>'<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop']->value['domain'],'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
'<?php }?>,
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
]);
<?php } else { ?>
ga('create', '<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['gaAccountId']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
', 'auto');
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['userId']->value && !$_smarty_tpl->tpl_vars['backOffice']->value) {?>
ga('set', 'userId', '<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['userId']->value,'htmlall','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
');
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['gaAnonymizeEnabled']->value) {?>
ga('set', 'anonymizeIp', true);
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['backOffice']->value) {?>
ga('set', 'nonInteraction', true);
<?php }?>
ga('require', 'ec');
<?php echo '</script'; ?>
>
<?php }
}

View File

@@ -1,40 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:49:00
from '/var/www/clients/client1/web14/web/pdf/invoice.addresses-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce829c61d0d3_91698447',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2761397a886c45007f8ee2b883931da69c065b63' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.addresses-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce829c61d0d3_91698447 (Smarty_Internal_Template $_smarty_tpl) {
?><table id="addresses-tab" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><?php if ($_smarty_tpl->tpl_vars['delivery_address']->value) {?><span class="bold"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Delivery Address','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</span><br/><br/>
<?php echo $_smarty_tpl->tpl_vars['delivery_address']->value;?>
<?php }?>
</td>
<td width="50%"><span class="bold"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Billing Address','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</span><br/><br/>
<?php echo $_smarty_tpl->tpl_vars['invoice_address']->value;?>
</td>
</tr>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:14:49
/* Smarty version 3.1.33, created on 2020-05-05 15:30:34
from 'module:prelevementsepaviewstempl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7a99c85e59_04081354',
'unifunc' => 'content_5eb16a7a61fed6_66001381',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2b950f9be31e52cdee2405745a1e3f5c13288a43' =>
array (
0 => 'module:prelevementsepaviewstempl',
1 => 1563201420,
1 => 1574189626,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dce7a99c85e59_04081354 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a7a61fed6_66001381 (Smarty_Internal_Template $_smarty_tpl) {
?>
<section>

View File

@@ -1,180 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 08:12:58
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/dashboard/helpers/view/view.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce4ffaab9f20_24414246',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2bd7ace58e9827c9fd0bb56fe513ed8bc131313a' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/dashboard/helpers/view/view.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce4ffaab9f20_24414246 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
>
var dashboard_ajax_url = '<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminDashboard');?>
';
var adminstats_ajax_url = '<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminStats');?>
';
var no_results_translation = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No result','js'=>1),$_smarty_tpl ) );?>
';
var dashboard_use_push = '<?php echo intval($_smarty_tpl->tpl_vars['dashboard_use_push']->value);?>
';
var read_more = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Read more','js'=>1),$_smarty_tpl ) );?>
';
<?php echo '</script'; ?>
>
<div id="dashboard">
<div class="row">
<div class="col-lg-12">
<?php if ($_smarty_tpl->tpl_vars['warning']->value) {?>
<div class="alert alert-warning"><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
</div>
<?php }?>
<div id="calendar" class="panel">
<form action="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action']->value ));?>
" method="post" id="calendar_form" name="calendar_form" class="form-inline">
<div class="btn-group">
<button type="button" name="submitDateDay" class="btn btn-default submitDateDay<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) && $_smarty_tpl->tpl_vars['preselect_date_range']->value == 'day') {?> active<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Day','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</button>
<button type="button" name="submitDateMonth" class="btn btn-default submitDateMonth<?php if ((!isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) || !$_smarty_tpl->tpl_vars['preselect_date_range']->value) || (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) && $_smarty_tpl->tpl_vars['preselect_date_range']->value == 'month')) {?> active<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Month','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</button>
<button type="button" name="submitDateYear" class="btn btn-default submitDateYear<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) && $_smarty_tpl->tpl_vars['preselect_date_range']->value == 'year') {?> active<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Year','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</button>
<button type="button" name="submitDateDayPrev" class="btn btn-default submitDateDayPrev<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) && $_smarty_tpl->tpl_vars['preselect_date_range']->value == 'prev-day') {?> active<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Day','d'=>'Admin.Global'),$_smarty_tpl ) );?>
-1
</button>
<button type="button" name="submitDateMonthPrev" class="btn btn-default submitDateMonthPrev<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) && $_smarty_tpl->tpl_vars['preselect_date_range']->value == 'prev-month') {?> active<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Month','d'=>'Admin.Global'),$_smarty_tpl ) );?>
-1
</button>
<button type="button" name="submitDateYearPrev" class="btn btn-default submitDateYearPrev<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value) && $_smarty_tpl->tpl_vars['preselect_date_range']->value == 'prev-year') {?> active<?php }?>">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Year','d'=>'Admin.Global'),$_smarty_tpl ) );?>
-1
</button>
<!--
<button type="submit" name="submitDateRealTime" class="hide btn btn-default submitDateRealTime <?php if ($_smarty_tpl->tpl_vars['dashboard_use_push']->value) {?>active<?php }?>" value="<?php echo !intval($_smarty_tpl->tpl_vars['dashboard_use_push']->value);?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Real Time'),$_smarty_tpl ) );?>
</button> -->
</div>
<input type="hidden" name="datepickerFrom" id="datepickerFrom" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_from']->value ));?>
" class="form-control">
<input type="hidden" name="datepickerTo" id="datepickerTo" value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_to']->value ));?>
" class="form-control">
<input type="hidden" name="preselectDateRange" id="preselectDateRange" value="<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)) {
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['preselect_date_range']->value,'html' ));
}?>" class="form-control">
<div class="form-group pull-right">
<button id="datepickerExpand" class="btn btn-default" type="button">
<i class="icon-calendar-empty"></i>
<span class="hidden-xs">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'From','d'=>'Admin.Global'),$_smarty_tpl ) );?>
<strong class="text-info" id="datepicker-from-info"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_from']->value ));?>
</strong>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'To','d'=>'Admin.Global'),$_smarty_tpl ) );?>
<strong class="text-info" id="datepicker-to-info"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['date_to']->value ));?>
</strong>
<strong class="text-info" id="datepicker-diff-info"></strong>
</span>
<i class="icon-caret-down"></i>
</button>
</div>
<?php echo $_smarty_tpl->tpl_vars['calendar']->value;?>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-lg-3" id="hookDashboardZoneOne">
<?php echo $_smarty_tpl->tpl_vars['hookDashboardZoneOne']->value;?>
</div>
<div class="col-md-8 col-lg-7" id="hookDashboardZoneTwo">
<?php echo $_smarty_tpl->tpl_vars['hookDashboardZoneTwo']->value;?>
<div id="dashaddons" class="row-margin-bottom">
<a href="https://addons.prestashop.com/en/209-dashboards?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank">
<i class="icon-plus"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add more dashboard modules','d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</a>
</div>
</div>
<div class="col-md-12 col-lg-2">
<section class="dash_news panel">
<h3><i class="icon-rss"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'PrestaShop News','d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</h3>
<div class="dash_news_content"></div>
<div class="text-center"><h4><a href="http://www.prestashop.com/blog/" onclick="return !window.open(this.href);"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Find more news','d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</a></h4></div>
</section>
<section id="dash_version" class="visible-lg">
<iframe style="overflow:hidden;border:none" src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['new_version_url']->value,'html','UTF-8' ));?>
" ></iframe>
</section>
<section class="dash_links panel">
<h3><i class="icon-link"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Useful links",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</h3>
<dl>
<dt><a href="http://doc.prestashop.com/display/PS17?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Official Documentation",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</a></dt>
<dd><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"User, Developer and Designer Guides",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</dd>
</dl>
<dl>
<dt><a href="http://www.prestashop.com/forums?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"PrestaShop Forum",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</a></dt>
<dd><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Connect with the PrestaShop community",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</dd>
</dl>
<dl>
<dt><a href="https://addons.prestashop.com?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"PrestaShop Addons",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</a></dt>
<dd><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Enhance your store with templates & modules",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</dd>
</dl>
<dl>
<dt><a href="https://github.com/PrestaShop/PrestaShop/issues" class="_blank"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Bug Tracker",'d'=>'Admin.Global'),$_smarty_tpl ) );?>
</a></dt>
<dd><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Report issues in the Bug Tracker",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</dd>
</dl>
<dl>
<dt><a href="http://www.prestashop.com/en/contact-us?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Contact Us!",'d'=>'Admin.Dashboard.Feature'),$_smarty_tpl ) );?>
</a></dt>
<dd></dd>
</dl>
</section>
</div>
</div>
</div>
<?php }
}

View File

@@ -1,219 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 08:12:58
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/calendar/calendar.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce4ffaaa59f0_95239935',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2cc439240cca5c76a3738790bfc6965005a9590c' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/calendar/calendar.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce4ffaaa59f0_95239935 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="datepicker" class="row row-padding-top hide">
<div class="col-lg-12">
<div class="daterangepicker-days">
<div class="row">
<?php if ($_smarty_tpl->tpl_vars['is_rtl']->value) {?>
<div class="col-sm-6 col-lg-4">
<div class="datepicker2" data-date="<?php echo $_smarty_tpl->tpl_vars['date_to']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
"></div>
</div>
<div class="col-sm-6 col-lg-4">
<div class="datepicker1" data-date="<?php echo $_smarty_tpl->tpl_vars['date_from']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
"></div>
</div>
<?php } else { ?>
<div class="col-sm-6 col-lg-4">
<div class="datepicker1" data-date="<?php echo $_smarty_tpl->tpl_vars['date_from']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
"></div>
</div>
<div class="col-sm-6 col-lg-4">
<div class="datepicker2" data-date="<?php echo $_smarty_tpl->tpl_vars['date_to']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
"></div>
</div>
<?php }?>
<div class="col-xs-12 col-sm-6 col-lg-4 pull-right">
<div id='datepicker-form' class='form-inline'>
<div id='date-range' class='form-date-group'>
<div class='form-date-heading'>
<span class="title"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Date range'),$_smarty_tpl ) );?>
</span>
<?php if (isset($_smarty_tpl->tpl_vars['actions']->value) && count($_smarty_tpl->tpl_vars['actions']->value) > 0) {?>
<?php if (count($_smarty_tpl->tpl_vars['actions']->value) > 1) {?>
<button class='btn btn-default btn-xs pull-right dropdown-toggle' data-toggle='dropdown' type="button">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Custom'),$_smarty_tpl ) );?>
<i class='icon-angle-down'></i>
</button>
<ul class='dropdown-menu'>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['actions']->value, 'action');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['action']->value) {
?>
<li><a<?php if (isset($_smarty_tpl->tpl_vars['action']->value['href'])) {?> href="<?php echo $_smarty_tpl->tpl_vars['action']->value['href'];?>
"<?php }
if (isset($_smarty_tpl->tpl_vars['action']->value['class'])) {?> class="<?php echo $_smarty_tpl->tpl_vars['action']->value['class'];?>
"<?php }?>><?php if (isset($_smarty_tpl->tpl_vars['action']->value['icon'])) {?><i class="<?php echo $_smarty_tpl->tpl_vars['action']->value['icon'];?>
"></i> <?php }
echo $_smarty_tpl->tpl_vars['action']->value['label'];?>
</a></li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php } else { ?>
<a<?php if (isset($_smarty_tpl->tpl_vars['actions']->value[0]['href'])) {?> href="<?php echo $_smarty_tpl->tpl_vars['actions']->value[0]['href'];?>
"<?php }?> class="btn btn-default btn-xs pull-right<?php if (isset($_smarty_tpl->tpl_vars['actions']->value[0]['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['actions']->value[0]['class'];
}?>"><?php if (isset($_smarty_tpl->tpl_vars['actions']->value[0]['icon'])) {?><i class="<?php echo $_smarty_tpl->tpl_vars['actions']->value[0]['icon'];?>
"></i> <?php }
echo $_smarty_tpl->tpl_vars['actions']->value[0]['label'];?>
</a>
<?php }?>
<?php }?>
</div>
<div class='form-date-body'>
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'From'),$_smarty_tpl ) );?>
</label>
<input class='date-input form-control' id='date-start' placeholder='Start' type='text' name="date_from" value="<?php echo $_smarty_tpl->tpl_vars['date_from']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
" tabindex="1" />
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'to'),$_smarty_tpl ) );?>
</label>
<input class='date-input form-control' id='date-end' placeholder='End' type='text' name="date_to" value="<?php echo $_smarty_tpl->tpl_vars['date_to']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
" tabindex="2" />
</div>
</div>
<div id="date-compare" class='form-date-group'>
<div class='form-date-heading'>
<span class="checkbox-title">
<label >
<input type='checkbox' id="datepicker-compare" name="datepicker_compare"<?php if (isset($_smarty_tpl->tpl_vars['compare_date_from']->value) && isset($_smarty_tpl->tpl_vars['compare_date_to']->value)) {?> checked="checked"<?php }?> tabindex="3">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Compare to'),$_smarty_tpl ) );?>
</label>
</span>
<select id="compare-options" class="form-control fixed-width-lg pull-right" name="compare_date_option"<?php if (is_null($_smarty_tpl->tpl_vars['compare_date_from']->value) || is_null($_smarty_tpl->tpl_vars['compare_date_to']->value)) {?> disabled="disabled"<?php }?>>
<option value="1" <?php if ($_smarty_tpl->tpl_vars['compare_option']->value == 1) {?>selected="selected"<?php }?> label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Previous period'),$_smarty_tpl ) );?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Previous period'),$_smarty_tpl ) );?>
</option>
<option value="2" <?php if ($_smarty_tpl->tpl_vars['compare_option']->value == 2) {?>selected="selected"<?php }?> label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Previous Year'),$_smarty_tpl ) );?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Previous year'),$_smarty_tpl ) );?>
</option>
<option value="3" <?php if ($_smarty_tpl->tpl_vars['compare_option']->value == 3) {?>selected="selected"<?php }?> label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Custom'),$_smarty_tpl ) );?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Custom'),$_smarty_tpl ) );?>
</option>
</select>
</div>
<div class="form-date-body" id="form-date-body-compare"<?php if (is_null($_smarty_tpl->tpl_vars['compare_date_from']->value) || is_null($_smarty_tpl->tpl_vars['compare_date_to']->value)) {?> style="display: none;"<?php }?>>
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'From'),$_smarty_tpl ) );?>
</label>
<input id="date-start-compare" class="date-input form-control" type="text" placeholder="Start" name="compare_date_from" value="<?php echo $_smarty_tpl->tpl_vars['compare_date_from']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
" tabindex="4" />
<label><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'to'),$_smarty_tpl ) );?>
</label>
<input id="date-end-compare" class="date-input form-control" type="text" placeholder="End" name="compare_date_to" value="<?php echo $_smarty_tpl->tpl_vars['compare_date_to']->value;?>
" data-date-format="<?php echo $_smarty_tpl->tpl_vars['date_format']->value;?>
"
tabindex="5" />
</div>
</div>
<div class='form-date-actions'>
<button class='btn btn-link' type='button' id="datepicker-cancel" tabindex="7">
<i class='icon-remove'></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Cancel','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<button class='btn btn-default pull-right' type='submit' name="submitDateRange" tabindex="6">
<i class='icon-ok text-success'></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Apply','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php echo '<script'; ?>
type="text/javascript">
translated_dates = {
days: ['<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sunday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Monday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tuesday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Wednesday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Thursday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Friday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Saturday','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sunday','js'=>1),$_smarty_tpl ) );?>
'],
daysShort: ['<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sun','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Mon','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tue','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Wed','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Thu','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Fri','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sat','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sun','js'=>1),$_smarty_tpl ) );?>
'],
daysMin: ['<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Su','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Mo','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tu','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'We','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Th','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Fr','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sa','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Su','js'=>1),$_smarty_tpl ) );?>
'],
months: ['<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'January','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'February','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'March','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'April','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'May','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'June','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'July','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'August','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'September','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'October','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'November','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'December','js'=>1),$_smarty_tpl ) );?>
'],
monthsShort: ['<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Jan','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Feb','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Mar','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Apr','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'May ','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Jun','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Jul','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Aug','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sep','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Oct','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Nov','js'=>1),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Dec','js'=>1),$_smarty_tpl ) );?>
']
};
<?php echo '</script'; ?>
>
<?php }
}

View File

@@ -1,33 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/content.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd6788013b10_45404599',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2ceefdfa61ae8f0bc7057ebcc89c23d1ed81bf8e' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/content.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd6788013b10_45404599 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="ajax_confirmation" class="alert alert-success" style="display: none;"></div>
<?php if (isset($_smarty_tpl->tpl_vars['content']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
<?php }
}
}

View File

@@ -1,181 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 23:03:29
from '/var/www/clients/client1/web14/web/themes/classic/templates/customer/_partials/customer-form.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcdcf315f8f48_02720889',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2d45f724107d77e6d402baa2f274b2f0a971de65' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/customer/_partials/customer-form.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:_partials/form-errors.tpl' => 1,
),
),false)) {
function content_5dcdcf315f8f48_02720889 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14898994435dcdcf315f02f5_39503518', 'customer_form');
?>
<?php }
/* {block 'customer_form_errors'} */
class Block_18270679245dcdcf315f0666_91360655 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_subTemplateRender('file:_partials/form-errors.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('errors'=>$_smarty_tpl->tpl_vars['errors']->value['']), 0, false);
?>
<?php
}
}
/* {/block 'customer_form_errors'} */
/* {block 'customer_form_actionurl'} */
class Block_20358054885dcdcf315f25b9_15197574 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
echo htmlspecialchars($_smarty_tpl->tpl_vars['action']->value, ENT_QUOTES, 'UTF-8');
}
}
/* {/block 'customer_form_actionurl'} */
/* {block "form_field"} */
class Block_6666049155dcdcf315f6649_33719075 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_field'][0], array( array('field'=>$_smarty_tpl->tpl_vars['field']->value),$_smarty_tpl ) );?>
<?php
}
}
/* {/block "form_field"} */
/* {block "form_fields"} */
class Block_5301219195dcdcf315f3db2_02771558 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['formFields']->value, 'field');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) {
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6666049155dcdcf315f6649_33719075', "form_field", $this->tplIndex);
?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php echo $_smarty_tpl->tpl_vars['hook_create_account_form']->value;?>
<?php
}
}
/* {/block "form_fields"} */
/* {block "form_buttons"} */
class Block_17974133615dcdcf315f84a4_79598616 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<button class="btn btn-primary form-control-submit float-xs-right" data-link-action="save-customer" type="submit">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
<?php
}
}
/* {/block "form_buttons"} */
/* {block 'customer_form_footer'} */
class Block_2766871665dcdcf315f80c7_11021655 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<footer class="form-footer clearfix">
<input type="hidden" name="submitCreate" value="1">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17974133615dcdcf315f84a4_79598616', "form_buttons", $this->tplIndex);
?>
</footer>
<?php
}
}
/* {/block 'customer_form_footer'} */
/* {block 'customer_form'} */
class Block_14898994435dcdcf315f02f5_39503518 extends Smarty_Internal_Block
{
public $subBlocks = array (
'customer_form' =>
array (
0 => 'Block_14898994435dcdcf315f02f5_39503518',
),
'customer_form_errors' =>
array (
0 => 'Block_18270679245dcdcf315f0666_91360655',
),
'customer_form_actionurl' =>
array (
0 => 'Block_20358054885dcdcf315f25b9_15197574',
),
'form_fields' =>
array (
0 => 'Block_5301219195dcdcf315f3db2_02771558',
),
'form_field' =>
array (
0 => 'Block_6666049155dcdcf315f6649_33719075',
),
'customer_form_footer' =>
array (
0 => 'Block_2766871665dcdcf315f80c7_11021655',
),
'form_buttons' =>
array (
0 => 'Block_17974133615dcdcf315f84a4_79598616',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_18270679245dcdcf315f0666_91360655', 'customer_form_errors', $this->tplIndex);
?>
<form action="<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_20358054885dcdcf315f25b9_15197574', 'customer_form_actionurl', $this->tplIndex);
?>
" id="customer-form" class="js-customer-form" method="post">
<section>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5301219195dcdcf315f3db2_02771558', "form_fields", $this->tplIndex);
?>
</section>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2766871665dcdcf315f80c7_11021655', 'customer_form_footer', $this->tplIndex);
?>
</form>
<?php
}
}
/* {/block 'customer_form'} */
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:53:42
/* Smarty version 3.1.33, created on 2020-05-05 16:07:56
from 'module:gcorderformviewstemplates' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce6796785bd1_84849368',
'unifunc' => 'content_5eb1733c8e95c1_98918805',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3219af82a1a8dda6e16fc8254514be06e41c8e62' =>
array (
0 => 'module:gcorderformviewstemplates',
1 => 1561557240,
1 => 1574189435,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dce6796785bd1_84849368 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb1733c8e95c1_98918805 (Smarty_Internal_Template $_smarty_tpl) {
?>
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="order-slips-link" href="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getModuleLink('gcorderform','default'),'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
">

View File

@@ -1,104 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 08:12:58
from '/var/www/clients/client1/web14/web/modules/dashgoals/views/templates/hook/config.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce4ffaa721b3_74584813',
'has_nocache_code' => false,
'file_dependency' =>
array (
'324c45355edb784563928c62e4bb039a82350b1e' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/dashgoals/views/templates/hook/config.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce4ffaa721b3_74584813 (Smarty_Internal_Template $_smarty_tpl) {
?><section id="dashgoals_config" class="dash_config hide">
<header><i class="icon-wrench"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Configuration','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</header>
<form class="defaultForm form-horizontal" method="post" action="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminDashboard'),'html','UTF-8' ));?>
">
<table class="table table-condensed table-striped table-bordered">
<thead>
<tr>
<th class="fixed-width-md"><?php echo $_smarty_tpl->tpl_vars['goals_year']->value;?>
</th>
<th class="fixed-width-md"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Traffic','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
</th>
<th class="fixed-width-md"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Conversion Rate','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
</th>
<th class="fixed-width-lg"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Average Cart Value','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
</th>
<th><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sales','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['goals_months']->value, 'month');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['month']->key => $_smarty_tpl->tpl_vars['month']->value) {
$__foreach_month_29_saved = $_smarty_tpl->tpl_vars['month'];
?>
<tr>
<td>
<?php echo $_smarty_tpl->tpl_vars['month']->value['label'];?>
</td>
<td>
<div class="input-group">
<input id="dashgoals_traffic_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" name="dashgoals_traffic_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" class="dashgoals_config_input form-control"
value="<?php echo intval($_smarty_tpl->tpl_vars['month']->value['values']['traffic']);?>
" />
</div>
</td>
<td>
<div class="input-group">
<input id="dashgoals_conversion_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" name="dashgoals_conversion_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" class="dashgoals_config_input form-control"
value="<?php echo floatval($_smarty_tpl->tpl_vars['month']->value['values']['conversion']);?>
" />
<span class="input-group-addon">%</span>
</div>
</td>
<td>
<div class="input-group">
<span class="input-group-addon"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['currency']->value->iso_code ));?>
</span>
<input id="dashgoals_avg_cart_value_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" name="dashgoals_avg_cart_value_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" class="dashgoals_config_input form-control"
value="<?php echo intval($_smarty_tpl->tpl_vars['month']->value['values']['avg_cart_value']);?>
" />
</div>
</td>
<td id="dashgoals_sales_<?php echo $_smarty_tpl->tpl_vars['month']->key;?>
" class="dashgoals_sales">
</td>
</tr>
<?php
$_smarty_tpl->tpl_vars['month'] = $__foreach_month_29_saved;
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<div class="panel-footer">
<button class="btn btn-default pull-right" name="submitDashGoals" type="submit"><i class="process-icon-save"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
</div>
</form>
</section>
<?php }
}

View File

@@ -1,108 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:17
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/modules/login_addons.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678dd55448_68873959',
'has_nocache_code' => false,
'file_dependency' =>
array (
'32c988434b9426d3bcd991215bd975e8a6a5ab52' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/modules/login_addons.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678dd55448_68873959 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="modal-body">
<?php if ($_smarty_tpl->tpl_vars['add_permission']->value == '1') {?>
<?php if (!isset($_smarty_tpl->tpl_vars['logged_on_addons']->value) || !$_smarty_tpl->tpl_vars['logged_on_addons']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['check_url_fopen']->value == 'ko' || $_smarty_tpl->tpl_vars['check_openssl']->value == 'ko') {?>
<div class="alert alert-warning">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If you want to be able to fully use the AdminModules panel and have free modules available, you should enable the following configuration on your server:'),$_smarty_tpl ) );?>
<br />
<?php if ($_smarty_tpl->tpl_vars['check_url_fopen']->value == 'ko') {?>- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Enable PHP\'s allow_url_fopen setting'),$_smarty_tpl ) );?>
<br /><?php }?>
<?php if ($_smarty_tpl->tpl_vars['check_openssl']->value == 'ko') {?>- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Enable PHP\'s OpenSSL extension'),$_smarty_tpl ) );?>
<br /><?php }?>
</div>
<?php } else { ?>
<!--start addons login-->
<form id="addons_login_form" method="post" >
<div>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['addons_register_link']->value,'html','UTF-8' ));?>
"><img class="img-responsive center-block" src="<?php echo $_smarty_tpl->tpl_vars['img_base_path']->value;?>
themes/default/img/prestashop-addons-logo.png" alt="Logo PrestaShop Addons"/></a>
<h3 class="text-center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Connect your shop to PrestaShop's marketplace in order to automatically import all your Addons purchases."),$_smarty_tpl ) );?>
</h3>
<hr />
</div>
<div class="row">
<div class="col-md-6">
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Don't have an account?"),$_smarty_tpl ) );?>
</h4>
<p class='text-justify'><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Discover the Power of PrestaShop Addons! Explore the PrestaShop Official Marketplace and find over 3 500 innovative modules and themes that optimize conversion rates, increase traffic, build customer loyalty and maximize your productivity"),$_smarty_tpl ) );?>
</p>
</div>
<div class="col-md-6">
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Connect to PrestaShop Addons'),$_smarty_tpl ) );?>
</h4>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon"><i class="icon-user"></i></span>
<input id="username_addons" name="username_addons" type="text" value="" autocomplete="off" class="form-control ac_input">
</div>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon"><i class="icon-key"></i></span>
<input id="password_addons" name="password_addons" type="password" value="" autocomplete="off" class="form-control ac_input">
</div>
<a class="btn btn-link pull-right _blank" href="<?php echo $_smarty_tpl->tpl_vars['addons_forgot_password_link']->value;?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'I forgot my password'),$_smarty_tpl ) );?>
</a>
<br>
</div>
</div>
</div>
<div class="row row-padding-top">
<div class="col-md-6">
<div class="form-group">
<a class="btn btn-default btn-block btn-lg _blank" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['addons_register_link']->value,'html','UTF-8' ));?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Create an Account"),$_smarty_tpl ) );?>
<i class="icon-external-link"></i>
</a>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<button id="addons_login_button" class="btn btn-primary btn-block btn-lg" type="submit">
<i class="icon-unlock"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sign in'),$_smarty_tpl ) );?>
</button>
</div>
</div>
</div>
<div id="addons_loading" class="help-block"></div>
</form>
<!--end addons login-->
<?php }?>
<?php }
}?>
</div>
<?php }
}

View File

@@ -1,274 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:49:00
from '/var/www/clients/client1/web14/web/pdf/invoice.product-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce829c640cf8_50011825',
'has_nocache_code' => false,
'file_dependency' =>
array (
'336645b4e4eacbfeb3fde4e46d7361294e4ff9a7' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.product-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce829c640cf8_50011825 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/clients/client1/web14/web/vendor/smarty/smarty/libs/plugins/function.cycle.php','function'=>'smarty_function_cycle',),));
?>
<table class="product" width="100%" cellpadding="4" cellspacing="0">
<thead>
<tr>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['reference']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reference','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['product']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['tax_code']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tax Rate','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php if (isset($_smarty_tpl->tpl_vars['layout']->value['before_discount'])) {?>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['unit_price_tax_excl']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Base price','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Tax excl.)','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php }?>
<th class="product header-right small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['unit_price_tax_excl']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Unit Price','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Tax excl.)','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['quantity']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Qty','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header-right small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['total_tax_excl']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Tax excl.)','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
</tr>
</thead>
<tbody>
<!-- PRODUCTS -->
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_details']->value, 'order_detail');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['order_detail']->value) {
?>
<?php echo smarty_function_cycle(array('values'=>array("color_line_even","color_line_odd"),'assign'=>'bgcolor_class'),$_smarty_tpl);?>
<tr class="product <?php echo $_smarty_tpl->tpl_vars['bgcolor_class']->value;?>
">
<td class="product center">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_reference'];?>
</td>
<td class="product left">
<?php if ($_smarty_tpl->tpl_vars['display_product_images']->value) {?>
<table width="100%">
<tr>
<td width="15%">
<?php if (isset($_smarty_tpl->tpl_vars['order_detail']->value['image']) && $_smarty_tpl->tpl_vars['order_detail']->value['image']->id) {?>
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['image_tag'];?>
<?php }?>
</td>
<td width="5%">&nbsp;</td>
<td width="80%">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_name'];?>
</td>
</tr>
</table>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_name'];?>
<?php }?>
</td>
<td class="product center">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['order_detail_tax_label'];?>
</td>
<?php if (isset($_smarty_tpl->tpl_vars['layout']->value['before_discount'])) {?>
<td class="product center">
<?php if (isset($_smarty_tpl->tpl_vars['order_detail']->value['unit_price_tax_excl_before_specific_price'])) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['unit_price_tax_excl_before_specific_price']),$_smarty_tpl ) );?>
<?php } else { ?>
--
<?php }?>
</td>
<?php }?>
<td class="product right">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['unit_price_tax_excl_including_ecotax']),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['order_detail']->value['ecotax_tax_excl'] > 0) {?>
<br>
<small><?php ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['ecotax_tax_excl']),$_smarty_tpl ) );
$_prefixVariable1 = ob_get_clean();
ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'ecotax: %s','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );
$_prefixVariable2 = ob_get_clean();
echo sprintf($_prefixVariable2,$_prefixVariable1);?>
</small>
<?php }?>
</td>
<td class="product center">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_quantity'];?>
</td>
<td class="product right">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['total_price_tax_excl_including_ecotax']),$_smarty_tpl ) );?>
</td>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_detail']->value['customizedDatas'], 'customizationPerAddress');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customizationPerAddress']->value) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customizationPerAddress']->value, 'customization', false, 'customizationId');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customizationId']->value => $_smarty_tpl->tpl_vars['customization']->value) {
?>
<tr class="customization_data <?php echo $_smarty_tpl->tpl_vars['bgcolor_class']->value;?>
">
<td class="center"> &nbsp;</td>
<td>
<?php if ((($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_TEXTFIELD_')] !== null )) && count($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_TEXTFIELD_')]) > 0) {?>
<table style="width: 100%;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_TEXTFIELD_')], 'customization_infos');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization_infos']->value) {
?>
<tr>
<td style="width: 30%;">
<?php ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%s:','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );
$_prefixVariable3 = ob_get_clean();
echo sprintf($_prefixVariable3,$_smarty_tpl->tpl_vars['customization_infos']->value['name']);?>
</td>
<td><?php if ((int)$_smarty_tpl->tpl_vars['customization_infos']->value['id_module']) {
echo $_smarty_tpl->tpl_vars['customization_infos']->value['value'];
} else {
echo $_smarty_tpl->tpl_vars['customization_infos']->value['value'];
}?></td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
<?php }?>
<?php if ((($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_FILE_')] !== null )) && count($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_FILE_')]) > 0) {?>
<table style="width: 100%;">
<tr>
<td style="width: 70%;"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'image(s):','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
<td><?php echo count($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_FILE_')]);?>
</td>
</tr>
</table>
<?php }?>
</td>
<td class="center">
(<?php if ($_smarty_tpl->tpl_vars['customization']->value['quantity'] == 0) {?>1<?php } else {
echo $_smarty_tpl->tpl_vars['customization']->value['quantity'];
}?>)
</td>
<?php $_smarty_tpl->_assignInScope('end', ($_smarty_tpl->tpl_vars['layout']->value['_colCount']-3));?>
<?php
$_smarty_tpl->tpl_vars['var'] = new Smarty_Variable(null, $_smarty_tpl->isRenderingCache);$_smarty_tpl->tpl_vars['var']->step = 1;$_smarty_tpl->tpl_vars['var']->total = (int) ceil(($_smarty_tpl->tpl_vars['var']->step > 0 ? $_smarty_tpl->tpl_vars['end']->value+1 - (0) : 0-($_smarty_tpl->tpl_vars['end']->value)+1)/abs($_smarty_tpl->tpl_vars['var']->step));
if ($_smarty_tpl->tpl_vars['var']->total > 0) {
for ($_smarty_tpl->tpl_vars['var']->value = 0, $_smarty_tpl->tpl_vars['var']->iteration = 1;$_smarty_tpl->tpl_vars['var']->iteration <= $_smarty_tpl->tpl_vars['var']->total;$_smarty_tpl->tpl_vars['var']->value += $_smarty_tpl->tpl_vars['var']->step, $_smarty_tpl->tpl_vars['var']->iteration++) {
$_smarty_tpl->tpl_vars['var']->first = $_smarty_tpl->tpl_vars['var']->iteration === 1;$_smarty_tpl->tpl_vars['var']->last = $_smarty_tpl->tpl_vars['var']->iteration === $_smarty_tpl->tpl_vars['var']->total;?>
<td class="center">
--
</td>
<?php }
}
?>
</tr>
<!--if !$smarty.foreach.custo_foreach.last-->
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<!-- END PRODUCTS -->
<!-- CART RULES -->
<?php $_smarty_tpl->_assignInScope('shipping_discount_tax_incl', "0");?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cart_rules']->value, 'cart_rule', false, NULL, 'cart_rules_loop', array (
'first' => true,
'index' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['cart_rule']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['index'];
?>
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['first'] : null)) {?>
<tr class="discount">
<th class="header" colspan="<?php echo $_smarty_tpl->tpl_vars['layout']->value['_colCount'];?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Discounts','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
</tr>
<?php }?>
<tr class="discount">
<td class="white right" colspan="<?php echo $_smarty_tpl->tpl_vars['layout']->value['_colCount']-1;?>
">
<?php echo $_smarty_tpl->tpl_vars['cart_rule']->value['name'];?>
</td>
<td class="right white">
- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['cart_rule']->value['value_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<?php }
}

View File

@@ -1,250 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:30:34
from '/var/www/clients/client1/web14/web/modules/installmentpayment/views/templates/hook/invoice.total-tab_fr.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce703ab3f0c2_20946112',
'has_nocache_code' => false,
'file_dependency' =>
array (
'33e35a34ca5b2d4000805a22e778b7472b267d71' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/installmentpayment/views/templates/hook/invoice.total-tab_fr.tpl',
1 => 1563552900,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce703ab3f0c2_20946112 (Smarty_Internal_Template $_smarty_tpl) {
?>
<table id="total-tab" width="100%">
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Products','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['products_before_discounts_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php if (!$_smarty_tpl->tpl_vars['order']->value->isVirtual()) {?>
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shipping Cost','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php if ($_smarty_tpl->tpl_vars['footer']->value['shipping_tax_excl'] > 0) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['shipping_tax_excl']),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Free Shipping','pdf'=>true,'mod'=>'installmentpayment'),$_smarty_tpl ) );?>
<?php }?>
</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['footer']->value['product_discounts_tax_excl'] > 0) {?>
<!--<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Discounts','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['product_discounts_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>-->
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['order']->value->isVirtual()) {?>
<?php if (!isset($_smarty_tpl->tpl_vars['rest']->value) || $_smarty_tpl->tpl_vars['rest']->value == 0) {?>
<tr class="bold">
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total (Tax excl.)','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['total_paid_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['footer']->value['wrapping_tax_excl'] > 0) {?>
<tr>
<td class="grey">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Wrapping Cost','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['total_paid_tax_incl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['order']->value->total_products_wt-$_smarty_tpl->tpl_vars['order']->value->total_products > 0) {?>
<tr class="bold">
<td class="grey">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Tax','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order']->value->total_products_wt-$_smarty_tpl->tpl_vars['order']->value->total_products),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
<tr class="bold big">
<td class="grey">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total TTC','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white">
<?php if (isset($_smarty_tpl->tpl_vars['rest']->value) && $_smarty_tpl->tpl_vars['rest']->value > 0) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['rest']->value+$_smarty_tpl->tpl_vars['paid']->value),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['total_paid_tax_incl']),$_smarty_tpl ) );?>
<?php }?>
</td>
</tr>
<?php if (isset($_smarty_tpl->tpl_vars['rest']->value) && $_smarty_tpl->tpl_vars['rest']->value > 0) {?>
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total déjà payé','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['paid']->value),$_smarty_tpl ) );?>
</td>
</tr>
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reste à payer','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['rest']->value),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:53:42
/* Smarty version 3.1.33, created on 2020-05-05 15:29:56
from 'module:psshoppingcartpsshoppingc' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67966ea9a1_95229954',
'unifunc' => 'content_5eb16a54d64bf0_55316717',
'has_nocache_code' => false,
'file_dependency' =>
array (
'35655e6409b6198f29dd6e732ef9598dec599880' =>
array (
0 => 'module:psshoppingcartpsshoppingc',
1 => 1561472940,
1 => 1574190562,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dce67966ea9a1_95229954 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a54d64bf0_55316717 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="_desktop_cart">
<div class="blockcart cart-preview <?php if ($_smarty_tpl->tpl_vars['cart']->value['products_count'] > 0) {?>active<?php } else { ?>inactive<?php }?>" data-refresh-url="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['refresh_url']->value, ENT_QUOTES, 'UTF-8');?>
">

View File

@@ -1,361 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_customized_data.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678f9fb342_32224805',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3629c969a9bb59d9fd59c99bb087cf17e7ed5080' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_customized_data.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678f9fb342_32224805 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('currencySymbolBeforeAmount', $_smarty_tpl->tpl_vars['currency']->value->format[0] === '¤');
if ($_smarty_tpl->tpl_vars['product']->value['customizedDatas']) {
if (($_smarty_tpl->tpl_vars['order']->value->getTaxCalculationMethod() == @constant('PS_TAX_EXC'))) {?>
<?php $_smarty_tpl->_assignInScope('product_price', ($_smarty_tpl->tpl_vars['product']->value['unit_price_tax_excl']+$_smarty_tpl->tpl_vars['product']->value['ecotax']));
} else { ?>
<?php $_smarty_tpl->_assignInScope('product_price', $_smarty_tpl->tpl_vars['product']->value['unit_price_tax_incl']);
}?>
<tr class="customized customized-<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
product-line-row">
<td>
<input type="hidden" class="edit_product_id_order_detail" value="<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
" />
<?php if (isset($_smarty_tpl->tpl_vars['product']->value['image']) && intval($_smarty_tpl->tpl_vars['product']->value['image']->id)) {
echo $_smarty_tpl->tpl_vars['product']->value['image_tag'];
} else { ?>--<?php }?>
</td>
<td>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts',true,array('id_product'=>intval($_smarty_tpl->tpl_vars['product']->value['product_id']),'updateproduct'=>'1')),'html','UTF-8' ));?>
">
<span class="productName"><?php echo $_smarty_tpl->tpl_vars['product']->value['product_name'];?>
- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Customized','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</span><br />
<?php if (($_smarty_tpl->tpl_vars['product']->value['product_reference'])) {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reference number:','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['product_reference'];?>
<br /><?php }?>
<?php if (($_smarty_tpl->tpl_vars['product']->value['product_supplier_reference'])) {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Supplier reference:','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['product_supplier_reference'];
}?>
</a>
</td>
<td>
<span class="product_price_show"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['product_price']->value,'currency'=>intval($_smarty_tpl->tpl_vars['currency']->value->id)),$_smarty_tpl ) );?>
</span>
<?php if ($_smarty_tpl->tpl_vars['can_edit']->value) {?>
<div class="product_price_edit" style="display:none;">
<input type="hidden" name="product_id_order_detail" class="edit_product_id_order_detail" value="<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
" />
<div class="form-group">
<div class="fixed-width-xl">
<div class="input-group">
<?php if ($_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax excl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
<input type="text" name="product_price_tax_excl" class="edit_product_price_tax_excl edit_product_price" value="<?php echo Tools::ps_round($_smarty_tpl->tpl_vars['product']->value['unit_price_tax_excl'],2);?>
" size="5" />
<?php if (!$_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax excl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
</div>
</div>
<br/>
<div class="fixed-width-xl">
<div class="input-group">
<?php if ($_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax incl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
<input type="text" name="product_price_tax_incl" class="edit_product_price_tax_incl edit_product_price" value="<?php echo Tools::ps_round($_smarty_tpl->tpl_vars['product']->value['unit_price_tax_incl'],2);?>
" size="5" />
<?php if ($_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'tax incl.','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</div><?php }?>
</div>
</div>
</div>
</div>
<?php }?>
</td>
<td class="productQuantity text-center"><?php echo $_smarty_tpl->tpl_vars['product']->value['customizationQuantityTotal'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['display_warehouse']->value) {?><td>&nbsp;</td><?php }?>
<?php if (($_smarty_tpl->tpl_vars['order']->value->hasBeenPaid())) {?><td class="productQuantity text-center"><?php echo $_smarty_tpl->tpl_vars['product']->value['customizationQuantityRefunded'];?>
</td><?php }?>
<?php if (($_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered() || $_smarty_tpl->tpl_vars['order']->value->hasProductReturned())) {?><td class="productQuantity text-center"><?php echo $_smarty_tpl->tpl_vars['product']->value['customizationQuantityReturned'];?>
</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['stock_location_is_available']->value) {?><td class="productQuantity location text-center"><?php echo $_smarty_tpl->tpl_vars['product']->value['location'];?>
</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['stock_management']->value) {?><td class="text-center"><?php echo $_smarty_tpl->tpl_vars['product']->value['current_stock'];?>
</td><?php }?>
<td class="total_product">
<?php if (($_smarty_tpl->tpl_vars['order']->value->getTaxCalculationMethod() == @constant('PS_TAX_EXC'))) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>Tools::ps_round($_smarty_tpl->tpl_vars['product']->value['product_price']*$_smarty_tpl->tpl_vars['product']->value['customizationQuantityTotal'],2),'currency'=>intval($_smarty_tpl->tpl_vars['currency']->value->id)),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>Tools::ps_round($_smarty_tpl->tpl_vars['product']->value['product_price_wt']*$_smarty_tpl->tpl_vars['product']->value['customizationQuantityTotal'],2),'currency'=>intval($_smarty_tpl->tpl_vars['currency']->value->id)),$_smarty_tpl ) );?>
<?php }?>
</td>
<td class="cancelQuantity standard_refund_fields current-edit" style="display:none" colspan="2">
&nbsp;
</td>
<td class="edit_product_fields" colspan="2" style="display:none">&nbsp;</td>
<td class="partial_refund_fields current-edit" style="text-align:left;display:none;"></td>
<?php if (($_smarty_tpl->tpl_vars['can_edit']->value && !$_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered())) {?>
<td class="product_action text-right">
<div class="btn-group">
<button type="button" class="btn btn-default edit_product_change_link">
<i class="icon-pencil"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Edit','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#" class="delete_product_line">
<i class="icon-trash"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Delete','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</a>
</li>
</ul>
</div>
<button type="button" class="btn btn-default submitProductChange" style="display: none;">
<i class="icon-ok"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Update','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<button type="button" class="btn btn-default cancel_product_change_link" style="display: none;">
<i class="icon-remove"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Cancel','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
</td>
<?php }?>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['customizedDatas'], 'customizationPerAddress');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customizationPerAddress']->value) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customizationPerAddress']->value, 'customization', false, 'customizationId');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customizationId']->value => $_smarty_tpl->tpl_vars['customization']->value) {
?>
<tr class="customized customized-<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
">
<td colspan="2">
<input type="hidden" class="edit_product_id_order_detail" value="<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
" />
<div class="form-horizontal">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customization']->value['datas'], 'datas', false, 'type');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['type']->value => $_smarty_tpl->tpl_vars['datas']->value) {
?>
<?php if (($_smarty_tpl->tpl_vars['type']->value == Product::CUSTOMIZE_FILE)) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['datas']->value, 'data');
$_smarty_tpl->tpl_vars['data']->iteration = 0;
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->iteration++;
$__foreach_data_32_saved = $_smarty_tpl->tpl_vars['data'];
?>
<div class="form-group">
<span class="col-lg-4 control-label"><strong><?php if ($_smarty_tpl->tpl_vars['data']->value['name']) {
echo $_smarty_tpl->tpl_vars['data']->value['name'];
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Picture #','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );
echo $_smarty_tpl->tpl_vars['data']->iteration;
}?></strong></span>
<div class="col-lg-8">
<a href="displayImage.php?img=<?php echo $_smarty_tpl->tpl_vars['data']->value['value'];?>
&amp;name=<?php echo intval($_smarty_tpl->tpl_vars['order']->value->id);?>
-file<?php echo $_smarty_tpl->tpl_vars['data']->iteration;?>
" class="_blank">
<img class="img-thumbnail" src="<?php echo @constant('_THEME_PROD_PIC_DIR_');
echo $_smarty_tpl->tpl_vars['data']->value['value'];?>
_small" alt=""/>
</a>
</div>
</div>
<?php
$_smarty_tpl->tpl_vars['data'] = $__foreach_data_32_saved;
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php } elseif (($_smarty_tpl->tpl_vars['type']->value == Product::CUSTOMIZE_TEXTFIELD)) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['datas']->value, 'data');
$_smarty_tpl->tpl_vars['data']->iteration = 0;
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->iteration++;
$__foreach_data_33_saved = $_smarty_tpl->tpl_vars['data'];
?>
<div class="form-group">
<span class="col-lg-4 control-label"><strong><?php if ($_smarty_tpl->tpl_vars['data']->value['name']) {
echo $_smarty_tpl->tpl_vars['data']->value['name'];
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Text #%s','sprintf'=>array($_smarty_tpl->tpl_vars['data']->iteration),'d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );
}?></strong></span>
<div class="col-lg-8">
<p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['data']->value['value'];?>
</p>
</div>
</div>
<?php
$_smarty_tpl->tpl_vars['data'] = $__foreach_data_33_saved;
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</td>
<td>-</td>
<td class="productQuantity text-center">
<span class="product_quantity_show<?php if ((int)$_smarty_tpl->tpl_vars['customization']->value['quantity'] > 1) {?> red bold<?php }?>"><?php echo $_smarty_tpl->tpl_vars['customization']->value['quantity'];?>
</span>
<?php if ($_smarty_tpl->tpl_vars['can_edit']->value) {?>
<span class="product_quantity_edit" style="display:none;">
<input type="text" name="product_quantity[<?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
]" class="edit_product_quantity" value="<?php echo htmlentities($_smarty_tpl->tpl_vars['customization']->value['quantity']);?>
" size="2" />
</span>
<?php }?>
</td>
<?php if ($_smarty_tpl->tpl_vars['display_warehouse']->value) {?><td>&nbsp;</td><?php }?>
<?php if (($_smarty_tpl->tpl_vars['order']->value->hasBeenPaid())) {?>
<td class="text-center">
<?php if (!empty($_smarty_tpl->tpl_vars['product']->value['amount_refund'])) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%quantity_refunded% (%amount_refunded% refund)','sprintf'=>array('%quantity_refunded%'=>$_smarty_tpl->tpl_vars['customization']->value['quantity_refunded'],'%amount_refunded%'=>$_smarty_tpl->tpl_vars['product']->value['amount_refund']),'d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php }?>
<input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['product']->value['quantity_refundable'];?>
" class="partialRefundProductQuantity" />
<input type="hidden" value="<?php echo (Tools::ps_round($_smarty_tpl->tpl_vars['product_price']->value,2)*($_smarty_tpl->tpl_vars['product']->value['product_quantity']-$_smarty_tpl->tpl_vars['product']->value['customizationQuantityTotal']));?>
" class="partialRefundProductAmount" />
</td>
<?php }?>
<?php if (($_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered())) {?><td class="text-center"><?php echo $_smarty_tpl->tpl_vars['customization']->value['quantity_returned'];?>
</td><?php }?>
<td class="text-center">-</td>
<?php if ($_smarty_tpl->tpl_vars['stock_location_is_available']->value) {?><td class="text-center">-</td><?php echo $_smarty_tpl->tpl_vars['product']->value['location'];?>
</td><?php }?>
<td class="total_product">
<?php if (($_smarty_tpl->tpl_vars['order']->value->getTaxCalculationMethod() == @constant('PS_TAX_EXC'))) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>Tools::ps_round($_smarty_tpl->tpl_vars['product']->value['product_price']*$_smarty_tpl->tpl_vars['customization']->value['quantity'],2),'currency'=>intval($_smarty_tpl->tpl_vars['currency']->value->id)),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>Tools::ps_round($_smarty_tpl->tpl_vars['product']->value['product_price_wt']*$_smarty_tpl->tpl_vars['customization']->value['quantity'],2),'currency'=>intval($_smarty_tpl->tpl_vars['currency']->value->id)),$_smarty_tpl ) );?>
<?php }?>
</td>
<td class="cancelCheck standard_refund_fields current-edit" style="display:none">
<input type="hidden" name="totalQtyReturn" id="totalQtyReturn" value="<?php echo intval($_smarty_tpl->tpl_vars['customization']->value['quantity_returned']);?>
" />
<input type="hidden" name="totalQty" id="totalQty" value="<?php echo intval($_smarty_tpl->tpl_vars['customization']->value['quantity']);?>
" />
<input type="hidden" name="productName" id="productName" value="<?php echo $_smarty_tpl->tpl_vars['product']->value['product_name'];?>
" />
<?php if (((!$_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered() || Configuration::get('PS_ORDER_RETURN')) && (int)($_smarty_tpl->tpl_vars['customization']->value['quantity_returned']) < (int)($_smarty_tpl->tpl_vars['customization']->value['quantity']))) {?>
<input type="checkbox" name="id_customization[<?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
]" id="id_customization[<?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
]" value="<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
" onchange="setCancelQuantity(this, <?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
, <?php echo $_smarty_tpl->tpl_vars['customization']->value['quantity']-$_smarty_tpl->tpl_vars['product']->value['customizationQuantityTotal']-$_smarty_tpl->tpl_vars['product']->value['product_quantity_reinjected'];?>
)" <?php if (($_smarty_tpl->tpl_vars['product']->value['product_quantity_return']+$_smarty_tpl->tpl_vars['product']->value['product_quantity_refunded'] >= $_smarty_tpl->tpl_vars['product']->value['product_quantity'])) {?>disabled="disabled" <?php }?>/>
<?php } else { ?>
--
<?php }?>
</td>
<td class="cancelQuantity standard_refund_fields current-edit" style="display:none">
<?php if (($_smarty_tpl->tpl_vars['customization']->value['quantity_returned']+$_smarty_tpl->tpl_vars['customization']->value['quantity_refunded'] >= $_smarty_tpl->tpl_vars['customization']->value['quantity'])) {?>
<input type="hidden" name="cancelCustomizationQuantity[<?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
]" value="0" />
<?php } elseif ((!$_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered() || Configuration::get('PS_ORDER_RETURN'))) {?>
<input type="text" id="cancelQuantity_<?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
" name="cancelCustomizationQuantity[<?php echo intval($_smarty_tpl->tpl_vars['customizationId']->value);?>
]" size="2" onclick="selectCheckbox(this);" value="" />0/<?php echo $_smarty_tpl->tpl_vars['customization']->value['quantity']-$_smarty_tpl->tpl_vars['customization']->value['quantity_refunded'];?>
<?php }?>
</td>
<td class="partial_refund_fields current-edit" colspan="2" style="display:none; width: 250px;">
<?php if ($_smarty_tpl->tpl_vars['product']->value['quantity_refundable'] > 0) {?>
<?php if (($_smarty_tpl->tpl_vars['order']->value->getTaxCalculationMethod() == @constant('PS_TAX_EXC'))) {?>
<?php $_smarty_tpl->_assignInScope('amount_refundable', $_smarty_tpl->tpl_vars['product']->value['amount_refundable']);?>
<?php } else { ?>
<?php $_smarty_tpl->_assignInScope('amount_refundable', $_smarty_tpl->tpl_vars['product']->value['amount_refundable_tax_incl']);?>
<?php }?>
<div class="form-group">
<div class="<?php if ($_smarty_tpl->tpl_vars['product']->value['amount_refundable'] > 0) {?>col-lg-4<?php } else { ?>col-lg-12<?php }?>">
<label class="control-label">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Quantity:','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</label>
<div class="input-group">
<input onchange="checkPartialRefundProductQuantity(this)" type="text" name="partialRefundProductQuantity[<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
]" value="<?php if (($_smarty_tpl->tpl_vars['customization']->value['quantity']-$_smarty_tpl->tpl_vars['customization']->value['quantity_refunded']) > 0) {?>1<?php } else { ?>0<?php }?>" />
<div class="input-group-addon">/ <?php echo $_smarty_tpl->tpl_vars['product']->value['quantity_refundable'];?>
</div>
</div>
</div>
<div class="<?php if ($_smarty_tpl->tpl_vars['product']->value['quantity_refundable'] > 0) {?>col-lg-8<?php } else { ?>col-lg-12<?php }?>">
<label class="control-label">
<span class="title_box "><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Amount:','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</span>
<small class="text-muted">(<?php echo $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'TaxMethod');?>
)</small>
</label>
<div class="input-group">
<?php if ($_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
</div><?php }?>
<input onchange="checkPartialRefundProductAmount(this)" type="text" name="partialRefundProduct[<?php echo intval($_smarty_tpl->tpl_vars['product']->value['id_order_detail']);?>
]" />
<?php if (!$_smarty_tpl->tpl_vars['currencySymbolBeforeAmount']->value) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
</div><?php }?>
</div>
<p class="help-block"><i class="icon-warning-sign"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Max %amount_refundable% %tax_method%)','sprintf'=>array('%amount_refundable%'=>Tools::displayPrice(Tools::ps_round($_smarty_tpl->tpl_vars['amount_refundable']->value,2),$_smarty_tpl->tpl_vars['currency']->value->id),'%tax_method%'=>$_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'TaxMethod')),'d'=>'Admin.Orderscustomers.Help'),$_smarty_tpl ) );?>
</p>
</div>
</div>
<?php }?>
</td>
<?php if (($_smarty_tpl->tpl_vars['can_edit']->value && !$_smarty_tpl->tpl_vars['order']->value->hasBeenDelivered())) {?>
<td class="edit_product_fields" colspan="2" style="display:none"></td>
<td class="product_action" style="text-align:right"></td>
<?php }?>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
}

View File

@@ -1,49 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/modules/easyloginascustomer/views/templates/hook/displayAdminOrders.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678f989520_25144418',
'has_nocache_code' => false,
'file_dependency' =>
array (
'384a77c3988d01c7bab4ad51d4680f92e8a53d9c' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/easyloginascustomer/views/templates/hook/displayAdminOrders.tpl',
1 => 1565339700,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678f989520_25144418 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="row">
<div class="col-lg-7">
<div class="panel clearfix">
<div class="panel-heading">
<i class="icon-signin"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Login as Customer','mod'=>'easyloginascustomer'),$_smarty_tpl ) );?>
<div class="panel-heading-action" style="padding:7px;">
<a data-toggle="dropdown" class="dropdown-toggle notifs dropdown_loginascustomer_link" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_config_url']->value,'htmlall','UTF-8' ));?>
">
<i class="icon-cogs" onclick="javascript:document.location.href = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_config_url']->value,'htmlall','UTF-8' ));?>
'"></i>
</a>
</div>
</div>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_url']->value,'html' ));?>
" class="btn btn-default"<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_new_tab']->value,'htmlall','UTF-8' ));?>
>
<i class="icon-user"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Login as','mod'=>'easyloginascustomer'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_name']->value,'htmlall','UTF-8' ));?>
</a>
</div>
</div>
</div>
<?php }
}

View File

@@ -1,89 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:54:00
from '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-discounts.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67a8a218f2_09304872',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3b739eaa1f26010e48107a0bb216ca5ab5858e5a' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-discounts.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce67a8a218f2_09304872 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<section class="product-discounts">
<?php if ($_smarty_tpl->tpl_vars['product']->value['quantity_discounts']) {?>
<p class="h6 product-discounts-title"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Volume discounts','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</p>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8529926825dce67a8a1e4b3_81951130', 'product_discount_table');
?>
<?php }?>
</section>
<?php }
/* {block 'product_discount_table'} */
class Block_8529926825dce67a8a1e4b3_81951130 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_discount_table' =>
array (
0 => 'Block_8529926825dce67a8a1e4b3_81951130',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<table class="table-product-discounts">
<thead>
<tr>
<th><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Quantity','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</th>
<th><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['configuration']->value['quantity_discount']['label'], ENT_QUOTES, 'UTF-8');?>
</th>
<th><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You Save','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['quantity_discounts'], 'quantity_discount', false, NULL, 'quantity_discounts', array (
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['quantity_discount']->value) {
?>
<tr data-discount-type="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quantity_discount']->value['reduction_type'], ENT_QUOTES, 'UTF-8');?>
" data-discount="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quantity_discount']->value['real_value'], ENT_QUOTES, 'UTF-8');?>
" data-discount-quantity="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quantity_discount']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
">
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quantity_discount']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
</td>
<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quantity_discount']->value['discount'], ENT_QUOTES, 'UTF-8');?>
</td>
<td><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Up to %discount%','d'=>'Shop.Theme.Catalog','sprintf'=>array('%discount%'=>$_smarty_tpl->tpl_vars['quantity_discount']->value['save'])),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<?php
}
}
/* {/block 'product_discount_table'} */
}

View File

@@ -1,263 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:15:29
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/steps/payment.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7ac1399bd2_15289945',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3be67502ad0633367ebd892e648078a77425d22c' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/steps/payment.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:checkout/_partials/order-final-summary.tpl' => 1,
),
),false)) {
function content_5dce7ac1399bd2_15289945 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14379491845dce7ac1380646_67465901', 'step_content');
?>
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, 'checkout/_partials/steps/checkout-step.tpl');
}
/* {block 'step_content'} */
class Block_14379491845dce7ac1380646_67465901 extends Smarty_Internal_Block
{
public $subBlocks = array (
'step_content' =>
array (
0 => 'Block_14379491845dce7ac1380646_67465901',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayPaymentTop'),$_smarty_tpl ) );?>
<div style="display:none" class="js-cart-payment-step-refresh"></div>
<?php if (!empty($_smarty_tpl->tpl_vars['display_transaction_updated_info']->value)) {?>
<p class="cart-payment-step-refreshed-info">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Transaction amount has been correctly updated','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</p>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['is_free']->value) {?>
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No payment needed for this order','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</p>
<?php }?>
<div class="payment-options <?php if ($_smarty_tpl->tpl_vars['is_free']->value) {?>hidden-xs-up<?php }?>">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['payment_options']->value, 'module_options');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['module_options']->value) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['module_options']->value, 'option');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['option']->value) {
?>
<div>
<div id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
-container" class="payment-option clearfix">
<span class="custom-radio float-xs-left">
<input
class="ps-shown-by-js <?php if ($_smarty_tpl->tpl_vars['option']->value['binary']) {?> binary <?php }?>"
id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
"
data-module-name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['module_name'], ENT_QUOTES, 'UTF-8');?>
"
name="payment-option"
type="radio"
required
<?php if ($_smarty_tpl->tpl_vars['selected_payment_option']->value == $_smarty_tpl->tpl_vars['option']->value['id'] || $_smarty_tpl->tpl_vars['is_free']->value) {?> checked <?php }?>
>
<span></span>
</span>
<form method="GET" class="ps-hidden-by-js">
<?php if ($_smarty_tpl->tpl_vars['option']->value['id'] === $_smarty_tpl->tpl_vars['selected_payment_option']->value) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Selected','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
<?php } else { ?>
<button class="ps-hidden-by-js" type="submit" name="select_payment_option" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Choose','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
<?php }?>
</form>
<label for="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
">
<span><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['call_to_action_text'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php if ($_smarty_tpl->tpl_vars['option']->value['logo']) {?>
<img src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['logo'], ENT_QUOTES, 'UTF-8');?>
">
<?php }?>
</label>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['option']->value['additionalInformation']) {?>
<div
id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
-additional-information"
class="js-additional-information definition-list additional-information<?php if ($_smarty_tpl->tpl_vars['option']->value['id'] != $_smarty_tpl->tpl_vars['selected_payment_option']->value) {?> ps-hidden <?php }?>"
>
<?php echo $_smarty_tpl->tpl_vars['option']->value['additionalInformation'];?>
</div>
<?php }?>
<div
id="pay-with-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
-form"
class="js-payment-option-form <?php if ($_smarty_tpl->tpl_vars['option']->value['id'] != $_smarty_tpl->tpl_vars['selected_payment_option']->value) {?> ps-hidden <?php }?>"
>
<?php if ($_smarty_tpl->tpl_vars['option']->value['form']) {?>
<?php echo $_smarty_tpl->tpl_vars['option']->value['form'];?>
<?php } else { ?>
<form id="payment-form" method="POST" action="<?php echo $_smarty_tpl->tpl_vars['option']->value['action'];?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['option']->value['inputs'], 'input');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['input']->value) {
?>
<input type="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['input']->value['type'], ENT_QUOTES, 'UTF-8');?>
" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['input']->value['name'], ENT_QUOTES, 'UTF-8');?>
" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['input']->value['value'], ENT_QUOTES, 'UTF-8');?>
">
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<button style="display:none" id="pay-with-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['id'], ENT_QUOTES, 'UTF-8');?>
" type="submit"></button>
</form>
<?php }?>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
} else {
?>
<p class="alert alert-danger"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Unfortunately, there are no payment method available.','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</p>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php if (count($_smarty_tpl->tpl_vars['conditions_to_approve']->value)) {?>
<p class="ps-hidden-by-js">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'By confirming the order, you certify that you have read and agree with all of the conditions below:','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</p>
<form id="conditions-to-approve" method="GET">
<ul>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['conditions_to_approve']->value, 'condition', false, 'condition_name');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['condition_name']->value => $_smarty_tpl->tpl_vars['condition']->value) {
?>
<li>
<div class="float-xs-left">
<span class="custom-checkbox">
<input id = "conditions_to_approve[<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['condition_name']->value, ENT_QUOTES, 'UTF-8');?>
]"
name = "conditions_to_approve[<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['condition_name']->value, ENT_QUOTES, 'UTF-8');?>
]"
required
type = "checkbox"
value = "1"
class = "ps-shown-by-js"
>
<span><i class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="conditions_to_approve[<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['condition_name']->value, ENT_QUOTES, 'UTF-8');?>
]">
<?php echo $_smarty_tpl->tpl_vars['condition']->value;?>
</label>
</div>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</form>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_final_summary']->value) {?>
<?php $_smarty_tpl->_subTemplateRender('file:checkout/_partials/order-final-summary.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<?php }?>
<div id="payment-confirmation">
<div class="ps-shown-by-js">
<button type="submit" <?php if (!$_smarty_tpl->tpl_vars['selected_payment_option']->value) {?> disabled <?php }?> class="btn btn-primary center-block">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order with an obligation to pay','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</button>
<?php if ($_smarty_tpl->tpl_vars['show_final_summary']->value) {?>
<article class="alert alert-danger mt-2 js-alert-payment-conditions" role="alert" data-alert="danger">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please make sure you\'ve chosen a [1]payment method[/1] and accepted the [2]terms and conditions[/2].','sprintf'=>array('[1]'=>'<a href="#checkout-payment-step">','[/1]'=>'</a>','[2]'=>'<a href="#conditions-to-approve">','[/2]'=>'</a>'),'d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</article>
<?php }?>
</div>
<div class="ps-hidden-by-js">
<?php if ($_smarty_tpl->tpl_vars['selected_payment_option']->value && $_smarty_tpl->tpl_vars['all_conditions_approved']->value) {?>
<label for="pay-with-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['selected_payment_option']->value, ENT_QUOTES, 'UTF-8');?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order with an obligation to pay','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</label>
<?php }?>
</div>
</div>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayPaymentByBinaries'),$_smarty_tpl ) );?>
<div class="modal fade" id="modal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Close','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
">
<span aria-hidden="true">&times;</span>
</button>
<div class="js-modal-content"></div>
</div>
</div>
</div>
<?php
}
}
/* {/block 'step_content'} */
}

View File

@@ -1,68 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:16:35
from '/var/www/clients/client1/web14/web/mails/en/order_conf_product_list.txt' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7b0366a6b2_27895951',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3c4ac1798ebefe37e4834f4143a7f9d499688ca0' =>
array (
0 => '/var/www/clients/client1/web14/web/mails/en/order_conf_product_list.txt',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7b0366a6b2_27895951 (Smarty_Internal_Template $_smarty_tpl) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value, 'product');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['product']->value) {
?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['reference'], ENT_QUOTES, 'UTF-8');?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['name'], ENT_QUOTES, 'UTF-8');?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, "productPriceBlock", null, null);
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"unit_price"),$_smarty_tpl ) );
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
echo htmlspecialchars(trim(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'productPriceBlock'))), ENT_QUOTES, 'UTF-8');?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['quantity'], ENT_QUOTES, 'UTF-8');?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['customization'], 'customization');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization']->value) {
?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['customization']->value['customization_text'], ENT_QUOTES, 'UTF-8');?>
<?php if (count($_smarty_tpl->tpl_vars['product']->value['customization']) > 1) {?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['customization_quantity'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}

View File

@@ -1,65 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:15:29
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/order-final-summary-table.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7ac13aaae0_31649267',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3db8b99a750b053d29f153817070dda8b2aba7d3' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/order-final-summary-table.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7ac13aaae0_31649267 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6990640065dce7ac13a87a8_66339953', 'order-items-table-head');
?>
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, 'checkout/_partials/order-confirmation-table.tpl');
}
/* {block 'order-items-table-head'} */
class Block_6990640065dce7ac13a87a8_66339953 extends Smarty_Internal_Block
{
public $subBlocks = array (
'order-items-table-head' =>
array (
0 => 'Block_6990640065dce7ac13a87a8_66339953',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="order-items" class="col-md-12">
<h3 class="card-title h3">
<?php if ($_smarty_tpl->tpl_vars['products_count']->value == 1) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%product_count% item in your cart','sprintf'=>array('%product_count%'=>$_smarty_tpl->tpl_vars['products_count']->value),'d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%products_count% items in your cart','sprintf'=>array('%products_count%'=>$_smarty_tpl->tpl_vars['products_count']->value),'d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
<?php }?>
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'cart','params'=>array('action'=>'show')),$_smarty_tpl ) );?>
"><span class="step-edit"><i class="material-icons edit">mode_edit</i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'edit','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</span></a>
</h3>
</div>
<?php
}
}
/* {/block 'order-items-table-head'} */
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:09
/* Smarty version 3.1.33, created on 2020-05-05 15:29:57
from 'module:pscustomeraccountlinkspsc' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c1402a67_50694878',
'unifunc' => 'content_5eb16a558a5985_10940656',
'has_nocache_code' => false,
'file_dependency' =>
array (
'42f9461127ce7396a601c2484841253ea5ba658f' =>
array (
0 => 'module:pscustomeraccountlinkspsc',
1 => 1561472940,
1 => 1574190554,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dcd67c1402a67_50694878 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a558a5985_10940656 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="block_myaccount_infos" class="col-md-3 links wrapper">
<p class="h3 myaccount-title hidden-sm-down">

View File

@@ -1,528 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:18
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/header.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678e0e7f44_95412759',
'has_nocache_code' => false,
'file_dependency' =>
array (
'434d42c82d1f9b859825a9eb19c024502b5dc979' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/header.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:search_form.tpl' => 1,
'file:nav.tpl' => 1,
),
),false)) {
function content_5dcd678e0e7f44_95412759 (Smarty_Internal_Template $_smarty_tpl) {
?><!DOCTYPE html>
<!--[if lt IE 7]> <html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
" class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6"> <![endif]-->
<!--[if IE 7]> <html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
" class="no-js lt-ie9 lt-ie8 ie7"> <![endif]-->
<!--[if IE 8]> <html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
" class="no-js lt-ie9 ie8"> <![endif]-->
<!--[if gt IE 8]> <html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
" class="no-js ie9"> <![endif]-->
<html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
app_icon.png" />
<meta name="robots" content="NOFOLLOW, NOINDEX">
<title><?php if ($_smarty_tpl->tpl_vars['meta_title']->value != '') {
echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
• <?php }
echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
</title>
<?php if (!isset($_smarty_tpl->tpl_vars['display_header_javascript']->value) || $_smarty_tpl->tpl_vars['display_header_javascript']->value) {?>
<?php echo '<script'; ?>
type="text/javascript">
var help_class_name = '<?php echo addcslashes($_smarty_tpl->tpl_vars['controller_name']->value,'\'');?>
';
var iso_user = '<?php echo addcslashes($_smarty_tpl->tpl_vars['iso_user']->value,'\'');?>
';
var lang_is_rtl = '<?php echo intval($_smarty_tpl->tpl_vars['lang_is_rtl']->value);?>
';
var full_language_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['full_language_code']->value,'\'');?>
';
var full_cldr_language_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['full_cldr_language_code']->value,'\'');?>
';
var country_iso_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['country_iso_code']->value,'\'');?>
';
var _PS_VERSION_ = '<?php echo addcslashes(@constant('_PS_VERSION_'),'\'');?>
';
var roundMode = <?php echo intval($_smarty_tpl->tpl_vars['round_mode']->value);?>
;
<?php if (isset($_smarty_tpl->tpl_vars['shop_context']->value)) {?>
<?php if ($_smarty_tpl->tpl_vars['shop_context']->value == Shop::CONTEXT_ALL) {?>
var youEditFieldFor = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This field will be modified for all your shops.','js'=>1,'d'=>'Admin.Notifications.Info'),$_smarty_tpl ) );?>
';
<?php } elseif ($_smarty_tpl->tpl_vars['shop_context']->value == Shop::CONTEXT_GROUP) {?>
var youEditFieldFor = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This field will be modified for all shops in this shop group:','js'=>1,'d'=>'Admin.Notifications.Info'),$_smarty_tpl ) );?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php } else { ?>
var youEditFieldFor = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This field will be modified for this shop:','js'=>1,'d'=>'Admin.Notifications.Info'),$_smarty_tpl ) );?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php }
} else { ?>
var youEditFieldFor = '';
<?php }?>
var new_order_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A new order has been placed on your shop.','js'=>1,'d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
';
var order_number_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order number:','js'=>1,'d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
';
var total_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total','js'=>1,'d'=>'Admin.Global'),$_smarty_tpl ) );?>
';
var from_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'From:','js'=>1,'d'=>'Admin.Global'),$_smarty_tpl ) );?>
';
var see_order_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'View this order','js'=>1,'d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
';
var new_customer_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A new customer registered on your shop.','js'=>1,'d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
';
var customer_name_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'registered','js'=>1,'d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
';
var new_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A new message was posted on your shop.','js'=>1,'d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
';
var see_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Read this message','js'=>1,'d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
';
var token = '<?php echo addslashes($_smarty_tpl->tpl_vars['token']->value);?>
';
var token_admin_orders = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminOrders'),$_smarty_tpl ) );?>
';
var token_admin_customers = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminCustomers'),$_smarty_tpl ) );?>
';
var token_admin_customer_threads = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminCustomerThreads'),$_smarty_tpl ) );?>
';
var currentIndex = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['currentIndex']->value,'javascript','UTF-8' )),'quotes' ));?>
';
var employee_token = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminEmployees'),$_smarty_tpl ) );?>
';
var choose_language_translate = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Choose language:','js'=>1,'d'=>'Admin.Actions'),$_smarty_tpl ) );?>
';
var default_language = '<?php echo intval($_smarty_tpl->tpl_vars['default_language']->value);?>
';
var admin_modules_link = '<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink("AdminModulesCatalog",true,array('route'=>"admin_module_catalog_post")));?>
';
var tab_modules_list = '<?php if (isset($_smarty_tpl->tpl_vars['tab_modules_list']->value) && $_smarty_tpl->tpl_vars['tab_modules_list']->value) {
echo addslashes($_smarty_tpl->tpl_vars['tab_modules_list']->value);
}?>';
var update_success_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Successful update.','js'=>1,'d'=>'Admin.Notifications.Success'),$_smarty_tpl ) );?>
';
var errorLogin = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection.','js'=>1,'d'=>'Admin.Notifications.Warning'),$_smarty_tpl ) );?>
';
var search_product_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Search for a product','js'=>1,'d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
';
<?php echo '</script'; ?>
>
<?php }
if (isset($_smarty_tpl->tpl_vars['css_files']->value)) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['css_files']->value, 'media', false, 'css_uri');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['css_uri']->value => $_smarty_tpl->tpl_vars['media']->value) {
?>
<link href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['css_uri']->value,'html','UTF-8' ));?>
" rel="stylesheet" type="text/css"/>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
<?php if ((isset($_smarty_tpl->tpl_vars['js_def']->value) && count($_smarty_tpl->tpl_vars['js_def']->value) || isset($_smarty_tpl->tpl_vars['js_files']->value) && count($_smarty_tpl->tpl_vars['js_files']->value))) {?>
<?php $_smarty_tpl->_subTemplateRender((@constant('_PS_ALL_THEMES_DIR_')).("javascript.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value;?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['brightness']->value)) {?>
<!--
// @todo: multishop color
<style type="text/css">
div#header_infos, div#header_infos a#header_shopname, div#header_infos a#header_logout, div#header_infos a#header_foaccess {color:<?php echo $_smarty_tpl->tpl_vars['brightness']->value;?>
}
</style>
-->
<?php }?>
</head>
<?php if ($_smarty_tpl->tpl_vars['display_header']->value) {?>
<body class="lang-<?php echo $_smarty_tpl->tpl_vars['iso_user']->value;
if ($_smarty_tpl->tpl_vars['lang_is_rtl']->value) {?> lang-rtl<?php }?> ps_back-office<?php if ($_smarty_tpl->tpl_vars['employee']->value->bo_menu) {?> page-sidebar<?php if ($_smarty_tpl->tpl_vars['collapse_menu']->value) {?> page-sidebar-closed<?php }
} else { ?> page-topbar<?php }?> <?php echo strtolower(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_GET['controller'] )));?>
">
<header id="header" class="bootstrap">
<nav id="header_infos" role="navigation">
<i class="material-icons js-mobile-menu">menu</i>
<a id="header_logo" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['default_tab_link']->value,'html','UTF-8' ));?>
"></a>
<span id="shop_version"><?php echo $_smarty_tpl->tpl_vars['ps_version']->value;?>
</span>
<?php if (count($_smarty_tpl->tpl_vars['quick_access']->value) >= 0) {?>
<div id="header_quick" class="component">
<div class="dropdown">
<button
id="quick_select"
class="btn btn-link dropdown-toggle"
data-toggle="dropdown"
><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Quick Access','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
<i class="material-icons">arrow_drop_down</i></button>
<ul class="dropdown-menu">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['quick_access']->value, 'quick');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['quick']->value) {
?>
<li <?php ob_start();
echo $_smarty_tpl->tpl_vars['quick']->value['link'];
$_prefixVariable3 = ob_get_clean();
if ($_smarty_tpl->tpl_vars['link']->value->matchQuickLink($_prefixVariable3)) {
$_smarty_tpl->_assignInScope('matchQuickLink', $_smarty_tpl->tpl_vars['quick']->value['id_quick_access']);?>class="active"<?php }?>>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['quick']->value['link'],'html','UTF-8' ));?>
" <?php if ($_smarty_tpl->tpl_vars['quick']->value['new_window']) {?>target="_blank"<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['quick']->value['name'];?>
</a>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<li class="divider"></li>
<?php if (isset($_smarty_tpl->tpl_vars['matchQuickLink']->value)) {?>
<li>
<a href="javascript:void(0);" class="ajax-quick-link" data-method="remove"
data-quicklink-id="<?php echo $_smarty_tpl->tpl_vars['matchQuickLink']->value;?>
">
<i class="material-icons">remove_circle</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Remove from QuickAccess','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a>
</li>
<?php } else { ?>
<li>
<a href="javascript:void(0);" class="ajax-quick-link" data-method="add">
<i class="material-icons">add_circle</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add current page to QuickAccess','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a>
</li>
<?php }?>
<li>
<a href="<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink("AdminQuickAccesses"));?>
">
<i class="material-icons">settings</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Manage quick accesses','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a>
</li>
</ul>
</div>
</div>
<?php $_smarty_tpl->_assignInScope('quick_access_current_link_name', explode(" - ",$_smarty_tpl->tpl_vars['quick_access_current_link_name']->value));?>
<?php echo '<script'; ?>
>
$(function() {
$('.ajax-quick-link').on('click', function(e){
e.preventDefault();
var method = $(this).data('method');
if(method == 'add')
var name = prompt('<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please name this shortcut:','js'=>1,'d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
', '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['quick_access_current_link_name']->value[0],32 ));?>
');
if(method == 'add' && name || method == 'remove')
{
$.ajax({
type: 'POST',
headers: { "cache-control": "no-cache" },
async: false,
url: "<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminQuickAccesses',true,array(),array('action'=>'GetUrl','rand'=>(rand(1,200)),'ajax'=>1));?>
" + "&method=" + method + ( $(this).data('quicklink-id') ? "&id_quick_access=" + $(this).data('quicklink-id') : ""),
data: {
"url": "<?php echo $_smarty_tpl->tpl_vars['link']->value->getQuickLink(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_SERVER['REQUEST_URI'],'javascript' )));?>
",
"name": name,
"icon": "<?php echo $_smarty_tpl->tpl_vars['quick_access_current_link_icon']->value;?>
"
},
dataType: "json",
success: function(data) {
var quicklink_list ='';
$.each(data, function(index,value){
if (typeof data[index]['name'] !== 'undefined')
quicklink_list += '<li><a href="' + data[index]['link'] + '&token=' + data[index]['token'] + '">' + data[index]['name'] + '</a></li>';
});
if (typeof data['has_errors'] !== 'undefined' && data['has_errors'])
$.each(data, function(index, value)
{
if (typeof data[index] == 'string')
$.growl.error({ title: "", message: data[index]});
});
else if (quicklink_list)
{
$("#header_quick ul.dropdown-menu").html(quicklink_list);
showSuccessMessage(update_success_msg);
}
}
});
}
});
});
<?php echo '</script'; ?>
>
<?php }?>
<?php $_smarty_tpl->_subTemplateRender("file:search_form.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('show_clear_btn'=>1), 0, false);
?>
<?php if (isset($_smarty_tpl->tpl_vars['debug_mode']->value) && $_smarty_tpl->tpl_vars['debug_mode']->value == true) {?>
<div class="component hide-mobile-sm">
<a class="shop-state label-tooltip" id="debug-mode"
data-toggle="tooltip"
data-placement="bottom"
data-html="true"
title="<p class='text-left'><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your shop is in debug mode.','d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
</strong></p><p class='text-left'><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'All the PHP errors and messages are displayed. When you no longer need it, [1]turn off[/1] this mode.','html'=>true,'sprintf'=>array('[1]'=>'<strong>','[/1]'=>'</strong>'),'d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
</p>"
href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminPerformance'),'html','UTF-8' ));?>
"
>
<i class="material-icons">bug_report</i>
<span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Debug mode','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</span>
</a>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['maintenance_mode']->value) && $_smarty_tpl->tpl_vars['maintenance_mode']->value == true) {?>
<div class="component hide-mobile-sm">
<a class="shop-state label-tooltip" id="maintenance-mode"
href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminMaintenance'),'html','UTF-8' ));?>
"
data-toggle="tooltip"
data-placement="bottom"
data-html="true"
title="<p class='text-left text-nowrap'><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your shop is in maintenance.','d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
</strong></p><p class='text-left'><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Shop Parameters > Maintenance tab.','sprintf'=>array('<br />'),'d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
</p>"
>
<i class="material-icons">build</i>
<span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Maintenance mode','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</span>
</a>
</div>
<?php }?>
<?php ob_start();
echo $_smarty_tpl->tpl_vars['base_url']->value;
$_prefixVariable4 = ob_get_clean();
if ($_prefixVariable4) {?>
<ul id="header-list" class="header-list">
<li class="shopname" data-mobile="true" data-from="header-list" data-target="menu">
<?php if (isset($_smarty_tpl->tpl_vars['is_multishop']->value) && $_smarty_tpl->tpl_vars['is_multishop']->value && $_smarty_tpl->tpl_vars['shop_list']->value && (isset($_smarty_tpl->tpl_vars['multishop_context']->value) && $_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_GROUP || $_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_SHOP || $_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_ALL)) {?>
<ul id="header_shop" class="shop-state">
<li class="dropdown">
<i class="material-icons">visibility</i>
<?php echo $_smarty_tpl->tpl_vars['shop_list']->value;?>
</li>
</ul>
<?php } else { ?>
<a id="header_shopname" class="shop-state" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['base_url']->value,'html','UTF-8' ));?>
" target="_blank">
<i class="material-icons">visibility</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'View my shop','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a>
<?php }?>
</li>
</ul>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_new_orders']->value || $_smarty_tpl->tpl_vars['show_new_customers']->value || $_smarty_tpl->tpl_vars['show_new_messages']->value) {?>
<ul class="header-list component">
<li id="notification" class="dropdown">
<a href="javascript:void(0);" class="notification dropdown-toggle notifs">
<i class="material-icons">notifications_none</i>
<span id="total_notif_number_wrapper" class="notifs_badge hide">
<span id="total_notif_value">0</span>
</span>
</a>
<div class="dropdown-menu dropdown-menu-right notifs_dropdown">
<div class="notifications">
<ul class="nav nav-tabs" role="tablist">
<?php $_smarty_tpl->_assignInScope('active', "active");?>
<?php if ($_smarty_tpl->tpl_vars['show_new_orders']->value) {?>
<li class="nav-item <?php echo $_smarty_tpl->tpl_vars['active']->value;?>
">
<a class="nav-link" data-toggle="tab" data-type="order" href="#orders-notifications" role="tab" id="orders-tab"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Latest orders','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
<span id="orders_notif_value"></span></a>
</li>
<?php $_smarty_tpl->_assignInScope('active', '');?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_new_customers']->value) {?>
<li class="nav-item <?php echo $_smarty_tpl->tpl_vars['active']->value;?>
">
<a class="nav-link" data-toggle="tab" data-type="customer" href="#customers-notifications" role="tab" id="customers-tab"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'New customers','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
<span id="customers_notif_value"></span></a>
</li>
<?php $_smarty_tpl->_assignInScope('active', '');?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_new_messages']->value) {?>
<li class="nav-item <?php echo $_smarty_tpl->tpl_vars['active']->value;?>
">
<a class="nav-link" data-toggle="tab" data-type="customer_message" href="#messages-notifications" role="tab" id="messages-tab"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Messages','d'=>'Admin.Global'),$_smarty_tpl ) );?>
<span id="customer_messages_notif_value"></span></a>
</li>
<?php $_smarty_tpl->_assignInScope('active', '');?>
<?php }?>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<?php $_smarty_tpl->_assignInScope('active', "active");?>
<?php if ($_smarty_tpl->tpl_vars['show_new_orders']->value) {?>
<div class="tab-pane <?php echo $_smarty_tpl->tpl_vars['active']->value;?>
empty" id="orders-notifications" role="tabpanel">
<p class="no-notification">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No new order for now :(','d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
<br>
<?php echo $_smarty_tpl->tpl_vars['no_order_tip']->value;?>
</p>
<div class="notification-elements"></div>
</div>
<?php $_smarty_tpl->_assignInScope('active', '');?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_new_customers']->value) {?>
<div class="tab-pane <?php echo $_smarty_tpl->tpl_vars['active']->value;?>
empty" id="customers-notifications" role="tabpanel">
<p class="no-notification">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No new customer for now :(','d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
<br>
<?php echo $_smarty_tpl->tpl_vars['no_customer_tip']->value;?>
</p>
<div class="notification-elements"></div>
</div>
<?php $_smarty_tpl->_assignInScope('active', '');?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_new_messages']->value) {?>
<div class="tab-pane <?php echo $_smarty_tpl->tpl_vars['active']->value;?>
empty" id="messages-notifications" role="tabpanel">
<p class="no-notification">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No new message for now.','d'=>'Admin.Navigation.Notification'),$_smarty_tpl ) );?>
<br>
<?php echo $_smarty_tpl->tpl_vars['no_customer_message_tip']->value;?>
</p>
<div class="notification-elements"></div>
</div>
<?php $_smarty_tpl->_assignInScope('active', '');?>
<?php }?>
</div>
</div>
</div>
</li>
</ul>
<?php }?>
<ul id="header_employee_box" class="component">
<li id="employee_infos" class="dropdown hidden-xs">
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminEmployees',true,array(),array('id_employee'=>intval($_smarty_tpl->tpl_vars['employee']->value->id),'updateemployee'=>1)),'html','UTF-8' ));?>
"
class="employee_name dropdown-toggle"
data-toggle="dropdown"
>
<i class="material-icons">account_circle</i>
</a>
<ul id="employee_links" class="dropdown-menu dropdown-menu-right">
<li data-mobile="true" data-from="employee_links" data-target="menu">
<span class="employee_avatar">
<img class="imgm img-thumbnail" alt="" src="<?php echo $_smarty_tpl->tpl_vars['employee']->value->getImage();?>
" width="96" height="96" />
</span>
</li>
<li class="text-center text-nowrap username" data-mobile="true" data-from="employee_links" data-target="menu"><?php echo $_smarty_tpl->tpl_vars['employee']->value->firstname;?>
<?php echo $_smarty_tpl->tpl_vars['employee']->value->lastname;?>
</li>
<li class="divider"></li>
<li><a class="admin-link" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminEmployees',true,array(),array('id_employee'=>intval($_smarty_tpl->tpl_vars['employee']->value->id),'updateemployee'=>1)),'html','UTF-8' ));?>
"><i class="material-icons">settings_applications</i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your profile','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a></li>
<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>
<li><a href="https://www.prestashop.com/cloud/" class="_blank"><i class="material-icons">settings_applications</i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My PrestaShop account','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a></li>
<?php }?>
<li class="signout" data-mobile="true" data-from="employee_links" data-target="menu" data-after="true"><a id="header_logout" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['logout_link']->value,'html','UTF-8' ));?>
"><i class="material-icons">power_settings_new</i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sign out','d'=>'Admin.Navigation.Header'),$_smarty_tpl ) );?>
</a></li>
</ul>
</li>
</ul>
<span id="ajax_running" class="hidden-xs">
<i class="icon-refresh icon-spin icon-fw"></i>
</span>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeTop']->value)) {
echo $_smarty_tpl->tpl_vars['displayBackOfficeTop']->value;
}?>
</nav> </header>
<?php $_smarty_tpl->_subTemplateRender('file:nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<div id="main">
<div id="content" class="<?php if (!$_smarty_tpl->tpl_vars['bootstrap']->value) {?>nobootstrap<?php } else { ?>bootstrap<?php }
if (!isset($_smarty_tpl->tpl_vars['page_header_toolbar']->value)) {?> no-header-toolbar<?php }?> <?php if ($_smarty_tpl->tpl_vars['current_tab_level']->value == 3) {?>with-tabs<?php }?>">
<?php if (isset($_smarty_tpl->tpl_vars['page_header_toolbar']->value)) {
echo $_smarty_tpl->tpl_vars['page_header_toolbar']->value;
}?>
<?php if (isset($_smarty_tpl->tpl_vars['modal_module_list']->value)) {
echo $_smarty_tpl->tpl_vars['modal_module_list']->value;
}?>
<?php if ($_smarty_tpl->tpl_vars['install_dir_exists']->value) {?>
<div class="alert alert-warning">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'For security reasons, you must also delete the /install folder.','d'=>'Admin.Login.Notification'),$_smarty_tpl ) );?>
</div>
<?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAdminAfterHeader'),$_smarty_tpl ) );?>
<?php } else { ?>
<body<?php if (isset($_smarty_tpl->tpl_vars['lite_display']->value) && $_smarty_tpl->tpl_vars['lite_display']->value) {?> class="ps_back-office display-modal"<?php }?>>
<div id="main">
<div id="content" class="<?php if (!$_smarty_tpl->tpl_vars['bootstrap']->value) {?>nobootstrap<?php } else { ?>bootstrap<?php }?>">
<?php }
}
}

View File

@@ -1,117 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:54:00
from '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-variants.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67a8a199b5_70308071',
'has_nocache_code' => false,
'file_dependency' =>
array (
'443b0bb193dee27bd10cc21412f559cc91a917f0' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-variants.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce67a8a199b5_70308071 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="product-variants">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['groups']->value, 'group', false, 'id_attribute_group');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['id_attribute_group']->value => $_smarty_tpl->tpl_vars['group']->value) {
?>
<?php if (!empty($_smarty_tpl->tpl_vars['group']->value['attributes'])) {?>
<div class="clearfix product-variants-item">
<span class="control-label"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group']->value['name'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php if ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'select') {?>
<select
class="form-control form-control-select"
id="group_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
"
data-product-attribute="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
"
name="group[<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
]">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['group']->value['attributes'], 'group_attribute', false, 'id_attribute');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['id_attribute']->value => $_smarty_tpl->tpl_vars['group_attribute']->value) {
?>
<option value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute']->value, ENT_QUOTES, 'UTF-8');?>
" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value['name'], ENT_QUOTES, 'UTF-8');?>
"<?php if ($_smarty_tpl->tpl_vars['group_attribute']->value['selected']) {?> selected="selected"<?php }?>><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value['name'], ENT_QUOTES, 'UTF-8');?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php } elseif ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'color') {?>
<ul id="group_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['group']->value['attributes'], 'group_attribute', false, 'id_attribute');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['id_attribute']->value => $_smarty_tpl->tpl_vars['group_attribute']->value) {
?>
<li class="float-xs-left input-container">
<label>
<input class="input-color" type="radio" data-product-attribute="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
" name="group[<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute']->value, ENT_QUOTES, 'UTF-8');?>
"<?php if ($_smarty_tpl->tpl_vars['group_attribute']->value['selected']) {?> checked="checked"<?php }?>>
<span
<?php if ($_smarty_tpl->tpl_vars['group_attribute']->value['html_color_code']) {?>class="color" style="background-color: <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value['html_color_code'], ENT_QUOTES, 'UTF-8');?>
" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['group_attribute']->value['texture']) {?>class="color texture" style="background-image: url(<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value['texture'], ENT_QUOTES, 'UTF-8');?>
)" <?php }?>
><span class="sr-only"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value['name'], ENT_QUOTES, 'UTF-8');?>
</span></span>
</label>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php } elseif ($_smarty_tpl->tpl_vars['group']->value['group_type'] == 'radio') {?>
<ul id="group_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['group']->value['attributes'], 'group_attribute', false, 'id_attribute');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['id_attribute']->value => $_smarty_tpl->tpl_vars['group_attribute']->value) {
?>
<li class="input-container float-xs-left">
<label>
<input class="input-radio" type="radio" data-product-attribute="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
" name="group[<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute_group']->value, ENT_QUOTES, 'UTF-8');?>
]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id_attribute']->value, ENT_QUOTES, 'UTF-8');?>
"<?php if ($_smarty_tpl->tpl_vars['group_attribute']->value['selected']) {?> checked="checked"<?php }?>>
<span class="radio-label"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['group_attribute']->value['name'], ENT_QUOTES, 'UTF-8');?>
</span>
</label>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
</div>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php }
}

View File

@@ -1,140 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 13:47:57
from '/var/www/clients/client1/web14/web/pdf/invoice-b2b.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd292fda6b5a3_27939157',
'has_nocache_code' => false,
'file_dependency' =>
array (
'445c5fbdc3892a91a9d3327324eecf795f0c30ae' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice-b2b.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd292fda6b5a3_27939157 (Smarty_Internal_Template $_smarty_tpl) {
echo $_smarty_tpl->tpl_vars['style_tab']->value;?>
<table width="100%" id="body" border="0" cellpadding="0" cellspacing="0" style="margin:0;">
<!-- Invoicing -->
<tr>
<td colspan="12">
<?php echo $_smarty_tpl->tpl_vars['addresses_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="30">&nbsp;</td>
</tr>
<!-- TVA Info -->
<tr>
<td colspan="12">
<?php echo $_smarty_tpl->tpl_vars['summary_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="20">&nbsp;</td>
</tr>
<!-- Product -->
<tr>
<td colspan="12">
<?php echo $_smarty_tpl->tpl_vars['product_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="10">&nbsp;</td>
</tr>
<!-- TVA -->
<tr>
<!-- Code TVA -->
<td colspan="6" class="left">
<?php echo $_smarty_tpl->tpl_vars['tax_tab']->value;?>
</td>
<td colspan="1">&nbsp;</td>
<!-- Calcule TVA -->
<td colspan="5" rowspan="5" class="right">
<?php echo $_smarty_tpl->tpl_vars['total_tab']->value;?>
</td>
</tr>
<tr>
<td colspan="12" height="10">&nbsp;</td>
</tr>
<tr>
<td colspan="6" class="left">
<?php echo $_smarty_tpl->tpl_vars['payment_tab']->value;?>
</td>
<td colspan="1">&nbsp;</td>
</tr>
<tr>
<td colspan="12" height="10">&nbsp;</td>
</tr>
<tr>
<td colspan="7" class="left small">
<table>
<tr>
<td>
<p><?php echo nl2br(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['legal_free_text']->value,'html','UTF-8' )));?>
</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- Hook -->
<?php if (isset($_smarty_tpl->tpl_vars['HOOK_DISPLAY_PDF']->value)) {?>
<tr>
<td colspan="12" height="30">&nbsp;</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
<td colspan="10">
<?php echo $_smarty_tpl->tpl_vars['HOOK_DISPLAY_PDF']->value;?>
</td>
</tr>
<?php }?>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:14:49
/* Smarty version 3.1.33, created on 2020-05-05 15:30:34
from 'module:pscheckpaymentviewstempla' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7a99c62719_50300237',
'unifunc' => 'content_5eb16a7a51d470_42859885',
'has_nocache_code' => false,
'file_dependency' =>
array (
'456b997b3e105a9e07fb53f57952dd13d6d84d50' =>
array (
0 => 'module:pscheckpaymentviewstempla',
1 => 1561472940,
1 => 1574189632,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dce7a99c62719_50300237 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a7a51d470_42859885 (Smarty_Internal_Template $_smarty_tpl) {
?>
<section>
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please send us your check following these rules:','d'=>'Modules.Checkpayment.Shop'),$_smarty_tpl ) );?>

View File

@@ -1,134 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_discount_form.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678fa501f8_90421848',
'has_nocache_code' => false,
'file_dependency' =>
array (
'45777c94702769de043e3c3523aff471abeb4edb' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_discount_form.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678fa501f8_90421848 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="form-horizontal well">
<div class="form-group">
<label class="control-label col-lg-3">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Name','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<input class="form-control" type="text" name="discount_name" value="" />
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Type','d'=>'Admin.Catalog.Feature'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<select class="form-control" name="discount_type" id="discount_type">
<option value="1"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Percent','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</option>
<option value="2"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Amount','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</option>
<option value="3"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Free shipping','d'=>'Admin.Shipping.Feature'),$_smarty_tpl ) );?>
</option>
</select>
</div>
</div>
<div id="discount_value_field" class="form-group">
<label class="control-label col-lg-3">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Value','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<div class="input-group">
<div class="input-group-addon">
<span id="discount_currency_sign" style="display: none;"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>
</span>
<span id="discount_percent_symbol">%</span>
</div>
<input class="form-control" type="text" name="discount_value"/>
</div>
<p class="text-muted" id="discount_value_help" style="display: none;">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This value must include taxes.','d'=>'Admin.Orderscustomers.Notification'),$_smarty_tpl ) );?>
</p>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['order']->value->hasInvoice()) {?>
<div class="form-group">
<label class="control-label col-lg-3">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Invoice','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<div class="col-lg-9">
<select name="discount_invoice">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['invoices_collection']->value, 'invoice');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['invoice']->value) {
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['invoice']->value->id;?>
" selected="selected">
<?php echo $_smarty_tpl->tpl_vars['invoice']->value->getInvoiceNumberFormatted($_smarty_tpl->tpl_vars['current_id_lang']->value);?>
- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['invoice']->value->total_paid_tax_incl,'currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency),$_smarty_tpl ) );?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</div>
</div>
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<p class="checkbox">
<label class="control-label" for="discount_all_invoices">
<input type="checkbox" name="discount_all_invoices" id="discount_all_invoices" value="1" />
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Apply on all invoices','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</label>
</p>
<p class="help-block">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If you chooses to create this discount for all invoices, only one discount will be created per order invoice.','d'=>'Admin.Orderscustomers.Help'),$_smarty_tpl ) );?>
</p>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-lg-9 col-lg-offset-3">
<button class="btn btn-default" type="button" id="cancel_add_voucher">
<i class="icon-remove text-danger"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Cancel','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<button class="btn btn-default" type="submit" name="submitNewVoucher">
<i class="icon-ok text-success"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
</div>
</div>
</div>
<?php }
}

View File

@@ -1,51 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 11:49:53
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/stats/menu.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd277516883e8_80410874',
'has_nocache_code' => false,
'file_dependency' =>
array (
'45ea93db5a77c058da92717bd56b0ea94b8369cf' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/stats/menu.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd277516883e8_80410874 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="container" class="row">
<div class="sidebar navigation col-md-3">
<nav class="list-group categorieList">
<?php if (count($_smarty_tpl->tpl_vars['modules']->value)) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['modules']->value, 'module');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['module']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['module_instance']->value[$_smarty_tpl->tpl_vars['module']->value['name']]) {?>
<a class="list-group-item<?php if (($_smarty_tpl->tpl_vars['current_module_name']->value && $_smarty_tpl->tpl_vars['current_module_name']->value == $_smarty_tpl->tpl_vars['module']->value['name'])) {?> active<?php }?>" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['current']->value,'html','UTF-8' ));?>
&amp;token=<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['token']->value,'html','UTF-8' ));?>
&amp;module=<?php echo $_smarty_tpl->tpl_vars['module']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['module_instance']->value[$_smarty_tpl->tpl_vars['module']->value['name']]->displayName;?>
</a>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No module has been installed.','d'=>'Admin.Notifications.Warning'),$_smarty_tpl ) );?>
<?php }?>
</nav>
</div>
<?php }
}

View File

@@ -1,123 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:38:32
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/cart-detailed-totals.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce721886a5a7_52189601',
'has_nocache_code' => false,
'file_dependency' =>
array (
'460a0474d45c8f530826a1e9bdb1c704ee23f4b6' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/cart-detailed-totals.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:checkout/_partials/cart-voucher.tpl' => 1,
),
),false)) {
function content_5dce721886a5a7_52189601 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_20839618805dce7218864830_63443687', 'cart_detailed_totals');
?>
<?php }
/* {block 'cart_voucher'} */
class Block_17245865165dce72188682b7_38513498 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_subTemplateRender('file:checkout/_partials/cart-voucher.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<?php
}
}
/* {/block 'cart_voucher'} */
/* {block 'cart_detailed_totals'} */
class Block_20839618805dce7218864830_63443687 extends Smarty_Internal_Block
{
public $subBlocks = array (
'cart_detailed_totals' =>
array (
0 => 'Block_20839618805dce7218864830_63443687',
),
'cart_voucher' =>
array (
0 => 'Block_17245865165dce72188682b7_38513498',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="cart-detailed-totals">
<div class="card-block">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cart']->value['subtotals'], 'subtotal');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['subtotal']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['subtotal']->value['value'] && $_smarty_tpl->tpl_vars['subtotal']->value['type'] !== 'tax') {?>
<div class="cart-summary-line" id="cart-subtotal-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotal']->value['type'], ENT_QUOTES, 'UTF-8');?>
">
<span class="label<?php if ('products' === $_smarty_tpl->tpl_vars['subtotal']->value['type']) {?> js-subtotal<?php }?>">
<?php if ('products' == $_smarty_tpl->tpl_vars['subtotal']->value['type']) {?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['summary_string'], ENT_QUOTES, 'UTF-8');?>
<?php } else { ?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotal']->value['label'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
</span>
<span class="value"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['subtotal']->value['value'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php if ($_smarty_tpl->tpl_vars['subtotal']->value['type'] === 'shipping') {?>
<div><small class="value"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayCheckoutSubtotalDetails','subtotal'=>$_smarty_tpl->tpl_vars['subtotal']->value),$_smarty_tpl ) );?>
</small></div>
<?php }?>
</div>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17245865165dce72188682b7_38513498', 'cart_voucher', $this->tplIndex);
?>
<hr class="separator">
<div class="card-block">
<div class="cart-summary-line cart-total">
<span class="label"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['totals']['total']['label'], ENT_QUOTES, 'UTF-8');?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['labels']['tax_short'], ENT_QUOTES, 'UTF-8');?>
</span>
<span class="value"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['totals']['total']['value'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<div class="cart-summary-line">
<small class="label"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['subtotals']['tax']['label'], ENT_QUOTES, 'UTF-8');?>
</small>
<small class="value"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['subtotals']['tax']['value'], ENT_QUOTES, 'UTF-8');?>
</small>
</div>
</div>
<hr class="separator">
</div>
<?php
}
}
/* {/block 'cart_detailed_totals'} */
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:09
/* Smarty version 3.1.33, created on 2020-05-05 15:29:57
from 'module:iqitmegamenuviewstemplate' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c135e755_04648219',
'unifunc' => 'content_5eb16a555dfe12_38627386',
'has_nocache_code' => false,
'file_dependency' =>
array (
'470d5c96fd175e37e89afd5cc78d331c9756e29d' =>
array (
0 => 'module:iqitmegamenuviewstemplate',
1 => 1561544340,
1 => 1574189458,
2 => 'module',
),
),
@@ -23,13 +23,13 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'module:iqitmegamenu/views/templates/hook/_partials/submenu_content.tpl' => 2,
),
),false)) {
function content_5dcd67c135e755_04648219 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a555dfe12_38627386 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->smarty->ext->_tplFunction->registerTplFunctions($_smarty_tpl, array (
'categories_links' =>
array (
'compiled_filepath' => '/var/www/clients/client1/web14/web/var/cache/prod/smarty/compile/47/0d/5c/470d5c96fd175e37e89afd5cc78d331c9756e29d_2.module.iqitmegamenuviewstemplate.php',
'compiled_filepath' => '/Volumes/Dev/Sources/Clients/bio-concept/labo/web/var/cache/prod/smarty/compile/47/0d/5c/470d5c96fd175e37e89afd5cc78d331c9756e29d_2.module.iqitmegamenuviewstemplate.php',
'uid' => '470d5c96fd175e37e89afd5cc78d331c9756e29d',
'call_name' => 'smarty_template_function_categories_links_6094641895dcd67c1333cc3_50143425',
'call_name' => 'smarty_template_function_categories_links_364036895eb16a55277cd3_67076806',
),
));
?>
@@ -278,9 +278,9 @@ $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php if ($_smarty_tpl->tpl_vars['node']->value['type'] == 2) {?></div><?php }?>
</div>
<?php }
/* smarty_template_function_categories_links_6094641895dcd67c1333cc3_50143425 */
if (!function_exists('smarty_template_function_categories_links_6094641895dcd67c1333cc3_50143425')) {
function smarty_template_function_categories_links_6094641895dcd67c1333cc3_50143425(Smarty_Internal_Template $_smarty_tpl,$params) {
/* smarty_template_function_categories_links_364036895eb16a55277cd3_67076806 */
if (!function_exists('smarty_template_function_categories_links_364036895eb16a55277cd3_67076806')) {
function smarty_template_function_categories_links_364036895eb16a55277cd3_67076806(Smarty_Internal_Template $_smarty_tpl,$params) {
$params = array_merge(array('nodes'=>array(),'level'=>1), $params);
foreach ($params as $key => $value) {
$_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value, $_smarty_tpl->isRenderingCache);
@@ -301,5 +301,5 @@ $_smarty_tpl->smarty->ext->_tplFunction->callTemplateFunction($_smarty_tpl, 'cat
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?></ul>
<?php
}}
/*/ smarty_template_function_categories_links_6094641895dcd67c1333cc3_50143425 */
/*/ smarty_template_function_categories_links_364036895eb16a55277cd3_67076806 */
}

View File

@@ -1,168 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/nav_bar.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67880b6f88_22018005',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4784cd8050aec806d346a2933703f817b5b4288b' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/nav_bar.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67880b6f88_22018005 (Smarty_Internal_Template $_smarty_tpl) {
?><nav class="nav-bar d-none d-md-block">
<span class="menu-collapse">
<i class="material-icons">chevron_left</i>
<i class="material-icons">chevron_left</i>
</span>
<ul class="main-menu">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tabs']->value, 'level1');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['level1']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['level1']->value['active']) {?>
<?php $_smarty_tpl->_assignInScope('level1Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['href'],'html','UTF-8' )));?>
<?php if (count($_smarty_tpl->tpl_vars['level1']->value['sub_tabs']) && isset($_smarty_tpl->tpl_vars['level1']->value['sub_tabs'][0]['href'])) {?>
<?php $_smarty_tpl->_assignInScope('level1Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['sub_tabs'][0]['href'],'html','UTF-8' )));?>
<?php }?>
<?php $_smarty_tpl->_assignInScope('level1Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['name'],'html','UTF-8' )));?>
<?php if ($_smarty_tpl->tpl_vars['level1']->value['name'] == '') {?>
<?php $_smarty_tpl->_assignInScope('level1Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['class_name'],'html','UTF-8' )));?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['level1']->value['icon'] != '') {?>
<li class="link-levelone <?php if ($_smarty_tpl->tpl_vars['level1']->value['current']) {?>-active<?php }?>" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level1']->value['id_tab'];?>
" id="tab-<?php echo $_smarty_tpl->tpl_vars['level1']->value['class_name'];?>
">
<a href="<?php echo $_smarty_tpl->tpl_vars['level1Href']->value;?>
" class="link" >
<i class="material-icons"><?php echo $_smarty_tpl->tpl_vars['level1']->value['icon'];?>
</i> <span><?php echo $_smarty_tpl->tpl_vars['level1Name']->value;?>
</span>
</a>
</li>
<?php } else { ?>
<li class="category-title <?php if ($_smarty_tpl->tpl_vars['level1']->value['current']) {?>-active<?php }?>" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level1']->value['id_tab'];?>
" id="tab-<?php echo $_smarty_tpl->tpl_vars['level1']->value['class_name'];?>
">
<span class="title"><?php echo $_smarty_tpl->tpl_vars['level1Name']->value;?>
</span>
</li>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['level1']->value['sub_tabs'], 'level2');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['level2']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['level2']->value['active']) {?>
<?php $_smarty_tpl->_assignInScope('level2Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level2']->value['href'],'html','UTF-8' )));?>
<?php $_smarty_tpl->_assignInScope('level2Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level2']->value['name'],'html','UTF-8' )));?>
<?php if ($_smarty_tpl->tpl_vars['level2']->value['name'] == '') {?>
<?php $_smarty_tpl->_assignInScope('level2Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level2']->value['class_name'],'html','UTF-8' )));?>
<?php }?>
<?php $_smarty_tpl->_assignInScope('levelOneClass', '');?>
<?php if ($_smarty_tpl->tpl_vars['level2']->value['current'] && !$_smarty_tpl->tpl_vars['collapse_menu']->value) {?>
<?php $_smarty_tpl->_assignInScope('levelOneClass', " -active open ul-open");?>
<?php } elseif ($_smarty_tpl->tpl_vars['level2']->value['current'] && $_smarty_tpl->tpl_vars['collapse_menu']->value) {?>
<?php $_smarty_tpl->_assignInScope('levelOneClass', " -active");?>
<?php }?>
<li class="link-levelone<?php if (count($_smarty_tpl->tpl_vars['level2']->value['sub_tabs'])) {?> has_submenu<?php }
echo $_smarty_tpl->tpl_vars['levelOneClass']->value;?>
" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level2']->value['id_tab'];?>
" id="subtab-<?php echo $_smarty_tpl->tpl_vars['level2']->value['class_name'];?>
">
<a href="<?php echo $_smarty_tpl->tpl_vars['level2Href']->value;?>
" class="link">
<i class="material-icons mi-<?php echo $_smarty_tpl->tpl_vars['level2']->value['icon'];?>
"><?php echo $_smarty_tpl->tpl_vars['level2']->value['icon'];?>
</i>
<span>
<?php echo $_smarty_tpl->tpl_vars['level2Name']->value;?>
</span>
<?php if (count($_smarty_tpl->tpl_vars['level1']->value['sub_tabs'])) {?>
<i class="material-icons sub-tabs-arrow">
<?php if ($_smarty_tpl->tpl_vars['level2']->value['current']) {?>
keyboard_arrow_up
<?php } else { ?>
keyboard_arrow_down
<?php }?>
</i>
<?php }?>
</a>
<?php if (count($_smarty_tpl->tpl_vars['level2']->value['sub_tabs'])) {?>
<ul id="collapse-<?php echo $_smarty_tpl->tpl_vars['level2']->value['id_tab'];?>
" class="submenu panel-collapse">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['level2']->value['sub_tabs'], 'level3');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['level3']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['level3']->value['active']) {?>
<?php $_smarty_tpl->_assignInScope('level3Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level3']->value['href'],'html','UTF-8' )));?>
<?php $_smarty_tpl->_assignInScope('level3Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level3']->value['name'],'html','UTF-8' )));?>
<?php if ($_smarty_tpl->tpl_vars['level3']->value['name'] == '') {?>
<?php $_smarty_tpl->_assignInScope('level3Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level3']->value['class_name'],'html','UTF-8' )));?>
<?php }?>
<li class="link-leveltwo <?php if ($_smarty_tpl->tpl_vars['level3']->value['current']) {?>-active<?php }?>" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level3']->value['id_tab'];?>
" id="subtab-<?php echo $_smarty_tpl->tpl_vars['level3']->value['class_name'];?>
">
<a href="<?php echo $_smarty_tpl->tpl_vars['level3Href']->value;?>
" class="link"> <?php echo $_smarty_tpl->tpl_vars['level3Name']->value;?>
</a>
</li>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
</li>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAdminNavBarBeforeEnd'),$_smarty_tpl ) );?>
</nav>
<?php }
}

View File

@@ -1,31 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:51:23
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/login/layout.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd69eba125a6_97679318',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4a7632b75e33069a63243321780585373c127baf' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/login/layout.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd69eba125a6_97679318 (Smarty_Internal_Template $_smarty_tpl) {
echo $_smarty_tpl->tpl_vars['header']->value;?>
<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
<?php echo $_smarty_tpl->tpl_vars['footer']->value;?>
<?php }
}

View File

@@ -1,58 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 22:26:58
from '/var/www/clients/client1/web14/web/pdf/delivery-slip.payment-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd30ca29a07d4_57794396',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4c3227c9035165ffac27224bc4cdc4c74f2c8a40' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/delivery-slip.payment-tab.tpl',
1 => 1574112411,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd30ca29a07d4_57794396 (Smarty_Internal_Template $_smarty_tpl) {
?><!--
<table id="payment-tab" width="100%" cellpadding="4" cellspacing="0">
<tr>
<td class="payment center small grey bold" width="44%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Payment Method','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
<td class="payment left white" width="56%">
<table width="100%" border="0">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_invoice']->value->getOrderPaymentCollection(), 'payment');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['payment']->value) {
?>
<tr>
<td class="right small"><?php echo $_smarty_tpl->tpl_vars['payment']->value->payment_method;?>
</td>
<td class="right small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['payment']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['payment']->value->amount),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
} else {
?>
<tr>
<td><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No payment','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</td>
</tr>
</table>
//--><?php }
}

View File

@@ -1,134 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:15:29
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/order-final-summary.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7ac13a4b53_93914351',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4c393e169b3e170c741f9c0142f79311f82326ae' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/order-final-summary.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:checkout/_partials/order-final-summary-table.tpl' => 1,
),
),false)) {
function content_5dce7ac13a4b53_93914351 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<section id="order-summary-content" class="page-content page-order-confirmation">
<div class="row">
<div class="col-md-12">
<h4 class="h4 black"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please check your order before payment','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</h4>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h4 class="h4">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Addresses','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
<span class="step-edit step-to-addresses js-edit-addresses"><i class="material-icons edit">mode_edit</i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'edit','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</span>
</h4>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="card noshadow">
<div class="card-block">
<h4 class="h5 black addresshead"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your Delivery Address','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</h4>
<?php echo $_smarty_tpl->tpl_vars['customer']->value['addresses'][$_smarty_tpl->tpl_vars['cart']->value['id_address_delivery']]['formatted'];?>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card noshadow">
<div class="card-block">
<h4 class="h5 black addresshead"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your Invoice Address','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</h4>
<?php echo $_smarty_tpl->tpl_vars['customer']->value['addresses'][$_smarty_tpl->tpl_vars['cart']->value['id_address_invoice']]['formatted'];?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h4 class="h4">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shipping Method','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
<span class="step-edit step-to-delivery js-edit-delivery"><i class="material-icons edit">mode_edit</i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'edit','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</span>
</h4>
<div class="col-md-12 summary-selected-carrier">
<div class="row">
<div class="col-md-2">
<div class="logo-container">
<?php if ($_smarty_tpl->tpl_vars['selected_delivery_option']->value['logo']) {?>
<img src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['selected_delivery_option']->value['logo'], ENT_QUOTES, 'UTF-8');?>
" alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['selected_delivery_option']->value['name'], ENT_QUOTES, 'UTF-8');?>
">
<?php } else { ?>
&nbsp;
<?php }?>
</div>
</div>
<div class="col-md-4">
<span class="carrier-name"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['selected_delivery_option']->value['name'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<div class="col-md-4">
<span class="carrier-delay"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['selected_delivery_option']->value['delay'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<div class="col-md-2">
<span class="carrier-price"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['selected_delivery_option']->value['price'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6574069535dce7ac13a38d8_94209987', 'order_confirmation_table');
?>
</div>
</section>
<?php }
/* {block 'order_confirmation_table'} */
class Block_6574069535dce7ac13a38d8_94209987 extends Smarty_Internal_Block
{
public $subBlocks = array (
'order_confirmation_table' =>
array (
0 => 'Block_6574069535dce7ac13a38d8_94209987',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_subTemplateRender('file:checkout/_partials/order-final-summary-table.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('products'=>$_smarty_tpl->tpl_vars['cart']->value['products'],'products_count'=>$_smarty_tpl->tpl_vars['cart']->value['products_count'],'subtotals'=>$_smarty_tpl->tpl_vars['cart']->value['subtotals'],'totals'=>$_smarty_tpl->tpl_vars['cart']->value['totals'],'labels'=>$_smarty_tpl->tpl_vars['cart']->value['labels'],'add_product_link'=>true), 0, false);
?>
<?php
}
}
/* {/block 'order_confirmation_table'} */
}

View File

@@ -1,96 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:11
from '/var/www/clients/client1/web14/web/modules/easyloginascustomer/views/templates/hook/displayBackOfficeTop.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67878d2140_65056595',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4e8e78ce81f6464a68df1c18b35721579a4b4538' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/easyloginascustomer/views/templates/hook/displayBackOfficeTop.tpl',
1 => 1565339700,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67878d2140_65056595 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
>
var loginascustomer_url = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_url']->value,"htmlall","UTF-8" ));?>
';
var loginascustomer_token = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_token']->value,"htmlall","UTF-8" ));?>
';
var loginascustomer_employee_data_url = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_employee_data_url']->value,"htmlall","UTF-8" ));?>
';
var loginascustomer_new_tab = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_new_tab']->value,"htmlall","UTF-8" ));?>
';
<?php echo '</script'; ?>
>
<li class="dropdown hidden" id="loginascustomer_li_nav">
<a data-toggle="dropdown" class="dropdown-toggle notifs" href="javascript:void(0);">
<i class="material-icons">exit_to_app</i>
</a>
<div class="dropdown-menu notifs_dropdown" id="dropdown_loginascustomer">
<section class="notifs_panel" style="width:420px;">
<div class="notifs_panel_header">
<h3><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Login as Customer','mod'=>'easyloginascustomer'),$_smarty_tpl ) );?>
<a data-toggle="dropdown" class="dropdown-toggle notifs dropdown_loginascustomer_link" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_config_url']->value,'htmlall','UTF-8' ));?>
" style="float:right; text-align:right;">
<i class="icon-cogs" onclick="javascript:document.location.href = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_config_url']->value,'htmlall','UTF-8' ));?>
'"></i>
</a>
</h3>
</div>
<div class="loginascustomer_search">
<input type="text" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Search for a customer','mod'=>'easyloginascustomer'),$_smarty_tpl ) );?>
" value="" class="form-control" name="loginascustomer_search" id="loginascustomer_search">
</div>
<div id="loginascustomer_result">
<?php if (isset($_smarty_tpl->tpl_vars['loginascustomer_history']->value)) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['loginascustomer_history']->value, 'lh', false, NULL, 'myLoop', array (
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['lh']->value) {
?>
<div class="panel-heading loginascustomer_line">
<i class="icon-user"></i> <?php if (isset($_smarty_tpl->tpl_vars['lh']->value['company'])) {?><strong><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['company'],'htmlall','UTF-8' ));?>
</strong> <?php }
echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['firstname'],'htmlall','UTF-8' ));?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['lastname'],'htmlall','UTF-8' ));?>
[<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['id_customer'],'htmlall','UTF-8' ));?>
]&nbsp;-&nbsp;
<i class="icon-envelope"></i> <a class="dropdown_loginascustomer_link" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['url'],'htmlall','UTF-8' ));?>
"<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_new_tab']->value,'htmlall','UTF-8' ));?>
><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['email'],'htmlall','UTF-8' ));?>
</a>
<div class="panel-heading-action" style="float:right;">
<a class="dropdown_loginascustomer_link" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['lh']->value['url'],'htmlall','UTF-8' ));?>
"<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_new_tab']->value,'htmlall','UTF-8' ));?>
>
<i class="icon-chevron-circle-right"></i>
</a>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
</div>
</section>
</div>
</li>
</ul>
<?php }
}

View File

@@ -1,34 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:09
from '/var/www/clients/client1/web14/web/themes/classic/modules/ps_emailalerts/views/templates/hook/my-account-footer.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c14072b9_94657158',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4e941fbffa2dd5524ecb2527d4a4efe8c5e2a38c' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/modules/ps_emailalerts/views/templates/hook/my-account-footer.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67c14072b9_94657158 (Smarty_Internal_Template $_smarty_tpl) {
?>
<li>
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'module','name'=>'ps_emailalerts','controller'=>'account'),$_smarty_tpl ) );?>
" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My alerts','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My alerts','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</a>
</li>
<?php }
}

View File

@@ -1,147 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:54:00
from '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-add-to-cart.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67a8a2a583_65156063',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4f42b9a265bf2c02361e9f371431fe01f157975b' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-add-to-cart.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce67a8a2a583_65156063 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div class="product-add-to-cart">
<?php if (!$_smarty_tpl->tpl_vars['configuration']->value['is_catalog']) {?>
<span class="control-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Quantity','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</span>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14403784895dce67a8a260a0_55870130', 'product_quantity');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14030807345dce67a8a278b4_56654287', 'product_availability');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1436060615dce67a8a29338_93388505', 'product_minimal_quantity');
?>
<?php }?>
</div>
<?php }
/* {block 'product_quantity'} */
class Block_14403784895dce67a8a260a0_55870130 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_quantity' =>
array (
0 => 'Block_14403784895dce67a8a260a0_55870130',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="product-quantity clearfix">
<div class="qty">
<input
type="text"
name="qty"
id="quantity_wanted"
value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['quantity_wanted'], ENT_QUOTES, 'UTF-8');?>
"
class="input-group"
min="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['minimal_quantity'], ENT_QUOTES, 'UTF-8');?>
"
aria-label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Quantity','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
"
>
</div>
<div class="add">
<button
class="btn btn-primary add-to-cart"
data-button-action="add-to-cart"
type="submit"
<?php if (!$_smarty_tpl->tpl_vars['product']->value['add_to_cart_url']) {?>
disabled
<?php }?>
>
<i class="material-icons shopping-cart">&#xE547;</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add to cart','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</div>
</div>
<?php
}
}
/* {/block 'product_quantity'} */
/* {block 'product_availability'} */
class Block_14030807345dce67a8a278b4_56654287 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_availability' =>
array (
0 => 'Block_14030807345dce67a8a278b4_56654287',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<span id="product-availability">
<?php if ($_smarty_tpl->tpl_vars['product']->value['show_availability'] && $_smarty_tpl->tpl_vars['product']->value['availability_message']) {?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['availability'] == 'available') {?>
<i class="material-icons rtl-no-flip product-available">&#xE5CA;</i>
<?php } elseif ($_smarty_tpl->tpl_vars['product']->value['availability'] == 'last_remaining_items') {?>
<i class="material-icons product-last-items">&#xE002;</i>
<?php } else { ?>
<i class="material-icons product-unavailable">&#xE14B;</i>
<?php }?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['availability_message'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
</span>
<?php
}
}
/* {/block 'product_availability'} */
/* {block 'product_minimal_quantity'} */
class Block_1436060615dce67a8a29338_93388505 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_minimal_quantity' =>
array (
0 => 'Block_1436060615dce67a8a29338_93388505',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<p class="product-minimal-quantity">
<?php if ($_smarty_tpl->tpl_vars['product']->value['minimal_quantity'] > 1) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'The minimum purchase order quantity for the product is %quantity%.','d'=>'Shop.Theme.Checkout','sprintf'=>array('%quantity%'=>$_smarty_tpl->tpl_vars['product']->value['minimal_quantity'])),$_smarty_tpl ) );?>
<?php }?>
</p>
<?php
}
}
/* {/block 'product_minimal_quantity'} */
}

View File

@@ -1,163 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:14:49
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/steps/addresses.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7a99c3c273_22332886',
'has_nocache_code' => false,
'file_dependency' =>
array (
'51541c2791ca529a8ccc0abb7f36f868faca322d' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/steps/addresses.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:checkout/_partials/address-selector-block.tpl' => 2,
),
),false)) {
function content_5dce7a99c3c273_22332886 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_15554470585dce7a99c2fa09_15214385', 'step_content');
?>
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, 'checkout/_partials/steps/checkout-step.tpl');
}
/* {block 'step_content'} */
class Block_15554470585dce7a99c2fa09_15214385 extends Smarty_Internal_Block
{
public $subBlocks = array (
'step_content' =>
array (
0 => 'Block_15554470585dce7a99c2fa09_15214385',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="js-address-form">
<form
method="POST"
action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['urls']->value['pages']['order'], ENT_QUOTES, 'UTF-8');?>
"
data-refresh-url="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('entity'=>'order','params'=>array('ajax'=>1,'action'=>'addressForm')),$_smarty_tpl ) );?>
"
>
<?php if (!$_smarty_tpl->tpl_vars['use_same_address']->value) {?>
<h2 class="h4"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shipping Address','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</h2>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['use_same_address']->value && !$_smarty_tpl->tpl_vars['cart']->value['is_virtual']) {?>
<p>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'The selected address will be used both as your personal address (for invoice) and as your delivery address.','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</p>
<?php } elseif ($_smarty_tpl->tpl_vars['use_same_address']->value && $_smarty_tpl->tpl_vars['cart']->value['is_virtual']) {?>
<p>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'The selected address will be used as your personal address (for invoice).','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</p>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_delivery_address_form']->value) {?>
<div id="delivery-address">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['render'][0], array( array('file'=>'checkout/_partials/address-form.tpl','ui'=>$_smarty_tpl->tpl_vars['address_form']->value,'use_same_address'=>$_smarty_tpl->tpl_vars['use_same_address']->value,'type'=>"delivery",'form_has_continue_button'=>$_smarty_tpl->tpl_vars['form_has_continue_button']->value),$_smarty_tpl ) );?>
</div>
<?php } elseif (count($_smarty_tpl->tpl_vars['customer']->value['addresses']) > 0) {?>
<div id="delivery-addresses" class="address-selector js-address-selector">
<?php $_smarty_tpl->_subTemplateRender('file:checkout/_partials/address-selector-block.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('addresses'=>$_smarty_tpl->tpl_vars['customer']->value['addresses'],'name'=>"id_address_delivery",'selected'=>$_smarty_tpl->tpl_vars['id_address_delivery']->value,'type'=>"delivery",'interactive'=>!$_smarty_tpl->tpl_vars['show_delivery_address_form']->value && !$_smarty_tpl->tpl_vars['show_invoice_address_form']->value), 0, false);
?>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['delivery_address_error']->value)) {?>
<p class="alert alert-danger js-address-error" name="alert-delivery" id="id-failure-address-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['delivery_address_error']->value['id_address'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['delivery_address_error']->value['exception'], ENT_QUOTES, 'UTF-8');?>
</p>
<?php } else { ?>
<p class="alert alert-danger js-address-error" name="alert-delivery" style="display: none"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Your address is incomplete, please update it.",'d'=>"Shop.Notifications.Error"),$_smarty_tpl ) );?>
</p>
<?php }?>
<p class="add-address">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['new_address_delivery_url']->value, ENT_QUOTES, 'UTF-8');?>
"><i class="material-icons">&#xE145;</i><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'add new address','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
</p>
<?php if ($_smarty_tpl->tpl_vars['use_same_address']->value && !$_smarty_tpl->tpl_vars['cart']->value['is_virtual']) {?>
<p>
<a data-link-action="different-invoice-address" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['use_different_address_url']->value, ENT_QUOTES, 'UTF-8');?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Billing address differs from shipping address','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</a>
</p>
<?php }?>
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['use_same_address']->value) {?>
<h2 class="h4"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your Invoice Address','d'=>'Shop.Theme.Checkout'),$_smarty_tpl ) );?>
</h2>
<?php if ($_smarty_tpl->tpl_vars['show_invoice_address_form']->value) {?>
<div id="invoice-address">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['render'][0], array( array('file'=>'checkout/_partials/address-form.tpl','ui'=>$_smarty_tpl->tpl_vars['address_form']->value,'use_same_address'=>$_smarty_tpl->tpl_vars['use_same_address']->value,'type'=>"invoice",'form_has_continue_button'=>$_smarty_tpl->tpl_vars['form_has_continue_button']->value),$_smarty_tpl ) );?>
</div>
<?php } else { ?>
<div id="invoice-addresses" class="address-selector js-address-selector">
<?php $_smarty_tpl->_subTemplateRender('file:checkout/_partials/address-selector-block.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('addresses'=>$_smarty_tpl->tpl_vars['customer']->value['addresses'],'name'=>"id_address_invoice",'selected'=>$_smarty_tpl->tpl_vars['id_address_invoice']->value,'type'=>"invoice",'interactive'=>!$_smarty_tpl->tpl_vars['show_delivery_address_form']->value && !$_smarty_tpl->tpl_vars['show_invoice_address_form']->value), 0, true);
?>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['invoice_address_error']->value)) {?>
<p class="alert alert-danger js-address-error" name="alert-invoice" id="id-failure-address-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['invoice_address_error']->value['id_address'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['invoice_address_error']->value['exception'], ENT_QUOTES, 'UTF-8');?>
</p>
<?php } else { ?>
<p class="alert alert-danger js-address-error" name="alert-invoice" style="display: none"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Your address is incomplete, please update it.",'d'=>"Shop.Notifications.Error"),$_smarty_tpl ) );?>
</p>
<?php }?>
<p class="add-address">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['new_address_invoice_url']->value, ENT_QUOTES, 'UTF-8');?>
"><i class="material-icons">&#xE145;</i><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'add new address','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
</p>
<?php }?>
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['form_has_continue_button']->value) {?>
<div class="clearfix">
<button type="submit" class="btn btn-primary continue float-xs-right" name="confirm-addresses" value="1">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Continue','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
<input type="hidden" id="not-valid-addresses" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['not_valid_addresses']->value, ENT_QUOTES, 'UTF-8');?>
">
</div>
<?php }?>
</form>
</div>
<?php
}
}
/* {/block 'step_content'} */
}

View File

@@ -1,146 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/header.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678805ccc8_50028043',
'has_nocache_code' => false,
'file_dependency' =>
array (
'51fe9975435d34488f665fed4737c782a6d748f2' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/header.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678805ccc8_50028043 (Smarty_Internal_Template $_smarty_tpl) {
?><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="robots" content="NOFOLLOW, NOINDEX">
<link rel="icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
app_icon.png" />
<title><?php if ($_smarty_tpl->tpl_vars['meta_title']->value != '') {
echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
• <?php }
echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
</title>
<?php if (!isset($_smarty_tpl->tpl_vars['display_header_javascript']->value) || $_smarty_tpl->tpl_vars['display_header_javascript']->value) {?>
<?php echo '<script'; ?>
type="text/javascript">
var help_class_name = '<?php echo addcslashes($_smarty_tpl->tpl_vars['controller_name']->value,'\'');?>
';
var iso_user = '<?php echo addcslashes($_smarty_tpl->tpl_vars['iso_user']->value,'\'');?>
';
var lang_is_rtl = '<?php echo intval($_smarty_tpl->tpl_vars['lang_is_rtl']->value);?>
';
var full_language_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['full_language_code']->value,'\'');?>
';
var full_cldr_language_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['full_cldr_language_code']->value,'\'');?>
';
var country_iso_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['country_iso_code']->value,'\'');?>
';
var _PS_VERSION_ = '<?php echo addcslashes(@constant('_PS_VERSION_'),'\'');?>
';
var roundMode = <?php echo intval($_smarty_tpl->tpl_vars['round_mode']->value);?>
;
var youEditFieldFor = '';
<?php if (isset($_smarty_tpl->tpl_vars['shop_context']->value)) {?>
<?php if ($_smarty_tpl->tpl_vars['shop_context']->value == Shop::CONTEXT_ALL) {?>
youEditFieldFor = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This field will be modified for all your shops.','js'=>1),$_smarty_tpl ) );?>
';
<?php } elseif ($_smarty_tpl->tpl_vars['shop_context']->value == Shop::CONTEXT_GROUP) {?>
youEditFieldFor = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This field will be modified for all shops in this shop group:','js'=>1),$_smarty_tpl ) );?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php } else { ?>
youEditFieldFor = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This field will be modified for this shop:','js'=>1),$_smarty_tpl ) );?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php }?>
<?php }?>
var new_order_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A new order has been placed on your shop.','js'=>1),$_smarty_tpl ) );?>
';
var order_number_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order number:','js'=>1),$_smarty_tpl ) );?>
';
var total_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total:','js'=>1),$_smarty_tpl ) );?>
';
var from_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'From:','js'=>1),$_smarty_tpl ) );?>
';
var see_order_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'View this order','js'=>1),$_smarty_tpl ) );?>
';
var new_customer_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A new customer registered on your shop.','js'=>1),$_smarty_tpl ) );?>
';
var customer_name_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Customer name:','js'=>1),$_smarty_tpl ) );?>
';
var new_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A new message was posted on your shop.','js'=>1),$_smarty_tpl ) );?>
';
var see_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Read this message','js'=>1),$_smarty_tpl ) );?>
';
var token = '<?php echo addslashes($_smarty_tpl->tpl_vars['token']->value);?>
';
var token_admin_orders = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminOrders'),$_smarty_tpl ) );?>
';
var token_admin_customers = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminCustomers'),$_smarty_tpl ) );?>
';
var token_admin_customer_threads = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminCustomerThreads'),$_smarty_tpl ) );?>
';
var currentIndex = '<?php echo addcslashes($_smarty_tpl->tpl_vars['currentIndex']->value,'\'');?>
';
var employee_token = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0], array( array('tab'=>'AdminEmployees'),$_smarty_tpl ) );?>
';
var choose_language_translate = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Choose language','js'=>1),$_smarty_tpl ) );?>
';
var default_language = '<?php echo intval($_smarty_tpl->tpl_vars['default_language']->value);?>
';
var admin_modules_link = '<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink("AdminModulesSf",true,array('route'=>"admin_module_catalog_post")));?>
';
var tab_modules_list = '<?php if (isset($_smarty_tpl->tpl_vars['tab_modules_list']->value) && $_smarty_tpl->tpl_vars['tab_modules_list']->value) {
echo addslashes($_smarty_tpl->tpl_vars['tab_modules_list']->value);
}?>';
var update_success_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Update successful','js'=>1),$_smarty_tpl ) );?>
';
var errorLogin = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection.','js'=>1),$_smarty_tpl ) );?>
';
var search_product_msg = '<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Search for a product','js'=>1),$_smarty_tpl ) );?>
';
<?php echo '</script'; ?>
>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['css_files']->value)) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['css_files']->value, 'media', false, 'css_uri');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['css_uri']->value => $_smarty_tpl->tpl_vars['media']->value) {
?>
<link href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['css_uri']->value,'html','UTF-8' ));?>
" rel="stylesheet" type="text/css"/>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
<?php if ((isset($_smarty_tpl->tpl_vars['js_def']->value) && count($_smarty_tpl->tpl_vars['js_def']->value) || isset($_smarty_tpl->tpl_vars['js_files']->value) && count($_smarty_tpl->tpl_vars['js_files']->value))) {?>
<?php $_smarty_tpl->_subTemplateRender((@constant('_PS_ALL_THEMES_DIR_')).("javascript.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
}?>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value;?>
<?php }
}
}

View File

@@ -1,250 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:49:00
from '/var/www/clients/client1/web14/web/modules/installmentpayment/views/templates/hook/invoice.total-tab_fr.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce829c65f190_38204203',
'has_nocache_code' => false,
'file_dependency' =>
array (
'52e063a7a4067cd4d0157777876fbc35bd179b65' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/installmentpayment/views/templates/hook/invoice.total-tab_fr.tpl',
1 => 1563552900,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce829c65f190_38204203 (Smarty_Internal_Template $_smarty_tpl) {
?>
<table id="total-tab" width="100%">
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Products','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['products_before_discounts_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php if (!$_smarty_tpl->tpl_vars['order']->value->isVirtual()) {?>
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Shipping Cost','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php if ($_smarty_tpl->tpl_vars['footer']->value['shipping_tax_excl'] > 0) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['shipping_tax_excl']),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Free Shipping','pdf'=>true,'mod'=>'installmentpayment'),$_smarty_tpl ) );?>
<?php }?>
</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['footer']->value['product_discounts_tax_excl'] > 0) {?>
<!--<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Discounts','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['product_discounts_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>-->
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['order']->value->isVirtual()) {?>
<?php if (!isset($_smarty_tpl->tpl_vars['rest']->value) || $_smarty_tpl->tpl_vars['rest']->value == 0) {?>
<tr class="bold">
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total (Tax excl.)','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['total_paid_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['footer']->value['wrapping_tax_excl'] > 0) {?>
<tr>
<td class="grey">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Wrapping Cost','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['total_paid_tax_incl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['order']->value->total_products_wt-$_smarty_tpl->tpl_vars['order']->value->total_products > 0) {?>
<tr class="bold">
<td class="grey">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total Tax','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order']->value->total_products_wt-$_smarty_tpl->tpl_vars['order']->value->total_products),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
<tr class="bold big">
<td class="grey">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total TTC','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white">
<?php if (isset($_smarty_tpl->tpl_vars['rest']->value) && $_smarty_tpl->tpl_vars['rest']->value > 0) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['rest']->value+$_smarty_tpl->tpl_vars['paid']->value),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['footer']->value['total_paid_tax_incl']),$_smarty_tpl ) );?>
<?php }?>
</td>
</tr>
<?php if (isset($_smarty_tpl->tpl_vars['rest']->value) && $_smarty_tpl->tpl_vars['rest']->value > 0) {?>
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total déjà payé','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['paid']->value),$_smarty_tpl ) );?>
</td>
</tr>
<tr>
<td class="grey" width="70%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reste à payer','mod'=>'installmentpayment'),$_smarty_tpl ) );?>
</td>
<td class="white" width="30%">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['rest']->value),$_smarty_tpl ) );?>
</td>
</tr>
<?php }?>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:55:40
/* Smarty version 3.1.33, created on 2020-05-05 15:30:10
from 'module:gcorderformviewstemplates' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce761c962088_45225488',
'unifunc' => 'content_5eb16a622d11c4_06808993',
'has_nocache_code' => false,
'file_dependency' =>
array (
'56212a1dadecaeb82175bace09206b1fb5964d22' =>
array (
0 => 'module:gcorderformviewstemplates',
1 => 1561557240,
1 => 1574189435,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dce761c962088_45225488 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a622d11c4_06808993 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="gcorderform_block_left">
<h4 class="text-uppercase h6 hidden-sm-down"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Order quicker !','mod'=>'gcorderform'),$_smarty_tpl ) );?>

View File

@@ -1,55 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/shop_list.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd6788093f47_50538153',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5821cc26276af8199ffed2388d3740e0733bb79a' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/shop_list.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd6788093f47_50538153 (Smarty_Internal_Template $_smarty_tpl) {
if (isset($_smarty_tpl->tpl_vars['is_multishop']->value) && $_smarty_tpl->tpl_vars['is_multishop']->value && $_smarty_tpl->tpl_vars['shop_list']->value && (isset($_smarty_tpl->tpl_vars['multishop_context']->value) && $_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_GROUP || $_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_SHOP || $_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_ALL)) {?>
<div id="shop-list" class="shop-list dropdown ps-dropdown stores">
<button class="btn btn-link" type="button" data-toggle="dropdown">
<span class="selected-item">
<i class="material-icons visibility">visibility</i>
<?php if (!isset($_smarty_tpl->tpl_vars['current_shop_name']->value) || $_smarty_tpl->tpl_vars['current_shop_name']->value == '') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'All shops'),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['current_shop_name']->value;?>
<?php }?>
<i class="material-icons arrow-down">arrow_drop_down</i>
</span>
</button>
<div class="dropdown-menu dropdown-menu-right ps-dropdown-menu">
<?php echo $_smarty_tpl->tpl_vars['shop_list']->value;?>
</div>
</div>
<?php } else { ?>
<div class="shop-list">
<a class="link" id="header_shopname" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['base_url']->value,'html','UTF-8' ));?>
" target= "_blank">
<i class="material-icons">visibility</i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'View my shop'),$_smarty_tpl ) );?>
</a>
</div>
<?php }
}
}

View File

@@ -1,96 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 08:12:58
from '/var/www/clients/client1/web14/web/modules/dashgoals/views/templates/hook/dashboard_zone_two.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce4ffaa69f73_40066865',
'has_nocache_code' => false,
'file_dependency' =>
array (
'585f6fcfcaed35a28b5eccb86ee567bb0c4badd8' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/dashgoals/views/templates/hook/dashboard_zone_two.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:./config.tpl' => 1,
),
),false)) {
function content_5dce4ffaa69f73_40066865 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="clearfix"></div>
<?php echo '<script'; ?>
>
var currency_format = <?php echo intval($_smarty_tpl->tpl_vars['currency']->value->format);?>
;
var currency_sign = '<?php echo addslashes($_smarty_tpl->tpl_vars['currency']->value->sign);?>
';
var currency_blank = <?php echo intval($_smarty_tpl->tpl_vars['currency']->value->blank);?>
;
var priceDisplayPrecision = 0;
var dashgoals_year = <?php echo intval($_smarty_tpl->tpl_vars['goals_year']->value);?>
;
var dashgoals_ajax_link = '<?php echo addslashes($_smarty_tpl->tpl_vars['dashgoals_ajax_link']->value);?>
';
<?php echo '</script'; ?>
>
<section id="dashgoals" class="panel widget">
<header class="panel-heading">
<i class="icon-bar-chart"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Forecast','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
<span id="dashgoals_title" class="badge"><?php echo $_smarty_tpl->tpl_vars['goals_year']->value;?>
</span>
<span class="btn-group">
<a href="javascript:void(0);" onclick="dashgoals_changeYear('backward');" class="btn btn-default btn-xs"><i class="icon-backward"></i></a>
<a href="javascript:void(0);" onclick="dashgoals_changeYear('forward');" class="btn btn-default btn-xs"><i class="icon-forward"></i></a>
</span>
<span class="panel-heading-action">
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="toggleDashConfig('dashgoals');" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Configure','d'=>'Admin.Global'),$_smarty_tpl ) );?>
">
<i class="process-icon-configure"></i>
</a>
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="refreshDashboard('dashgoals');" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Refresh','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
">
<i class="process-icon-refresh"></i>
</a>
</span>
</header>
<?php $_smarty_tpl->_subTemplateRender('file:./config.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<section class="loading">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="options" onchange="selectDashgoalsChart('traffic');"/><i class="icon-circle" style="color:<?php echo $_smarty_tpl->tpl_vars['colors']->value[0];?>
"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Traffic','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
</label>
<label class="btn btn-default">
<input type="radio" name="options" onchange="selectDashgoalsChart('conversion');"/><i class="icon-circle" style="color:<?php echo $_smarty_tpl->tpl_vars['colors']->value[1];?>
"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Conversion','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
</label>
<label class="btn btn-default">
<input type="radio" name="options" onchange="selectDashgoalsChart('avg_cart_value');"/><i class="icon-circle" style="color:<?php echo $_smarty_tpl->tpl_vars['colors']->value[2];?>
"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Average Cart Value','d'=>'Modules.Dashgoals.Admin'),$_smarty_tpl ) );?>
</label>
<label class="btn btn-default active">
<input type="radio" name="options" onchange="selectDashgoalsChart('sales');"/><i class="icon-circle" style="color:<?php echo $_smarty_tpl->tpl_vars['colors']->value[3];?>
"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sales','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
</div>
<div id="dash_goals_chart1" class="chart with-transitions">
<svg></svg>
</div>
</section>
</section>
<?php }
}

View File

@@ -1,64 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 19:19:02
from '/var/www/clients/client1/web14/web/themes/classic/templates/_partials/form-errors.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd9a964b3bb9_98480506',
'has_nocache_code' => false,
'file_dependency' =>
array (
'591eb9d3af2a77fe21f9f36b726a15641dbdce0a' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/_partials/form-errors.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd9a964b3bb9_98480506 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
if (count($_smarty_tpl->tpl_vars['errors']->value)) {?>
<div class="help-block">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6234463195dcd9a964b2d17_32251376', 'form_errors');
?>
</div>
<?php }
}
/* {block 'form_errors'} */
class Block_6234463195dcd9a964b2d17_32251376 extends Smarty_Internal_Block
{
public $subBlocks = array (
'form_errors' =>
array (
0 => 'Block_6234463195dcd9a964b2d17_32251376',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<ul>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['errors']->value, 'error');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['error']->value) {
?>
<li class="alert alert-danger"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['error']->value, ENT_QUOTES, 'UTF-8');?>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php
}
}
/* {/block 'form_errors'} */
}

View File

@@ -1,274 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:30:34
from '/var/www/clients/client1/web14/web/pdf/invoice.product-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce703ab26014_47664272',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5957b5f42b53465a3badac9c9ab13bb34af79c47' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.product-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce703ab26014_47664272 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/clients/client1/web14/web/vendor/smarty/smarty/libs/plugins/function.cycle.php','function'=>'smarty_function_cycle',),));
?>
<table class="product" width="100%" cellpadding="4" cellspacing="0">
<thead>
<tr>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['reference']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reference','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['product']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Product','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['tax_code']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Tax Rate','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php if (isset($_smarty_tpl->tpl_vars['layout']->value['before_discount'])) {?>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['unit_price_tax_excl']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Base price','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Tax excl.)','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<?php }?>
<th class="product header-right small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['unit_price_tax_excl']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Unit Price','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Tax excl.)','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['quantity']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Qty','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
<th class="product header-right small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['total_tax_excl']['width'];?>
%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Total','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
<br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(Tax excl.)','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
</tr>
</thead>
<tbody>
<!-- PRODUCTS -->
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_details']->value, 'order_detail');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['order_detail']->value) {
?>
<?php echo smarty_function_cycle(array('values'=>array("color_line_even","color_line_odd"),'assign'=>'bgcolor_class'),$_smarty_tpl);?>
<tr class="product <?php echo $_smarty_tpl->tpl_vars['bgcolor_class']->value;?>
">
<td class="product center">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_reference'];?>
</td>
<td class="product left">
<?php if ($_smarty_tpl->tpl_vars['display_product_images']->value) {?>
<table width="100%">
<tr>
<td width="15%">
<?php if (isset($_smarty_tpl->tpl_vars['order_detail']->value['image']) && $_smarty_tpl->tpl_vars['order_detail']->value['image']->id) {?>
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['image_tag'];?>
<?php }?>
</td>
<td width="5%">&nbsp;</td>
<td width="80%">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_name'];?>
</td>
</tr>
</table>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_name'];?>
<?php }?>
</td>
<td class="product center">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['order_detail_tax_label'];?>
</td>
<?php if (isset($_smarty_tpl->tpl_vars['layout']->value['before_discount'])) {?>
<td class="product center">
<?php if (isset($_smarty_tpl->tpl_vars['order_detail']->value['unit_price_tax_excl_before_specific_price'])) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['unit_price_tax_excl_before_specific_price']),$_smarty_tpl ) );?>
<?php } else { ?>
--
<?php }?>
</td>
<?php }?>
<td class="product right">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['unit_price_tax_excl_including_ecotax']),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['order_detail']->value['ecotax_tax_excl'] > 0) {?>
<br>
<small><?php ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['ecotax_tax_excl']),$_smarty_tpl ) );
$_prefixVariable1 = ob_get_clean();
ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'ecotax: %s','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );
$_prefixVariable2 = ob_get_clean();
echo sprintf($_prefixVariable2,$_prefixVariable1);?>
</small>
<?php }?>
</td>
<td class="product center">
<?php echo $_smarty_tpl->tpl_vars['order_detail']->value['product_quantity'];?>
</td>
<td class="product right">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['order_detail']->value['total_price_tax_excl_including_ecotax']),$_smarty_tpl ) );?>
</td>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_detail']->value['customizedDatas'], 'customizationPerAddress');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customizationPerAddress']->value) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customizationPerAddress']->value, 'customization', false, 'customizationId');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customizationId']->value => $_smarty_tpl->tpl_vars['customization']->value) {
?>
<tr class="customization_data <?php echo $_smarty_tpl->tpl_vars['bgcolor_class']->value;?>
">
<td class="center"> &nbsp;</td>
<td>
<?php if ((($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_TEXTFIELD_')] !== null )) && count($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_TEXTFIELD_')]) > 0) {?>
<table style="width: 100%;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_TEXTFIELD_')], 'customization_infos');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['customization_infos']->value) {
?>
<tr>
<td style="width: 30%;">
<?php ob_start();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%s:','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );
$_prefixVariable3 = ob_get_clean();
echo sprintf($_prefixVariable3,$_smarty_tpl->tpl_vars['customization_infos']->value['name']);?>
</td>
<td><?php if ((int)$_smarty_tpl->tpl_vars['customization_infos']->value['id_module']) {
echo $_smarty_tpl->tpl_vars['customization_infos']->value['value'];
} else {
echo $_smarty_tpl->tpl_vars['customization_infos']->value['value'];
}?></td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
<?php }?>
<?php if ((($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_FILE_')] !== null )) && count($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_FILE_')]) > 0) {?>
<table style="width: 100%;">
<tr>
<td style="width: 70%;"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'image(s):','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
<td><?php echo count($_smarty_tpl->tpl_vars['customization']->value['datas'][@constant('_CUSTOMIZE_FILE_')]);?>
</td>
</tr>
</table>
<?php }?>
</td>
<td class="center">
(<?php if ($_smarty_tpl->tpl_vars['customization']->value['quantity'] == 0) {?>1<?php } else {
echo $_smarty_tpl->tpl_vars['customization']->value['quantity'];
}?>)
</td>
<?php $_smarty_tpl->_assignInScope('end', ($_smarty_tpl->tpl_vars['layout']->value['_colCount']-3));?>
<?php
$_smarty_tpl->tpl_vars['var'] = new Smarty_Variable(null, $_smarty_tpl->isRenderingCache);$_smarty_tpl->tpl_vars['var']->step = 1;$_smarty_tpl->tpl_vars['var']->total = (int) ceil(($_smarty_tpl->tpl_vars['var']->step > 0 ? $_smarty_tpl->tpl_vars['end']->value+1 - (0) : 0-($_smarty_tpl->tpl_vars['end']->value)+1)/abs($_smarty_tpl->tpl_vars['var']->step));
if ($_smarty_tpl->tpl_vars['var']->total > 0) {
for ($_smarty_tpl->tpl_vars['var']->value = 0, $_smarty_tpl->tpl_vars['var']->iteration = 1;$_smarty_tpl->tpl_vars['var']->iteration <= $_smarty_tpl->tpl_vars['var']->total;$_smarty_tpl->tpl_vars['var']->value += $_smarty_tpl->tpl_vars['var']->step, $_smarty_tpl->tpl_vars['var']->iteration++) {
$_smarty_tpl->tpl_vars['var']->first = $_smarty_tpl->tpl_vars['var']->iteration === 1;$_smarty_tpl->tpl_vars['var']->last = $_smarty_tpl->tpl_vars['var']->iteration === $_smarty_tpl->tpl_vars['var']->total;?>
<td class="center">
--
</td>
<?php }
}
?>
</tr>
<!--if !$smarty.foreach.custo_foreach.last-->
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<!-- END PRODUCTS -->
<!-- CART RULES -->
<?php $_smarty_tpl->_assignInScope('shipping_discount_tax_incl', "0");?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cart_rules']->value, 'cart_rule', false, NULL, 'cart_rules_loop', array (
'first' => true,
'index' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['cart_rule']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['index'];
?>
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_cart_rules_loop']->value['first'] : null)) {?>
<tr class="discount">
<th class="header" colspan="<?php echo $_smarty_tpl->tpl_vars['layout']->value['_colCount'];?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Discounts','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</th>
</tr>
<?php }?>
<tr class="discount">
<td class="white right" colspan="<?php echo $_smarty_tpl->tpl_vars['layout']->value['_colCount']-1;?>
">
<?php echo $_smarty_tpl->tpl_vars['cart_rule']->value['name'];?>
</td>
<td class="right white">
- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['order']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['cart_rule']->value['value_tax_excl']),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<?php }
}

View File

@@ -1,112 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:11
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/controllers/modules/login_addons.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67878df2b4_15497559',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5986d3ac9f4309000c9def35283f7fca26395194' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/controllers/modules/login_addons.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67878df2b4_15497559 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="modal-body">
<?php if ($_smarty_tpl->tpl_vars['add_permission']->value == '1') {?>
<?php if (!isset($_smarty_tpl->tpl_vars['logged_on_addons']->value) || !$_smarty_tpl->tpl_vars['logged_on_addons']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['check_url_fopen']->value == 'ko' || $_smarty_tpl->tpl_vars['check_openssl']->value == 'ko') {?>
<div class="alert alert-warning">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If you want to be able to fully use the AdminModules panel and have free modules available, you should enable the following configuration on your server:'),$_smarty_tpl ) );?>
<br />
<?php if ($_smarty_tpl->tpl_vars['check_url_fopen']->value == 'ko') {?>- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Enable PHP\'s allow_url_fopen setting'),$_smarty_tpl ) );?>
<br /><?php }?>
<?php if ($_smarty_tpl->tpl_vars['check_openssl']->value == 'ko') {?>- <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Enable PHP\'s OpenSSL extension'),$_smarty_tpl ) );?>
<br /><?php }?>
</div>
<?php } else { ?>
<!--start addons login-->
<form id="addons_login_form" method="post" >
<div>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['addons_register_link']->value,'html','UTF-8' ));?>
"><img class="img-responsive center-block" src="<?php echo $_smarty_tpl->tpl_vars['img_base_path']->value;?>
themes/default/img/prestashop-addons-logo.png" alt="Logo PrestaShop Addons"/></a>
<h3 class="text-center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Connect your shop to PrestaShop's marketplace in order to automatically import all your Addons purchases."),$_smarty_tpl ) );?>
</h3>
<hr />
</div>
<div class="row">
<div class="col-md-6">
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Don't have an account?"),$_smarty_tpl ) );?>
</h4>
<p class='text-justify'><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Discover the Power of PrestaShop Addons! Explore the PrestaShop Official Marketplace and find over 3 500 innovative modules and themes that optimize conversion rates, increase traffic, build customer loyalty and maximize your productivity"),$_smarty_tpl ) );?>
</p>
</div>
<div class="col-md-6">
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Connect to PrestaShop Addons'),$_smarty_tpl ) );?>
</h4>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="icon-user"></i></span>
</div>
<input id="username_addons" name="username_addons" type="text" value="" autocomplete="off" class="form-control ac_input">
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="icon-key"></i></span>
</div>
<input id="password_addons" name="password_addons" type="password" value="" autocomplete="off" class="form-control ac_input">
</div>
<a class="btn btn-link float-right _blank" href="<?php echo $_smarty_tpl->tpl_vars['addons_forgot_password_link']->value;?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'I forgot my password'),$_smarty_tpl ) );?>
</a>
<br>
</div>
</div>
</div>
<div class="row row-padding-top">
<div class="col-md-6">
<div class="form-group">
<a class="btn btn-default btn-block btn-lg _blank" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['addons_register_link']->value,'html','UTF-8' ));?>
">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>"Create an Account"),$_smarty_tpl ) );?>
<i class="icon-external-link"></i>
</a>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<button id="addons_login_button" class="btn btn-primary btn-block btn-lg" type="submit">
<i class="icon-unlock"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sign in'),$_smarty_tpl ) );?>
</button>
</div>
</div>
</div>
<div id="addons_loading" class="help-block"></div>
</form>
<!--end addons login-->
<?php }?>
<?php }
}?>
</div>
<?php }
}

View File

@@ -1,47 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 11:07:10
from '/var/www/clients/client1/web14/web/modules/easyloginascustomer/views/templates/hook/displayAdminCustomers.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd26d4eeb3446_50013281',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5991725a5aaa700f8d1468f6169fed2bde91cd7b' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/easyloginascustomer/views/templates/hook/displayAdminCustomers.tpl',
1 => 1565339700,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd26d4eeb3446_50013281 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="col-lg-6">
<div class="panel clearfix">
<div class="panel-heading">
<i class="icon-signin"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Login as Customer','mod'=>'easyloginascustomer'),$_smarty_tpl ) );?>
<div class="panel-heading-action" style="padding:7px;">
<a data-toggle="dropdown" class="dropdown-toggle notifs dropdown_loginascustomer_link" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_config_url']->value,'htmlall','UTF-8' ));?>
">
<i class="icon-cogs" onclick="javascript:document.location.href = '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_config_url']->value,'htmlall','UTF-8' ));?>
'"></i>
</a>
</div>
</div>
<a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_url']->value,'html' ));?>
" class="btn btn-default" <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_new_tab']->value,'htmlall','UTF-8' ));?>
>
<i class="icon-user"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Login as','mod'=>'easyloginascustomer'),$_smarty_tpl ) );?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['loginascustomer_name']->value,'htmlall','UTF-8' ));?>
</a>
</div>
</div>
<?php }
}

View File

@@ -1,54 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:14:49
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/steps/unreachable.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7a99c4e411_34463913',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5cd13c31b93ebdcdc963ec2627dc9c9176f87130' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/steps/unreachable.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7a99c4e411_34463913 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_11162652835dce7a99c4dbd4_88753747', 'step');
?>
<?php }
/* {block 'step'} */
class Block_11162652835dce7a99c4dbd4_88753747 extends Smarty_Internal_Block
{
public $subBlocks = array (
'step' =>
array (
0 => 'Block_11162652835dce7a99c4dbd4_88753747',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<section class="checkout-step -unreachable" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['identifier']->value, ENT_QUOTES, 'UTF-8');?>
">
<h1 class="step-title h3">
<span class="step-number"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['position']->value, ENT_QUOTES, 'UTF-8');?>
</span> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['title']->value, ENT_QUOTES, 'UTF-8');?>
</h1>
</section>
<?php
}
}
/* {/block 'step'} */
}

View File

@@ -1,32 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 11:09:53
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list_action_delete.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd26df1b6cf29_03424178',
'has_nocache_code' => false,
'file_dependency' =>
array (
'625656eb93ae915292acee5f9678ada87cb5ca56' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/list/list_action_delete.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd26df1b6cf29_03424178 (Smarty_Internal_Template $_smarty_tpl) {
?><a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['href']->value,'html','UTF-8' ));?>
"<?php if (isset($_smarty_tpl->tpl_vars['confirm']->value)) {?> onclick="if (confirm('<?php echo $_smarty_tpl->tpl_vars['confirm']->value;?>
')){return true;}else{event.stopPropagation(); event.preventDefault();};"<?php }?> title="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action']->value,'html','UTF-8' ));?>
" class="delete">
<i class="icon-trash"></i> <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['action']->value,'html','UTF-8' ));?>
</a>
<?php }
}

View File

@@ -1,73 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 20:07:45
from 'module:pscontactinfopscontactinf' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcda6016779f6_31400011',
'has_nocache_code' => false,
'file_dependency' =>
array (
'628089b29e2c5fb69de1c5694b088f988b830ba7' =>
array (
0 => 'module:pscontactinfopscontactinf',
1 => 1561472940,
2 => 'module',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcda6016779f6_31400011 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="contact-rich">
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Store information','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
</h4>
<div class="block">
<div class="icon"><i class="material-icons">&#xE55F;</i></div>
<div class="data"><?php echo $_smarty_tpl->tpl_vars['contact_infos']->value['address']['formatted'];?>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['contact_infos']->value['phone']) {?>
<hr/>
<div class="block">
<div class="icon"><i class="material-icons">&#xE0CD;</i></div>
<div class="data">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Call us:','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
<br/>
<a href="tel:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['contact_infos']->value['phone'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['contact_infos']->value['phone'], ENT_QUOTES, 'UTF-8');?>
</a>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['contact_infos']->value['fax']) {?>
<hr/>
<div class="block">
<div class="icon"><i class="material-icons">&#xE0DF;</i></div>
<div class="data">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Fax:','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
<br/>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['contact_infos']->value['fax'], ENT_QUOTES, 'UTF-8');?>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['contact_infos']->value['email']) {?>
<hr/>
<div class="block">
<div class="icon"><i class="material-icons">&#xE158;</i></div>
<div class="data email">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Email us:','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
<br/>
</div>
<a href="mailto:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['contact_infos']->value['email'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['contact_infos']->value['email'], ENT_QUOTES, 'UTF-8');?>
</a>
</div>
<?php }?>
</div>
<?php }
}

View File

@@ -1,50 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:49:00
from '/var/www/clients/client1/web14/web/pdf/invoice.payment-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce829c64f4f8_72630609',
'has_nocache_code' => false,
'file_dependency' =>
array (
'635b529dd584bf3604548d0db2a9250952b9ae7a' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.payment-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce829c64f4f8_72630609 (Smarty_Internal_Template $_smarty_tpl) {
?><table id="payment-tab" width="100%">
<tr>
<td class="payment center small grey bold" width="44%"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Payment Method','d'=>'Shop.Pdf','pdf'=>'true'),$_smarty_tpl ) );?>
</td>
<td class="payment left white" width="56%">
<table width="100%" border="0">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order_invoice']->value->getOrderPaymentCollection(), 'payment');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['payment']->value) {
?>
<tr>
<td class="right small"><?php echo $_smarty_tpl->tpl_vars['payment']->value->payment_method;?>
</td>
<td class="right small"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('currency'=>$_smarty_tpl->tpl_vars['payment']->value->id_currency,'price'=>$_smarty_tpl->tpl_vars['payment']->value->amount),$_smarty_tpl ) );?>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</td>
</tr>
</table>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:09
/* Smarty version 3.1.33, created on 2020-05-05 15:29:55
from 'module:psbannerpsbanner.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c1298854_61524090',
'unifunc' => 'content_5eb16a538afa05_99200630',
'has_nocache_code' => false,
'file_dependency' =>
array (
'64034093fbda864710a2c0f526b37f921e53ee39' =>
array (
0 => 'module:psbannerpsbanner.tpl',
1 => 1561472940,
1 => 1574190549,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dcd67c1298854_61524090 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a538afa05_99200630 (Smarty_Internal_Template $_smarty_tpl) {
?><a class="banner" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['banner_link']->value, ENT_QUOTES, 'UTF-8');?>
" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['banner_desc']->value, ENT_QUOTES, 'UTF-8');?>
">

View File

@@ -1,71 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:38:32
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/cart-detailed-actions.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce72188857b3_04273814',
'has_nocache_code' => false,
'file_dependency' =>
array (
'647c91ce43c6fbb8b9ecf047a940cc7c5757bfcd' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/_partials/cart-detailed-actions.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce72188857b3_04273814 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_9500013445dce7218883326_08501233', 'cart_detailed_actions');
?>
<?php }
/* {block 'cart_detailed_actions'} */
class Block_9500013445dce7218883326_08501233 extends Smarty_Internal_Block
{
public $subBlocks = array (
'cart_detailed_actions' =>
array (
0 => 'Block_9500013445dce7218883326_08501233',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="checkout cart-detailed-actions card-block">
<?php if ($_smarty_tpl->tpl_vars['cart']->value['minimalPurchaseRequired']) {?>
<div class="alert alert-warning" role="alert">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cart']->value['minimalPurchaseRequired'], ENT_QUOTES, 'UTF-8');?>
</div>
<div class="text-sm-center">
<button type="button" class="btn btn-primary disabled" disabled><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Proceed to checkout','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</div>
<?php } elseif (empty($_smarty_tpl->tpl_vars['cart']->value['products'])) {?>
<div class="text-sm-center">
<button type="button" class="btn btn-primary disabled" disabled><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Proceed to checkout','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</div>
<?php } else { ?>
<div class="text-sm-center">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['urls']->value['pages']['order'], ENT_QUOTES, 'UTF-8');?>
" class="btn btn-primary"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Proceed to checkout','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayExpressCheckout'),$_smarty_tpl ) );?>
</div>
<?php }?>
</div>
<?php
}
}
/* {/block 'cart_detailed_actions'} */
}

View File

@@ -1,49 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/warning_messages.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67880ce885_89514124',
'has_nocache_code' => false,
'file_dependency' =>
array (
'664d8d19ddeb2a60e05cee86eaeb97dd2bc3eced' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/warning_messages.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67880ce885_89514124 (Smarty_Internal_Template $_smarty_tpl) {
if (count($_smarty_tpl->tpl_vars['warnings']->value)) {?>
<div class="bootstrap">
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value) > 1) {?>
<h4><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There are %d warnings:','sprintf'=>array(count($_smarty_tpl->tpl_vars['warnings']->value))),$_smarty_tpl ) );?>
</h4>
<?php }?>
<ul class="list-unstyled">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['warnings']->value, 'warning');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['warning']->value) {
?>
<li><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
</li>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</div>
</div>
<?php }
}
}

View File

@@ -1,72 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:18
from '/var/www/clients/client1/web14/web/themes/javascript.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678e0f1102_24089031',
'has_nocache_code' => false,
'file_dependency' =>
array (
'67eb293761fd111e74f3751661cc49fe768213d5' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/javascript.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678e0f1102_24089031 (Smarty_Internal_Template $_smarty_tpl) {
if (isset($_smarty_tpl->tpl_vars['js_def']->value) && is_array($_smarty_tpl->tpl_vars['js_def']->value) && count($_smarty_tpl->tpl_vars['js_def']->value)) {
echo '<script'; ?>
type="text/javascript">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['js_def']->value, 'def', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['def']->value) {
?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'json_encode' ][ 0 ], array( $_smarty_tpl->tpl_vars['def']->value ));?>
;
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
echo '</script'; ?>
>
<?php }
if (isset($_smarty_tpl->tpl_vars['js_files']->value) && count($_smarty_tpl->tpl_vars['js_files']->value)) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['js_files']->value, 'js_uri', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['js_uri']->value) {
echo '<script'; ?>
type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['js_uri']->value;?>
"><?php echo '</script'; ?>
>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
if (isset($_smarty_tpl->tpl_vars['js_inline']->value) && count($_smarty_tpl->tpl_vars['js_inline']->value)) {
echo '<script'; ?>
type="text/javascript">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['js_inline']->value, 'inline', false, 'k');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['inline']->value) {
echo $_smarty_tpl->tpl_vars['inline']->value;?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
echo '</script'; ?>
>
<?php }
}
}

View File

@@ -1,240 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:54:00
from '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-prices.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67a89e1579_19911663',
'has_nocache_code' => false,
'file_dependency' =>
array (
'68da704eaa3d960d6373b53b0fec4df100ca2e5d' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/product-prices.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce67a89e1579_19911663 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
if ($_smarty_tpl->tpl_vars['product']->value['show_price']) {?>
<div class="product-prices">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4234743515dce67a89d1352_08230011', 'product_discount');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_15920880945dce67a89d52d9_67021281', 'product_price');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8348528385dce67a89d9aa7_57241037', 'product_without_taxes');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4588385485dce67a89dabb8_26900736', 'product_pack_price');
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19563388665dce67a89db9c6_33513343', 'product_ecotax');
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"weight",'hook_origin'=>'product_sheet'),$_smarty_tpl ) );?>
<div class="tax-shipping-delivery-label">
<?php if ($_smarty_tpl->tpl_vars['configuration']->value['display_taxes_label']) {?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['labels']['tax_long'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"price"),$_smarty_tpl ) );?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"after_price"),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['additional_delivery_times'] == 1) {?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['delivery_information']) {?>
<span class="delivery-information"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['delivery_information'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php }?>
<?php } elseif ($_smarty_tpl->tpl_vars['product']->value['additional_delivery_times'] == 2) {?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['quantity'] > 0) {?>
<span class="delivery-information"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['delivery_in_stock'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['product']->value['quantity'] <= 0 && $_smarty_tpl->tpl_vars['product']->value['add_to_cart_url']) {?>
<span class="delivery-information"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['delivery_out_stock'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php }?>
<?php }?>
</div>
</div>
<?php }
}
/* {block 'product_discount'} */
class Block_4234743515dce67a89d1352_08230011 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_discount' =>
array (
0 => 'Block_4234743515dce67a89d1352_08230011',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
<div class="product-discount">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayProductPriceBlock','product'=>$_smarty_tpl->tpl_vars['product']->value,'type'=>"old_price"),$_smarty_tpl ) );?>
<span class="regular-price"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['regular_price'], ENT_QUOTES, 'UTF-8');?>
</span>
</div>
<?php }?>
<?php
}
}
/* {/block 'product_discount'} */
/* {block 'product_unit_price'} */
class Block_6192785255dce67a89d8862_31125033 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['displayUnitPrice']->value) {?>
<p class="product-unit-price sub"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(%unit_price%)','d'=>'Shop.Theme.Catalog','sprintf'=>array('%unit_price%'=>$_smarty_tpl->tpl_vars['product']->value['unit_price_full'])),$_smarty_tpl ) );?>
</p>
<?php }?>
<?php
}
}
/* {/block 'product_unit_price'} */
/* {block 'product_price'} */
class Block_15920880945dce67a89d52d9_67021281 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_price' =>
array (
0 => 'Block_15920880945dce67a89d52d9_67021281',
),
'product_unit_price' =>
array (
0 => 'Block_6192785255dce67a89d8862_31125033',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div
class="product-price h5 <?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>has-discount<?php }?>"
itemprop="offers"
itemscope
itemtype="https://schema.org/Offer"
>
<link itemprop="availability" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['seo_availability'], ENT_QUOTES, 'UTF-8');?>
"/>
<meta itemprop="priceCurrency" content="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['currency']->value['iso_code'], ENT_QUOTES, 'UTF-8');?>
">
<div class="current-price">
<span itemprop="price" content="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['price_amount'], ENT_QUOTES, 'UTF-8');?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value['price'], ENT_QUOTES, 'UTF-8');?>
</span>
<?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['discount_type'] === 'percentage') {?>
<span class="discount discount-percentage"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save %percentage%','d'=>'Shop.Theme.Catalog','sprintf'=>array('%percentage%'=>$_smarty_tpl->tpl_vars['product']->value['discount_percentage_absolute'])),$_smarty_tpl ) );?>
</span>
<?php } else { ?>
<span class="discount discount-amount">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save %amount%','d'=>'Shop.Theme.Catalog','sprintf'=>array('%amount%'=>$_smarty_tpl->tpl_vars['product']->value['discount_to_display'])),$_smarty_tpl ) );?>
</span>
<?php }?>
<?php }?>
</div>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6192785255dce67a89d8862_31125033', 'product_unit_price', $this->tplIndex);
?>
</div>
<?php
}
}
/* {/block 'product_price'} */
/* {block 'product_without_taxes'} */
class Block_8348528385dce67a89d9aa7_57241037 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_without_taxes' =>
array (
0 => 'Block_8348528385dce67a89d9aa7_57241037',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['priceDisplay']->value == 2) {?>
<p class="product-without-taxes"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'%price% tax excl.','d'=>'Shop.Theme.Catalog','sprintf'=>array('%price%'=>$_smarty_tpl->tpl_vars['product']->value['price_tax_exc'])),$_smarty_tpl ) );?>
</p>
<?php }?>
<?php
}
}
/* {/block 'product_without_taxes'} */
/* {block 'product_pack_price'} */
class Block_4588385485dce67a89dabb8_26900736 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_pack_price' =>
array (
0 => 'Block_4588385485dce67a89dabb8_26900736',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['displayPackPrice']->value) {?>
<p class="product-pack-price"><span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Instead of %price%','d'=>'Shop.Theme.Catalog','sprintf'=>array('%price%'=>$_smarty_tpl->tpl_vars['noPackPrice']->value)),$_smarty_tpl ) );?>
</span></p>
<?php }?>
<?php
}
}
/* {/block 'product_pack_price'} */
/* {block 'product_ecotax'} */
class Block_19563388665dce67a89db9c6_33513343 extends Smarty_Internal_Block
{
public $subBlocks = array (
'product_ecotax' =>
array (
0 => 'Block_19563388665dce67a89db9c6_33513343',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['ecotax']['amount'] > 0) {?>
<p class="price-ecotax"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Including %amount% for ecotax','d'=>'Shop.Theme.Catalog','sprintf'=>array('%amount%'=>$_smarty_tpl->tpl_vars['product']->value['ecotax']['value'])),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['product']->value['has_discount']) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'(not impacted by the discount)','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
<?php }?>
</p>
<?php }?>
<?php
}
}
/* {/block 'product_ecotax'} */
}

View File

@@ -1,42 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:12
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/confirmation_messages.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67880ca564_13870354',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6915371fcfbb7a6f7bebf801cab36623d2f29a34' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/components/layout/confirmation_messages.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd67880ca564_13870354 (Smarty_Internal_Template $_smarty_tpl) {
if (isset($_smarty_tpl->tpl_vars['confirmations']->value) && count($_smarty_tpl->tpl_vars['confirmations']->value) && $_smarty_tpl->tpl_vars['confirmations']->value) {?>
<div class="bootstrap">
<div class="alert alert-success" style="display:block;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['confirmations']->value, 'conf');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['conf']->value) {
?>
<?php echo $_smarty_tpl->tpl_vars['conf']->value;?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
<?php }
}
}

View File

@@ -1,81 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 11:07:37
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/form/form_group.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd26d69d97119_66146248',
'has_nocache_code' => false,
'file_dependency' =>
array (
'699f4ffd0cad95ecb159b1d40c102462e55f2a88' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/helpers/form/form_group.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dd26d69d97119_66146248 (Smarty_Internal_Template $_smarty_tpl) {
if (count($_smarty_tpl->tpl_vars['groups']->value) && isset($_smarty_tpl->tpl_vars['groups']->value)) {?>
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered">
<thead>
<tr>
<th class="fixed-width-xs">
<span class="title_box">
<input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" />
</span>
</th>
<th class="fixed-width-xs"><span class="title_box"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'ID','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</span></th>
<th>
<span class="title_box">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Group name'),$_smarty_tpl ) );?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['groups']->value, 'group', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['group']->value) {
?>
<tr>
<td>
<?php $_smarty_tpl->_assignInScope('id_checkbox', (('groupBox').('_')).($_smarty_tpl->tpl_vars['group']->value['id_group']));?>
<input type="checkbox" name="groupBox[]" class="groupBox" id="<?php echo $_smarty_tpl->tpl_vars['id_checkbox']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
" <?php if ($_smarty_tpl->tpl_vars['fields_value']->value[$_smarty_tpl->tpl_vars['id_checkbox']->value]) {?>checked="checked"<?php }?> />
</td>
<td><?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
</td>
<td>
<label for="<?php echo $_smarty_tpl->tpl_vars['id_checkbox']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['group']->value['name'];?>
</label>
</td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php } else { ?>
<p>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No group created'),$_smarty_tpl ) );?>
</p>
<?php }
}
}

View File

@@ -1,73 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:11
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/modal.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678800b756_46602645',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6af63cc5ce8f00b4edb479260c8971f6f8f818f9' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/new-theme/template/modal.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678800b756_46602645 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="modal fade" id="<?php echo $_smarty_tpl->tpl_vars['modal_id']->value;?>
" tabindex="-1">
<div class="modal-dialog <?php if (isset($_smarty_tpl->tpl_vars['modal_class']->value)) {
echo $_smarty_tpl->tpl_vars['modal_class']->value;
}?>">
<div class="modal-content">
<?php if (isset($_smarty_tpl->tpl_vars['modal_title']->value)) {?>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title"><?php echo $_smarty_tpl->tpl_vars['modal_title']->value;?>
</h4>
</div>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['modal_content']->value;?>
<?php if (isset($_smarty_tpl->tpl_vars['modal_actions']->value)) {?>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Close'),$_smarty_tpl ) );?>
</button>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['modal_actions']->value, 'action');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['action']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['action']->value['type'] == 'link') {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['action']->value['href'];?>
" class="btn <?php echo $_smarty_tpl->tpl_vars['action']->value['class'];?>
"><?php echo $_smarty_tpl->tpl_vars['action']->value['label'];?>
</a>
<?php } elseif ($_smarty_tpl->tpl_vars['action']->value['type'] == 'button') {?>
<button type="button" value="<?php echo $_smarty_tpl->tpl_vars['action']->value['value'];?>
" class="btn <?php echo $_smarty_tpl->tpl_vars['action']->value['class'];?>
">
<?php echo $_smarty_tpl->tpl_vars['action']->value['label'];?>
</button>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
<?php }?>
</div>
</div>
</div>
<?php }
}

View File

@@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:42:12
/* Smarty version 3.1.33, created on 2020-05-05 15:29:55
from 'module:psimagesliderviewstemplat' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd67c4b9b891_21426119',
'unifunc' => 'content_5eb16a533e0724_80318574',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6c2108a17c7103b6e203f4f0621d4645b56b0114' =>
array (
0 => 'module:psimagesliderviewstemplat',
1 => 1561472940,
1 => 1574190558,
2 => 'module',
),
),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_5dcd67c4b9b891_21426119 (Smarty_Internal_Template $_smarty_tpl) {
function content_5eb16a533e0724_80318574 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['homeslider']->value['slides']) {?>
<div id="carousel" data-ride="carousel" class="carousel slide" data-interval="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['homeslider']->value['speed'], ENT_QUOTES, 'UTF-8');?>
" data-wrap="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['homeslider']->value['wrap'], ENT_QUOTES, 'UTF-8');?>

View File

@@ -1,219 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:49:00
from '/var/www/clients/client1/web14/web/pdf/invoice.style-tab.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce829c619218_78459540',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6dd7b783eab8ad7ed06783e44f43c53dc8db405b' =>
array (
0 => '/var/www/clients/client1/web14/web/pdf/invoice.style-tab.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce829c619218_78459540 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('color_header', "#F0F0F0");
$_smarty_tpl->_assignInScope('color_border', "#000000");
$_smarty_tpl->_assignInScope('color_border_lighter', "#CCCCCC");
$_smarty_tpl->_assignInScope('color_line_even', "#FFFFFF");
$_smarty_tpl->_assignInScope('color_line_odd', "#F9F9F9");
$_smarty_tpl->_assignInScope('font_size_text', "9pt");
$_smarty_tpl->_assignInScope('font_size_header', "9pt");
$_smarty_tpl->_assignInScope('font_size_product', "9pt");
$_smarty_tpl->_assignInScope('height_header', "20px");
$_smarty_tpl->_assignInScope('table_padding', "4px");?>
<style>
table, th, td {
margin: 0!important;
padding: 0!important;
vertical-align: middle;
font-size: <?php echo $_smarty_tpl->tpl_vars['font_size_text']->value;?>
;
white-space: nowrap;
}
table.product {
border: 1px solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
border-collapse: collapse;
}
table#addresses-tab tr td {
font-size: large;
}
table#summary-tab {
padding: <?php echo $_smarty_tpl->tpl_vars['table_padding']->value;?>
;
border: 1pt solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
table#total-tab {
padding: <?php echo $_smarty_tpl->tpl_vars['table_padding']->value;?>
;
border: 1pt solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
table#note-tab {
padding: <?php echo $_smarty_tpl->tpl_vars['table_padding']->value;?>
;
border: 1px solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
table#note-tab td.note{
word-wrap: break-word;
}
table#tax-tab {
padding: <?php echo $_smarty_tpl->tpl_vars['table_padding']->value;?>
;
border: 1pt solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
table#payment-tab,
table#shipping-tab {
padding: <?php echo $_smarty_tpl->tpl_vars['table_padding']->value;?>
;
border: 1px solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
th.product {
border-bottom: 1px solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
tr.discount th.header {
border-top: 1px solid <?php echo $_smarty_tpl->tpl_vars['color_border']->value;?>
;
}
tr.product td {
border-bottom: 1px solid <?php echo $_smarty_tpl->tpl_vars['color_border_lighter']->value;?>
;
}
tr.color_line_even {
background-color: <?php echo $_smarty_tpl->tpl_vars['color_line_even']->value;?>
;
}
tr.color_line_odd {
background-color: <?php echo $_smarty_tpl->tpl_vars['color_line_odd']->value;?>
;
}
tr.customization_data td {
}
td.product {
vertical-align: middle;
font-size: <?php echo $_smarty_tpl->tpl_vars['font_size_product']->value;?>
;
}
th.header {
font-size: <?php echo $_smarty_tpl->tpl_vars['font_size_header']->value;?>
;
height: <?php echo $_smarty_tpl->tpl_vars['height_header']->value;?>
;
background-color: <?php echo $_smarty_tpl->tpl_vars['color_header']->value;?>
;
vertical-align: middle;
text-align: center;
font-weight: bold;
}
th.header-right {
font-size: <?php echo $_smarty_tpl->tpl_vars['font_size_header']->value;?>
;
height: <?php echo $_smarty_tpl->tpl_vars['height_header']->value;?>
;
background-color: <?php echo $_smarty_tpl->tpl_vars['color_header']->value;?>
;
vertical-align: middle;
text-align: right;
font-weight: bold;
}
th.payment,
th.shipping {
background-color: <?php echo $_smarty_tpl->tpl_vars['color_header']->value;?>
;
vertical-align: middle;
font-weight: bold;
}
th.tva {
background-color: <?php echo $_smarty_tpl->tpl_vars['color_header']->value;?>
;
vertical-align: middle;
font-weight: bold;
}
tr.separator td {
border-top: 1px solid #000000;
}
.left {
text-align: left;
}
.fright {
float: right;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
.bold {
font-weight: bold;
}
.border {
border: 1px solid black;
}
.no_top_border {
border-top:hidden;
border-bottom:1px solid black;
border-left:1px solid black;
border-right:1px solid black;
}
.grey {
background-color: <?php echo $_smarty_tpl->tpl_vars['color_header']->value;?>
;
}
/* This is used for the border size */
.white {
background-color: #FFFFFF;
}
.big,
tr.big td{
font-size: 110%;
}
.small, table.small th, table.small td {
font-size:small;
}
</style>
<?php }
}

View File

@@ -1,45 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:23:15
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_select_payment.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7c93af2431_66685580',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6e163cdcb6de2b9bac4e99bd33ed9ea999b985cb' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_select_payment.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7c93af2431_66685580 (Smarty_Internal_Template $_smarty_tpl) {
?><select name="payment_module_name" id="payment_module_name">
<?php if (!$_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['payment_modules']->value, 'module');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['module']->value) {
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?>
" <?php if (isset($_POST['payment_module_name']) && $_smarty_tpl->tpl_vars['module']->value->name == $_POST['payment_module_name']) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['module']->value->displayName;?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php } else { ?>
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Back office order','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Back office order','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</option>
<?php }?>
</select>
<?php }
}

View File

@@ -1,26 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 09:53:52
from '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/products-bottom.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce67a086c365_15875523',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6f265df807d61b50ca7d6517e4f8284002d090dd' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/catalog/_partials/products-bottom.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce67a086c365_15875523 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="js-product-list-bottom"></div>
<?php }
}

View File

@@ -1,35 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:14:49
from '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/checkout-process.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7a99c1a712_54075346',
'has_nocache_code' => false,
'file_dependency' =>
array (
'709681404e135494512ac9893d6ad6bc4392dc6f' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/checkout/checkout-process.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7a99c1a712_54075346 (Smarty_Internal_Template $_smarty_tpl) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['steps']->value, 'step', false, 'index');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['index']->value => $_smarty_tpl->tpl_vars['step']->value) {
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['render'][0], array( array('identifier'=>$_smarty_tpl->tpl_vars['step']->value['identifier'],'position'=>($_smarty_tpl->tpl_vars['index']->value+1),'ui'=>$_smarty_tpl->tpl_vars['step']->value['ui']),$_smarty_tpl ) );?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}

View File

@@ -1,61 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 11:16:35
from '/var/www/clients/client1/web14/web/modules/prelevementsepa/views/templates/front/1.7/payment_return.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7b0400b0c3_20838711',
'has_nocache_code' => false,
'file_dependency' =>
array (
'71ecd40df9ecd6319edc9bcdc034aaa185cd7226' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/prelevementsepa/views/templates/front/1.7/payment_return.tpl',
1 => 1563201420,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7b0400b0c3_20838711 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['status']->value == 'ok') {?>
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your order on %s has been registered.','sprintf'=>array($_smarty_tpl->tpl_vars['shop_name']->value),'mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
<?php if ($_smarty_tpl->tpl_vars['sepa']->value->etat == 1) {?>
<br /><br /><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your order will be despatched in the shortest possible time.','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
</strong>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['sepa']->value->iban == '') {?>
<br /><br /><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'To implement the levy SEPA, thank you kindly enter your bank details and send us permission to levy SEPA filled, dated and signed by visiting ','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
<a class="btn btn-default" href="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getModuleLink('prelevementsepa','mandatsepa',array(),true),'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'In space \'SEPA direct debits\' in your account.','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
</a></strong>
<?php } else { ?>
<br /><br /><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'- You have informed your bank details, but you still do not have us back your permission to levy, or that it is still being processed by us. If you have not already, you can send us your authorization dated and signed by visiting ','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
<a href="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getModuleLink('prelevementsepa','mandatsepa',array(),true),'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'In space \'SEPA direct debits\' in your account.','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
</a></strong>
<?php }?>
<br /><br /><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your order will be despatched on receipt of your authorization to levy and your RIB.','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
</strong>
<?php }?>
<br /><br /><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'For supplementary question, although to thank you kindly contact','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
<a href="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getPageLink('contact',true),'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'ours customer services.','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
</a>.
</p>
<?php } else { ?>
<p class="warning">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'We met a problem with processing your order. If you think it is a mistake, thank you to contact','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
<a href="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getPageLink('contact',true),'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'ours customer service.','mod'=>'prelevementsepa'),$_smarty_tpl ) );?>
</a>.
</p>
<?php }
}
}

View File

@@ -1,74 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:17
from '/var/www/clients/client1/web14/web/modules/ps_googleanalytics/views/templates/hook/ps_googleanalytics.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678dd11e95_62757058',
'has_nocache_code' => false,
'file_dependency' =>
array (
'7396c42c9bbabd198ee46b331c2c0083017ba06b' =>
array (
0 => '/var/www/clients/client1/web14/web/modules/ps_googleanalytics/views/templates/hook/ps_googleanalytics.tpl',
1 => 1558435080,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678dd11e95_62757058 (Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo '<script'; ?>
type="text/javascript">
(window.gaDevIds=window.gaDevIds||[]).push('d6YPbH');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
<?php if ($_smarty_tpl->tpl_vars['gaCrossdomainEnabled']->value) {?>
ga('create', '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['gaAccountId']->value,'htmlall','UTF-8' ));?>
', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', [
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['shops']->value, 'shop');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['shop']->value) {
?>
<?php if ($_smarty_tpl->tpl_vars['shop']->value['id_shop'] != $_smarty_tpl->tpl_vars['currentShopId']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['useSecureMode']->value) {?>'<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop']->value['domain_ssl'],'htmlall','UTF-8' ));?>
'<?php } else { ?>'<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['shop']->value['domain'],'htmlall','UTF-8' ));?>
'<?php }?>,
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
]);
<?php } else { ?>
ga('create', '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['gaAccountId']->value,'htmlall','UTF-8' ));?>
', 'auto');
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['userId']->value && !$_smarty_tpl->tpl_vars['backOffice']->value) {?>
ga('set', 'userId', '<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['userId']->value,'htmlall','UTF-8' ));?>
');
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['gaAnonymizeEnabled']->value) {?>
ga('set', 'anonymizeIp', true);
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['backOffice']->value) {?>
ga('set', 'nonInteraction', true);
<?php }?>
ga('require', 'ec');
<?php echo '</script'; ?>
>
<?php }
}

View File

@@ -1,195 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-15 10:33:57
from 'module:gcorderformviewstemplates' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dce7105a19813_03854539',
'has_nocache_code' => false,
'file_dependency' =>
array (
'73a9efe6c0a5fab2cc22795733f63827f3e0c46d' =>
array (
0 => 'module:gcorderformviewstemplates',
1 => 1561557240,
2 => 'module',
),
),
'includes' =>
array (
),
),false)) {
function content_5dce7105a19813_03854539 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
type="text/javascript">
prestashop.blockcart.showModal = 0;
var gcof_empty = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_empty']->value), ENT_QUOTES, 'UTF-8');?>
;
var gcof_stock = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_stock']->value), ENT_QUOTES, 'UTF-8');?>
;
var gcof_image = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_image']->value), ENT_QUOTES, 'UTF-8');?>
;
var gcof_link = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_link']->value), ENT_QUOTES, 'UTF-8');?>
;
<?php if ($_smarty_tpl->tpl_vars['gcof_image']->value) {?>
var gcof_image_size_width = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_image_size']->value['width']), ENT_QUOTES, 'UTF-8');?>
;
var gcof_image_size_height = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_image_size']->value['height']), ENT_QUOTES, 'UTF-8');?>
;
<?php }?>
var gcof_url = "<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['gcof_url']->value,'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
";
var gcof_cart_url = "<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['cart_url']->value,'html','UTF-8' )), ENT_QUOTES, 'UTF-8');?>
";
var gcof_quantitybuttons = <?php echo htmlspecialchars(intval($_smarty_tpl->tpl_vars['gcof_quantity_buttons']->value), ENT_QUOTES, 'UTF-8');?>
;
// <![CDATA[
$(document).ready(function () {
$('#categories').change(function () {
$.ajax({
url: gcof_url,
type: "GET",
dataType: 'json',
data: "id_category=" + $('#categories').val(),
success: function (data) {
var cell_image, cell_reference, cell_name, cell_decli, cell_stock, cell_quantity, cell_price, row;
$('.orderform_content table tbody tr').remove();
$.each(data, function (index, element) {
if ((!$.isArray(element.declinaison)) && (element.declinaison.substr(0, 15) == "ProdSansDecli##")) {
if (gcof_image == 1)
cell_image = '<td class="image"><img src="' + element.big + '" alt="' + element.name + '" width="' + gcof_image_size_width + '" height="' + gcof_image_size_height + '" /></td>';
cell_reference = '<td class="ref"><p class="ref">' + element.reference + '</p></td>';
if (gcof_link == 1)
cell_name = '<td class="name"><a href="' + element.link + '"><span class="title">' + element.name + '</span></a>';
else
cell_name = '<td class="name"><span class="title">' + element.name + '</span>';
cell_name += '<input type="hidden" value="' + element.id_product + '" class="id_product"/><input type="hidden" value="0" class="id_product_attribute"/></td>';
if (gcof_stock == 1)
cell_stock = '<td class="stock">' + element.quantityavailable + '</td>';
if (element.minimal_quantity > 0)
cell_quantity = '<td class="quantity text-center"><div class="product-quantity clearfix"><div class="qty"><input type="text" name="qty" class="quantity_wanted input-group" value="0" min="' + element.minimal_quantity + '" max="99999"></div></div>';
else
cell_quantity = '<td class="quantity text-center"><div class="product-quantity clearfix"><div class="qty"><input type="text" name="qty" class="quantity_wanted input-group" value="0" min="0" max="99999"></div></div>';
cell_quantity += '<span class="min">' + element.minimal_quantity + '</span></td>';
cell_price = '<td class="price">' + element.price + '</td>';
row = '<tr class="item">';
if (gcof_image == 1)
row = row + cell_image;
row = row + cell_reference + cell_name;
if (gcof_stock == 1)
row = row + cell_stock;
row = row + cell_quantity + cell_price + '</tr>';
var newRow = $(row).clone();
$('.orderform_content table tbody').append(newRow);
} else {
$.each(element.declinaison, function (index2, elementdecli) {
if (gcof_image == 1)
cell_image = '<td class="image"><img src="' + elementdecli.big + '" alt="' + element.name + '" width="' + gcof_image_size_width + '" height="' + gcof_image_size_height + '" /></td>';
cell_reference = '<td class="ref"><p class="ref">' + elementdecli.reference + '</p></td>';
if (gcof_link == 1)
cell_name = '<td class="name"><a href="' + elementdecli.link + '"><span class="title">' + element.name + '</span> <span class="decli-name">' + elementdecli.libelle + '</span></a>';
else
cell_name = '<td class="name"><span class="title">' + element.name + '</span> <span class="decli-name">' + elementdecli.libelle + '</span>';
cell_name += '<input type="hidden" value="' + element.id_product + '" class="id_product"/><input type="hidden" value="' + elementdecli.id_product_attribute + '" class="id_product_attribute"/></td>';
if (gcof_stock == 1)
cell_stock = '<td class="stock">' + elementdecli.quantityavailable + '</td>';
if (elementdecli.minimal_quantity > 0)
cell_quantity = '<td class="quantity text-center"><div class="product-quantity clearfix"><div class="qty"><input type="text" name="qty" class="quantity_wanted input-group" value="0" min="' + elementdecli.minimal_quantity + '" max="99999"></div></div>';
else
cell_quantity = '<td class="quantity text-center"><div class="product-quantity clearfix"><div class="qty"><input type="text" name="qty" class="quantity_wanted input-group" value="0" min="0" max="99999"></div></div>';
cell_quantity += '<span class="min">' + elementdecli.minimal_quantity + '</span></td>';
cell_price = '<td class="price">' + elementdecli.price + '</td>';
row = '<tr class="item">';
if (gcof_image == 1)
row = row + cell_image;
row = row + cell_reference + cell_name;
if (gcof_stock == 1)
row = row + cell_stock;
row = row + cell_quantity + cell_price + '</tr>';
var newRow = $(row).clone();
$('.orderform_content table tbody').prepend(newRow);
});
}
});
if (gcof_quantitybuttons == 1)
createProductSpin();
}
});
});
$('#add_to_cart_fix').unbind('click').click(function () {
$('.orderform_content tbody tr').each(function () {
if ($(this).find('.quantity_wanted').val() > 0) {
var currentRow = $(this);
$.post(gcof_cart_url+'?rand=' + new Date().getTime(), {
action: "update",
id_product: parseInt(currentRow.find('.name .id_product').val()),
id_product_attribute: parseInt(currentRow.find('.name .id_product_attribute').val()),
ajax: true,
qty: parseInt(currentRow.find('.quantity_wanted').val()),
headers: {
"cache-control": "no-cache"
},
async: true,
token: prestashop["static_token"],
add: 1,
cache: false,
}, null, 'json').then(function (resp) {
prestashop.emit('updateCart', {
reason: {
idProduct: resp.id_product,
idProductAttribute: resp.id_product_attribute,
linkAction: 'add-to-cart'
}
});
});
if (gcof_empty == 1)
currentRow.find('.quantity input').val("0");
}
});
window.scrollTo(0, 0);
return false;
});
if (gcof_quantitybuttons == 1)
createProductSpin();
});
function createProductSpin() {
$('.orderform_content tr').each(function () {
var currentRow = $(this);
quantityInput = currentRow.find('.quantity_wanted');
quantityInput.TouchSpin({
verticalbuttons: true,
verticalupclass: 'material-icons touchspin-up',
verticaldownclass: 'material-icons touchspin-down',
buttondown_class: 'btn btn-touchspin js-touchspin',
buttonup_class: 'btn btn-touchspin js-touchspin',
min: 0,
max: 1000000
});
});
}
// ]]>
<?php echo '</script'; ?>
>
<?php }
}

View File

@@ -1,188 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 19:19:02
from '/var/www/clients/client1/web14/web/themes/classic/templates/customer/_partials/login-form.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd9a964ac0a4_10528416',
'has_nocache_code' => false,
'file_dependency' =>
array (
'73c8074d367e991aecdffca8be7e4c7b64dd9d93' =>
array (
0 => '/var/www/clients/client1/web14/web/themes/classic/templates/customer/_partials/login-form.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
'file:_partials/form-errors.tpl' => 1,
),
),false)) {
function content_5dcd9a964ac0a4_10528416 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8288228355dcd9a964a2f06_08049481', 'login_form');
?>
<?php }
/* {block 'login_form_errors'} */
class Block_12636681525dcd9a964a3231_12029093 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_subTemplateRender('file:_partials/form-errors.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('errors'=>$_smarty_tpl->tpl_vars['errors']->value['']), 0, false);
?>
<?php
}
}
/* {/block 'login_form_errors'} */
/* {block 'login_form_actionurl'} */
class Block_5297554475dcd9a964a5219_71508237 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
echo htmlspecialchars($_smarty_tpl->tpl_vars['action']->value, ENT_QUOTES, 'UTF-8');
}
}
/* {/block 'login_form_actionurl'} */
/* {block 'form_field'} */
class Block_12104661155dcd9a964a9651_27151869 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_field'][0], array( array('field'=>$_smarty_tpl->tpl_vars['field']->value),$_smarty_tpl ) );?>
<?php
}
}
/* {/block 'form_field'} */
/* {block 'login_form_fields'} */
class Block_9218322895dcd9a964a5b13_71842312 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['formFields']->value, 'field');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) {
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12104661155dcd9a964a9651_27151869', 'form_field', $this->tplIndex);
?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
}
/* {/block 'login_form_fields'} */
/* {block 'form_buttons'} */
class Block_16044952785dcd9a964ab689_74271022 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<button id="submit-login" class="btn btn-primary" data-link-action="sign-in" type="submit" class="form-control-submit">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sign in','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
<?php
}
}
/* {/block 'form_buttons'} */
/* {block 'login_form_footer'} */
class Block_6018323735dcd9a964ab3d0_31635247 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<footer class="form-footer text-sm-center clearfix">
<input type="hidden" name="submitLogin" value="1">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_16044952785dcd9a964ab689_74271022', 'form_buttons', $this->tplIndex);
?>
</footer>
<?php
}
}
/* {/block 'login_form_footer'} */
/* {block 'login_form'} */
class Block_8288228355dcd9a964a2f06_08049481 extends Smarty_Internal_Block
{
public $subBlocks = array (
'login_form' =>
array (
0 => 'Block_8288228355dcd9a964a2f06_08049481',
),
'login_form_errors' =>
array (
0 => 'Block_12636681525dcd9a964a3231_12029093',
),
'login_form_actionurl' =>
array (
0 => 'Block_5297554475dcd9a964a5219_71508237',
),
'login_form_fields' =>
array (
0 => 'Block_9218322895dcd9a964a5b13_71842312',
),
'form_field' =>
array (
0 => 'Block_12104661155dcd9a964a9651_27151869',
),
'login_form_footer' =>
array (
0 => 'Block_6018323735dcd9a964ab3d0_31635247',
),
'form_buttons' =>
array (
0 => 'Block_16044952785dcd9a964ab689_74271022',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12636681525dcd9a964a3231_12029093', 'login_form_errors', $this->tplIndex);
?>
<form id="login-form" action="<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5297554475dcd9a964a5219_71508237', 'login_form_actionurl', $this->tplIndex);
?>
" method="post">
<section>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_9218322895dcd9a964a5b13_71842312', 'login_form_fields', $this->tplIndex);
?>
<div class="forgot-password">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['urls']->value['pages']['password'], ENT_QUOTES, 'UTF-8');?>
" rel="nofollow">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Forgot your password?','d'=>'Shop.Theme.Customeraccount'),$_smarty_tpl ) );?>
</a>
</div>
</section>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6018323735dcd9a964ab3d0_31635247', 'login_form_footer', $this->tplIndex);
?>
</form>
<?php
}
}
/* {/block 'login_form'} */
}

View File

@@ -1,244 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-14 15:41:19
from '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_documents.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dcd678f931328_45567935',
'has_nocache_code' => false,
'file_dependency' =>
array (
'74e3e4126a2eb34ff943e0db76a72bd4f079c7db' =>
array (
0 => '/var/www/clients/client1/web14/web/admin1553pskpx/themes/default/template/controllers/orders/_documents.tpl',
1 => 1561472940,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5dcd678f931328_45567935 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="table-responsive">
<table class="table" id="documents_table">
<thead>
<tr>
<th>
<span class="title_box "><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Date','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</span>
</th>
<th>
<span class="title_box "><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Document','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</span>
</th>
<th>
<span class="title_box "><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Number','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</span>
</th>
<th>
<span class="title_box "><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Amount','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</span>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['order']->value->getDocuments(), 'document');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['document']->value) {
?>
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
<tr id="delivery_<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
">
<?php } else { ?>
<tr id="invoice_<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
">
<?php }?>
<?php } elseif (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderSlip') {?>
<tr id="orderslip_<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
">
<?php }?>
<td><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['dateFormat'][0], array( array('date'=>$_smarty_tpl->tpl_vars['document']->value->date_add),$_smarty_tpl ) );?>
</td>
<td>
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Delivery slip','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Invoice','d'=>'Admin.Global'),$_smarty_tpl ) );?>
<?php }?>
<?php } elseif (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderSlip') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Credit Slip','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php }?>
</td>
<td>
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
<a class="_blank" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'See the document'),$_smarty_tpl ) );?>
" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminPdf',true,array(),array('submitAction'=>'generateDeliverySlipPDF','id_order_invoice'=>$_smarty_tpl->tpl_vars['document']->value->id)),'html','UTF-8' ));?>
">
<?php } else { ?>
<a class="_blank" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'See the document'),$_smarty_tpl ) );?>
" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminPdf',true,array(),array('submitAction'=>'generateInvoicePDF','id_order_invoice'=>$_smarty_tpl->tpl_vars['document']->value->id)),'html','UTF-8' ));?>
">
<?php }?>
<?php } elseif (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderSlip') {?>
<a class="_blank" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'See the document'),$_smarty_tpl ) );?>
" href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminPdf',true,array(),array('submitAction'=>'generateOrderSlipPDF','id_order_slip'=>$_smarty_tpl->tpl_vars['document']->value->id)),'html','UTF-8' ));?>
">
<?php }?>
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
<?php echo Configuration::get('PS_DELIVERY_PREFIX',$_smarty_tpl->tpl_vars['current_id_lang']->value,null,$_smarty_tpl->tpl_vars['order']->value->id_shop);
echo sprintf('%06d',$_smarty_tpl->tpl_vars['document']->value->delivery_number);?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['document']->value->getInvoiceNumberFormatted($_smarty_tpl->tpl_vars['current_id_lang']->value,$_smarty_tpl->tpl_vars['order']->value->id_shop);?>
<?php }?>
<?php } elseif (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderSlip') {?>
<?php echo Configuration::get('PS_CREDIT_SLIP_PREFIX',$_smarty_tpl->tpl_vars['current_id_lang']->value);
echo sprintf('%06d',$_smarty_tpl->tpl_vars['document']->value->id);?>
<?php }?>
</a>
</td>
<td>
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
--
<?php } else { ?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['document']->value->total_paid_tax_incl,'currency'=>$_smarty_tpl->tpl_vars['currency']->value->id),$_smarty_tpl ) );?>
&nbsp;
<?php if ($_smarty_tpl->tpl_vars['document']->value->getTotalPaid()) {?>
<span>
<?php if ($_smarty_tpl->tpl_vars['document']->value->getRestPaid() > 0) {?>
(<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['document']->value->getRestPaid(),'currency'=>$_smarty_tpl->tpl_vars['currency']->value->id),$_smarty_tpl ) );?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'not paid','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
)
<?php } elseif ($_smarty_tpl->tpl_vars['document']->value->getRestPaid() < 0) {?>
(<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>-$_smarty_tpl->tpl_vars['document']->value->getRestPaid(),'currency'=>$_smarty_tpl->tpl_vars['currency']->value->id),$_smarty_tpl ) );?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'overpaid','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
)
<?php }?>
</span>
<?php }?>
<?php }?>
<?php } elseif (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderSlip') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['document']->value->total_products_tax_incl+$_smarty_tpl->tpl_vars['document']->value->total_shipping_tax_incl,'currency'=>$_smarty_tpl->tpl_vars['currency']->value->id),$_smarty_tpl ) );?>
<?php }?>
</td>
<td class="text-right document_action">
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (!isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
<?php if ($_smarty_tpl->tpl_vars['document']->value->getRestPaid()) {?>
<a href="#formAddPaymentPanel" class="js-set-payment btn btn-default anchor" data-amount="<?php echo $_smarty_tpl->tpl_vars['document']->value->getRestPaid();?>
" data-id-invoice="<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Set payment form'),$_smarty_tpl ) );?>
">
<i class="icon-money"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Enter payment','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</a>
<?php }?>
<a href="#" class="btn btn-default" onclick="$('#invoiceNote<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
').show(); return false;" title="<?php if ($_smarty_tpl->tpl_vars['document']->value->note == '') {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add note'),$_smarty_tpl ) );
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Edit note'),$_smarty_tpl ) );
}?>">
<?php if ($_smarty_tpl->tpl_vars['document']->value->note == '') {?>
<i class="icon-plus-sign-alt"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add note','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php } else { ?>
<i class="icon-pencil"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Edit note','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
<?php }?>
</a>
<?php }?>
<?php }?>
</td>
</tr>
<?php if (get_class($_smarty_tpl->tpl_vars['document']->value) == 'OrderInvoice') {?>
<?php if (!isset($_smarty_tpl->tpl_vars['document']->value->is_delivery)) {?>
<tr id="invoiceNote<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
" style="display:none">
<td colspan="5">
<form action="<?php echo $_smarty_tpl->tpl_vars['current_index']->value;?>
&amp;viewOrder&amp;id_order=<?php echo $_smarty_tpl->tpl_vars['order']->value->id;
if (isset($_GET['token'])) {?>&amp;token=<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_GET['token'],'html','UTF-8' ));
}?>" method="post">
<p>
<label for="editNote<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
" class="t"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Note','d'=>'Admin.Global'),$_smarty_tpl ) );?>
</label>
<input type="hidden" name="id_order_invoice" value="<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
" />
<textarea name="note" id="editNote<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
" class="edit-note textarea-autosize"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['document']->value->note,'html','UTF-8' ));?>
</textarea>
</p>
<p>
<button type="submit" name="submitEditNote" class="btn btn-default">
<i class="icon-save"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Save','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</button>
<a class="btn btn-default" href="#" id="cancelNote" onclick="$('#invoiceNote<?php echo $_smarty_tpl->tpl_vars['document']->value->id;?>
').hide();return false;">
<i class="icon-remove"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Cancel','d'=>'Admin.Actions'),$_smarty_tpl ) );?>
</a>
</p>
</form>
</td>
</tr>
<?php }?>
<?php }?>
<?php
}
} else {
?>
<tr>
<td colspan="5" class="list-empty">
<div class="list-empty-msg">
<i class="icon-warning-sign list-empty-icon"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There is no available document','d'=>'Admin.Orderscustomers.Notification'),$_smarty_tpl ) );?>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['invoice_management_active']->value) && $_smarty_tpl->tpl_vars['invoice_management_active']->value) {?>
<a class="btn btn-default" href="<?php echo $_smarty_tpl->tpl_vars['current_index']->value;?>
&amp;viewOrder&amp;submitGenerateInvoice&amp;id_order=<?php echo $_smarty_tpl->tpl_vars['order']->value->id;
if (isset($_GET['token'])) {?>&amp;token=<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_GET['token'],'html','UTF-8' ));
}?>">
<i class="icon-repeat"></i>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Generate invoice','d'=>'Admin.Orderscustomers.Feature'),$_smarty_tpl ) );?>
</a>
<?php }?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<?php }
}

View File

@@ -1,54 +0,0 @@
<?php
/* Smarty version 3.1.33, created on 2019-11-18 12:38:50
from 'module:pswirepaymentviewstemplat' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.33',
'unifunc' => 'content_5dd282ca704e17_75012475',
'has_nocache_code' => false,
'file_dependency' =>
array (
'75bdf601ec9e01aea0e9e66eb6225ba1b66af2dd' =>
array (
0 => 'module:pswirepaymentviewstemplat',
1 => 1561472940,
2 => 'module',
),
),
'includes' =>
array (
'module:ps_wirepayment/views/templates/hook/_partials/payment_infos.tpl' => 1,
),
),false)) {
function content_5dd282ca704e17_75012475 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['status']->value == 'ok') {?>
<p>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your order on %s is complete.','sprintf'=>array($_smarty_tpl->tpl_vars['shop_name']->value),'d'=>'Modules.Wirepayment.Shop'),$_smarty_tpl ) );?>
<br/>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please send us a bank wire with:','d'=>'Modules.Wirepayment.Shop'),$_smarty_tpl ) );?>
</p>
<?php $_smarty_tpl->_subTemplateRender('module:ps_wirepayment/views/templates/hook/_partials/payment_infos.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<p>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please specify your order reference %s in the bankwire description.','sprintf'=>array($_smarty_tpl->tpl_vars['reference']->value),'d'=>'Modules.Wirepayment.Shop'),$_smarty_tpl ) );?>
<br/>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'We\'ve also sent you this information by e-mail.','d'=>'Modules.Wirepayment.Shop'),$_smarty_tpl ) );?>
</p>
<strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Your order will be sent as soon as we receive payment.','d'=>'Modules.Wirepayment.Shop'),$_smarty_tpl ) );?>
</strong>
<p>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If you have questions, comments or concerns, please contact our [1]expert customer support team[/1].','d'=>'Modules.Wirepayment.Shop','sprintf'=>array('[1]'=>"<a href='".((string)$_smarty_tpl->tpl_vars['contact_url']->value)."'>",'[/1]'=>'</a>')),$_smarty_tpl ) );?>
</p>
<?php } else { ?>
<p class="warning">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'We noticed a problem with your order. If you think this is an error, feel free to contact our [1]expert customer support team[/1].','d'=>'Modules.Wirepayment.Shop','sprintf'=>array('[1]'=>"<a href='".((string)$_smarty_tpl->tpl_vars['contact_url']->value)."'>",'[/1]'=>'</a>')),$_smarty_tpl ) );?>
</p>
<?php }
}
}

Some files were not shown because too many files have changed in this diff Show More