<?php get_header(); ?>
<?php $page_streams = get_index_page_streams(); ?>
<?php if ((!empty($page_streams['term_id']) && !empty($page_streams['term_tax'])) || is_search() || is_archive() || $page_streams['adv_search'] == true) get_template_part('templates/master/category-streams', null, array('page_streams' => $page_streams));
else get_template_part('templates/index/index'); ?>
<?php get_footer(); ?>