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

<?php 

$titulo = "$nombresitio / Clasificados";
include 'arriba_full.php'


?>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">

  
  

  
  
  
    <tr bgcolor="#FFFFFF" height="10">
  <td colspan="2" valign="top">      </tr>
  <tr bgcolor="#FFFFFF">
    <td width="241" valign="top">
      <div align="center"><a href="publicar1.php"></a>      </div>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      
      
          <tr >
          <td><a href="publicar1.php"><img border="0" src="PUBLICARAVISO.jpg" width="210" height="67" /></a></td>
        </tr>
          <tr >
            <td class="Estilo42"><hr size="1" color="#999999"/>
              <strong><a href="clasificados.php">Volver</a></strong></td>
          </tr>
       
      </table>
 <hr size="1" color="#999999" />


</td>
    <td width="719" valign="top" class="Estilo29"><div align="center">



<?php

$ID = (int)$_GET['ID'];


$sql = "SELECT * FROM avisos WHERE ID = '$ID';";

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{


$ID = $row["ID"];

$titulo = $row["titulo"];

$linea1 = $row["linea1"];

$linea2 = $row["linea2"];

$foto = $row["foto"];
$accion = $row["accion"];

$nombre = $row["nombre"];
$telefono = $row["telefono"];
?>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><?php echo $titulo ?></td>
  </tr>
  <tr>
    <td class="Estilo42"><?php echo "$linea1 $linea2"; ?></td>
  </tr>
  <tr>
    <td class="Estilo42"><hr /></td>
  </tr>
  
  
  
  
  
        <tr>
                      <td class="Estilo42"><img src="upload_pic/resize_<?php echo $foto ?>.jpg" /></td>
                    </tr>
  <tr>
    <td class="Estilo9"><?php echo $nombre ?></td>
  </tr>
  <tr>
    <td class="Estilo9"><?php echo $telefono ?></td>
  </tr>
</table>

<?



}
$consulta->free_result(); ?>
    </div>

</td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#FFFFFF" >&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" ><img src="abajo1.png" width="960" height="10" /></td>
  </tr>
  <tr>
    <td  height="46" colspan="2" background="abajo.png"><div align="center" class="Estilo40"><?php include 'abajo.php';?></div></td>
  </tr>
</table>


<?php include 'abajo_full.php'?>
