<?php include 'sesion.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $nombresitio ?> - Panel de Administracion</title>
<style type="text/css">
<!--


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

-->
</style>


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



<link href="../estilo.css" rel="stylesheet" type="text/css" />
  
<style type="text/css">
<!--
.Estilo20 {color: #333333; font-family: "Trebuchet MS"; font-size: 16px; font-weight: bold; }
.bloqq {-moz-border-radius: 21px;
-webkit-border-radius: 21px;
border-radius: 21px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
-moz-box-shadow: 2px 2px 12px #61605f;
-webkit-box-shadow: 2px 2px 12px #61605f;
box-shadow: 2px 2px 12px #61605f;
filter: progid:DXImageTransform.Microsoft.Shadow(strength = 2, direction = 135, color = '#61605f');
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength = 2, Direction = 135, Color = '#61605f')";
/*Shadows look very different in IE (Only cardinal directions supported)*/
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element should have a background-color*/
/*All filters must be placed together*/
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffd9bf', endColorstr = '#fffdfa');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffd9bf', endColorstr = '#fffdfa')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
background-image: -moz-linear-gradient(top, #ffd9bf, #fffdfa);
background-image: -ms-linear-gradient(top, #ffd9bf, #fffdfa);
background-image: -o-linear-gradient(top, #ffd9bf, #fffdfa);
background-image: -webkit-gradient(linear, center top, center bottom, from(#ffd9bf), to(#fffdfa));
background-image: -webkit-linear-gradient(top, #ffd9bf, #fffdfa);
background-image: linear-gradient(top, #ffd9bf, #fffdfa);
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.bloqq2 {-moz-border-radius: 21px;
-webkit-border-radius: 21px;
border-radius: 21px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
-moz-box-shadow: 2px 2px 12px #61605f;
-webkit-box-shadow: 2px 2px 12px #61605f;
box-shadow: 2px 2px 12px #61605f;
filter: progid:DXImageTransform.Microsoft.Shadow(strength = 2, direction = 135, color = '#61605f');
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength = 2, Direction = 135, Color = '#61605f')";
/*Shadows look very different in IE (Only cardinal directions supported)*/
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element should have a background-color*/
/*All filters must be placed together*/
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#94b5ff', endColorstr = '#fffdfa');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#94b5ff', endColorstr = '#fffdfa')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
background-image: -moz-linear-gradient(top, #94b5ff, #fffdfa);
background-image: -ms-linear-gradient(top, #94b5ff, #fffdfa);
background-image: -o-linear-gradient(top, #94b5ff, #fffdfa);
background-image: -webkit-gradient(linear, center top, center bottom, from(#94b5ff), to(#fffdfa));
background-image: -webkit-linear-gradient(top, #94b5ff, #fffdfa);
background-image: linear-gradient(top, #94b5ff, #fffdfa);
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.bloqq3 {-moz-border-radius: 21px;
-webkit-border-radius: 21px;
border-radius: 21px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
-moz-box-shadow: 2px 2px 12px #61605f;
-webkit-box-shadow: 2px 2px 12px #61605f;
box-shadow: 2px 2px 12px #61605f;
filter: progid:DXImageTransform.Microsoft.Shadow(strength = 2, direction = 135, color = '#61605f');
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength = 2, Direction = 135, Color = '#61605f')";
/*Shadows look very different in IE (Only cardinal directions supported)*/
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element should have a background-color*/
/*All filters must be placed together*/
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#b3ff9c', endColorstr = '#fffdfa');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#b3ff9c', endColorstr = '#fffdfa')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
background-image: -moz-linear-gradient(top, #b3ff9c, #fffdfa);
background-image: -ms-linear-gradient(top, #b3ff9c, #fffdfa);
background-image: -o-linear-gradient(top, #b3ff9c, #fffdfa);
background-image: -webkit-gradient(linear, center top, center bottom, from(#b3ff9c), to(#fffdfa));
background-image: -webkit-linear-gradient(top, #b3ff9c, #fffdfa);
background-image: linear-gradient(top, #b3ff9c, #fffdfa);
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
-->
</style>
</head>

<body>




</script>

  <script language=javascript>
function ventanaSecundaria (URL){
   window.open(URL,"ventana1","width=550,height=450,scrollbars=NO")
}
  </script>



  
<table width="900" border="0" align="center" cellpadding="4" cellspacing="0">
      <tr>
      <td bgcolor="#F1F2ED"><?php include 'menu.php';?></td>
    </tr>
  
    <tr>
      <td bgcolor="#FFFFFF">
      
    
    
    
    
    
    
    
    



<p>
  <style type="text/css">
<!--
.Estilo144444444 {
	color: #FF0000;
		font-size:18px;
	font-weight: bold;
}


.Estilo1444444443 {
	color: #0000FF;
	font-size:18px;
	font-weight: bold;
}


.Estilo14444444433 {
	color: #000000;
	font-size:18px;
	font-weight: bold;
}

-->
</style>
  
  <span class="Estilo14444444433"> ORDENAR BLOQUES DE LA COLUMNA DERECHA</span>  </p>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td height="60"><div align="center" class="Estilo20">
      <div class="bloqq"><a href="agregar_modulo.php"><br />
        AGREGAR UN MODULO CON INFORMACION
            <br />
            <br />
      </a></div>
    </div></td>
    <td><div align="center" class="Estilo20">
      <div class="bloqq2"><a href="configuracion_redes_sociales.php"><br />
        CONFIGURAR TWITTER Y FACEBOOK<br />
        <br />
      </a></div>
    </div></td>
    <td><div align="center" class="Estilo20">
      <div class="bloqq3"><a href="agregar_encuesta.php"><br />
        HACER UNA ENCUESTA<br />
        <br />
      </a></div>
    </div></td>
  </tr>
</table>
<p><br />
  <a href="../propagandas.php" target="_blank"><br />
  </a></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="70%" valign="top"><p>&nbsp; </p>
      <div align="left">
        <?php 
include 'concha.php';



$sql6 = "SELECT * FROM columna";

$consulta6 = $conn->query($sql6);
while ($row6= $consulta6->fetch_assoc())
{

$lugar = $row6["lugar"];

$bloque = $row6["bloque"];
$ID_publicidad = $row6["ID"];



?>
      </div>
      <hr align="left" width="600" color="#000000" size="3" />
      <div align="left">
        <div class="Estilo14444444433"> LUGAR <?php echo $lugar ?> / </div>
        <div class="Estilo1444444443">
   
          <?php if ($bloque == 'reloj') { ?>
          RELOJ<br />
          <? } else {};?>
          
                    <?php if ($bloque == 'chat_noticias') { ?>
         MENSAJES EN NOTICIAS<br />
          <? } else {};?>
               <?php if ($bloque == 'buscador_telefono') { ?>
         GUIA DE TELEFONO<br />
          <? } else {};?>
              <?php if ($bloque == 'relojdigital') { ?>
          RELOJ DIGITAL<br />
          <? } else {};?>
   
          <?php if ($bloque == 'clima') { ?>
          DATOS DEL CLIMA<br />
          <? } else {};?>
          
           <?php if ($bloque == 'fecha') { ?>
          FECHA<br />
          <? } else {};?>
             <?php if ($bloque == 'publicidad_gif') { ?>
          PUBLCIDAD GIF
              <?php      include '../publicidad_gif.php';?>
          <? } else {};?>
                    <?php if ($bloque == 'movil') { ?>
          MOVILES<br />
          <? } else {};?>
          <?php if ($bloque == 'radio') { ?>
          RADIO EN VIVO
          <? } else {};?>
          <?php if ($bloque == 'mensajes') { ?>
          MENSAJES DE LOS OYENTES
          <? } else {};?>
          <?php if ($bloque== 'twitter') { ?>
          TWITTER
          <? } else {};?>
          <?php if ($bloque == 'facebook') { ?>
          FACEBOOK
          <? } else {};?>
          <?php if ($bloque == 'cotizaciones') { ?>
          COTIZACIONES
          <? } else {};?>
          <?php if ($bloque == 'horoscopo') { ?>
          HOROSCOPO
          <? } else {};?>
          <?php if ($bloque == 'noticias') { ?>
          NOTICIAS NACIONALES, ACTUALIZACION AUTOMATICA
          <? } else {};?>
          <?php if ($bloque == 'fotos') { ?>
          FOTOS DE LOS OYENTES
          <? } else {};?>
          <?php if ($bloque == 'agenda') { ?>
          AGENDA / CALENDARIO
          <? } else {};?>
          <?php if ($bloque == 'publicidad_jpg') { ?>           
          PUBLICIDAD JPG
     <?php      include '../publicidad_jpg.php';?>
          <? } else {};?>
          <?php if ($bloque == 'publicidad_flash') { ?>
          PUBLICIDAD FLASH
              <?php      include 'mostrar_flash.php';?>
          <? } else {};?>
          <?php if ($bloque == 'encuesta') { ?>
          ENCUESTA
          <? } else {};?>
          <?php if ($bloque == 'modulo') { ?>
          MODULO DE TEXTO
          <? } else {};?>
          
                    <?php if ($bloque == 'masleidasano') { ?>
         LO MAS LEIDO DEL AÑO
          <? } else {};?>
          
          
                    <?php if ($bloque == 'adsense248x496') { ?>
         adsense 248 x 496
          <? } else {};?>
                     <?php if ($bloque == 'adsense248x248') { ?>
         adsense248x248
          <? } else {};?>
          
          
            <?php if ($bloque == 'adsense248x124') { ?>
         adsense248x124
          <? } else {};?>
          
          
               <?php if ($bloque == 'diario') { ?>
         TAPA DE UN DIARIO
          <? } else {};?>
          
          
                <?php if ($bloque == 'publicidad_slide') { ?>
        PUBLICIDAD SLIDE
          <? } else {};?>
          
                  <?php if ($bloque == 'buscador_telefono') { ?>
        BUSCADOR GUIA TELEFONO
          <? } else {};?>
          
              <?php if ($bloque == 'horoscopo') { ?>
        HOROSCOPO
          <? } else {};?>
          
                <?php if ($bloque == 'loteria') { ?>
        RESULTADOS LOTERIA
          <? } else {};?>
          
           <?php if ($bloque == 'tabla_futbol') { ?>
TABLA DE FUTBOL
          <? } else {};?>
          
        </div>
        <?php if ($bloque == NULL) { ?>
        <form id="form1" name="form1" method="post" action="form_columna.php">
          <span class="Estilo144444444">VACIO</span>, AQUI PONER
          <select name="que">
            <option value="clima">DATOS DEL CLIMA</option>
            <option value="radio">RADIO EN VIVO</option>
                 <option value="movil">RADIO PARA MOVILES</option>
            <option value="mensajes">MENSAJES EN LA PAGINA PRINCIPAL</option>
            <option value="cotizaciones">COTIZACIONES DOLAR Y EURO</option>
               <option value="fecha">FECHA: QUE DIA ES HOY</option>
            <option value="encuesta">ENCUESTAS</option>
            <option value="twitter">TWITTER</option>
            <option value="facebook">FACEBOOK</option>
            <option value="noticias">NOTICIAS: ACTUALIZACION AUTOMATICA</option>
            <option value="fotos">FOTOS SUBIDAS POR LOS OYENTES</option>
            <option value="agenda">AGENDA CALENDARIO</option>
            <option value="modulo">MODULO DE TEXTO</option>
            <option value="publicidad_jpg">PUBLICIDAD JPG</option>
            <option value="publicidad_flash">PUBLICIDAD FLASH</option>
               <option value="publicidad_gif">PUBLICIDAD GIF</option>
               <option value="publicidad_slide">PUBLICIDAD SLIDE</option>
                      <option value="reloj">RELOJ ANALOGICO</option>
                      <option value="relojdigital">RELOJ DIGITAL</option>
                      
                      <option value="masleidasano">LO MAS LEIDO DEL AÑO</option> 
                      
                       <option value="masleidasmes">LO MAS LEIDO DEL MES</option> 
                       
                            <option value="masleidasiempre">LO MAS LEIDO DESDE EL INICIO</option> 
                      
<option value="adsense248x496">ADSENSE 248X496</option> 
<option value="adsense248x248">ADSENSE 248X248</option> 
<option value="adsense248x124">ADSENSE 248X124</option>
<option value="diario">TAPA DE UN DIARIO</option> 
<option value="buscador_telefono">BUSCADOR GUIA DE TELEFONO</option> 
<option value="horoscopo">HOROSCOPO</option> 
<option value="chat_noticias">ULTIMOS MENSAJES EN NOTICIAS</option> 
<option value="loteria">RESULTADOS LOTERIA</option> 
<option value="tabla_futbol">TABLA DE POSICIONES DEL FUTBOL ARGENTINO</option> 

          </select>
          <input name="lugar" type="hidden" value="<?php echo $lugar ?>" />
          <label>
          <input type="submit" name="button" id="button" value="OK" />
          </label>
        </form>
        <? } else { ?>
        [<a href="quitar_modulo.php?lugar=<?php echo $lugar ?>">QUITAR MODULO</a>]
  <? };?>
  <?
}

$consulta6>free_result();?>
      </div></td>
    <td width="30%" valign="top"><iframe width="300" height="3400" src="../propagandas.php"></iframe></td>
  </tr>
</table>
<p>&nbsp;</p>
</td>
  </tr>
  </table>

</body>
</html>
