| 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_service_hs = get_theme_mod('service_hs','1');
$nexcraft_service_title = get_theme_mod('service_title',__('Services','clever-fox'));
$nexcraft_service_description = get_theme_mod('service_description',__('Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur quisquam saepe eveniet, cumque tempore veritatis!.','clever-fox'));
$nexcraft_service_contents = get_theme_mod('service_contents',nexcraft_get_service_default());
$nexcraft_service_sec_column = get_theme_mod('service_sec_column','4');
if($nexcraft_service_hs=='1'){
?>
<!-- Start: Service Section
=======================-->
<!-- Service start -->
<section class="service-section service-home">
<div class="container">
<?php if(!empty($nexcraft_service_title) || !empty($nexcraft_service_description)): ?>
<div class="section-title col-lg-6 mx-auto">
<?php if(!empty($nexcraft_service_title)): ?>
<h2 class="maintitle">
<svg xmlns="http://www.w3.org/2000/svg" width="54" height="27" viewBox="0 0 54 27" style="fill: var(--primary-color);" class="desg1"><path id="Rectangle_2_copy_3" data-name="Rectangle 2 copy 3" class="cls-1" d="M1156 147h1a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-1A2 2 0 0 1 1156 147Zm7 0h5a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-1A2 2 0 0 1 1163 147Zm3 13h1a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-1A2 2 0 0 1 1166 160Zm7 0h8a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-1A2 2 0 0 1 1173 160Zm-11.5 11a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 1161.5 171Zm4 0h3a1.5 1.5 0 0 1 0 3h-3A1.5 1.5 0 0 1 1165.5 171Zm7 0h7a1.5 1.5 0 0 1 0 3h-7A1.5 1.5 0 0 1 1172.5 171Zm16.5-11h17a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-1A2 2 0 0 1 1189 160Z" transform="translate(-1154 -147)"/></svg>
<span><?php echo wp_kses_post($nexcraft_service_title); ?></span>
<svg xmlns="http://www.w3.org/2000/svg" width="54" height="27" viewBox="0 0 54 27" style="fill: var(--primary-color);"><path id="Rectangle_2_copy_3" data-name="Rectangle 2 copy 3" class="cls-1" d="M1156 147h1a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-1A2 2 0 0 1 1156 147Zm7 0h5a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-1A2 2 0 0 1 1163 147Zm3 13h1a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-1A2 2 0 0 1 1166 160Zm7 0h8a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-1A2 2 0 0 1 1173 160Zm-11.5 11a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 1161.5 171Zm4 0h3a1.5 1.5 0 0 1 0 3h-3A1.5 1.5 0 0 1 1165.5 171Zm7 0h7a1.5 1.5 0 0 1 0 3h-7A1.5 1.5 0 0 1 1172.5 171Zm16.5-11h17a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-1A2 2 0 0 1 1189 160Z" transform="translate(-1154 -147)"/></svg>
</h2>
<?php endif; ?>
<?php if(!empty($nexcraft_service_description)): ?>
<p>
<?php echo wp_kses_post($nexcraft_service_description); ?>
</p>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="row">
<?php
if ( ! empty( $nexcraft_service_contents ) ) {
$nexcraft_service_contents = json_decode( $nexcraft_service_contents );
$nexcraft_count = 1;
foreach ( $nexcraft_service_contents as $nexcraft_service_item ) {
$nexcraft_repeater_image2 = ! empty( $nexcraft_service_item->image_url2 ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_service_item->image_url2, 'Service section' ) : '';
$nexcraft_repeater_service_icon = ! empty( $nexcraft_service_item->icon_value) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_service_item->icon_value,'Service section' ) : '';
$nexcraft_repeater_service_title = ! empty( $nexcraft_service_item->title ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_service_item->title, 'Service section' ) : '';
$nexcraft_repeater_service_subtitle = ! empty( $nexcraft_service_item->text ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_service_item->text, 'Service section' ) : '';
$nexcraft_repeater_service_btn_lbl = ! empty( $nexcraft_service_item->text2 ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_service_item->text2, 'Service section' ) : '';
$nexcraft_repeater_service_link = ! empty( $nexcraft_service_item->link ) ? apply_filters( 'nexcraft_translate_single_string', $nexcraft_service_item->link, 'Service section' ) : '';
?>
<div class="col-lg-<?php echo esc_attr($nexcraft_service_sec_column); ?> col-sm-6">
<div class="service">
<?php if( ! empty( $nexcraft_repeater_service_icon ) ): ?>
<div class="service-icon">
<i class="fas <?php echo esc_attr($nexcraft_repeater_service_icon); ?>"></i>
</div>
<?php endif; ?>
<div class="service-content">
<?php if ( ! empty( $nexcraft_repeater_service_title ) ) : ?>
<h2>
<?php if($nexcraft_repeater_service_title): echo esc_html($nexcraft_repeater_service_title); endif; ?>
</h2>
<?php endif; ?>
<?php if ( ! empty( $nexcraft_repeater_service_subtitle ) ) : ?>
<p>
<?php if($nexcraft_repeater_service_subtitle): echo esc_html($nexcraft_repeater_service_subtitle); endif; ?>
</p>
<?php endif; ?>
<a href="<?php echo esc_url( $nexcraft_repeater_service_link ); ?>" class="main-btn"><?php if($nexcraft_repeater_service_btn_lbl): echo esc_html($nexcraft_repeater_service_btn_lbl); endif; ?>
<i class="fas fa-angle-double-right"></i></a>
</div>
</div>
</div>
<?php ++$nexcraft_count; } }?>
</div>
</div>
</section>
<!-- End: Service Section
=======================-->
<?php } ?>