HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers45/smuldersinterieurprojecten.nl/wwwroot/admin/php/getAboutHelpContact.php
<?php

function getAboutHelpContact(){
	
	//get text
	$siteText = getSiteText();
	
	
	$page = $_GET['page'];
	
	$output = '';
	$output .= '<div class="double-column-container center">';

		//header
		$output .= '<div class="header-bar top-rounded">'.ucfirst($page).'</div>';
	
	
			
		switch($page){	
			case 'about' : $output .= getAboutContent(); break;
			case 'help' : $output .= getHelpContent(); break;
			case 'contact' : $output .= getContactContent(); break;
		}
					
	$output .= '</div>';

	return $output;
}


function getAboutContent(){
	
	//get text
	$siteText = getSiteText();
	
	$output = '';
	//content
	$output .= '<div class="double-column-content">';
		
			//heading	
			$output .= '<h1>'.$siteText['aboutTitle'].'</h1>';
			
			//intro
			$output .= $siteText['aboutContent'];
			
	$output .= '</div>';
			
	return $output;
}

function getHelpContent(){
	
	//get text
	$siteText = getSiteText();
	
	$output = '';
	
	//content
	$output .= '<div class="double-column-content">';
		//heading	
		$output .= '<h1>'.$siteText['helpTitle'].'</h1>';
		
		//intro
		$output .= $siteText['helpContent'].'<br />';	
		$output .= '<br />';
		$output .= '<span class="welcomeActions"><a href="../docs/handleiding_v1_2.pdf" target="_blank">'.$siteText['helpDownload'].'</a></span><br />';
		$output .= '<span class="welcomeActions"><a href="./contact/">'.$siteText['helpContact'].'</a></span>';
			
	$output .= '</div>';
	return $output;
}

function getContactContent(){
	
	//get text
	$siteText = getSiteText();
	
	
	$output = '';
	
	//content
	$output .= '<div class="double-column-content">';
		//heading	
		$output .= '<h1>'.$siteText['contactTitle'].'</h1>';
		
		//intro
		$output .= $siteText['contactContent'];
		
	$output .= '</div>';
	//NAW
	$output .= '<div class="single-column-content column-margin-left column-margin-right">';
		$output .= '<strong>Mike Ontwerpt</strong><br />';
		$output .= 'Mike van der Sanden<br />';
		$output .= '+31 (0) 6 18 48 11 83<br />';
		$output .= '<a href="mailto:mail@mikeontwerpt.nl">mail@mikeontwerpt.nl</a><br />';
		$output .= '<br />';
		$output .= '<strong>Heeze</strong><br />';
		$output .= 'Strabrecht 50<br />';
		$output .= '5591 BP Heeze<br />';
		$output .= '<br />';
		$output .= '<strong>Eindhoven</strong><br />';
		$output .= 'Gagelstraat 6a<br />';
		$output .= '5611 BH Eindhoven<br />';
	$output .= '</div>';
	
	$output .= '<div class="single-column-content">';
		
	$output .= '</div>';
	
	return $output;
}


?>