<?php
  $getPostAsk->execute(array(
    'seo_url'    => $_GET["seo_url"],
    'post_type'  => 'post_services'
  ));
  $servicesDataCheck=$getPostAsk->fetch(PDO::FETCH_ASSOC);
?>
   <div class="tp-page-title-area pt-180 pb-185 position-relative fix" data-background="<?php echo $servicesDataCheck['banner']; ?>">
            <div class="tp-custom-container">
                <div class="row">
                    <div class="col-12">
                        <div class="tp-page-title z-index">
                            <div class="breadcrumb-menu">
                                <nav class="breadcrumb-trail breadcrumbs">
                                    <ul class="trail-items">
                                        <li class="trail-item trail-begin"><a href="<?php echo $generalSettingCheck['site_url']; ?>"><?php echo $langArray['LINK_HOME']; ?></a>
                                        </li>
                                        <?php if ($servicesDataCheck['post_type'] == 'post_services') { ?>
           <li class="trail-item trail-end"><a href="<?php echo $generalSettingCheck['site_url']; ?><?php echo $langArray['LINK_SERVICES_LINK']; ?>"><?php echo $langArray['LINK_SERVICES']; ?></a></li>
           <?php } ?>
        <li class="trail-item trail-end"><?php echo $servicesDataCheck['title']; ?></li>
                                    </ul>
                                </nav>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
 
        <section class="tp-service-details-area pt-120 pb-90">
            <div class="container">
                <div class="row">
                
                    <div class="col-xl-9 col-lg-8">
                        <div class="tp-service-details">
                            <div class="row">
                             
                            </div>
                            <h2 class="tp-section-title heading-color-black pt-10 mb-20"><?php echo $servicesDataCheck['title']; ?></h2>
                            <p class="mb-20"><?php echo $servicesDataCheck['content']; ?></p>
                           
                            <div class="tp-service-details-img mb-30 position-relative">
                                <img src="<?php echo $servicesDataCheck['banner']; ?>" alt="<?php echo $servicesDataCheck['title']; ?>">
                              
                            </div>
                            </div>
                        </div>
                            <div class="col-xl-3 col-lg-4">
                        <div class="tp-faqs-left">
                            <div class="tp-faqs-left-sidebar tp-services-sidebar mb-30">
                                <h4 class="tp-faqs-left-sidebar-title"><?php echo $langArray['LINK_SERVICES']; ?></h4>
                                <ul>
                                <?php
            $typePostAsk->execute(array(
              'post_type' => 'post_services',
              'language'  => $getLangCheck['language_id']
            ));
            while ($servicesCheck=$typePostAsk->fetch(PDO::FETCH_ASSOC)){
              $x = explode("/", $servicesCheck['banner']);
              $y = explode('.', $x[1]);

          ?>
                                <li><a href="<?php echo $servicesCheck['seo_url']; ?>"><?php echo $servicesCheck['title']; ?></a></li>
                              
                             <?php } ?> 
                                </ul>
                            </div>
                           
                            <div class="tp-faqs-left-sidebar tp-services-sidebar mb-30">
                                <h4 class="tp-faqs-left-sidebar-title mb-30"><?php echo $langArray['Contact_me']; ?></h4>
                                <div class="tp-services-sidebar-btn">
                                     <a href="tel:<?php echo $generalSettingCheck['contact_land_phone']; ?>"> <strong><?php echo $generalSettingCheck['contact_land_phone']; ?></strong></a><br>
                 <a href="tel:<?php echo $generalSettingCheck['contact_mobile_phone']; ?>"><strong><?php echo $generalSettingCheck['contact_mobile_phone']; ?></strong></a><br>
                  <a href="tel:<?php echo $generalSettingCheck['contact_fax']; ?>"> <strong><?php echo $generalSettingCheck['contact_fax']; ?></strong></a>
                                </div>
                            </div>
                        </div>
                    </div>
                    </div>
                </div>
            </div>
        </section>