<?php  include 'sesion.php';?>
 <?php  include '../url_amigable.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>

<!--script type="text/javascript" src="//recursos.radiosnethosting.com/ckeditor/ckeditor.js"></script-->

    <style>
        .display-flex{
            display: flex;
            justify-content: center;
            align-items: center;
        }

        *{
            border-radius: 0!important;
            
        }

        body {
            background-image: url(../fondeux.jpg);
            background-position:top center;
            background-repeat-y: no-repeat;
            background-color:#EBEBEB;
        }

        .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:#fff;
        } 
        
        .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  style="background-color:#fff;" class="container pt-3">
      
        <div class="page-header" style="text-align:center;">
          <h2><? echo $idioma_100307 ?></h2>
          
        </div>
        
        <div class="col-12 text-center">
       

            <div class="Estilo44">
                <span class="Estilo46"><? echo $idioma_100308 ?></span>
            </div>
            
        <div>
            <img src="http://radioshosting.com/img/publsial.png" />
            
        </div>
        
        <div>
            <a href="../subir_foto_izq_der.php"><? echo $idioma_100309 ?></a>
            
          <p><? echo $idioma_100310 ?></p>
          

              
              <a href="menu_publicidades_jpg.php"><? echo $idioma_100311 ?></a>
              
        </div>
  
  
     
            <?

          mysql_connect ("$host", "$usuario", "$contra");
          mysql_select_db ("$basedatos");
          $sql = "SELECT * FROM publicidades WHERE lugar = '500' ORDER BY ID desc";
          $consulta = mysql_query ($sql);
          while ($row = mysql_fetch_array($consulta))
          {
          $ID = $row["ID"];
          $img = $row["img"];
          $url = $row["url"];
          $carpetafoto = $row["carpetafoto"];

          ?>
          
            <a href="borrarpublicidad.php?ID=<?php echo $ID ?>" class="Estilo1"></a>
          
            <img src="../<?php echo $carpetafoto?>/resize_<?php echo $img ?>.jpg" /> 
          
            <a href="borrarpublicidad.php?ID=<?php echo $ID ?>" class="Estilo1">
              <img title="ELIMINAR PUBLICIDADES" border="0" src="elimi.jpg" width="25" height="25" />
            </a>
            
            <form id="form2" name="form1" method="post" action="poner_link_imagen.php">
                    <div align="center">
                      <input name="ID" type="hidden" value="<?php echo $ID ?>" />
                      <span class="Estilo56"><? echo $idioma_100312 ?></span><br />
                      <input name="url" type="text" id="url" value="<?php if ($url == NULL) { ?>http://www.<?php } else {echo $url; };?>" size="30" />
                    </div>
                    <label>
                    <div align="center">
                      <input type="submit" name="button" id="button" value="<? echo $idioma_enviar ?>" />
                    </div>
                    </label>
                  </form>
                
                <p>
                    <a href="colocar_publi_a_la_izquierda.php?ID=<?php echo $ID ?>">
                        <span class=""><? echo $idioma_100313 ?></span>
                    </a>
                
                </p>
                
                <p>
                    <a href="colocar_publi_a_la_derecha.php?ID=<?php echo $ID ?>">
                        <span class=""><? echo $idioma_100314 ?></span>
                    </a>
                </p>
                
            <?php } mysql_free_result($consulta);?>
        
            <p><? echo $idioma_100313 ?></p>

        <?
                mysql_connect ("$host", "$usuario", "$contra");
                mysql_select_db ("$basedatos");
                $sql = "SELECT * FROM publicidades WHERE lugar = '501' ORDER BY ID desc";
                $consulta = mysql_query ($sql);
                while ($row = mysql_fetch_array($consulta))
                {
                $ID = $row["ID"];
                $img = $row["img"];
                $url = $row["url"];
                $carpetafoto = $row["carpetafoto"];

        ?>
        
          <a href="borrarpublicidad.php?ID=<?php echo $ID ?>" class="Estilo1"></a>
          <img src="../<?php echo $carpetafoto?>/resize_<?php echo $img ?>.jpg" /> 
          
          <a href="borrarpublicidad.php?ID=<?php echo $ID ?>" class="Estilo1">
              <img title="ELIMINAR PUBLICIDADES" border="0" src="elimi.jpg" width="25" height="25" /></a>

        <form id="form3" name="form1" method="post" action="poner_link_imagen.php">
          <div align="center">
            <input name="ID2" type="hidden" value="<?php echo $ID ?>" />
            <span class="Estilo56"><? echo $idioma_100312 ?></span><br />
            <input name="url2" type="text" id="url2" value="<?php if ($url == NULL) { ?>http://www.<?php } else {echo $url; };?>" size="30" />
          </div>
          <label>
          <div align="center">
            <input type="submit" name="button2" id="button2" value="<? echo $idioma_enviar ?>" />
          </div>
          </label>
        </form>
        

        <?php } mysql_free_result($consulta);?>
            
        <p><? echo $idioma_100314 ?></p>
        
          <?
              mysql_connect ("$host", "$usuario", "$contra");
              mysql_select_db ("$basedatos");
              $sql = "SELECT * FROM publicidades WHERE lugar = '502' ORDER BY ID desc";
              $consulta = mysql_query ($sql);
              while ($row = mysql_fetch_array($consulta))
              {
              $ID = $row["ID"];
              $img = $row["img"];
              $url = $row["url"];
              $carpetafoto = $row["carpetafoto"];

            ?>
                    <a href="borrarpublicidad.php?ID=<?php echo $ID ?>" class="Estilo1"></a>
                      <img src="../<?php echo $carpetafoto?>/resize_<?php echo $img ?>.jpg" /> 
                      <a href="borrarpublicidad.php?ID=<?php echo $ID ?>" class="Estilo1">
                          <img title="ELIMINAR PUBLICIDADES" border="0" src="elimi.jpg" width="25" height="25" />
                    </a>
                    
                    <form id="form4" name="form1" method="post" action="poner_link_imagen.php">
                      <div align="center">
                        <input name="ID3" type="hidden" value="<?php echo $ID ?>" />
                        <span class="Estilo56"><? echo $idioma_100312 ?></span><br />
                        <input name="url3" type="text" id="url3" value="<?php if ($url == NULL) { ?>http://www.<?php } else {echo $url; };?>" size="30" />
                      </div>
                      <label>
                      <div align="center">
                        <input type="submit" name="button3" id="button3" value="<? echo $idioma_enviar ?>" />
                      </div>
                      </label>
                    </form>
                    

            <?php } mysql_free_result($consulta);?>
            
            
        </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>


