<?php include 'sesion.php';?>
<?php

include 'concha.php';
include 'concha_extras.php';

?>
<!DOCTYPE html>
<html lang="es">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <!-- Required meta tags -->

        <meta name="description" content="Panel de Administracion">
        <meta name="author" content="<?php echo $nombresitio ?>">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <title><?php echo $nombresitio ?> - Panel de Administracion</title>
        <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
        <link rel="shortcut icon" href="" type="image/x-icon">
        <link rel="apple-touch-icon" href="">
        <!-- Bootstrap CSS -->
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
        <!-- Link to your css file -->
  <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>


        <style type="text/css">

            *{
                border-radius: 0!important;

            }

            body {
                background-image: url(../fondeux.jpg);
            }

            .navbar {
                position: relative;
            min-height: 50px;
            padding-bottom:  20px;
            /* border: 1px solid transparent; */

            }

            .btn-primary {
            color: #fff!important;
            background-color: #0066FF;
            border-color: #0066FF;
                }

            .page-header{
                margin: 0;
                padding: 1em;
                background-color: #0066FF;
                border: 0;
                text-align:center;
            }

            .page-header h2{

                color: #ffffff;
                font-weight: bold;
            }

            .bloqueAzul{
            /*  background-color: #0066FF;*/
            /* border: 1px solid #e4e4e4;*/
            /*  padding: 1em;*/
                text-align: center;
            }

            .bloqueAzul .div {
            border: 1px solid #e4e4e4;
                background-color: #fff;
            }

            ul{
                list-style: none;
                padding: 0;
            }

            .far{
                color:#0066FF;
            }
            .faso {
                color:#0066FF;
            }

            .colorAzul h3{
                color:#0066FF;

            }

        </style>

        <script language=javascript>

            function ventanaSecundaria (URL){
            window.open(URL,"ventana1","width=550,height=450,scrollbars=NO")
            }

        </script>

</head>

<body>


    <? $tour = (int)$_GET['tour']; ?>

    <?php

            if($estiloweb == 9 || $estiloweb == 85 || $estiloweb == 86) {

                include 'menu_estilo9.php';

            } else {

                    if ($tour == 1) {} else { ?>

                        <div class="container" style="background-color:#F1F2ED;">

                            <?php include 'menu.php';  ?>

                        </div>

    <?              }
            }

    ?>



<div role="main" style="background-color:#fff;<?php if($estiloweb == 9 || $estiloweb == 85 || $estiloweb == 86){echo 'margin-top:120px;';}?>" class="container pt-3">

  <div class="page-header" style="text-align:center;">

    <h2><? echo $idioma_100715 ?></h2>

  </div>


      <div class="row pt-3">

  <?
  $N2 = 0;

$sql = "SELECT * FROM chat WHERE ver = 'no' ";
$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$N2 = $N2 + 1;
$m_mensajes = $N2;
}
$consulta->free_result();
  $N = 0;

$sql = "SELECT * FROM comentarios WHERE ver = 'no' ";
$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$N = $N + 1;
$m_comentarios = $N;
}
$consulta->free_result();
  $N = 0;

$sql = "SELECT * FROM fotosoyentes WHERE ver = 'no' ";
$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$N = $N + 1;
$m_fotos = $N;
}
$consulta->free_result();
  $N = 0;

$sql = "SELECT * FROM avisos WHERE ver = 'no' ";
$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$N = $N + 1;
$m_avisos = $N;
}
$consulta->free_result();
$m_tot = $m_mensajes + $m_comentarios + $m_fotos + $m_avisos;
?>


