<?php 

	get_header(); 

	get_template_part('core/templates/breadcrumb'); 

	get_sidebar('header');

	if ( 
		!daily_diary_setting('daily_diary_search_layout') || 
		strstr(daily_diary_setting('daily_diary_search_layout'), 'sidebar' )
	) {
				
		get_template_part('layouts/search', 'sidebar'); 

	} else if ( daily_diary_setting('daily_diary_search_layout') == 'col-md-4' ) { 

		get_template_part('layouts/search', 'masonry'); 

	} else { 
		
		get_template_part('layouts/search', 'classic');
			
	}

	get_footer(); 

?>