<?php




//include 'sesion.php';
include 'concha.php';
include 'concha_extras.php';

?>
<!DOCTYPE html>
<html lang="es">
<head>
        <!-- Required meta tags -->
        <meta charset="utf-8">
        <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 -->


        <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>
        <script type="text/javascript" src="http://radioshosting.com/recursos/ckeditor/ckeditor.js"></script>
        <script src="http://radioshosting.com/recursos/ckeditor/ckeditor.js"></script>
        <script src="http://radioshosting.com/recursos/ckeditor/sample.js"></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_100586 ?></h2>

  </div>


      <div class="row pt-3">

            <div class="col-12">


            <?
          $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();
       
          ?>



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


        <div class="col-12">

            <div class="form-group mb-3">
                  <h4 class="Estilo2"><? echo $idioma_100587 ?>AA</h4>

                  <label><? echo $idioma_100588 ?></label>

                  <input class="form-control" name="nombresitio2" type="text" id="nombresitio2" value="<?php echo $nombresitio ?>" />

            </div>
            <div class="form-group mb-3">
                  <h4 class="Estilo2"><? echo $idioma_100589 ?></h4>

                  <textarea  class="form-control"  name="descripcion_web2" cols="60" id="descripcion_web2"><?php echo $descripcion_web ?></textarea>

                  <label for=""><? echo $idioma_100590 ?></label>

              <textarea class="form-control"  name="palabras_clave2" cols="60" id="palabras_clave2"><?php echo $palabras_clave ?></textarea>


            </div>

            <div class="form-group mb-3">

              <h4 class="Estilo2"><? echo $idioma_100591 ?></h4>

              <label><? echo $idioma_100592 ?></label>

              <input class="form-control"  name="emailsitio2" type="text" id="emailsitio2" value="<?php echo $emailsitio ?>"/>


              <label class="Estilo29"><? echo $idioma_100593 ?></label>

              <textarea class="form-control"  name="contacto" id="contacto" cols="45" rows="5"><?php echo $contacto ?></textarea>


            </div>

              <div class="form-group mb-3">

                  <h4 class="Estilo41"><? echo $idioma_100594 ?></h4>

                  <label class="Estilo2">InfoCLima (URL completa)</label>
                  <input class="form-control"  name="infoclima4" type="text" id="infoclima4" value="<?php echo $infoclima ?>" size="60" />

                  <label class="Estilo2"><? echo $idioma_100596 ?></label>
                  <input class="form-control"  name="nombre_tiempo4" type="text" id="nombre_tiempo4" value="<?php echo $nombre_tiempo ?>" size="60" />

              </div>

              <div class="form-group mb-3">
                <label class="Estilo2"><? echo $idioma_100597 ?></label>
                <input class="form-control"  name="logo_movil" type="text" id="logo_movil" value="<?php echo $logo_movil ?>" size="60" />
              </div>

              <div class="form-group mb-3">
                <label class="Estilo2"><? echo $idioma_100598 ?></label>
                <input class="form-control"  name="localidad" type="text" id="localidad" value="<?php echo $localidad ?>" size="60" />
              </div>

              <div class="form-group mb-3">
                <label class="Estilo2"><? echo $idioma_100599 ?></label>
                <input class="form-control"  name="provincia" type="text" id="provincia" value="<?php echo $provincia ?>" size="60" />
              </div>

              <div class="form-group mb-3">
                <label class="Estilo2"><? echo $idioma_100600 ?></label>
                <input class="form-control"  name="whatsapp" type="text" id="whatsapp" value="<?php echo $whatsapp ?>" size="60" />
              </div>

          </div>

              <div class="col-12 text-center mb-3">
                  <input name="button" type="submit" class="btn btn-primary" id="button" value="<? echo $idioma_enviar?>"  />
              </div>

     </form>

  </div>

</div>


  <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<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>
