include("BackEnd/conexion.php"); $link=conectar(); $tipo = $_GET["tipo"]; if($tipo=="") $tipo=1; ?>
| $img="2";
 	$sql="SELECT * FROM propiedades WHERE online=1 ";
	if($tipo!="") $sql.=" and tipo='$tipo' ";
	$sql.=" order by orden";
    $rs=mysql_query($sql,$link);
	
	$resultados=mysql_num_rows($rs);
	
	  if ($resultados>0){ ?>
      
	    while($datos=mysql_fetch_array($rs)){ 
	  
	  if($img==1)
	  	$img=2;
	  else
	  	$img=1;?> 
 
 |