if ($annuncio[tipo_utente]==2) { ?>
Riferimento Agenzia |
= $annuncio[riferimento] ?> |
} else { ?>
Privato |
|
} ?>
if ($annuncio[categoria]>0) echo "Prezzo ".trim($annuncio[def_pagamento]).":"; else echo "Prezzo:";?> |
€
= euro($annuncio[prezzo]) ?> |
Tipologia |
= $tipologia[$annuncio[tipologia]] ?> |
Mq (ca) |
= $annuncio[mq] ?> |
Piano |
= $annuncio[piano] ?> |
Terazzo |
$testo = split(";",trim($annuncio[terazzo]));
if ($testo[0] == 1)
echo ("Si ");
else
echo ("No");
if ($testo[0] && $testo[1] != 0)
echo ($testo[1]." mq");
?> |
Balcone |
$testo = split(";",trim($annuncio[balcone]));
if ($testo[0] == 1)
echo ("Si ");
else
echo ("No");
if ($testo[0] && $testo[1] != 0)
echo ($testo[1]." mq");
?> |
Giardino |
$testo = split(";",trim($annuncio[giardino]));
if ($testo[0] == 1)
echo ("Si ");
else
echo ("No");
if ($testo[0] && $testo[1] != 0)
echo ($testo[1]." mq");
?> |
Esposizione |
$testo = split(";",trim($annuncio[id_esposizione]));
if (strlen($testo[0])) {
for ($i = 0; $i < count($testo); $i++)
echo ($testo[$i]." ");
} else
echo "Non disponibile";
?> |
Riscaldamento |
echo (trim($annuncio[riscaldamento]));
?> |
Stato immobile |
echo (trim($annuncio[stato_imm]));
?> |
Stato edificio |
echo (trim($annuncio[stato_edificio]));
?> |
Portiere |
if ($annuncio[portiere])
echo ("Si");
else
echo ("No"); ?> |
Ascensore |
if ($annuncio[ascensore] == 0)
echo ("No");
else
if ($annuncio[ascensore] == 1)
echo ("Si");
else
echo ("Da deliberare"); ?> |
Giardino condominiale |
if ($annuncio[giardino_c])
echo ("Si");
else
echo ("No"); ?> |
Spese condominiali |
$testo = split(";",trim($annuncio[spese_c]));
if (!$testo[0]) $m_spese="Non disponibile";
if ($testo[0] && $testo[1] != 0)
$m_spese="€ ".$testo[1]." ".$testo[2]; elseif (!$m_spese) $m_spese="Non disponibile";
echo $m_spese;
?> |
Accessori |
$testo = split(";",trim($annuncio[accessori]));
for ($i = 0; $i < count($testo); $i++)
echo ($testo[$i]." ");
?> |