
<div class="wrapper bg-light pt-3 m-0" id="wrapper-footer">
  <div class="widget-head col-12 col-sm-12 col-md-12 col-lg-12 mb-3" style="">
    <div class="<?if ($opcion101 == 1) { echo 'container-fluid';}if ($opcion101 == 0){echo 'container';}?>">
      <h3 class="widget-title">
        <span>Redes Sociales</span>
      </h3>
    </div>
  </div>

  <div id="redes-fondo"
    class="<?if ($opcion101 == 1) { echo 'container-fluid';}if ($opcion101 == 0){echo 'container';}?>">
    <div class="row">
   

    
      <div class="col-12 col-sm-12 col-md-4 mb-3">

        <?php
      
                $sql = "SELECT `contacto` FROM configuracion";
               $consulta = $conn->query($sql);
              while ($row = $consulta->fetch_assoc())
                {
                $contacto = $row["contacto"];
                }
               $consulta->free_result();
            ?>
        <div class="col-12 p-x2 my-3"><?php echo $contacto?></div>
        <div class="social">
          <ul class="p-0 d-flex" style="list-style:none;">
            <?php  if ($whatsapp == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="https://wa.me/<?php echo $whatsapp ?>">
                <h2 class="m-0"><i class="fab fa-whatsapp" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($facebook == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $facebook ?>">
                <h2 class="m-0"><i class="fab fa-facebook" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($twitter_btn == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $twitter_btn ?>">
                <h2 class="m-0"><i class="fab fa-twitter" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_aim == NULL) {} else {?>
            <li class=" ">
              <a class="instagram" target="_blank" href="<?php echo "https://instagram.com/".$social_aim ?>">
                <h2 class="m-0"><i class="fab fa-instagram" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_blogger == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_blogger ?>">
                <h2 class="m-0"><i class="fab fa-blogger" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_flickr == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_flickr ?>">
                <h2 class="m-0"><i class="fab fa-flickr" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_google == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_google ?>">
                <h2 class="m-0"><i class="fab fa-google" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>

            <?php  if ($social_tumblr == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_tumblr ?>">
                <h2 class="m-0"><i class="fab fa-tumblr" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_vimeo == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_vimeo ?>">
                <h2 class="m-0"><i class="fab fa-vimeo-v" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_yahoo == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_yahoo ?>">
                <h2 class="m-0"><i class="fab fa-yahoo" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>
            <?php  if ($social_youtube == NULL) {} else {?>
            <li class=" ">
              <a class=" " target="_blank" href="<?php echo $social_youtube ?>">
                <h2 class="m-0"><i class="fab fa-youtube" aria-hidden="true"></i></h2>
              </a>
            </li>
            <?php };?>

          </ul>
        </div>
      </div>

    </div>
  </div>

  <div class="col-12">

    <footer class="site-footer" id="colophon">

      <div class="site-info <?if ($opcion101 == 1) { echo 'container-fluid';}if ($opcion101 == 0){echo 'container';}?>">

        <div class="row">

          <div class="col-md-8">
            <h1 class="navbar-brand mb-0"><a rel="home" href="principal.php" title="">

                <img class="img-fluid custom-logo" width="201" height="31" src="<?
                                            $logo_C = str_replace('http://', 'https://', $logo_C);
                                            ?><?php echo  $logo_C;?>"></a></h1>
            <span class="copyright"> <?php echo $nombresitio ?> - Todos los derechos reservados ©
              <?php echo date('Y'); ?></span>
          </div>

          <div class="col-md-4 d-none">
            <span>Desarrollado por</span>
            <a href="https://www.radiosnet.com.ar/" target="_blank" class="surhive-link">
              <img src="<? $logo_C = str_replace('http://', 'https://', $logo_C); echo $logo_C; ?>" class="surhive" width="100%" height="auto"
                alt="RadiosNet">
            </a>
          </div>

        </div>

      </div>

    </footer>
    <script>
        var TIMEOUT = null;

        $(window).on('resize', function() {
            if(TIMEOUT === null) {
                TIMEOUT = window.setTimeout(function() {
                    TIMEOUT = null;
                    //fb_iframe_widget class is added after first FB.FXBML.parse()
                    //fb_iframe_widget_fluid is added in same situation, but only for mobile devices (tablets, phones)
                    //By removing those classes FB.XFBML.parse() will reset the plugin widths.
                    $('.fb-page').removeClass('fb_iframe_widget fb_iframe_widget_fluid');

                    FB.XFBML.parse();
                }, 1000);
            }
        });
    </script>
  </div>
</div>
