<!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>

<?php include 'concha.php';
$catba = $_GET['cat'];
$i_publi = 10000000;
?>


<?php 

if ($streaming == 'mp3') {?>

  <meta property="og:title" content="<?php echo $nombresitio ?>" />
  <meta property="og:description" content="Escuchá la Radio En Vivo" />
  <meta property="og:site_name" content="<?php echo $nombresitio ?>" />
  <meta property="og:type" content="movie" />
  <meta property="og:image" content="<?php 
  $logo_CA  = substr($logo_C,48);
  
  
  echo "http://xpace.com.ar/clientesradiosnet/logos/MIR/$logo_CA"; ?>" />
  <meta property="og:url" content="<?php echo $dom ?>" />
  <meta property="og:video" 
   content="http://player.longtailvideo.com/player4.6.swf?image=<?php echo $logo_C ?>&file=<?php echo $ip_stream ?>/;stream.mp3&autostart=true" />
  <meta property="og:video:secure_url" 
   content="https://player.longtailvideo.com/player4.6.swf?image=<?php echo $logo_C ?>&file=<?php echo $ip_stream ?>/;stream.mp3&autostart=true" />
  <meta property="og:video:type" content="application/x-shockwave-flash" />
  <meta property="og:video:width" content="320" />
  <meta property="og:video:height" content="180" />


<?php 
};
?>




<?php 

if ($streaming == 'aac') {?>



  <meta property="og:title" content="<?php echo $nombresitio ?>" />
  <meta property="og:description" content="Escuchá la Radio En Vivo" />
  <meta property="og:site_name" content="<?php echo $nombresitio ?>" />
  <meta property="og:type" content="movie" />
  <meta property="og:image" content="<?php 
  $logo_CA  = substr($logo_C,48);
  
  
  echo "http://xpace.com.ar/clientesradiosnet/logos/MIR/$logo_CA"; ?>" />
  <meta property="og:url" content="<?php echo $dom ?>" />
  <meta property="og:video" 
   content="<?php echo $ruta_flash_facebook ?>http://www.radiosnet.com.ar/allrepros/<?php echo $usuario ?>.swf" />
  <meta property="og:video:secure_url" 
   content="<?php echo $ruta_flash_facebook ?>http://www.radiosnet.com.ar/allrepros/<?php echo $usuario ?>.swf" />
  <meta property="og:video:type" content="application/x-shockwave-flash" />
  <meta property="og:video:width" content="320" />
  <meta property="og:video:height" content="30" />


<?php 
};
?>




<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $nombresitio ?></title>
<meta name="description" content="<?php echo $descripcion_web ?>" />
<meta name="keywords" content="<?php echo $nombresitio ?>, radio, en vivo, escuchar, portal" />
<meta name="language" content="es" />
<?php if ($refresh == 0) {} else {?>

<meta http-equiv="refresh" content="<?php echo $refresh ?>; url="<?php echo $dom ?>" >

<?php };

?>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> 
<link rel="shortcut icon" href="icono.ico" type="image/x-icon" />



<?php echo $link_titulo ?>

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>


  

<?php include 'estilo.css';?>


    <meta name="viewport" content="width=device-width, initial-scale=1">
    


    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>
<body>

    <div  align="center" class="container">
    
    

<?php if ($estiloweb == 1) { include 'arriba1.php';};

if ($estiloweb == 2) { include 'arriba2.php'; };


?>

 <div class="content"></div>
  <footer></footer> 


    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript">
    	// Llamado cuando se cargue la página
		posicionarMenu();

		$(window).scroll(function() {    
		    posicionarMenu();
		});

		function posicionarMenu() {
		    var altura_del_header = $('header').outerHeight(true);
		    var altura_del_menu = $('nav').outerHeight(true);

		    if ($(window).scrollTop() >= altura_del_header){
		        $('nav').addClass('fixed');
		        $('.content').css('margin-top', (altura_del_menu) + 'px');
		    } else {
		        $('nav').removeClass('fixed');
		        $('.content').css('margin-top', '0');
		    }
		}
    </script>


</div>



    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr>
        <td colspan="2" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
              <td colspan="2" valign="top">&nbsp;</td>
            </tr>
            <tr bgcolor="#FFFFFF" valign="top">
              <td width="100%" valign="top"><? 


include 'concha.php';
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT * FROM notas WHERE destacado = 'no' ORDER BY ID desc LIMIT 20";
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID = $row["ID"];
$i_publi = $i_publi + 1;
$titulo = $row["titulo"];
$bajada = $row["bajada"];
$texto = $row["texto"];
$audio = $row["audio"];
$listengo  = $row["listengo"];
$youtube  = $row["youtube"];
$d = $row["d"];
$m = $row["m"];
$a = $row["a"];
$fecha = "$d - $m - $a";
$carpetafoto = $row["carpetafoto"];
$foto = $row["foto"]; $ext_img = $row["ext_img"];
$cat = $row["cat"];
$home = $row["home"];
if ($cat == 0) {} else {
$sql2 = "SELECT * FROM categorias WHERE ID = '$cat'";
$consulta2 = mysql_query ($sql2);
while ($row2 = mysql_fetch_array($consulta2))
{
$cat = $row2["nombre"];
$color_cat = $row2["color"];
}
mysql_free_result($consulta2);
}
?>
                  <?
