// ***********************************************************
// Produced by: svenART productions
// Product: World Wide Web System
// Module: Body Text
// Version: 4.0
// Author: Sven Vogelezang
// Copyright: (C)2019 svenART productions.
// Web: http://www.svenart.com
// ***********************************************************
// All Rights Reserved
// None of the following code can be copied or re-used without
// the prior written permission of the author
// ***********************************************************
function ShowIntro($i){
include("sa_intro.php");
PrintIntro($i);
}
function ShowText($i){
include("sa_text.php");
PrintText($i);
}
function ShowNews($old){
include("sa_news.php");
PrintNews($old);
}
function ShowGigs($old){
include("sa_gigs.php");
PrintGigs($old);
}
function ShowLink($i){
include("sa_link.php");
SA_LINK();
}
function ComposeEmail(){
include("sa_email.php");
SA_ComposeEmail();
}
function SendEmail($email, $subject, $body, $name){
include("sa_email.php");
SA_SendEmail($email, SA_clean_it($subject), $body, $name);
}
function ShowShop(){
include("sa_shop.php");
SA_Shop();
}
function ShowPhotoAlbum($mode, $dir, $file) {
include("sa_pwa.php");
}
function ShowMusicAlbum($mode, $dir, $file) {
include("sa_music.php");
SA_MUSIC($mode, $dir, $file);
}
function ShowVideoAlbum($mode, $dir, $file) {
include("sa_video.php");
SA_VIDEO($mode, $dir, $file);
}
function ShowLyrix($mode, $dir, $file) {
include("sa_lyrix.php");
SA_LYRIX($mode, $dir, $file);
}
function ShowMoondust($mode, $dir, $file) {
include("sa_moondust.php");
SA_MOONDUST($mode, $dir, $file);
}
function ShowSitemap(){
include("sa_sitemap.php");
}
function ShowGuestBook(){
include("sa_guestbook.php");
}
function ShowGuestBookWrite(){
include("sa_guestbook_write.php");
}
function ShowExternalLink(){
global $saAddress;
global $saExternal;
$address = $saAddress."/".$saExternal;
header("Location: http://".$address);
}
function ShowDeelnemers($name, $special, $location, $function){
include("sa_deelnemers.php");
printDeelnemers($name, $special, $location, $function);
}
function ShowSpecialiteiten(){
include("sa_specialiteiten1.php");
printSpecialiteiten();
}
function ShowTwitter(){
saHTMLComment("WWW module - Twitter");
include("sa_twitter.php");
}
function ShowSlideshow(){
saHTMLComment("WWW module - Slideshow");
include("sa_slideshow.php");
}
function firstpage($i){
ShowText($i);
}
// ======================
// MAIN Page Builder code
// ======================
// Get variables from URL
$p=$_GET["p"];
$i=$_GET["i"];
$l=$_GET["l"];
$f=$_GET["f"];
$mi=$_GET["mi"];
$special=$_GET["special"];
// Get value from URL or Form:
$name=$_POST["name"];
if(empty($name)) {
$name=$_GET["name"];
}
// Get value from URL or Form:
$location=$_POST["location"];
if(empty($location)){
$location=$_GET["location"];
}
//print("
| $p - $i - $l - $f - $mi - $special - $name - $location |
");
// Page Selector
if ($p==""){
$i=15;
$p=1;
$l=1;
}
//print("
| $p - $i - $l - $f - $mi - $special - $name - $location |
");
//Tijdelijke opening van de website:
// if ($i==15){
// ShowSlideshow();
// }
// Einde tijdelijke opening van de website
ShowText($i);
if ($p=="2")
ShowLink($i);
elseif ($p=="3")
ComposeEmail();
elseif ($p=="4")
SendEmail($email, $subject, $body, $name);
elseif ($p=="5")
ShowSitemap();
elseif ($p=="6")
ShowCalendar();
elseif ($p=="7"){
if($m==""){
$m=d;
$i=24;
// $m=f;
$album="dbm_slideshow";
$screen="slideshow";
}
ShowPhotoAlbum($m, $d, $f);
}
elseif ($p=="8")
ShowExternalLink();
elseif ($p=="9")
ShowNews(0);
elseif ($p=="10")
ShowNews(1);
elseif ($p=="11")
ShowGigs(0);
elseif ($p=="12")
ShowGigs(1);
elseif ($p=="13")
ShowGuestBook();
elseif ($p=="14")
ShowGuestBookWrite();
elseif ($p=="15"){
ShowDeelnemers($name, $special, $location, $f);
}
elseif ($p=="16")
ShowSpecialiteiten();
elseif ($p=="17"){
if($m==""){
$m=d;
}
ShowVideoAlbum($m, "video", "1lalunenoire");
}
elseif ($p=="18"){
if($m==""){
$m=d;
}
ShowLyrix($m, "lyrix", "1lalunenoire");
}
elseif ($p=="19"){
if($m==""){
$m=d;
}
ShowMoondust($m, $d, $f);
if($d=="songs"){
ShowPhotoAlbum($m, $d, $f);
}
}
elseif ($p=="4030")
ShowTwitter();
elseif ($p=="42")
ShowSlideshow();
elseif ($p=="5010"){
if($m==""){
$m=s;
}
ShowPhotoAlbum($m, "dbm_slideshow", $f);
}
?>







