/***************************************************************************
* copyright            : (C) 2001-2003 Advanced Internet Designs Inc.
* email                : forum@prohost.org
* $Id: search.tmpl 21069 2010-03-25 22:47:48Z Caeies $
*
* This program is free software; you can redistribute it and/or modify it 
* under the terms of the GNU General Public License as published by the 
* Free Software Foundation; either version 2 of the License, or 
* (at your option) any later version.
***************************************************************************/

{PHP_FILE: input: search.php.t; output: search.php;}
{REF: security.tmpl}
{REF: header.tmpl}
{REF: footer.tmpl}
{REF: stats.tmpl}
{REF: show.tmpl}
{REF: rev_fmt.tmpl}
{REF: draw_pager.tmpl}
{REF: alt_var.tmpl}
{REF: draw_radio_opt.tmpl}
{REF: draw_select_opt.tmpl}
{REF: fileio.tmpl}
{REF: search_forum_sel.tmpl}

{SECTION: search_results}
<br />
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr><th width="100%">{MSG: search_subject}</th><th>{MSG: search_forum}</th><th nowrap>{MSG: search_posted_on}</th></tr>
{TEMPLATE-DATA: search_data}
</table>
{SECTION: END}

{SECTION: no_search_results}
<br />
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr class="RowStyleA"><th colspan=2 width="100%" align="center">{MSG: search_no_results}</th></tr>
</table>
{SECTION: END}

{SECTION: radio_button unselected style}
{SECTION: END}

{SECTION: radio_button_selected selected radio button style}
{SECTION: END}

{SECTION: radio_button_separator}
&nbsp;&nbsp;
{SECTION: END}

{SECTION: search_entry}
<tr class="{ALT-VAR: search_alt RowStyleA RowStyleB}"><td class="GenText" width="100%">{VAR: i}. <a class="GenLink" href="{TEMPLATE: search_entry_lnk}">{VAR: r->subject}</a><br />{VAR: body}</td><td class="GenText" nowrap><a class="GenLink" href="{TEMPLATE: search_entry_lnk1}">{VAR: r->forum_name}</a></td><td class="GenText" nowrap><font class="DateText">{DATE: r->post_stamp %a, %d %B %Y %H:%M}</font> {MSG: by} {TEMPLATE-DATA: poster_info}</td></tr>
{SECTION: END}

{SECTION: registered_poster}
<a class="GenLink" href="{TEMPLATE: registered_poster_lnk}">{VAR: r->alias}</a>
{SECTION: END}

{SECTION: unregistered_poster}
{GVAR: ANON_NICK}
{SECTION: END}

{PAGE: SEARCH_PAGE message search form}
{TEMPLATE: header}
{TEMPLATE: show_links}
<form method="get" action="{TEMPLATE: SEARCH_PAGE_lnk3}">{DEF: _hs}<input type="hidden" name="t" value="search">
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr><th colspan=3 width="100%">{MSG: search_forum_search}</th></tr>
<tr class="{ALT-VAR: color_alt RowStyleA RowStyleB}"><td class="GenText">{MSG: search_for}</td><td colspan=2><input type="text" name="srch" value="{VAR-HTML: srch}"></td></tr>
<tr class="{ALT-VAR: color_alt RowStyleA RowStyleB}"><td class="GenText">&nbsp;</td><td colspan=2>{TEMPLATE-DATA: search_options}</td></tr>
<tr class="{ALT-VAR: color_alt RowStyleA RowStyleB}"><td class="GenText">{MSG: search_in_forum}</td>
	<td colspan=2>
		<select name="forum_limiter"><option value="">{MSG: search_all_forums}</option>
		{TEMPLATE-DATA: forum_limit_data}
		</select>
	</td>
</tr>
<tr class="{ALT-VAR: color_alt RowStyleA RowStyleB}"><td class="GenText">{MSG: search_logic}</td><td colspan=2><select name="search_logic">{TEMPLATE-DATA: logic_options}</select></td></tr>
<tr class="{ALT-VAR: color_alt RowStyleA RowStyleB}"><td class="GenText">{MSG: search_sorting}</td><td colspan=2><select name="sort_order">{TEMPLATE-DATA: sort_options}</select></td></tr>
<tr class="RowStyleC"><td class="GenText" align="right" colspan=3><input type="submit" class="button" name="btn_submit" value="{MSG: search}"></td></tr>
</table></form>
{TEMPLATE-DATA: search_data}
<div align="left">{TEMPLATE-DATA: page_pager}</div>
{TEMPLATE-DATA: page_stats}
{TEMPLATE: footer}
{PAGE: END}

{SECTION: search_title}
{MSG: search_title}
{SECTION: END}

{SECTION: search_update}
{MSG: search_update}
{SECTION: END}

{SECTION: search_entire_msg}
{MSG: search_entire_msg}
{SECTION: END}

{SECTION: search_subect_only}
{MSG: search_subect_only}
{SECTION: END}

{SECTION: search_and}
{MSG: search_and}
{SECTION: END}

{SECTION: search_or}
{MSG: search_or}
{SECTION: END}

{SECTION: search_asc_order}
{MSG: search_asc_order}
{SECTION: END}

{SECTION: search_desc_order}
{MSG: search_desc_order}
{SECTION: END}

{SECTION: search_normal_option}
{SECTION: END}

{SECTION: search_selected_option}
{SECTION: END}

{SECTION: search_entry_lnk}
{ROOT}?t={DEF: d_thread_view}&amp;goto={VAR: r->id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: search_entry_lnk1}
{ROOT}?t={DEF: t_thread_view}&amp;frm_id={VAR: r->forum_id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: registered_poster_lnk}
{ROOT}?t=usrinfo&amp;id={VAR: r->poster_id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: SEARCH_PAGE_lnk3}
{ROOT}
{SECTION: END}
