_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_64943281823c15_23497671', 'has_nocache_code' => false, 'file_dependency' => array ( '4259c23d1f9a8ee2dbd0858c80394ce9e4c47332' => array ( 0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\import\\helpers\\view\\view.tpl', 1 => 1687433793, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_64943281823c15_23497671 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->_loadInheritance(); $_smarty_tpl->inheritance->init($_smarty_tpl, true); ?> inheritance->instanceBlock($_smarty_tpl, 'Block_2001230176494328155d553_36377307', "override_tpl"); ?> inheritance->endChild($_smarty_tpl, "helpers/view/view.tpl"); } /* {block "override_tpl"} */ class Block_2001230176494328155d553_36377307 extends Smarty_Internal_Block { public $subBlocks = array ( 'override_tpl' => array ( 0 => 'Block_2001230176494328155d553_36377307', ), ); public function callBlock(Smarty_Internal_Template $_smarty_tpl) { ?> type="text/javascript"> var errorEmpty = 'smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please name your data matching configuration in order to save it.','js'=>1),$_smarty_tpl ) );?> '; var current = 0; function showTable(nb) { $('#btn_left').disabled = null; $('#btn_right').disabled = null; if (nb <= 0) { nb = 0; $('#btn_left').disabled = 'true'; } if (nb >= tpl_vars['nb_table']->value;?> - 1) { nb = tpl_vars['nb_table']->value;?> - 1; $('#btn_right').disabled = 'true'; } $('#table' + current).hide(); current = nb; $('#table' + current).show(); } $(document).ready(function() { var btn_save_import = $('span[class~="process-icon-save-import"]').parent(); var btn_submit_import = $('#import'); if (btn_save_import.length > 0 && btn_submit_import.length > 0) { btn_submit_import.closest('.form-group').hide(); btn_save_import.find('span').removeClass('process-icon-save-import'); btn_save_import.find('span').addClass('process-icon-save'); btn_save_import.click(function(){ btn_submit_import.before(''); $('#import_form').submit(); }); } showTable(current); }); >

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'View your data'),$_smarty_tpl ) );?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please match each column of your source CSV file to one of the destination columns.'),$_smarty_tpl ) );?>

tpl_vars['import_matchs']->value) {?>style="display:none">
tpl_vars['fields_value']->value['truncate']) {?> tpl_vars['fields_value']->value['forceIDs']) {?> tpl_vars['fields_value']->value['match_ref']) {?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'This number indicates how many of the first lines of your CSV file should be skipped when importing the data. For instance set it to 1 if the first row of your file contains headers.'),$_smarty_tpl ) );?>

tpl_vars['nb_table']->value) ? count($_loop) : max(0, (int) $_loop)); $__section_nb_i_0_start = min(0, $__section_nb_i_0_loop); $__section_nb_i_0_total = min(($__section_nb_i_0_loop - $__section_nb_i_0_start), $__section_nb_i_0_loop); $_smarty_tpl->tpl_vars['__smarty_section_nb_i'] = new Smarty_Variable(array()); if ($__section_nb_i_0_total !== 0) { for ($__section_nb_i_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_nb_i']->value['index'] = $__section_nb_i_0_start; $__section_nb_i_0_iteration <= $__section_nb_i_0_total; $__section_nb_i_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_nb_i']->value['index']++){ ?> _assignInScope('i', (isset($_smarty_tpl->tpl_vars['__smarty_section_nb_i']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_nb_i']->value['index'] : null));?> tpl_vars['data']->value[$_smarty_tpl->tpl_vars['i']->value];?>