<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="utf-8">
    <title>{$q|escape}の検索結果</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="{$config.root_uri}/bootstrap/bootswatch/{$appearance.bootswatch_name}/bootstrap.min.css" media="screen">
    <link rel="stylesheet" href="{$config.root_uri}/css/parts.css">
    <link rel="stylesheet" href="{$config.root_uri}/css/flatmemo.css">
    <link rel="stylesheet" href="{$config.root_uri}/font-awesome/css/font-awesome.min.css">

    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="{$config.root_uri}/bootstrap/bootstrap.min.js"></script>
    <script src="{$config.root_uri}/bootstrap/bootswatch.js"></script>

    <script src="{$config.root_uri}/js/flatmemo.js"></script>
    <script type="text/javascript" src="{$config.root_uri}/js/jquery_kill_referrer.js"></script>
    {if $config.rss_feed}<link rel="alternate" type="application/rss+xml" title="RSS" href="{$config.rss_feed}" />{/if}
    <!--[if lt IE 9]>
      <script src="./bootstrap/html5shiv.js"></script>
      <script src="./bootstrap/respond.min.js"></script>
    <![endif]-->

  </head>
  <body>

{include file="inc/header.html"}



    <div class="container">


        {$hidden}
        <h1>「{$q|escape}」の検索結果</h1>


{$config.ad_search}


        <h3>「{$q|escape}」にマッチしたカテゴリ</h3>
        <div class="row">
{ foreach from=$category_loop key="k" item="v" name="loopname"}
          <div class="col-sm-6">
            <div class="row">
              <div class="col-sm-3 col-xs-3 col-md-2">
                <p class="fm_icon" style="background-image: url({$config.icon_uri}/{if $v.icon_file_name}{$v.icon_file_name}{else}noicon.jpg{/if})"><a href="{$_program_uri}/category/{$v.category_id}">
                <img src="{$config.root_uri}/g/waku.png" /></a>
                </p>
              </div>
              <div class="col-sm-9 col-xs-9 col-md-10">
                <a href="{$_program_uri}/category/{$v.category_id}">{$v.category_name}</a>
              </div>
            </div>
          </div>
{ /foreach }
        </div><!-- /.row -->



{ foreach from=$data_loop key="k" item="v" name="loopname"}
<div class="searchresult">
<h3 class="mb1"><a href="{$_program_uri}/archive/{$v.data_id}">{$v.title_name|escape}</a></h3>
<div class="well mb5">{$v.text_name|mbtruncate:300|escape}</div>
</div>
{ /foreach }


<br style="clear:both;"/>
<div style="padding-top:10px; padding-bottom:20px;">
<div class="searchresult_bar">タグ{ foreach from=$matched_tag_name_loop key="tk" item="tv" }「{$tv|escape}」{ /foreach }にマッチした結果</div>
</div>

{$config.ad_search}


{*
{ foreach from=$data_loop_tag key="k" item="v" name="loopname"}
<div class="searchresult">
<h3><a href="{$_program_uri}/archive/{$v.data_id}">{$v.title_name|escape}</a></h3>
<div class="well">{$v.text_name|escape}</div>
</div>
{ /foreach }
*}




    </div><!-- /.container -->




{include file="inc/footer.html"}




  </body>
</html>
