_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_649432839a2444_52950094', 'has_nocache_code' => false, 'file_dependency' => array ( '65be22a358326760f67a8ae467e41258e968ee93' => array ( 0 => 'C:\\xampp\\htdocs\\hotelcommerce\\themes\\hotel-reservation-theme\\modules\\referralprogram\\views\\templates\\front\\program.tpl', 1 => 1687433800, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_649432839a2444_52950094 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'path', null, null);?>smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My account','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['navigationPipe']->value;?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Referral Program','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->ext->_capture->close($_smarty_tpl);?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Referral program','mod'=>'referralprogram'),$_smarty_tpl ) );?>

tpl_vars['error']->value) {?>

tpl_vars['error']->value == 'conditions not valided') {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You need to agree to the conditions of the referral program!','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['error']->value == 'email invalid') {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'At least one e-mail address is invalid!','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['error']->value == 'name invalid') {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'At least one first name or last name is invalid!','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['error']->value == 'email exists') {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Someone with this e-mail address has already been sponsored!','mod'=>'referralprogram'),$_smarty_tpl ) );?> : smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mails_exists']->value, 'mail'); $_smarty_tpl->tpl_vars['mail']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mail']->value) { $_smarty_tpl->tpl_vars['mail']->do_else = false; echo $_smarty_tpl->tpl_vars['mail']->value;?> smarty->ext->_foreach->restore($_smarty_tpl, 1);?> tpl_vars['error']->value == 'no revive checked') {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please mark at least one checkbox','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['error']->value == 'cannot add friends') {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Cannot add friends to database','mod'=>'referralprogram'),$_smarty_tpl ) );?>

tpl_vars['invitation_sent']->value) {?>

tpl_vars['nbInvitation']->value > 1) {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'E-mails have been sent to your friends!','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'An e-mail has been sent to your friend!','mod'=>'referralprogram'),$_smarty_tpl ) );?>

tpl_vars['revive_sent']->value) {?>

tpl_vars['nbRevive']->value > 1) {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Reminder e-mails have been sent to your friends!','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'A reminder e-mail has been sent to your friend!','mod'=>'referralprogram'),$_smarty_tpl ) );?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Get a discount of %1$s for you and your friends by recommending this Website.','sprintf'=>array($_smarty_tpl->tpl_vars['discount']->value),'mod'=>'referralprogram'),$_smarty_tpl ) );?>

tpl_vars['canSendInvitations']->value) {?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'It\'s quick and it\'s easy. Just fill in the first name, last name, and e-mail address(es) of your friend(s) in the fields below.','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['orderQuantity']->value > 1) {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'When one of them makes at least %d orders, ','sprintf'=>$_smarty_tpl->tpl_vars['orderQuantity']->value,'mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'When one of them makes at least %d order, ','sprintf'=>$_smarty_tpl->tpl_vars['orderQuantity']->value,'mod'=>'referralprogram'),$_smarty_tpl ) );?> , smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'he or she will receive a %1$s voucher and you will receive your own voucher worth %1$s.','sprintf'=>array($_smarty_tpl->tpl_vars['discount']->value),'mod'=>'referralprogram'),$_smarty_tpl ) );?>

tpl_vars['nbFriends']->value) ? count($_loop) : max(0, (int) $_loop)); $__section_friends_4_start = min(0, $__section_friends_4_loop); $__section_friends_4_total = min(($__section_friends_4_loop - $__section_friends_4_start), $__section_friends_4_loop); $_smarty_tpl->tpl_vars['__smarty_section_friends'] = new Smarty_Variable(array()); if ($__section_friends_4_total !== 0) { for ($_smarty_tpl->tpl_vars['__smarty_section_friends']->value['iteration'] = 1, $_smarty_tpl->tpl_vars['__smarty_section_friends']->value['index'] = $__section_friends_4_start; $_smarty_tpl->tpl_vars['__smarty_section_friends']->value['iteration'] <= $__section_friends_4_total; $_smarty_tpl->tpl_vars['__smarty_section_friends']->value['iteration']++, $_smarty_tpl->tpl_vars['__smarty_section_friends']->value['index']++){ ?>
  smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Last name','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'First name','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'E-mail','mod'=>'referralprogram'),$_smarty_tpl ) );?>
tpl_vars['__smarty_section_friends']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_section_friends']->value['iteration'] : null);?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Important: Your friends\' e-mail addresses will only be used in the referral program. They will never be used for other purposes.','mod'=>'referralprogram'),$_smarty_tpl ) );?>

checked="checked" /> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Read conditions.','mod'=>'referralprogram'),$_smarty_tpl ) );?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Preview','mod'=>'referralprogram'),$_smarty_tpl ) );?> _assignInScope('file', ((string)$_smarty_tpl->tpl_vars['lang_iso']->value)."/referralprogram-invitation.html");?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'the default e-mail','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'that will be sent to your friend(s).','mod'=>'referralprogram'),$_smarty_tpl ) );?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'To become a sponsor, you need to have completed at least','mod'=>'referralprogram'),$_smarty_tpl ) );?> tpl_vars['orderQuantity']->value;?> tpl_vars['orderQuantity']->value > 1) { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'orders','mod'=>'referralprogram'),$_smarty_tpl ) ); } else { echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'order','mod'=>'referralprogram'),$_smarty_tpl ) ); }?>.

