<?php /* Smarty version 2.6.26, created on 2020-06-25 13:10:58
         compiled from /home3/bargaip4/public_html/gevimmo/plugins/testimonials/box.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', '/home3/bargaip4/public_html/gevimmo/plugins/testimonials/box.tpl', 14, false),array('modifier', 'nl2br', '/home3/bargaip4/public_html/gevimmo/plugins/testimonials/box.tpl', 14, false),array('modifier', 'regex_replace', '/home3/bargaip4/public_html/gevimmo/plugins/testimonials/box.tpl', 14, false),)), $this); ?>
<!-- testimonials box -->

<div class="testimonials<?php if ($this->_tpl_vars['text_dir'] == 'right'): ?> t-rtl<?php endif; ?>">

	<?php if (! $this->_tpl_vars['block']['Tpl']): ?>
		<div class="side_block">
			<div class="header"><p class="dark"><?php echo $this->_tpl_vars['block']['name']; ?>
</p> <a class="button add-testimonial" title="<?php echo $this->_tpl_vars['lang']['testimonials_add_testimonial']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['testimonials']; ?>
.html#add-testimonial<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['testimonials']; ?>
#add-testimonial<?php endif; ?>"><span></span></a></div>
	<?php endif; ?>
	
	<?php if ($this->_tpl_vars['testimonial_box']): ?>
		<div>
			<div class="area hlight">
				<div class="quotes"></div>
				<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['testimonial_box']['Testimonial'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 320, '...', false) : smarty_modifier_truncate($_tmp, 320, '...', false)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)))) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/(https?\:\/\/[^\s]+)/', '<a href="$1">$1</a>') : smarty_modifier_regex_replace($_tmp, '/(https?\:\/\/[^\s]+)/', '<a href="$1">$1</a>')); ?>

			</div>
			<div class="bottom">
				<?php if (! $this->_tpl_vars['block']['Tpl']): ?>
					<div class="triangle"></div>
				<?php endif; ?>
				<span class="raed-more">
					<a title="<?php echo $this->_tpl_vars['lang']['testimonials_read_more_title']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['testimonials']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['testimonials']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['testimonials_read_more']; ?>
</a>
				</span>
				<span class="author" title="<?php echo $this->_tpl_vars['lang']['testimonials_author']; ?>
: <?php echo $this->_tpl_vars['testimonial_box']['Author']; ?>
"><?php echo $this->_tpl_vars['testimonial_box']['Author']; ?>
</span>
			</div>
		</div>
	<?php else: ?>
		<div class="info"><?php echo $this->_tpl_vars['lang']['testimonials_no_testimonials']; ?>
</div>
	<?php endif; ?>
	
	<?php if (! $this->_tpl_vars['block']['Tpl']): ?>
		</div>	
	<?php endif; ?>
	
</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>

<!-- testimonials box end -->