inmuebles


Iniciar sesión
 
 
/* $serverName = "sqladmin.windows06.dnspropio.com"; //serverName\instanceName $connectionInfo = array( "Database"=>"CreditCash", "UID"=>"cremades", "PWD"=>"tatiana"); $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn ) { echo "Conexión establecida.
"; }else{ echo "Conexión no se pudo establecer.
"; die( print_r( sqlsrv_errors(), true)); }*/ $state = $_GET['state']; $radius = $_GET['radius']; $size = $_GET['size']; $type =$_GET['type']; $activity = $_GET['activity']; $filter = ""; if($state !== 'all'){ $filter .= "state ='".$state."'"; $order = "state ASC"; } if($radius !== 'all'){ if(isset($state)&&($state !== 'all')){ $filter .= " AND "; } $filter .= "radius <='".$radius."'"; $order = "radius ASC"; } if($size !== 'all'){ if(isset($radius)&&($radius !== 'all')||isset($state)&&($state !== 'all')){ $filter .= " AND "; } $filter .= "camp_size <='".$size."'"; $order = "camp_size ASC"; } if($type !== 'all'){ if(isset($radius)&&($radius !== 'all')||isset($state)&&($state !== 'all')||isset($size)&&($size !== 'all')){ $filter .= " AND "; } $filter .= "type LIKE '%".$type."%'"; $order = "type ASC"; } if($activity !== 'all'){ if(isset($radius)&&($radius !== 'all')||isset($state)&&($state !== 'all')||isset($size)&&($size !== 'all')||isset($type)&&($type !== 'all')){ $filter .= " AND "; } $filter .= "canoe ='".$activity."'"; $order = "lastmod ASC"; } print_r($filter); ?>

hola

Solicitud Rápida De Crédito

Nombre y apellidos

Teléfono

E-mail

Importe

Provincia

Ciudad

Dni

Comentarios

He leído la politica de privacidad