tpl_vars['pendingFriends']->value && count($_smarty_tpl->tpl_vars['pendingFriends']->value) > 0) {?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'These friends have not yet placed an order on this Website since you sponsored them, but you can try again! To do so, mark the checkboxes of the friend(s) you want to remind, then click on the button "Remind my friend(s)"','mod'=>'referralprogram'),$_smarty_tpl ) );?>

smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pendingFriends']->value, 'pendingFriend', false, NULL, 'myLoop', array ( 'iteration' => true, )); $_smarty_tpl->tpl_vars['pendingFriend']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['pendingFriend']->value) { $_smarty_tpl->tpl_vars['pendingFriend']->do_else = false; $_smarty_tpl->tpl_vars['__smarty_foreach_myLoop']->value['iteration']++; ?> smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
  smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Last name','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'First name','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'E-mail','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Last invitation','mod'=>'referralprogram'),$_smarty_tpl ) );?>
tpl_vars['pendingFriend']->value['firstname'],0,22);?> tpl_vars['pendingFriend']->value['email'];?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['dateFormat'][0], array( array('date'=>$_smarty_tpl->tpl_vars['pendingFriend']->value['date_upd'],'full'=>1),$_smarty_tpl ) );?>

tpl_vars['subscribeFriends']->value && count($_smarty_tpl->tpl_vars['subscribeFriends']->value) > 0) {?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You have no pending invitations.','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You have not sponsored any friends yet.','mod'=>'referralprogram'),$_smarty_tpl ) );?>

tpl_vars['subscribeFriends']->value && count($_smarty_tpl->tpl_vars['subscribeFriends']->value) > 0) {?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Here are sponsored friends who have accepted your invitation:','mod'=>'referralprogram'),$_smarty_tpl ) );?>

smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['subscribeFriends']->value, 'subscribeFriend', false, NULL, 'myLoop', array ( 'iteration' => true, )); $_smarty_tpl->tpl_vars['subscribeFriend']->do_else = true; if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['subscribeFriend']->value) { $_smarty_tpl->tpl_vars['subscribeFriend']->do_else = false; $_smarty_tpl->tpl_vars['__smarty_foreach_myLoop']->value['iteration']++; ?> smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
  smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Last name','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'First name','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'E-mail','mod'=>'referralprogram'),$_smarty_tpl ) );?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Inscription date','mod'=>'referralprogram'),$_smarty_tpl ) );?>
tpl_vars['__smarty_foreach_myLoop']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_myLoop']->value['iteration'] : null);?> . tpl_vars['subscribeFriend']->value['lastname'],0,22);?> tpl_vars['subscribeFriend']->value['firstname'],0,22);?> tpl_vars['subscribeFriend']->value['email'];?> smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['dateFormat'][0], array( array('date'=>$_smarty_tpl->tpl_vars['subscribeFriend']->value['date_upd'],'full'=>1),$_smarty_tpl ) );?>

smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No sponsored friends have accepted your invitation yet.','mod'=>'referralprogram'),$_smarty_tpl ) );?>

smarty->registered_plugins['block']['addJsDefL'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0] : null; if (!is_callable(array($_block_plugin73, 'addJsDefL'))) { throw new SmartyException('block tag \'addJsDefL\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('addJsDefL', array('name'=>'ThickboxI18nClose')); $_block_repeat=true; echo $_block_plugin73->addJsDefL(array('name'=>'ThickboxI18nClose'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Close','mod'=>'referralprogram','js'=>1),$_smarty_tpl ) ); $_block_repeat=false; echo $_block_plugin73->addJsDefL(array('name'=>'ThickboxI18nClose'), ob_get_clean(), $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']); $_block_plugin74 = isset($_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0] : null; if (!is_callable(array($_block_plugin74, 'addJsDefL'))) { throw new SmartyException('block tag \'addJsDefL\' not callable or registered'); } $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('addJsDefL', array('name'=>'ThickboxI18nOrEscKey')); $_block_repeat=true; echo $_block_plugin74->addJsDefL(array('name'=>'ThickboxI18nOrEscKey'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'or Esc key','mod'=>'referralprogram','js'=>1),$_smarty_tpl ) ); $_block_repeat=false; echo $_block_plugin74->addJsDefL(array('name'=>'ThickboxI18nOrEscKey'), ob_get_clean(), $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_cache['_tag_stack']); echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0], array( array('tb_pathToImage'=>($_smarty_tpl->tpl_vars['img_ps_dir']->value).('loadingAnimation.gif')),$_smarty_tpl ) );?>