<div class="col-12">

    <form id="form1" name="form1" method="post" action="form_configuracion_redes_sociales.php">

        <div class="col-12 mb-3">

            <div class="border p-3">

                <div class="container-fluid">
                    <div class="row">
                        <div class="col-12 col-sm-8">

                              <h4><i class="fab fa-facebook"></i> <? echo $idioma_100716 ?></h4>

                              <p class="Estilo42"><? echo $idioma_100717 ?></p>

                              <a class="btn btn-link" href="http://www.facebook.com/pages" target="_blank"><? echo $idioma_100718 ?></a>

                              <p class="Estilo42"><? echo $idioma_100719 ?></p>

                              <a class="btn btn-link" href="http://www.facebook.com/radiosnet"><? echo $idioma_100720 ?></a>

                              <p class="Estilo42"><? echo $idioma_100721 ?></p>

                              <input class="form-control" name="facebook" type="text" id="facebook" value="<?php echo $facebook ?>" size="90" />

                              <input name="button2" type="submit" class="btn btn-outline-primary" id="button2" value="<? echo $idioma_enviar ?>" />

                        </div>
                        <div class="col-12 col-sm-4 text-center">
                              <?php if ($facebook == NULL) { } else { include '../facebook.php';};?>
                        </div>
                    </div>
                </div>

            </div>
        </div>

        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4><i class="fab fa-twitter"></i> Twitter</h4>

          <div class="col-12 p-0">

            <p><? echo $idioma_100722 ?></p>

            <textarea name="twitter" cols="90" rows="3" class="form-control" id="twitter"><?php echo $twitter ?></textarea>

            <input name="button" type="submit" class="btn btn-outline-primary" id="button" value="<? echo $idioma_enviar ?>" />

          </div>

          <div class="col-12 p-0">

            <p><? echo $idioma_100723 ?></p>


            <input name="twitter_btn" class="form-control" type="text" id="twitter_btn" value="<?php echo $twitter_btn ?>" size="90" />

            <input name="button2" type="submit" class="btn btn-outline-primary" id="button2" value="<? echo $idioma_enviar ?>" />

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

        <div class="col-12 mb-3 ">
          <div class="border p-3">
          <h4><i class="fab fa-instagram"></i> Instagram</h4>

          <div class="form-group row px-3">

            <div class="col-10 p-0">
                <input class="form-control disabled" name="social_aim" type="text" id="social_aim" value="<?php echo $social_aim ?>" size="90" />
            </div>

            <div class="col-2 p-0">
                <input name="button3" type="submit" class="btn btn-outline-primary disabled" id="button3" value="<? echo $idioma_enviar ?>" />
            </div>

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

        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4><i class="fab fa-blogger-b"></i> Blogger</h4>

            <div class="form-group row px-3 ">
              <div class="col-10 p-0">
                <input class="form-control" name="social_blogger" type="text" id="social_blogger" value="<?php echo $social_blogger ?>" size="90" />
              </div>
              <div class="col-2 p-0">
               <input name="button5" type="submit" class="btn btn-outline-primary" id="button5" value="<? echo $idioma_enviar ?>" />
              </div>
            </div>
          </div>
        </div>

        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4 class="Estilo42"><i class="fab fa-flickr"></i> Flickr</h4>

           <div class="form-group row px-3 ">
              <div class="col-10 p-0">
              <input class="form-control" name="social_flickr" type="text" id="social_flickr" value="<?php echo $social_flickr ?>" size="90" />
              </div>
             <div class="col-2 p-0">
              <input name="button8" type="submit" class="btn btn-outline-primary" id="button8" value="<? echo $idioma_enviar ?>" />
          </div>
          </div>
          </div>
        </div>

        <div class="col-12 mb-0">
          <div class="border p-3">
            <h4 class="Estilo42"><i class="fab fa-google-plus-g"></i> Google plus</h4>
              <div class="form-group row px-3 ">
              <div class="col-10 p-0">
                <input class="form-control" name="social_google" type="text" id="social_google" value="<?php echo $social_google ?>" size="90" />
                </div>
                <div class="col-2 p-0">
                <input name="button9" type="submit" class="btn btn-outline-primary" id="button9" value="<? echo $idioma_enviar ?>" />
            </div>
            </div>
          </div>
        </div>

        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4 class="Estilo42"><i class="fab fa-vimeo"></i> Vimeo</h4>
          <div class="form-group row px-3 ">
          <div class="col-10 p-0">
              <input name="social_vimeo" class="form-control" type="text" id="social_vimeo" value="<?php echo $social_vimeo ?>" size="90" />
              </div>
              <div class="col-2 p-0">
              <input name="button12" type="submit" class="btn btn-outline-primary" id="button12" value="<? echo $idioma_enviar ?>" />
          </div>
          </div>
          </div>
        </div>

        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4 class="Estilo42"><i class="fab fa-yahoo"></i> Yahoo</h4>
           <div class="form-group row px-3 ">
             <div class="col-10 p-0">
              <input name="social_yahoo" class="form-control" type="text" id="social_yahoo" value="<?php echo $social_yahoo ?>" size="90" />
              </div>
          <div class="col-2 p-0">
              <input name="button13" type="submit" class="btn btn-outline-primary" id="button13" value="<? echo $idioma_enviar ?>" />
         </div>
          </div>
          </div>
        </div>

        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4 class="Estilo42"><i class="fab fa-youtube"></i> Youtube</h4>
          <div class="form-group row px-3 ">
            <div class="col-10 p-0">
            <input name="social_youtube" class="form-control" type="text" id="social_youtube" value="<?php echo $social_youtube ?>" size="90" />
            </div>
           <div class="col-2 p-0">
            <input name="button14" type="submit" class="btn btn-outline-primary" id="button14" value="<? echo $idioma_enviar ?>" />
          </div>
          </div>
          </div>
        </div>





        <div class="col-12 mb-3">
          <div class="border p-3">
          <h4 class="Estilo42"><i class="fab fa-whatsapp"></i> whatsapp</h4>
          <div class="form-group row px-3 ">
            <div class="col-10 p-0">
            <input name="whatsapp" class="form-control" type="text" id="whatsapp" value="<?php echo $whatsapp ?>" size="90" />
            </div>
           <div class="col-2 p-0">
            <input name="button14" type="submit" class="btn btn-outline-primary" id="button14" value="<? echo $idioma_enviar ?>" />
          </div>
          </div>
          </div>
        </div>








      </form>


  </div>


   <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1&appId=427523193949843";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>



</div>


<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

    <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>
    <script type="text/javascript">
    window.setInterval(function(){
    $('.grid').isotope({
    itemSelector: '.grid-item'
    });
    }, 500);
    </script>
    <script defer src="https://use.fontawesome.com/releases/v5.8.1/js/all.js" integrity="sha384-g5uSoOSBd7KkhAMlnQILrecXvzst9TdC09/VM+pjDTCM+1il8RHz5fKANTFFb+gQ" crossorigin="anonymous"></script>
</body>
</html>
