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/test.creativefellows.nl/geomil/views/view.pagination_events.php
<?php

	/*
	 * Get Header
	 */
	require_once 'inc/header.php';


	$html = '<div class="grid-container row-actueel" data-equalizer>';
		$html .= '<div class="grid-x grid-padding-x">';
		
			$html .= '<div class="small-12 large-12 cell">';
				$html .= '<h1>News &amp; Events</h1>';
			$html .= '</div>';
		
			
			foreach($data["page"] as $i => $page)
			{	
			
				//if($i == 0) continue;
								
				$html .= '<div class="small-12 medium-4 cell">';
					$html .= '<div class="card" data-equalizer-watch>';
			
						$html .= '<div class="card-image"><a href="'. $page->getProperty("entry_link") .'">'.  $page->getProperty("image","image") .'</a></div>';
					
						$html .= '<div class="card-section">';
												
							$html .= '<h3><a href="'. $page->getProperty("entry_link") .'" class="link">'. $page->getProperty("title") .'</a></h3>';
							$html .= '<p>' . $page->getProperty("date_created","timestamp","%d-%m-%Y") . '</p>';
														
						$html .= '</div>';
						
						
					
					$html .= '</div>';
				$html .= '</div>';
			}
			
		//	$html .= '</div>';
		
		$html .= '</div>';
	$html .= '</div>';	

	// output
	echo $data["config"]->wrapAsSection($html,"","space-1");
		
		
	/*
	 * Get in touch 
	 */
	require_once 'inc/get-in-touch.php';

	
	/*
	 * Get Footer
	 */
	require_once 'inc/footer.php';
	
?>