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/figi.creativefellows.nl/views/view.agenda.php
<?php
		
	/*
	 * Get Header
	 */
	$header_top_color = $data["page"][0]->contents == "" || !preg_match("/.image-showcase/",$data["page"][0]->contents) ? "" : "has-showcase";
	require_once 'inc/header.php';
	

	/*
	 * Page contents
	 */	
	echo $data["page"][0]->contents;
	
	
	/*
	 * Search items
	 */	
	$html .= '<div data-sticky-container>
				<div data-sticky data-options="marginTop:-0.75;" data-top-anchor="filter-shows:top" class="filter-shows">
					<div class="search-tickets">
					
						<form action="'. $router->pathFor('GAT.viewAgenda') .'" method="post" class="figi-calendar" data-container="#view-calendar">';
	
	$html .= '<div class="grid-container">';
		$html .= '<div class="grid-x grid-padding-x align-center">';
		
			// page search label				
			$html .= '<div class="small-12 cell text-center">';
				$html .= '<h2>Evenementen bij Figi</h2>';
			$html .= '</div>';
		
			// date selector	
			$html .= '<div class="small-3 cell">'; 
				$html .= $data["date_selector"];
			$html .= '</div>';
			
			// submit button
			$html .= '<div class="shrink cell">';
				$html .= '<button type="submit" class="button primary">Bekijk</button>';
			$html .= '</div>';
	
		$html .= '</div>';
	$html .= '</div>';
	
	$html .= '</form></div></div></div>';
	
	
	// output data as section
	echo $data["config"]->wrapAsSection($html,"filter-shows");
	
	
	
	/*
	 * Figi Agenda
	 */	
	$html = '<div class="grid-container">';
		$html .= '<div class="grid-x grid-padding-x">';
			
			$html .= '<div class="cell small-12" id="view-calendar">'. $data["agenda"]->show() .'</div>';
		
		$html .= '</div>';
	$html .= '</div>';
	
	
	// output data as section
	echo $data["config"]->wrapAsSection($html,"","figi-shows");
	
	
	/*
	 * Get Footer
	 */
	require_once 'inc/footer.php';
	
?>