connect('localhost','bouma_bouma','1aHCHOPB'); ?> Bouma RVSService
Bouma RVSService
Contact
'); list($id,$name) = explode("/",$_GET['pageid']); if ($id=="") { $first=mysql_query('select * from pages where active=1 order by position asc'); $first=mysql_fetch_assoc($first); $id=$first['id']; } if ($id==0) { include('includes/contact.php'); } else { $indelingen=mysql_query('select * from indeling where pageid="'.$id.'" order by position asc'); while ($indeling=mysql_fetch_assoc($indelingen)) { if ($indeling['typeid']==1) { echo('

'.$indeling['titel'].'

'); $tekst=mysql_query('select * from ind_tekst where indid="'.$indeling['id'].'"'); $tekst=mysql_fetch_assoc($tekst); echo(nl2br($tekst['tekst']).'
'); } if ($indeling['typeid']==2) { echo('

'.$indeling['titel'].'

'); $hfoto=mysql_query('select * from ind_foto where indid="'.$indeling['id'].'"'); $hfoto=mysql_fetch_assoc($hfoto); echo('

'.$hfoto['tekst'].'
'); } if ($indeling['typeid']==4) { echo(''.$indeling['titel'].''); echo('
'); } if ($indeling['typeid']==3) { echo('

'.$indeling['titel'].'

'); $nieuws=mysql_query('select * from ind_nieuws where indid="'.$indeling['id'].'" order by date desc'); while($nieuw=mysql_fetch_assoc($nieuws)) { echo('
'.$nieuw['title'].'
'.date('d-m-Y',$nieuw['date']).'
'.nl2br($nieuw['tekst']).'

'); } echo('
'); } } } ?>
Ontwerp door: www.topener.nl