56 lines
2.6 KiB
PHP
56 lines
2.6 KiB
PHP
<?php
|
|
|
|
// Query untuk mendapatkan profil awal
|
|
$query = mysqli_query($conn, "SELECT * FROM profil WHERE id_usaha = 1");
|
|
$profile = mysqli_fetch_assoc($query);
|
|
?>
|
|
|
|
<footer id="footer" class="footer accent-background">
|
|
<div class="container footer-top">
|
|
<div class="row gy-4">
|
|
<div class="col-lg-5 col-md-12 footer-about">
|
|
<a href="index.php" class="logo d-flex align-items-center">
|
|
<span class="sitename"><?php echo $profile['nama_usaha']; ?></span>
|
|
</a>
|
|
<p>Solusi Terbaik untuk Kebutuhan Daging Ayam Potong Anda!</p>
|
|
<div class="social-links d-flex mt-4">
|
|
<a href="<?php echo $profile['link_twitter']; ?>"><i class="bi bi-twitter-x"></i></a>
|
|
<a href="<?php echo $profile['link_fb']; ?>"><i class="bi bi-facebook"></i></a>
|
|
<a href="<?php echo $profile['link_ig']; ?>"><i class="bi bi-instagram"></i></a>
|
|
<a href="<?php echo $profile['link_tiktok']; ?>"><i class="bi bi-tiktok"></i></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-6 footer-links">
|
|
<h4>Alternatif Navigasi</h4>
|
|
<ul>
|
|
<li><a href="#">Beranda</a></li>
|
|
<li><a href="#">Tentang Kami</a></li>
|
|
<li><a href="#">Testimoni</a></li>
|
|
<li><a href="#">Produk</a></li>
|
|
<li><a href="#">Masuk</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="col-lg-5 col-md-12 footer-contact">
|
|
<div class="row">
|
|
<div class="col-md-6 text-center text-md-start">
|
|
<h4>Kontak Kami</h4>
|
|
<p><?php echo $profile['alamat']; ?></p>
|
|
<p class="mt-4"><strong>No. Hp:</strong> <span><?php echo $profile['no_hp']; ?></span></p>
|
|
<p><strong>Email:</strong> <span><?php echo $profile['email']; ?></span></p>
|
|
</div>
|
|
<div class="col-md-6 text-center text-md-start">
|
|
<h4>Lokasi Kami</h4>
|
|
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3954.754924165425!2d111.88458401047214!3d-7.601628292381697!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e784b1be6fcc2e9%3A0x90371bbd322ed1e!2sJl.%20Lurah%20Surodarmo%20No.99%2C%20Cangkringan%2C%20Kec.%20Nganjuk%2C%20Kabupaten%20Nganjuk%2C%20Jawa%20Timur%2064415!5e0!3m2!1sid!2sid!4v1724657159808!5m2!1sid!2sid" width="200" height="150" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container copyright text-center mt-4">
|
|
<p>© <span>Copyright</span> <strong class="px-1 sitename"><?php echo $profile['nama_usaha']; ?></strong> <span>All Rights Reserved</span></p>
|
|
</div>
|
|
</footer>
|