Vorige
Volgende
Intro
Nieuws
ID-app online
Aanmelden
Inloggen
Ontwerpmodules
Documenten
Bedrijven
RKB's 2024
Tools
Kaartenbakken
Vacatures
Nieuwsbrief
$id_nb = $_GET['id']; $sql_nb = "SELECT * FROM nieuwsbrief WHERE id = $id_nb AND actief=1 "; $result_nb = mysqli_query($db2,$sql_nb) or die($sql_nb); $n = mysqli_num_rows($result_nb); if ($n == 1){ $titel = mysqli_result($result_nb,0,"titel"); $nb_nummer = mysqli_result($result_nb,0,"nummer"); echo "
Nieuwsbrief $nb_nummer $datum
$titel
" ; for ($i=1; $i<11; $i++){ $kop = mysqli_result($result_nb,0,"kop$i"); $tekst = nl2br(mysqli_result($result_nb,0,"tekst$i")); $foto = mysqli_result($result_nb,0,"foto$i"); $margin_right = 2; if ($id_nb == 6 && $i == 2) $margin_right = 75; if ($foto){ $foto_s = "
"; } if ($id_nb == 8 && $i == 9) { $foto_s = "
"; $foto_s = "
$foto_s
"; } if ($kop){ // tekstkader background-color: #0D72EE; #CCE8F4 echo "
$kop
"; if ($id_nb == 6 && $i == 2) { echo "$tekst $foto_s"; } else { echo "$foto_s $tekst "; } echo "
"; } } echo "
Met vriendelijke groet,
Piet de Haan
www.dehaanadviseur.nl
"; } ?>
Terug naar de nieuwsbriefpagina