<?php
if($ayar['whatsapp']!=''){
?>

<script type="text/javascript">
    (function () {
        var options = {
            whatsapp: "<?=$ayar['whatsapp']?>", // WhatsApp numaranızı buraya girin
            call_to_action: "Merhaba, nasıl yardımcı olabilirim?", // Görünecek metin
            position: "left", // Position may be 'right' or 'left'
        };
        var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
        s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
    })();
</script>




<?php }?>
<footer class="wpo-site-footer">
                <div class="wpo-upper-footer">
                    <div class="container-fluid">
                        <div class="row">
                            <div class="col col-xl-3 col-lg-4 col-md-6 col-sm-12 col-12">
                                <div class="widget about-widget">
                                    <div class="logo widget-title">
                                        <img src="resimler/<?=$ayar['footer_logo']?>" alt="<?=$ayar['site_title']?>">
                                    </div>
                                    <p><?=$sayfa['onaciklama']?></p>
                                    <ul>
                                        <li>
                                            <a href="<?=$ayar['facebook']?>" target="_blank">
                                                <i class="ti-facebook"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?=$ayar['twitter']?>" target="_blank">
                                                <i class="ti-twitter-alt"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?=$ayar['instagram']?>" target="_blank">
                                                <i class="ti-instagram"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?=$ayar['youtube']?>" target="_blank">
                                                <i class="ti-youtube"></i>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="col col-xl-3  col-lg-4 col-md-6 col-sm-12 col-12">
                                <div class="widget link-widget">
                                    <div class="widget-title">
                                        <h3>Menü Link</h3>
                                    </div>
                                    <ul>
                                        <li><a href="./">Anasayfa</a></li>
                                        <li><a href="hakkimizda">Hakkımızda</a></li>
                                       <li><a href="galeri">Albümler</a></li>
                                       <li><a href="canli-yayin">Canlı Yayın</a></li>
                                       <li><a href="referanslar">Referanslar </a></li>
                                       <li><a href="iletisim">İletişim </a></li>
                                    </ul>
                                </div>
                            </div>
                            
                            <div class="col col-xl-3  col-lg-4 col-md-6 col-sm-12 col-12">
                                <div class="widget link-widget">
                                    <div class="widget-title">
                                        <h3>Hizmetler</h3>
                                    </div>
                                    <ul>
                                        
                                                                               <?php
                    $cek=$db->query("select * from hizmetler where durum='on' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
					foreach($cek as $goster){
					?>
                                        <li><a href="<?=$goster['seo']?>"><?=$goster['adi']?></a></li>
                                     <?php }?>
                                    </ul>
                                </div>
                            </div>
                            <div class="col col-xl-3  col-lg-4 col-md-6 col-sm-12 col-12">
                                <div class="widget wpo-service-link-widget">
                                    <div class="widget-title">
                                        <h3>İletişim Bilgileri </h3>
                                    </div>
                                    <div class="contact-ft">
                                      
                                        <ul>
                                            <li><i class="fi flaticon-email"></i><?=$ayar['email1']?></li>
                                            <li><i class="fi flaticon-phone-call"></i><?=$ayar['telefon1']?></li>
                                            <li><i class="fi flaticon-maps-and-flags"></i><?=$ayar['adres1']?>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>

                           
                        </div>
                    </div> 
                </div>
                <div class="wpo-lower-footer">
                    <div class="container">
                        <div class="row">
                            <div class="col col-xs-12">
                                <p class="copyright"> <?=$ayar['footer_copyright']?></p>
                            </div>
                        </div>
                    </div>
                </div>
            </footer>