<?php include 'url_amigable.php';?>
<?php include 'concha.php';?>
 <?php $file = "$logo_g";  // Dirección de la imagen
 
  $imagen = getimagesize($file);    //Sacamos la información
  $ancho_logo = $imagen[0];              //Ancho
  $alto_logo = $imagen[1];

  
 $alto_logo_nuevo =  $alto_logo * 960 / $ancho_logo;
  
  
  
   ?><!DOCTYPE html>

<html lang="es"> 

  <head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <?php echo $link_titulo ?>
    <?php echo $link_menu ?>

<title><?php echo $titulo ?></title>
<?php $bajada1 = str_replace('"','',$bajada);  ?>
<meta name="description" content="<?php echo $bajada1 ?>" />
<meta name="keywords" content="<?php echo $tag1 ?>, <?php echo $tag2 ?>, <?php echo $tag3 ?>, <?php echo $tag4 ?>, <?php echo $tag5 ?>">
<meta name="language" content="es" />

 <link href="http://radioshosting.com/css/delalora.css" rel="stylesheet">

    <link href="http://radioshosting.com/css/bootstrap.min.css" rel="stylesheet">
 
        <style type="text/css">
	.zoom{
		transition: 0.5s ease;
 		-moz-transition: 0.5s ease; /* Firefox */
 		-webkit-transition: 0.5s ease; /* Chrome - Safari */
 		-o-transition: 0.5s ease; /* Opera */
	}
	.zoom:hover{
		transform : scale(1.05);
		-moz-transform : scale(1.05); /* Firefox */
		-webkit-transform : scale(1.05); /* Chrome - Safari */
		-o-transform : scale(1.05); /* Opera */
		-ms-transform : scale(1.05); /* IE9 */
	}
</style>
<style>
	
body {

<? 

$e = substr("$d_color_fondo",0,1);

if ($e == '#') { ?>
background-color:<? echo $d_color_fondo ?>;
<? } else { ?>

background-image: url("http://www.radiosnet.com.ar/fondos/<? echo $d_color_fondo ?>");
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

<? }; ?>

	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;

}
	

</style>

  </head>

  <body  data-spy="scroll" data-target="#nav" data-offset="<?php echo $alto_logo_nuevo ?>">

      <div class="container-fluid dsd">

          <header class="page-header" id="">

              <div id="principal" class="container-fluid">

                  <img src="<?php echo $logo_g ?>" width="960" class="img-responsive dsd" align="center" >

              </div>

          </header>

        </div>     

<div id="principal" class="container-fluid fondo_blanco" style="background-color:#FFFFFF;">
          
        <div class="navigation dsd" id="nav" data-spy="affix" data-offset-top="<?php echo $alto_logo_nuevo ?>">
          <style>
          .navbar .nav > .active > a:focus {
  	color:<?php echo $d_color_menu_sobre ?> !important;	
          </style>
          
          <style>
          .navbar-default {
    
    background: url(<?php echo $dom ?>/menu.png) !important;
    
} </style>
          
          
          <?php    include 'menu12.php';?>
          
          
         </div> 
          
          
          <div>
          <?php include 'marquesina.php'; ?></div>
          
                                         
       
          
          
    <!-- Example row of columns -->

          
            <div class="row">

              <div id="posteos" class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
         <div id="posteos" class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        
            
<?php 
include('concha.php');
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT * FROM comentarios WHERE ver = 'si' AND sub_comentario = '0' ORDER BY ID desc LIMIT 50";
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$nombre = $row["nombre"];
$ID = $row["ID"];
$texto = $row["texto"];
$fecha = $row["fecha"]; 
$sub_comentario = $row["sub_comentario"]; 
$IDD =  $row["IDD"];
if ($IDM == 0) {$es = 'no';} else {$es = 'si';};



$sql66 = "SELECT ID,titulo,texto,bajada,d,m,a,carpetafoto,foto FROM notas WHERE ID = '$IDD' LIMIT 1";
$consulta66 = mysql_query ($sql66);
while ($row66 = mysql_fetch_array($consulta66))
{



$ID_nota = $row66["ID"];

$titulo = $row66["titulo"];


$d = $row66["d"];



$m = $row66["m"];



$a = $row66["a"];



$carpetafoto = $row66["carpetafoto"];

$foto = $row66["foto"];




 ?>         

 <?php    if ($foto == NULL) {} else {?>



<span style=";font-family:<?php echo $style_titulo ?>;font-size:32px; color:<?php echo $d_color_titulo?>;"><strong><?php echo $nombre ?></strong>:</span>
<br>

<span style=";font-family:<?php echo $style_titulo ?>;font-size:22px;"><?php echo $texto ?></span>
        <br>

        

    <a href="<? echo $dom;?>/nota/<?php echo $ID_nota ?>/<?php echo urls_amigables($titulo) ?>"><img target="_blank" class="zoom" src="<?php if ($url_cloud == '') {echo $dom;} else {echo $url_cloud;}; ?>/<?php echo $carpetafoto ?>/thumbnail_<?php echo $foto ?><?php echo $ext_img ?>" width="200"  border="0" /></a> 
	<?php };?>

            <?php


 }
mysql_free_result($consulta66);

?>
       
        
        <br />
Comentario escrito en la nota: <?php echo  $titulo ?>
        

     
                <?

$c = 0;

$sql2 = "SELECT * FROM comentarios WHERE sub_comentario = '$ID' AND ver = 'si' ";

$consulta2 = mysql_query ($sql2);

while ($row2 = mysql_fetch_array($consulta2))

{

$c = $c + 1;

$nombre = $row2["nombre"];

$texto = $row2["texto"];





?>


<span class="Estilo17" style="color: #333333;">RESPUESTAS:<br /> &raquo; <strong><?php echo $nombre ?></strong>:</span><br>
        <span class="Estilo15"  style="color: #999999;"><?php echo $texto ?></span>
                    <br />
<?php }

mysql_free_result($consulta2);

?>
            <br>
   <span class="Estilo15">
         <a href="<? echo $dom;?>/nota/<?php echo $ID_nota ?>/<?php echo urls_amigables($titulo) ?>">> INGRESAR EN LA NOTA</a>
         </span>
       <br /> 
<img src="lineachat.gif" class="img-responsive" height="3" border="0" />
 
<?
}
mysql_free_result($consulta);?>
              
                  </div>
                       
                </div>
        
        
        <!-- End of columns -->  

                <sidebar id="sidebar" class="col-sx-2 col-sm-3 col-md-3 col-lg-3" data-spy="" data-offset-top="">

                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                        
                      <?  include 'propagandas3.php'; ?>
                        
                        </div>

                </sidebar>

          <!-- End of columns --> 

        </div>
                    
      <!-- /container -->
      <div class="clearfix"></div>

      <!-- Site footer -->
      
                           
<footer class="footer">
          <div id="divfooter" style="background-color: <?php echo $d_color_fondo_menu ?>;"></div>
          

              <p><br>
<?php include 'abajo.php';?><br>
</p>

          </footer>
      
      </div> 
      
     
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
      
      <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
      
      
      



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

<?php include 'abajo_logo.php';

?>
      
      
  </body>

</html>

