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/slotzeist/views/view.search.php
<?php
		

	/*
	 * Header
	 */
	$header_top_color = "no-header-transition";
	require_once 'inc/header.php';
	

	/*
	 * Page content 
	 */
	$html = '<div class="grid-container">';
		$html .= '<div class="grid-x grid-padding-x align-center">';
		
			// form
			$html .= '<div class="small-12 medium-8 cell text-center">';
				$html .= '<form class="form search" action="'. $cassette->link_base .'search" method="get">';
				
					$html .= '<h1>Zoekresultaten</h1>';
					$html .= '<div class="input-group">';
						$html .= '<input type="text" name="q" value="'. $cassette->outputSafe($_GET["q"]) .'" id="q" class="input autocomplete" placeholder=""/>';
						$html .= '<div class="input-group-button">';
							$html .= '<button type="submit" class="button primary">Zoeken</button>';
						$html .= '</div>';
					$html .= '</div>';
					
				$html .= '</form>';
			$html .= '</div>';
		
			// search entries
			foreach($data["page"] as $page)
			{
				$html .= '<div class="small-12 cell result-row">';
					$html .= '<h3><a href="'. $page->getProperty("entry_link") .'">'. $page->getProperty("title").'</a></h3>';
					$html .= '<p><em>'. $data["config"]->getSiteUrl() . $page->getProperty("entry_link") .'</em></p>';
					$html .= $data["config"]->makeIntro( $page->getProperty("contents"),250,true);
				$html .= '</div>';
			}
	
		$html .= '</div>';
	$html .= '</div>';
	
	
	echo $data["config"]->wrapAsSection($html,"","search-results");
	
	
	
	/*
	 * Footer
	 */
	require_once 'inc/footer.php';
	
?>