".$menu_item."       "; } if ($show_loggedin_tekst) { if ($user_id) { $logged_tekst=parse_template_pagina($main_template,"loggedin"); } else { $logged_tekst=parse_template_pagina($main_template,"loggedout"); } } else { $logged_tekst=""; } $laatste_nieuws=parse_template_pagina($main_template,"laatstenieuws"); $main_content=str_replace("__PHP_SELF_INCL_HOST__","http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'],$main_content); $main_content=str_replace("__laatste_nieuws__",$laatste_nieuws,$main_content); $main_content=str_replace("__loggedin_loggedout__",$logged_tekst,$main_content); $main_content=str_replace("__user_id__",$user_id,$main_content); $main_content=str_replace("__username__",$userfullname,$main_content); $main_content=str_replace("__main_tekst__",$main_tekst,$main_content); $main_content=str_replace("__homepng__",$homepng,$main_content); $main_content=str_replace("__faqpng__",$faqpng,$main_content); $main_content=str_replace("__professionalspng__",$professionalspng,$main_content); $main_content=str_replace("__projectenpng__",$projectenpng,$main_content); $main_content=str_replace("__contactpng__",$contactpng,$main_content); switch($tbv_inlog_bevestigd) { case (-1): $main_content=str_replace("__inloginfo__",'Ongeldig wachtwoord!',$main_content); break; case (1): $main_content=str_replace("__inloginfo__",'Niet bevestigd!',$main_content); break; case (2): $main_content=str_replace("__inloginfo__",'(Nog) niet betaald!',$main_content); break; case (3): $main_content=str_replace("__inloginfo__",'Login verlopen',$main_content); break; default: $main_content=str_replace("__inloginfo__",'',$main_content); break; } $main_content=str_replace("__menu_tekst__",$menu_tekst,$main_content); $main_content=str_replace("__kolom_tekst__",$kolom_tekst,$main_content); $main_content=str_replace("__pagina__",$pagina,$main_content); $main_content=str_replace("__imagepagina__",$imagepagina,$main_content); $main_content=str_replace("__css_inhoud__",$css_inhoud,$main_content); $main_content=str_replace("__titel_plaatje__",$titel_plaatje,$main_content); $main_content=str_replace("__inhoud_plaatje_content__",$inhoud_plaatje_content,$main_content); $main_content=str_replace("__extra_scripts_en_links__",$extra_scripts_en_links,$main_content); $main_content=str_replace("__homepage__",$homepage,$main_content); $main_content=str_replace("__indexpagina__",$indexpage,$main_content); $main_content=str_replace("__zoekindexpagina__",$zoekindexpage,$main_content); $main_content=str_replace("__printindexpagina__",$printindexpage,$main_content); $main_content=str_replace("__last_webpage__",$lastpage,$main_content); if ($userkind==3) { $main_content=str_replace("__zoekindexpagina_view-professional__",$zoekindexpage."change-professional",$main_content); } else { $main_content=str_replace("__zoekindexpagina_view-professional__",$zoekindexpage."view-professional",$main_content); } if (isset($ea)) { $main_content=str_replace("__emailadres__",$ea,$main_content); } $main_content=fill_detail_fields($main_content, "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", 0, "", "", 0, "", 0,"","","", "", "", "", "", "", "" ,""); $main_content=str_replace("__size80__",$size80,$main_content); $main_content=str_replace("__size78__",$size78,$main_content); $main_content=str_replace("__size60__",$size60,$main_content); $main_content=str_replace("__size40__",$size40,$main_content); $main_content=str_replace("__size20__",$size20,$main_content); $main_content=str_replace("__size18__",$size18,$main_content); foreach(array("title","description","author","keywords") as $tag) $main_content=str_replace("__".$tag."__",titles_en_tags($pagina,$tag),$main_content); echo $main_content; } db_close(); ?>