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


                        $twitter_btn = $_POST['twitter_btn'];
                        $twitter = $_POST['twitter'];
                        $whatsapp = $_POST['whatsapp'];
                        $facebook = $_POST['facebook'];
                        $twitter = addslashes($twitter);
                        $social_aim = $_POST['social_aim'];
                        $social_ask = $_POST['social_ask'];
                        $social_blogger = $_POST['social_blogger'];
                        $social_flickr = $_POST['social_flickr'];
                        $social_google = $_POST['social_google'];
                        $social_myspace = $_POST['social_myspace'];
                        $social_tumblr = $_POST['social_tumblr'];
                        $social_vimeo = $_POST['social_vimeo'];
                        $social_yahoo = $_POST['social_yahoo'];
                        $social_youtube = $_POST['social_youtube'];

                  
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `twitter` =  '$twitter' LIMIT 1 ;";
                        $conn->query($sSQL);
echo $sSQL;
                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `twitter_btn` =  '$twitter_btn' LIMIT 1 ;";
                        $conn->query($sSQL);

                       
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_aim` =  '$social_aim' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_ask` =  '$social_ask' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_blogger` =  '$social_blogger' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_flickr` =  '$social_flickr' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_google` =  '$social_google' LIMIT 1 ;";
                        $conn->query($sSQL);

                       
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_myspace` =  '$social_myspace' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_tumblr` =  '$social_tumblr' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_vimeo` =  '$social_vimeo' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_yahoo` =  '$social_yahoo' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `social_youtube` =  '$social_youtube' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `facebook` =  '$facebook' LIMIT 1 ;";
                        $conn->query($sSQL);

                        
                        $sSQL="UPDATE  `$basedatos`.`configuracion` SET  `whatsapp` =  '$whatsapp' LIMIT 1 ;";
                        $conn->query($sSQL);
    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="">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>

	<!-- 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 -->
	<link rel="stylesheet" href="">
  <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>
<?php
if($estiloweb == 9) {?>
    <script>
        setTimeout(function(){ window.history.back() }, 1000);
    </script>
<?} else{?>

    <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_100758 ?></h2>

                </div>

                <div class="col-12 my-3 text-center">





                    <div class="col-12 p-3">
                        <p class=""><? echo $idioma_100757?></p>
                    </div>

                    <div class="col-12 p-3">
                        <a href="configuracion_redes_sociales.php" class="btn btn-primary mb-3"><? echo $idioma_volver?></a>
                    </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>
    setTimeout(function(){ window.history.back() }, 1000);
    </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>
