| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/ifwar.ru/www/wp-content/plugins/clever-fox/inc/ampark/sections/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! function_exists( 'cleverfox_ampark_lite_testimonial' ) ) :
function cleverfox_ampark_lite_testimonial() {
$avril_ampark_hs_testimonial = get_theme_mod('hs_testimonial','1');
$avril_ampark_testimonial_title = get_theme_mod('testimonial_title', __('Technology from tomorrow', 'clever-fox'));
$avril_ampark_testimonial_subtitle = get_theme_mod('testimonial_subtitle', __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Testimonial</b><b>Testimonial</b><b>Testimonial</b></span></span>', 'clever-fox'));
$avril_ampark_testimonial_description = get_theme_mod('testimonial_description', __('Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'clever-fox'));
$avril_ampark_testimonials = get_theme_mod('testimonials',avril_get_testimonial_default());
if($avril_ampark_hs_testimonial=='1'){
?>
<section id="testimonial-section" class="testimonial-section av-py-default">
<div class="av-container">
<div class="av-columns-area">
<div class="av-column-12">
<div class="heading-default wow fadeInUp">
<?php if ( ! empty( $avril_ampark_testimonial_title ) ) : ?>
<span class='ttl'><?php echo wp_kses_post($avril_ampark_testimonial_title); ?></span>
<?php endif; ?>
<?php if ( ! empty( $avril_ampark_testimonial_subtitle ) ) : ?>
<h3><?php echo wp_kses_post($avril_ampark_testimonial_subtitle); ?></h3>
<?php endif; ?>
<?php if ( ! empty( $avril_ampark_testimonial_description ) ) : ?>
<p><?php echo wp_kses_post($avril_ampark_testimonial_description); ?></p>
<?php endif; ?>
</div>
</div>
</div>
<div class="testimonial-carousel owl-carousel owl-theme wow fadeInUp">
<?php
if ( ! empty( $avril_ampark_testimonials ) ) {
$avril_ampark_testimonials = json_decode( $avril_ampark_testimonials );
foreach ( $avril_ampark_testimonials as $avril_ampark_test_item ) {
$avril_ampark_repeater_title = ! empty( $avril_ampark_test_item->title ) ? apply_filters( 'avril_translate_single_string', $avril_ampark_test_item->title, 'Testimonial section' ) : '';
$avril_ampark_repeater_subtitle = ! empty( $avril_ampark_test_item->subtitle ) ? apply_filters( 'avril_translate_single_string', $avril_ampark_test_item->subtitle, 'Testimonial section' ) : '';
$avril_ampark_repeater_text = ! empty( $avril_ampark_test_item->text ) ? apply_filters( 'avril_translate_single_string', $avril_ampark_test_item->text, 'Testimonial section' ) : '';
$avril_ampark_repeater_image = ! empty( $avril_ampark_test_item->image_url ) ? apply_filters( 'avril_translate_single_string', $avril_ampark_test_item->image_url, 'Testimonial section' ) : '';
?>
<div class="testimonial-item">
<div class="testimonial-content">
<div class="testimonial-title">
<?php if ( ! empty( $avril_ampark_repeater_title ) ) : ?>
<h6 class="service-title"><?php echo esc_html($avril_ampark_repeater_title); ?></h6>
<?php endif; ?>
<?php if ( ! empty( $avril_ampark_repeater_subtitle ) ) : ?>
<p><?php echo esc_html($avril_ampark_repeater_subtitle); ?></p>
<?php endif; ?>
</div>
<?php if ( ! empty( $avril_ampark_repeater_text ) ) : ?>
<blockquote><?php echo esc_html($avril_ampark_repeater_text); ?></blockquote>
<?php endif; ?>
</div>
<div class="testimonial-icon">
<div class="image-box">
<?php if ( ! empty( $avril_ampark_repeater_image ) ) : ?>
<img src="<?php echo esc_url( $avril_ampark_repeater_image ); ?>" data-img-url="<?php echo esc_url( $avril_ampark_repeater_image ); ?>" <?php if ( ! empty( $avril_ampark_repeater_title ) ) : ?> alt="<?php echo esc_html($avril_ampark_repeater_title); ?>" title="<?php echo esc_html($avril_ampark_repeater_title); ?>" <?php endif; ?> />
<?php endif; ?>
</div>
</div>
</div>
<?php } } ?>
</div>
</div>
</section>
<?php
}} endif;
if ( function_exists( 'cleverfox_ampark_lite_testimonial' ) ) {
$cleverfox_section_priority = apply_filters( 'avril_section_priority', 14, 'avril_lite_team' );
add_action( 'avril_sections', 'cleverfox_ampark_lite_testimonial', absint( $cleverfox_section_priority ) );
}