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/pages/getMultipage.php
<?php

function getMultipage($key,$linkname){
	$output = '';
     
	$query = 'SELECT title, description 
	 			FROM '.$linkname.' 
		 		ORDER BY itemOrder DESC
				LIMIT 1';
	$result = mysql_query($query) or die(mysql_error());
	$record = mysql_fetch_assoc($result);
	$title = fromDatabase($record['title']);
	$description = fromDatabase($record['description']);			
	$description = replaceShortcodes($description); 
	 
	//whitebox 
	$output .= '<div class="textBlockContainer">
					<div class="headerBox">
						<img src="/images/structure/logowelcome.png" alt="Smulders Interieur Heeze - Logo" />
					</div>
					<div class="footerBox" id="footerBox'.$key.'">
					   &nbsp;
					</div>
             	</div>';
    //text            
	$output .= '<div class="contentBox" id="contentBox'.$key.'">';
   		$output .= '<h1 class="h1InContentBox">'.strtolower($title).'</h1>';
		$output .= $description;


    $output .= '</div>';

    if($linkname == 'contact' && $_SERVER['REMOTE_ADDR'] == '212.61.130.133')
    {/*
        $output .=  '<div id="contact_footer">
            <span class="title">Dorpen waarin wij onder andere actief zijn:</span>

            <ul>
                <li><a href="/keukens-heeze" target="_blank">Heeze</a></li>
            </ul>
            <ul>
                <li><a href="/keukens-leende" target="_blank">Leende</a></li>
            </ul>
            <ul>
                <li><a href="/keukens-sterksel" target="_blank">Sterksel</a></li>
            </ul>
            <ul>
                <li><a href="/keukens-geldrop" target="_blank">Geldrop</a></li>
            </ul>
            <ul>
                <li><a href="/keukens-mierlo" target="_blank">Mierlo</a></li>
            </ul>
            <ul>
                <li><a href="/keukens-nuenen" target="_blank">Nuenen</a></li>
            </ul>
            <div class="clear"></div>
        </div>';*/
    }
	return $output;
}



?>