Файловый менеджер - Редактировать - /home/pimjdymy/public_html/zeroesops/wp-content/themes/zeroesops/page-templates/about-template.php
Назад
<?php /* Template Name: About Template */ get_header(); ?> <div class="site-wrapper-reveal"> <?php if( get_field('inner_banner') ): ?> <div class="about-banner-wrap banner-space about-us-bg" style="background-image: url(<?php echo get_field('inner_banner'); ?>);"> <div class="container"> <div class="row"> <div class="col-lg-8 m-auto"> <div class="about-banner-content text-center"> <?php if( get_field('inner_title') ): ?><h1 class="mb-15 text-white"><?php echo get_field('inner_title'); ?></h1><?php endif; ?> <?php if( get_field('inner_sub_title') ): ?><h5 class="font-weight--normal text-white"><?php echo get_field('inner_sub_title'); ?></h5><?php endif; ?> </div> </div> </div> </div> </div> <?php endif; ?> <!--=========== feature-large-images-wrapper Start =============--> <div class="feature-large-images-wrapper section-space--ptb_100"> <div class="container"> <?php if( get_field('company_title') ): ?> <div class="row"> <div class="col-lg-12"> <!-- section-title-wrap Start --> <div class="section-title-wrap text-center section-space--mb_60"> <?php if( get_field('company_title') ): ?><h6 class="section-sub-title mb-20"><?php echo get_field('company_title'); ?></h6><?php endif; ?> <?php if( get_field('company_sub_title') ): ?><h3 class="heading"><?php echo get_field('company_sub_title'); ?></h3><?php endif; ?> </div> <!-- section-title-wrap Start --> </div> </div> <?php endif; ?> <?php $experience = get_field('experience'); ?> <?php if( $experience ): ?> <div class="cybersecurity-about-box section-space--pb_70"> <div class="row"> <div class="col-lg-4 offset-lg-1"> <div class="modern-number-01"> <?php if( $experience['title'] ): ?><h2 class="heading me-5"><?php if( $experience['numbers'] ): ?><span class="mark-text"><?php echo $experience['numbers']; ?></span><?php endif; ?><?php echo $experience['title']; ?></h2><?php endif; ?> <?php if( $experience['sub_title'] ): ?><h6 class="heading mt-30"><?php echo $experience['sub_title']; ?></h6><?php endif; ?> </div> </div> <div class="col-lg-5 offset-lg-1"> <div class="cybersecurity-about-text"> <?php if( $experience['content'] ): ?><div class="text"><?php echo $experience['content']; ?></div><?php endif; ?> <?php if( $experience['button'] ): ?> <div class="button-text"> <a href="<?php echo $experience['button']['url']; ?>" class="btn-text"> <?php echo $experience['button']['title']; ?> <span class="button-icon ml-1"> <i class="far fa-long-arrow-right"></i> </span> </a> </div> <?php endif; ?> </div> </div> </div> </div> <?php endif; ?> <?php if( have_rows('features_section') ): ?> <div class="row"> <div class="col-12"> <div class="feature-images__six"> <div class="row"> <?php while( have_rows('features_section') ): the_row(); ?> <div class="col-lg-4 col-md-6 wow move-up"> <!-- ht-box-icon Start --> <div class="ht-box-images style-06"> <div class="image-box-wrap"> <?php if( get_sub_field('icon') ): ?> <div class="box-image"> <div class="default-image"> <img class="img-fulid" src="<?php echo get_sub_field('icon'); ?>" alt=""> </div> </div> <?php endif; ?> <div class="content"> <?php if( get_sub_field('title') ): ?><h5 class="heading"><?php echo get_sub_field('title'); ?></h5><?php endif; ?> <?php if( get_sub_field('content') ): ?><div class="text"><?php echo get_sub_field('content'); ?></div><?php endif; ?> <?php $btn = get_sub_field('button'); ?> <?php if( $btn ): ?> <a href="<?php echo $btn['url']; ?>" class="box-images-arrow"> <span class="button-text"><?php echo $btn['title']; ?></span> <i class="far fa-long-arrow-right"></i> </a> <?php endif; ?> </div> </div> </div> <!-- ht-box-icon End --> </div> <?php endwhile; ?> </div> </div> <?php if( get_field('bottom_text') ): ?> <div class="section-under-heading text-center section-space--mt_60"><?php echo get_field('bottom_text'); ?> <?php $bottom_button = get_field('bottom_button'); if( $bottom_button ): ?><a href="<?php echo $bottom_button['url']; ?>"><?php echo $bottom_button['title']; ?></a><?php endif; ?></div> <?php endif; ?> </div> </div> <?php endif; ?> </div> </div> <!--=========== feature-large-images-wrapper End =============--> <!--========= About Resources Wrapper Start ===========--> <?php if( get_field('resource_title') ): ?> <div class="about-resources-wrapper"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col-lg-6 order-2 order-lg-1"> <div class="resources-left-box"> <div class="resources-inner"> <?php if( get_field('resource_title') ): ?><h6 class="sub-title mb-20"><?php echo get_field('resource_title'); ?></h6><?php endif; ?> <?php if( get_field('resource_sub_title') ): ?><h3 class="heading"><?php echo get_field('resource_sub_title'); ?></h3><?php endif; ?> <?php $resource_button = get_field('resource_button'); ?> <?php if( $resource_button ): ?> <div class="button mt-30"> <a href="<?php echo $resource_button['url']; ?>" class="ht-btn ht-btn-md"><?php echo $resource_button['title']; ?></a> </div> <?php endif; ?> </div> </div> </div> <?php if( get_field('resource_image') ): ?> <div class="col-lg-6 order-1 order-lg-2"> <div class="resources-right-box"> <div class="resources-right-inner text-center"> <div class="resources-images"> <img class="img-fluid" src="<?php echo get_field('resource_image'); ?>" alt=""> </div> </div> </div> </div> <?php endif; ?> </div> </div> </div> <?php endif; ?> <!--========= About Resources Wrapper End ===========--> <!--========= About Delivering Wrapper Start ===========--> <div class="about-delivering-wrapper section-space--ptb_100"> <div class="container"> <?php if( get_field('solution_title') ): ?> <div class="row"> <div class="col-lg-12"> <div class="section-title-wrap text-center section-space--mb_20"> <?php if( get_field('solution_title') ): ?><h3 class="heading"><?php echo get_field('solution_title'); ?></h3><?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if( have_rows('solutions') ): ?> <div class="row"> <?php $counter = 0; echo '<div class="col-lg-6"><div class="delivering-optimal-wrap">'; while ( have_rows('solutions') ) : the_row(); if ($counter == 3) { echo '</div></div><div class="col-lg-6"><div class="delivering-optimal-wrap">'; } ?> <div class="list-item"> <div class="marker"></div> <div class="title-wrap"> <?php if( get_sub_field('title') ): ?><h5 class="title"><?php echo get_sub_field('title'); ?></h5><?php endif; ?> <?php if( get_sub_field('point') ): ?><div class="desc"><?php echo get_sub_field('point'); ?></div><?php endif; ?> </div> </div> <?php $counter++; endwhile; echo '</div></div>'; ?> </div> <?php endif; ?> </div> </div> <!--=========== fun fact Wrapper Start ==========--> <?php if( have_rows('fact_counter') ): ?> <div class="fun-fact-wrapper bg-theme-default section-space--pb_30 section-space--pt_60"> <div class="container"> <div class="row"> <?php while( have_rows('fact_counter') ): the_row(); ?> <div class="col-md-3 col-sm-6 wow move-up"> <div class="fun-fact--two text-center"> <?php if( get_sub_field('counter') ): ?><div class="fun-fact__count counter"><?php echo get_sub_field('counter'); ?></div><?php endif; ?> <?php if( get_sub_field('title') ): ?><h6 class="fun-fact__text"><?php echo get_sub_field('title'); ?></h6><?php endif; ?> </div> </div> <?php endwhile; ?> </div> </div> </div> <?php endif; ?> <!--=========== fun fact Wrapper End ==========--> <!--==================== testimonial section ====================--> <div class="testimonial-slider-area section-space--pt_100"> <div class="container"> <div class="row"> <div class="col-lg-12"> <?php if( get_field('testimonial_title') ): ?> <div class="section-title-wrap text-center section-space--mb_40"> <?php if( get_field('testimonial_title') ): ?><h6 class="section-sub-title mb-20"><?php echo get_field('testimonial_title'); ?></h6><?php endif; ?> <?php if( get_field('testimonial_sub_title') ): ?><h3 class="heading"><?php echo get_field('testimonial_sub_title'); ?></h3><?php endif; ?> </div> <?php endif; ?> <?php if( have_rows('testimonials') ): ?> <div class="testimonial-slider"> <div class="swiper-container testimonial-slider__container"> <div class="swiper-wrapper testimonial-slider__wrapper"> <?php while( have_rows('testimonials') ): the_row(); ?> <div class="swiper-slide"> <div class="testimonial-slider__one wow move-up"> <div class="testimonial-slider--info"> <?php if( get_sub_field('image') ): ?> <div class="testimonial-slider__media"> <img src="<?php echo get_sub_field('image'); ?>" class="img-fluid" alt=""> </div> <?php endif; ?> <?php if( get_sub_field('name') ): ?> <div class="testimonial-slider__author"> <div class="testimonial-rating"> <span class="fa fa-star"></span> <span class="fa fa-star"></span> <span class="fa fa-star"></span> <span class="fa fa-star"></span> <span class="fa fa-star"></span> </div> <div class="author-info"> <?php if( get_sub_field('name') ): ?><h6 class="name"><?php echo get_sub_field('name'); ?></h6><?php endif; ?> <?php if( get_sub_field('designation') ): ?><span class="designation"><?php echo get_sub_field('designation'); ?></span><?php endif; ?> </div> </div> <?php endif; ?> </div> <?php if( get_sub_field('content') ): ?> <div class="testimonial-slider__text"><?php echo get_sub_field('content'); ?></div> <?php endif; ?> </div> </div> <?php endwhile; ?> </div> <div class="swiper-pagination swiper-pagination-t01 section-space--mt_30"></div> </div> </div> <?php endif; ?> </div> </div> </div> </div> <!--==================== End of testimonial section ====================--> <?php get_template_part( 'template-parts/content', 'brand-logo' ); ?> <!--============ Contact Us Area Start =================--> <?php if( get_field('left_image') ): ?> <div class="contact-us-area infotechno-contact-us-bg section-space--pt_100"> <div class="container"> <div class="row align-items-center"> <?php if( get_field('left_image') ): ?> <div class="col-lg-7"> <div class="image"> <img class="img-fluid" src="<?php echo get_field('left_image'); ?>" alt=""> </div> </div> <?php endif; ?> <div class="col-lg-4 ms-auto"> <div class="contact-info style-two text-left"> <?php if( get_field('rating_numbers') ): ?> <div class="contact-info-title-wrap text-center"> <?php if( get_field('rating_numbers') ): ?><h3 class="heading mb-10"><?php echo get_field('rating_numbers'); ?></h3><?php endif; ?> <div class="ht-star-rating lg-style"> <span class="fa fa-star"></span> <span class="fa fa-star"></span> <span class="fa fa-star"></span> <span class="fa fa-star"></span> <span class="fa fa-star"></span> </div> <?php if( get_field('clients_and_customers') ): ?><p class="sub-text"><?php echo get_field('clients_and_customers'); ?></p><?php endif; ?> </div> <?php endif; ?> <div class="contact-list-item"> <?php $phone_contact = get_field('phone_contact'); ?> <?php if( $phone_contact ): ?> <a href="tel:<?php echo $phone_contact['phone']; ?>" class="single-contact-list"> <div class="content-wrap"> <div class="content"> <div class="icon"> <span class="fal fa-phone"></span> </div> <div class="main-content"> <?php if( $phone_contact['heading'] ): ?><h6 class="heading"><?php echo $phone_contact['heading']; ?></h6><?php endif; ?> <?php if( $phone_contact['phone'] ): ?><div class="text"><?php echo $phone_contact['phone']; ?></div><?php endif; ?> </div> </div> </div> </a> <?php endif; ?> <?php $email_contact = get_field('email_contact'); ?> <?php if( $email_contact ): ?> <a href="mailto:<?php echo $email_contact['email_address']; ?>" class="single-contact-list"> <div class="content-wrap"> <div class="content"> <div class="icon"> <span class="fal fa-envelope"></span> </div> <div class="main-content"> <?php if( $email_contact['heading'] ): ?><h6 class="heading"><?php echo $email_contact['heading']; ?></h6><?php endif; ?> <?php if( $email_contact['email_address'] ): ?><div class="text"><?php echo $email_contact['email_address']; ?></div><?php endif; ?> </div> </div> </div> </a> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php endif; ?> <!--============ Contact Us Area End =================--> </div> <?php get_footer();
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка