{include file='header.tpl'} {* $Id: search.tpl 8 2009-01-11 06:02:53Z john $ *}
Search all groups



{if $search_text != ""} {if $is_results == 0}
{lang_sprintf id=927 1=$search_text}
{else}
{* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_results} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_results} {/if}
Go to Page:
{/if}

{* SHOW RESULTS *} {section name=result_loop loop=$results}
{capture assign='result_title'}{lang_sprintf id=$results[result_loop].result_name 1=$results[result_loop].result_name_1}{/capture} {$result_title|truncate:40:"...":true}
{lang_sprintf id=$results[result_loop].result_desc 1=$results[result_loop].result_desc_1 2=$results[result_loop].result_desc_2 3=$results[result_loop].result_desc_3}
{if $results[result_loop].result_online == 1}
{lang_print id=929}
{/if}
{cycle name="clear_cycle" values=",
"} {/section}

{if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_results} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_results} {/if}
Go to Page:
{/if}
{/if} {/if} {* JAVASCRIPT TO AUTOFOCUS ON SEARCH FIELD *} {literal} {/literal} {include file='footer.tpl'}