$StrHeaderPageTitle = "Bolsa de Habitação";
include($_SERVER['DOCUMENT_ROOT']."/inc/cab.php");
$id = (int)$_GET['id'];
$StrTable = "habitacao";
$StrWhere = "id=$id";
$StrSQLSelect = $ObjQuery->ListRecords($StrTable,"",$StrWhere,"",false);
$ArrGet = $ObjMySQL->RetResultArray($StrSQLSelect);
?>
$StrTable = "textos";
$StrWhere = "seccao=20";
$StrSQLSelect = $ObjQuery->ListRecords($StrTable,"",$StrWhere,"",false);
$ArrText = $ObjMySQL->RetResultArray($StrSQLSelect);
if (strlen($ArrText[1]['foto']) > 0)
{
?>
}
?>
echo $ArrGet[1]['tipologia']." - ".$ArrGet[1]['localizacao']; ?>
Preço: echo $ArrGet[1]['preco']; ?>
Contacto: echo $ArrGet[1]['contacto']; ?>
if (strlen($ArrGet[1]['foto']) > 0) { ?>
} ?>
echo $ArrGet[1]['descricao'] ?>
Publicado: echo date("Y-m-d",$ArrGet[1]['data']); ?>
Retroceder
include($_SERVER['DOCUMENT_ROOT']."/inc/rod.php");
?>