<?php include 'sesion.php';?>
<?php include 'concha.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.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<!-- Link to your css file -->
<link rel="stylesheet" href="">
	<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>

  <div class="container" style="background-color:#F1F2ED;">
              
          <?php include 'menu.php';  ?>
        
  </div>
   


  <div role="main" style="background-color:#fff;" class="container pt-3">
    
            <div class="page-header" style="text-align:center;">
  
                <h2><? echo $idioma_100405 ?></h2>

            </div>

              <?
              $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="row pt-3">

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

              <div class="col-12">

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

            

                    

                      <div class="form-group row">

                        <label for="pregunta" class="col-sm-2 col-form-label"><? echo $idioma_100406 ?></label>
                        <div class="col-10">
                        <input name="pregunta" type="text" class="form-control" id="pregunta"></div>

                      </div>

                      <div class="form-group row">

                        <label for="r1" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 1</label>
                        <div class="col-10">
                        <input name="r1" type="text" class="form-control" id="r1"></div>

                      </div>

                     
                      <div class="form-group row">

                        <label for="r2" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 2</label>
                        <div class="col-10">
                          <input name="r2" type="text" class="form-control" id="r2">
                        </div>

                      </div>

                      
                      <div class="form-group row">
                      
                        <label for="r3" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 3</label>
                        <div class="col-10">
                          <input name="r3" type="text" class="form-control" id="r3">
                        </div>
                      </div> 
                      

                      <div class="form-group row">

                        <label for="r4" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 4</label>

                        <div class="col-10">
                        <input name="r4" type="text" class="form-control" id="r4">
                        </div>
                      </div> 


                      <div class="form-group row">
                        
                        <label for="r5" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 5</label>
                        <div class="col-10">
                        <input name="r5" type="text" class="form-control" id="r5">
                        </div>
                      </div> 

                      <div class="form-group row">

                        <label for="r6" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 6</label>
                        <div class="col-10">
                        <input name="r6" type="text" class="form-control" id="r6">
                        </div>
                      </div> 
                      
                      <div class="form-group row">

                        <label for="r7" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 7</label>
                        <div class="col-10">
                        <input name="r7" type="text" class="form-control" id="r7">
                        </div>
                      </div> 

                      <div class="form-group row">

                        <label for="r8" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 8</label>
                        <div class="col-10">
                        <input name="r8" type="text" class="form-control" id="r8">
                        </div>
                      </div> 
                      
                      <div class="form-group row">

                        <label for="r9" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 9</label>
                        <div class="col-10">
                        <input name="r9" type="text" class="form-control" id="r9">
                        </div>
                      </div> 

                      <div class="form-group row">

                        <label for="r10" class="col-sm-2 col-form-label"><? echo $idioma_100407 ?> Nº 10</label>
                        <div class="col-10">
                        <input name="r10" type="text" class="form-control" id="r10">
                        </div>
                      </div> 
                      

                      <div class="text-center">

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

                      </div>
                  

                </form>

              </div>

  </div>



</div> 
  

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
	<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" 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>


