HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/okaycolor.creativefellows.nl/views/page.php
<?php
	

	/*
 	 * Header
	 */
	require_once __DIR__ . '/inc/header.inc.php';
	
	
	/*
 	 * Page
	 */
	echo '<div class="grid-container">';
		echo '<div class="grid-x grid-padding-x">';

			/*
			 * Left 
			 */
			echo '<div class="cell small-12 medium-3 show-for-medium">';
			
				$active_section = $navigation->getPageSections( $data["active"] );
				
				echo '<h3>'. $active_section->getName() .'</h3>';
				echo '<ul class="no-bullet sidebar">';
					foreach( $active_section->getPages() as $page )
					{
						echo '<li><a href="'. $page->getUrl() .'">'. $page->getName() .'</a></li>';				
					}
				echo '<ul>';
							
			echo '</div>';
	
	
			/*
			 * Right 
			 */
			echo  '<div class="cell small-12 medium-9">';
			
				echo $data["page"]->getHeading();
				echo $data["page"]->html();
				
			echo '</div>';

		echo '</div>';
	echo '</div>';		
		

	echo $data["active"];
	
	
	/*
 	 * Footer
	 */
	require_once __DIR__ . '/inc/footer.inc.php';

		
?>