query_first($sqlTxt);
?>
=$rowTxt['titolo'];?>
=$rowTxt['testo'];?> = NOW()"; }else{ $sql = "SELECT COUNT(id) as MyTot FROM offerte WHERE lingua = $lingua AND attiva = 1 AND data_scadenza >= NOW()"; } $rowCount = $db->query_first($sql); $myTotOfferte = $rowCount['MyTot']; if($myTotOfferte > 1){ $max_sx = ceil($myTotOfferte/2); ?>
= NOW() ORDER BY ordine LIMIT 0,$max_sx";
} else {
$sql = "SELECT id, titolo FROM offerte WHERE lingua = $lingua AND attiva = 1 AND data_scadenza >= NOW() ORDER BY ordine LIMIT 0,$max_sx";
}
$rsOff = $db->query($sql);
while($rowOff = $db->fetch_array($rsOff)){
?>
=$rowOff['titolo']?>
= NOW() ORDER BY ordine LIMIT $max_sx, $myTotOfferte";
} else {
$sql = "SELECT id, titolo FROM offerte WHERE lingua = $lingua AND attiva = 1 AND data_scadenza >= NOW() ORDER BY ordine LIMIT $max_sx, $myTotOfferte";
}
$rsOff = $db->query($sql);
while($rowOff = $db->fetch_array($rsOff)){
?>
=$rowOff['titolo']?>
=$rowOfferta['titolo']?>
Gültigkeit von =conv_date_deu($rowOfferta['data_inizio'])?> zum =conv_date_deu($rowOfferta['data_scadenza'])?>
=$rowOfferta['descrizione']?>
=$rowOfferta['riga_prezzo']?>
=$rowOfferta['riga_specifica']?> query_first($sql); if($rowCount['MyTot'] != 0){ $attiva_camere = 1; } else { $attiva_camere = 0; ?>=nome_camera($rowCamOff['idCamera']);?>
=$rowCamOff['prezzo_pieno']?>=$rowCamOff['prezzo_scontato']?>