<!-- Footer -->
<footer class="text-lg-start bg-body-tertiary text-muted">
  <!-- Section: Social media
  <section class="d-flex justify-content-center justify-content-lg-between p-4 border-bottom">
     <div class="me-5 d-none d-lg-block">
      <span>Get connected with us on social networks:</span>
    </div>
   
    <div>
      <a href="" class="me-4 text-reset">
        <i class="fab fa-facebook-f"></i>
      </a>
      <a href="" class="me-4 text-reset">
        <i class="fab fa-twitter"></i>
      </a>
      <a href="" class="me-4 text-reset">
        <i class="fab fa-google"></i>
      </a>
      <a href="" class="me-4 text-reset">
        <i class="fab fa-instagram"></i>
      </a>
      <a href="" class="me-4 text-reset">
        <i class="fab fa-linkedin"></i>
      </a>
      <a href="" class="me-4 text-reset">
        <i class="fab fa-github"></i>
      </a>
    </div>
    
  </section>
   -->
  <!-- Section: Social media -->

  <!-- Section: Links  -->
  <section class="">
    <div class="containertext-md-start mt-5">
      <!-- Grid row -->
      <div class="row mt-3">
        <!-- Grid column -->
        <div class="col-md-4 col-lg-4 col-xl-4  mb-4 pl-5">
          <!-- Content -->
          <h6 class="text-uppercase fw-bold mb-4">
            <i class="fas fa-gem me-3"></i> cars.zadio.bg
          </h6>
          <p>
            
          </p>
        </div>
        
		<!-- Grid column -->
        
        <!-- Grid column -->

        <!-- Grid column -->
        <div class="col-md-4 col-lg-4 col-xl-4 mx-auto mb-4">
          <!-- Links -->
          <h6 class="text-uppercase fw-bold mb-4">
            Useful links
          </h6>
          <p>
            <a href="/CookiesPolicy" class="text-reset">Cookie policy</a>
          </p>
		  <!--
          <p>
            <a href="#!" class="text-reset">Settings</a>
          </p>
          <p>
            <a href="#!" class="text-reset">Orders</a>
          </p>
          <p>
            <a href="#!" class="text-reset">Help</a>
          </p>
		  -->
        </div>
        <!-- Grid column -->
		<?php
			$sqlstr="SELECT  `company_name`, `vat_code`, `address1`, `address2`, `phone`, `email`, `website` FROM `company_details`";
			$db = db_connect();
			$query=$db->query($sqlstr);
			$footer=$query->getResult('array');
			$row=$footer[0];
		?>
        <!-- Grid column -->
        <div class="col-md-4 col-lg-3 col-xl-3 mx-auto mb-md-0 mb-4">
          <!-- Links -->
          <h6 class="text-uppercase fw-bold mb-4">Contact</h6>
          <p><?=$row['company_name']?> <?=$row['address2']?></p>
          <p>
            
            <?=$row['email']?>
          </p>
          <?=formatPhone($row['phone'])?></p>
          <!--<p><i class="fas fa-print me-3"></i> + 01 234 567 89</p>
		  -->
        </div>
        <!-- Grid column -->
      </div>
      <!-- Grid row -->
    </div>
  </section>
  <!-- Section: Links  -->

  <!-- Copyright -->
  <div class="text-center p-4" style="background-color: rgba(0, 0, 0, 0.05);">
    © Copyright     <a class="text-reset fw-bold" href="https://zadio.bg/">Zadio 2024</a>
  </div>
  <!-- Copyright -->
</footer>
<!-- Footer -->
