<?php /* Smarty version 2.6.26, created on 2020-06-26 23:43:55
         compiled from /home3/bargaip4/public_html/gevimmo/plugins/testimonials/page_responsive_42.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', '/home3/bargaip4/public_html/gevimmo/plugins/testimonials/page_responsive_42.tpl', 9, false),)), $this); ?>
<!-- testimonials page content | responsive 42 -->

<?php if ($this->_tpl_vars['total'] >= 20): ?>
	<a class="button add-testimonial" href="javascript:void(0)" rel="nofollow"><span></span></a>
<?php endif; ?>

<?php if ($this->_tpl_vars['testimonials']): ?>
	<div class="testimonials" id="testimonials_area">
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@RL_PLUGINS)) ? $this->_run_mod_handler('cat', true, $_tmp, 'testimonials') : smarty_modifier_cat($_tmp, 'testimonials')))) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'dom.tpl') : smarty_modifier_cat($_tmp, 'dom.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	</div>
	
	<script type="text/javascript">
	<?php echo '
	
	$(function(){
		var color = $(\'.testimonials div.hlight\').css(\'background-color\');
		$(\'.testimonials div.triangle\').css(\'border-'; ?>
<?php if ($this->_tpl_vars['text_dir'] == 'right'): ?>top<?php else: ?>right<?php endif; ?><?php echo '-color\', color);
	});
	
	'; ?>

	</script>
<?php else: ?>
	<div class="text-notice" style="padding-bottom: 30px;"><?php echo $this->_tpl_vars['lang']['testimonials_no_testimonials']; ?>
</div>
<?php endif; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'fieldset_header.tpl') : smarty_modifier_cat($_tmp, 'fieldset_header.tpl')), 'smarty_include_vars' => array('id' => 'add_testimonial','name' => $this->_tpl_vars['lang']['testimonials_add'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<form class="content-padding" method="POST" action="" name="testimonial-form">
	<div class="submit-cell">
		<div class="name"><?php echo $this->_tpl_vars['lang']['your_name']; ?>
 <span class="red">*</span></div>
		<div class="field">
			<input type="text" size="32" class="wauto" maxlength="32" id="t-name" <?php if ($this->_tpl_vars['account_info']): ?>value="<?php echo $this->_tpl_vars['account_info']['Full_name']; ?>
"<?php endif; ?> />
		</div>
	</div>
	<div class="submit-cell">
		<div class="name"><?php echo $this->_tpl_vars['lang']['your_email']; ?>
</div>
		<div class="field">
			<input type="text" size="50" class="wauto" maxlength="100" id="t-email" />
		</div>
	</div>
	<div class="submit-cell">
		<div class="name"><?php echo $this->_tpl_vars['lang']['testimonials_testimonial']; ?>
 <span class="red">*</span></div>
		<div class="field">
			<textarea id="t-testimonial" cols="" rows="6"></textarea>
		</div>
	</div>
	<div class="submit-cell">
		<div class="name"><?php echo $this->_tpl_vars['lang']['security_code']; ?>
 <span class="red">*</span></div>
		<div class="field"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'captcha.tpl', 'smarty_include_vars' => array('no_caption' => true)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></div>
	</div>
	<div class="submit-cell buttons">
		<div class="name"></div>
		<div class="field"><input type="submit" name="finish" value="<?php echo $this->_tpl_vars['lang']['send']; ?>
" /></div>
	</div>
</form>

<script type="text/javascript">
<?php echo '

$(document).ready(function(){
	$(\'a.add-testimonial\').click(function(){
		flynax.slideTo(\'#fs_add_testimonial\');
	});
	
	if ( flynax.getHash() == \'add-testimonial\' ) {
		flynax.slideTo(\'#fs_add_testimonial\');
	}
	
	$(\'form[name="testimonial-form"]\').submit(function(){
		xajax_addTestimonial(
			$(this).find(\'#t-name\').val(),
			$(this).find(\'#t-email\').val(),
			$(this).find(\'#t-testimonial\').val(),
			$(this).find(\'#security_code\').val()
		);
		$(this).find(\'input[type=submit]\').val(lang[\'loading\']);
		
		return false;
	});
});

'; ?>

</script>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'fieldset_footer.tpl') : smarty_modifier_cat($_tmp, 'fieldset_footer.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!-- testimonials page content | responsive 42 END -->