1709203583a:1:{s:15:"blog-search.htm";a:8:{s:8:"fileName";s:15:"blog-search.htm";s:7:"content";s:3121:"description = "Search Results for Blogs"

[searchResults]
resultsPerPage = 9
showProviderBadge = 0
noResultsMessage = "Your search returned no results."
visitPageMessage = "Visit page"

[siteSearchInclude]
==
<?php
use System\Classes\CombineAssets;
  function onStart(){
    $css = ['assets/css/news.css'];
    //$scripts = ['assets/javascript/homepage.js'];
    $this->addCss(CombineAssets::combine($css, base_path('themes/linus')));
    //$this->addJs(CombineAssets::combine($scripts, base_path('themes/linus')));

    $theme = Cms\Classes\Theme::getEditTheme();
    $pageList = new RainLab\Pages\Classes\PageList($theme);
    $allPages = $pageList->listPages();
    $this['heroIn'] = null;
    foreach ($allPages as $pg) {
      if($pg->id == 'news-banner') {
        $this['heroIn'] = $pg;
      }
    }
  }
?>
==
{% partial 'site/head' %}
{% partial 'site/header' %}
{% partial 'hero-banner' %}
	<div class="row noPM search-blog section-pad-3">
    <div class="bg-pattern"></div>
		<div class="container">
      <h4 class="block-title text-center">Search results for <mark>{{query}}</mark></h3>
      <br>
			{% set results = searchResults.results %}
			{% for latest in results %}
        <div class="col-sm-4 col-xs-6 home-news-base hover-base trans wow fadeIn" data-wow-delay="{{loop.index / 2}}s">
          <a href="{{url('/article/'~latest.slug)}}">
            <div class="home-news-con hover-base card-shadow ">
              <div class="home-news-image bg-img hover-zoom" style="{% if latest.featured_images.count %}background-image: url('{{latest.featured_images[0].path}}'){% else %}background-image: url({{'assets/img/mecha-grayscale.png'|theme}}); background-size: 200px; background-color: white;{% endif %}"></div>
              <div class="home-news-det">
                <h6 class="service-category-title">{{latest.title|raw}}</h6>
                <p class="published-label">Published on <span>{{latest.published_at|date('M d, Y')}}</span></p>
              </div>
            </div>
          </a>
        </div>
			{% else %}
		    {# No results found #}
		    {#% partial searchResults ~ '::no-results.htm' %#}
        {% if posts is empty %}
          <div class="col-sm-12 col-xs-12 flex-con">
            <div class="no-record text-center">
              <img src="{{'assets/svg/ico-no-result.svg'|theme}}" class="img-responsive">
              <h3>No Result Found.</h3>
              <p>Please check all words are spelled correctly, or try <br>another title, tags, or any keywords.</p>
              <br>
          	  <div class="hover-effect cl-effect-10 text-center">
          	    <a href="{{url('/news')}}" data-hover="GO BACK TO NEWS">
          	        <span class="btn-text flex-con">GO BACK TO NEWS</span>
          	    </a>
          	  </div>
            </div>
          </div>
        {% endif %}
			{% endfor %}
      <div class="col-sm-12 col-xs-12 flex-con">
			  {% partial searchResults ~ '::pagination.htm' results = results %}
      </div>
		</div>
	</div>
</div>

{% partial 'site/footer' %}
";s:5:"mtime";i:1568952262;s:6:"markup";s:2271:"{% partial 'site/head' %}
{% partial 'site/header' %}
{% partial 'hero-banner' %}
	<div class="row noPM search-blog section-pad-3">
    <div class="bg-pattern"></div>
		<div class="container">
      <h4 class="block-title text-center">Search results for <mark>{{query}}</mark></h3>
      <br>
			{% set results = searchResults.results %}
			{% for latest in results %}
        <div class="col-sm-4 col-xs-6 home-news-base hover-base trans wow fadeIn" data-wow-delay="{{loop.index / 2}}s">
          <a href="{{url('/article/'~latest.slug)}}">
            <div class="home-news-con hover-base card-shadow ">
              <div class="home-news-image bg-img hover-zoom" style="{% if latest.featured_images.count %}background-image: url('{{latest.featured_images[0].path}}'){% else %}background-image: url({{'assets/img/mecha-grayscale.png'|theme}}); background-size: 200px; background-color: white;{% endif %}"></div>
              <div class="home-news-det">
                <h6 class="service-category-title">{{latest.title|raw}}</h6>
                <p class="published-label">Published on <span>{{latest.published_at|date('M d, Y')}}</span></p>
              </div>
            </div>
          </a>
        </div>
			{% else %}
		    {# No results found #}
		    {#% partial searchResults ~ '::no-results.htm' %#}
        {% if posts is empty %}
          <div class="col-sm-12 col-xs-12 flex-con">
            <div class="no-record text-center">
              <img src="{{'assets/svg/ico-no-result.svg'|theme}}" class="img-responsive">
              <h3>No Result Found.</h3>
              <p>Please check all words are spelled correctly, or try <br>another title, tags, or any keywords.</p>
              <br>
          	  <div class="hover-effect cl-effect-10 text-center">
          	    <a href="{{url('/news')}}" data-hover="GO BACK TO NEWS">
          	        <span class="btn-text flex-con">GO BACK TO NEWS</span>
          	    </a>
          	  </div>
            </div>
          </div>
        {% endif %}
			{% endfor %}
      <div class="col-sm-12 col-xs-12 flex-con">
			  {% partial searchResults ~ '::pagination.htm' results = results %}
      </div>
		</div>
	</div>
</div>

{% partial 'site/footer' %}";s:4:"code";s:615:"
use System\Classes\CombineAssets;
  function onStart(){
    $css = ['assets/css/news.css'];
    //$scripts = ['assets/javascript/homepage.js'];
    $this->addCss(CombineAssets::combine($css, base_path('themes/linus')));
    //$this->addJs(CombineAssets::combine($scripts, base_path('themes/linus')));

    $theme = Cms\Classes\Theme::getEditTheme();
    $pageList = new RainLab\Pages\Classes\PageList($theme);
    $allPages = $pageList->listPages();
    $this['heroIn'] = null;
    foreach ($allPages as $pg) {
      if($pg->id == 'news-banner') {
        $this['heroIn'] = $pg;
      }
    }
  }
";s:11:"description";s:24:"Search Results for Blogs";s:13:"searchResults";a:4:{s:14:"resultsPerPage";s:1:"9";s:17:"showProviderBadge";s:1:"0";s:16:"noResultsMessage";s:32:"Your search returned no results.";s:16:"visitPageMessage";s:10:"Visit page";}s:17:"siteSearchInclude";a:0:{}}}