| 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/hantus/sections/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! function_exists( 'hantus_lite_info' ) ) :
function hantus_lite_info() {
$hantus_hide_show_info = get_theme_mod('hide_show_info','1');
$hantus_info_first_img_setting = get_theme_mod('info_first_img_setting',esc_url(CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/icons/icon01.jpg'));
$hantus_info_title = get_theme_mod('info_title',__('Opening Time','clever-fox'));
$hantus_info_description = get_theme_mod('info_description',__('Mon - Sat: 10h00 - 18h00','clever-fox'));
$hantus_info_btn = get_theme_mod('info_btn',__('Read More','clever-fox'));
$hantus_info_link = get_theme_mod('info_link','#');
$hantus_info_second_img_setting= get_theme_mod('info_second_img_setting',esc_url(CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/icons/icon02.jpg'));
$hantus_info_title2 = get_theme_mod('info_title2',__('Address','clever-fox'));
$hantus_info_description2 = get_theme_mod('info_description2',__('40 Baria Sreet, NY USAm','clever-fox'));
$hantus_info_btn2 = get_theme_mod('info_btn2',__('Read More','clever-fox'));
$hantus_info_link2 = get_theme_mod('info_link2','#');
$hantus_info_third_img_setting = get_theme_mod('info_third_img_setting',esc_url(CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/icons/icon03.jpg'));
$hantus_info_title3 = get_theme_mod('info_title3',__('Telephone','clever-fox'));
$hantus_info_description3 = get_theme_mod('info_description3',__('+12 345 678 9101','clever-fox'));
$hantus_info_btn3 = get_theme_mod('info_btn3',__('Read More','clever-fox'));
$hantus_info_link3 = get_theme_mod('info_link3','#');
?>
<?php if($hantus_hide_show_info == '1') { ?>
<section id="contact2">
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="info-wrapper">
<li class="info-first">
<aside class="single-info">
<?php if ( ! empty( $hantus_info_first_img_setting ) ) { ?>
<img src="<?php echo esc_url( $hantus_info_first_img_setting ); ?>" <?php if ( ! empty( $hantus_title ) ) : ?> alt="<?php echo esc_attr( $hantus_title ); ?>" title="<?php echo esc_attr( $hantus_title ); ?>" <?php endif; ?> />
<?php } ?>
<div class="info-area">
<div class="info-caption">
<p><?php echo esc_html( $hantus_info_description ); ?></p>
<h4><?php echo esc_html( $hantus_info_title ); ?></h4>
</div>
<a href="<?php echo esc_url($hantus_info_link); ?>" class="btn-info"><?php echo esc_html($hantus_info_btn); ?></a>
</div>
</aside>
</li>
<li class="info-second">
<aside class="single-info">
<?php if ( ! empty( $hantus_info_second_img_setting ) ) { ?>
<img src="<?php echo esc_url( $hantus_info_second_img_setting ); ?>" <?php if ( ! empty( $hantus_title ) ) : ?> alt="<?php echo esc_attr( $hantus_title ); ?>" title="<?php echo esc_attr( $hantus_title ); ?>" <?php endif; ?> />
<?php } ?>
<div class="info-area">
<div class="info-caption">
<p><?php echo esc_html( $hantus_info_description2 ); ?></p>
<h4><?php echo esc_html( $hantus_info_title2 ); ?></h4>
</div>
<a href="<?php echo esc_url($hantus_info_link2); ?>" class="btn-info"><?php echo esc_html($hantus_info_btn2); ?></a>
</div>
</aside>
</li>
<li class="info-third">
<aside class="single-info">
<?php if ( ! empty( $hantus_info_third_img_setting ) ) { ?>
<img src="<?php echo esc_url( $hantus_info_third_img_setting ); ?>" <?php if ( ! empty( $hantus_title ) ) : ?> alt="<?php echo esc_attr( $hantus_title ); ?>" title="<?php echo esc_attr( $hantus_title ); ?>" <?php endif; ?> />
<?php } ?>
<div class="info-area">
<div class="info-caption">
<p><?php echo esc_html( $hantus_info_description3 ); ?></p>
<h4><?php echo esc_html( $hantus_info_title3 ); ?></h4>
</div>
<a href="<?php echo esc_url($hantus_info_link3); ?>" class="btn-info"><?php echo esc_html($hantus_info_btn3); ?></a>
</div>
</aside>
</li>
</ul>
</div>
</div>
</div>
</section>
<?php }} endif; ?>
<?php
if ( function_exists( 'hantus_lite_info' ) ) {
$cleverfox_section_priority = apply_filters( 'hantus_section_priority', 12, 'hantus_lite_info' );
add_action( 'hantus_sections', 'hantus_lite_info', absint( $cleverfox_section_priority ) );
}
?>