| 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/nexcraft/sections/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
$nexcraft_info_hs = get_theme_mod('info_hs','1');
$nexcraft_info = get_theme_mod('info',nexcraft_get_info_default());
$nexcraft_info_column = get_theme_mod('info_column','3');
if($nexcraft_info_hs=='1'){
$nexcraft_settings = array('items'=>$nexcraft_info_column);
wp_register_script('nexcraft-info',get_template_directory_uri().'/assets/js/homepage/info.js',array('jquery'),'6.9',true);
wp_localize_script('nexcraft-info','info_setting',$nexcraft_settings);
wp_enqueue_script('nexcraft-info');
if ( ! empty( $nexcraft_info ) ) {
$nexcraft_info = json_decode( $nexcraft_info );
?>
<!-- Info section -->
<div class="info-section nexcraft-info">
<div class="container">
<div class="info-contents owl-carousel">
<?php
foreach ( $nexcraft_info as $nexcraft_info_item ) {
$nexcraft_repeater_title = ! empty( $nexcraft_info_item->title ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_info_item->title, 'Info section' ) : '';
$nexcraft_repeater_text2 = ! empty( $nexcraft_info_item->text2 ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_info_item->text2, 'Info section' ) : '';
$nexcraft_repeater_icon = ! empty( $nexcraft_info_item->icon_value ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_info_item->icon_value, 'Info section' ) : '';
$nexcraft_repeater_choice = ! empty( $nexcraft_info_item->choice ) ? apply_filters( 'nexcraft_translate_single_string ', $nexcraft_info_item->choice, 'Info section' ) : '';
?>
<div class="">
<div class="info-first ">
<aside class="widget widget-contact">
<div class="contact-area">
<div class="contact-icon">
<i class="fas <?php echo esc_attr($nexcraft_repeater_icon); ?>"></i>
</div>
<div class="contact-info">
<?php if(!empty($nexcraft_repeater_title)): ?>
<h4>
<?php if($nexcraft_repeater_title): echo esc_html($nexcraft_repeater_title); endif; ?>
</h4>
<?php endif; ?>
<?php if(!empty($nexcraft_repeater_text2)): ?>
<span><?php if($nexcraft_repeater_text2): echo esc_html($nexcraft_repeater_text2); endif; ?></span>
<?php endif; ?>
</div>
</div>
</aside>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<?php } }?>
<!-- Info Section end -->