<?php get_header(); 
global $phone1,
// $phone2,
$email, 
$adres,
$adres_en,
$yamap, 
$schedule,
// $telegram,
// $whatsapp,
$vk;
?>
<section class="section about">
    <div class="container">
        <div class="services-row">
            <div class="breadcrumbs">
                <?php if(function_exists('bcn_display')) { bcn_display(); }?>
            </div>
            <?php if (have_posts()) { while (have_posts()) { the_post();  
            if ( has_post_thumbnail() ) { 
                        $url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'post');
                        $thmb = $url[0];
                          } else {
                            $thmb = TEMPLATE_DIR . "/img/main/placeholder.webp";
                      } ?>
                <div class="about-body">
                        <div class="about-top">
                            <h1 class="about__title">
                                <?php echo get_field('alt_tit') ? get_field('alt_tit') : the_title()?>   
                            </h1>
                            <div class="application-top__text">
                                <?php echo get_field('alt_desc') ? get_field('alt_desc') : '';?>   
                            </div>
                            <div class="contact-info">
                                <a href="tel:<?php echo $phone1;?>" class="footer-info__item footer-info__number">
                                    <?php echo $phone1;?>
                                </a>
                                <p class="footer-info__item footer-info__address">
                                <?php echo $adres_en;?>
                                </p>
                                <p class="footer-info__item footer-info__graphic">
                                    Schedule: <?php echo $schedule?>
                                </p>
                                <a href="mailto:<?php echo $email;?>" class="footer-info__item footer-info__email">
                                    <?php echo $email;?>
                                </a>
                            </div>
                        </div>
                        <div class="about-content">
                            <?php if ($url) { ?>
                                <div class="about-left" data-aos="fade-right" data-aos-duration="1200">
                                    <img class="page-thumb" src="<?php echo $thmb; ?>" alt="<?php the_title();?>">
                                </div>
                            <?php } ?>
                            <div class="about-right">
                                <div class="about__text">
                                    <?php the_content()?>
                                </div>
                            </div>

                        </div>
   
            </div>


        </div>
    </div>
</section>
<?php include_once('tpl-footerform.php'); ?>
<?php }} ?>
<?php get_footer(); ?>