search.tpl
830 Bytes
{include file="tpl/header.tpl"}
<div id="wrapper">
{include file="tpl/user_sidebar_wrapper.tpl"}
{include file="tpl/menu_tray.tpl"}
<div id="container2">
<h1 id="container2-header">Slimspots Wiki - Search</h1>
</div>
<div class="container-fluid">
{if isset($error)}
<div class="alert alert-danger" role="alert">{$error}</div>
{else}
<h4>{$counter} result(s) found:</h4><hr>
<ul style="list-style-type: none;">
{foreach from=$arrResult key=key item=item}
<li><h4><a href="index.php?{$item.page_id}#{return_real_section_id({$item.page_id}, {$item.section_id})}"><u>{return_page_title({$item.page_id})} - {$item.section_title}</u></a></h4></li>
<li><em>{$item.section_text}</em></li><br/><hr style="background-color: #428BCA;">
{/foreach}
</ul>
{/if}
</div>
</div>
{include file="tpl/footer.tpl"}