$n = 0;
$sql2 = "SELECT * FROM comentarios WHERE IDD = '$ID' and ver = 'si'";
$consulta2 = mysql_query ($sql2);
while ($row2 = mysql_fetch_array($consulta2))
{
$n = $n + 1;
}
mysql_free_result($consulta2);
?>
                  <link href="estilo.css" rel="stylesheet" type="text/css" />
                  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
                    <?php if ($home == 'no') {} else {?>
                    <?php if ($cat == '0') {} else {?>
                    <tr>
                      <td colspan="2" class="Estilo4" height="1"><table border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td bgcolor="<?php echo $color_cat ?>">&nbsp;<span style=";font-family:<?php echo $style_titulo ?>;font-size:11px;"><?php echo $cat ?></span>&nbsp;</td>
                          </tr>
                      </table></td>
                    </tr>
                    <?php };?>
                    <tr>
                      <td colspan="2"><a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>" class="tita"><span style=";font-family:<?php echo $style_titulo ?>;font-size:<?php echo $d_ta_titulo?>;color:<?php echo $d_color_titulo?>;"><?php echo $titulo ?></span></a></td>
                    </tr>
                    <?php  if ($foto == NULL) { } else { ?>
                    <tr>
                      <td colspan="2" class="Estilo2"><a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>"> <img src="<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" alt="<?php echo $titulo ?>" width="100%"  border="0" /></a></td>
                    </tr>
                    <?php  }; ?>
                    <?php  if ($youtube == NULL) { } else { ?>
                    <tr>
                      <td colspan="2" class="Estilo2" align="center"><object width="100%" height="320">
                          <param name="movie" value="http://www.youtube.com/v/<?php echo $youtube ?>&amp;hl=es&amp;fs=1&amp;rel=0" />
                          </param>
                          <param name="allowFullScreen" value="true" />
                          </param>
                          <param name="allowscriptaccess" value="always" />
                          </param>
                          <embed src="http://www.youtube.com/v/<?php echo $youtube ?>&amp;hl=es&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="100%" height="320"></embed>
                      </object></td>
                    </tr>
                    <?php  }; ?>
                    <tr>
                      <td colspan="2"><div align="justify"><span style=";font-family:<?php echo $d_fu_texto ?>;font-size:<?php echo $d_ta_texto ?>;color:#6B6B6B;line-height:16px;"><?php echo $bajada ?></span> - <span class="Estilo4"><?php echo $fecha ?></span></div>
                          <?php include 'audio.php'; ?></td>
                    </tr>
                    <tr>
                      <td width="100%"><div align="right"><span class="Estilo4">
                          <?php if ($n == 0) { ?>
                          <a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>">Dejar un comentario
                            <? if ($texto == NULL) {} else {?>
                            - Leer m&aacute;s...
                            <? }; ?>
                      </a>
                          <?php } else {?>
                          <a href="<? echo $dom;?>/nota/<?php echo $ID ?>/<?php echo urls_amigables($titulo) ?>"> <?php echo $n ?> comentarios
                            <? if ($texto == NULL) {} else {?>
                            - Leer m&aacute;s...
                            <? }; ?>
                      </a>
                          <?php };?>
                      </span></div></td>
                      <td width="47"><?php include 'compartir_nota_facebook.php';?>
                      </td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center"><img  src="linea.gif" width="100%" height="10" /></td>
                    </tr>
                    <?php };?>
                    <tr>
                      <td colspan="2" align="center"><?php 
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql2 = "SELECT * FROM publicidades WHERE lugar = '$i_publi'";
$consulta2 = mysql_query ($sql2);
while ($row2 = mysql_fetch_array($consulta2))
{
$img = $row2["img"];
$url = $row2["url"];

$carpetafoto = $row2["carpetafoto"];

?>
                          <?php   if ($url == NULL) {} else { ?>
                        <a href="<?php echo $url ?>"  target="_blank" class="Estilo1">
                          <?php };?>
                          <img src="<?php echo $carpetafoto?>/resize_<?php echo $img ?>.jpg" width="100%" alt="PUBLICIDAD"   border="0" />
                          <?php   if ($url == NULL) {} else { ?>
                          </a>
                        <?php };?>
                      </td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center"><img  src="linea.gif" /></td>
                    </tr>
                    <?
}
mysql_free_result($consulta2);
?>
                    <tr>
                      <td colspan="2"></td>
                    </tr>
                    <tr>
                      <td colspan="2"><div align="center">
                        <?php     $tam_ancho = $marco1px;
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql44 = "SELECT * FROM publicidades_swf WHERE lugar = $i_publi";
$consulta44 = mysql_query ($sql44);
while ($row44 = mysql_fetch_array($consulta44))
{
$ID = $row44["ID"];
$swf = $row44["swf"];
$carpetafoto = $row44["carpetafoto"];
$ancho = $row44["ancho"];
$alto = $row44["alto"];
$lugar = $row44["lugar"];
$tam_alto = $alto * $tam_ancho / $ancho;
?>
                          <object  width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>">
                            <param name="src" value="<? echo $hostdom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" />
                            <embed src="<? echo $hostdom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" pluginspage="http://www.adobe.com/shockwave/download/" width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>"></embed>
                          </object>
                      </div></td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center"><img  src="linea.gif" /></td>
                    </tr>
                    <?
}
mysql_free_result($consulta44);
?>
                  </table></td>
            </tr>
        </table>
        </td>
        <?php }
mysql_free_result($consulta);
?>
      </tr>
</table>
</BODY><body><table width="110%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr><td align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" ><tr bgcolor="#FFFFFF" valign="top"><td width="100%" valign="top"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0"><tr><td colspan="2"><div align="center"><tbody></tbody></div>
</td></tr></table>
</td>
  </tr></table>    </td>
    </tr></table><p>&nbsp;</p>
</BODY>
</html>
