<form action="search.php" method="get">
	<table class="outer" cellspacing="1" width="100%">
		<tr>
			<td class="head"><{$smarty.const._SR_KEYWORDS}></td>
			<td class="<{cycle values="odd,even"}>">
				<{xoops_input type=text name=query size=30 maxlength=255 value=$actionform->get('query')}>
			</td>
		</tr>
		<tr>
			<td class="head"><{$smarty.const._SR_TYPE}></td>
			<td class="<{cycle values="odd,even"}>">
				<select name="andor">
					<option value="0" <{if $actionform->get('andor')==0}>selected<{/if}>><{$smarty.const._SR_ALL}></option>
					<option value="1" <{if $actionform->get('andor')==1}>selected<{/if}>><{$smarty.const._SR_ANY}></option>
					<option value="2" <{if $actionform->get('andor')==2}>selected<{/if}>><{$smarty.const._SR_EXACT}></option>
				</select>
			</td>
		</tr>
		<tr>
			<td class="head"><{$smarty.const._SR_SEARCHIN}></td>
			<td class="<{cycle values="odd,even"}>">
				<{foreach item=module from=$moduleList}>
					<input type="checkbox" name="mids[]" value="<{$module->getVar('mid')}>" <{if in_array($module->getVar('mid'),$actionform->get('mids'))}>checked<{/if}>><{$module->getVar('name')|escape}></a>
				<{/foreach}>
			</td>
		</tr>
		<tr>
			<td class="head"><{$smarty.const._SR_SEARCHRULE}></td>
			<td class="<{cycle values="odd,even"}>"><{$searchRuleMessage}></td>
		</tr>
		<tr>
			<td class="head"></td>
			<td class="<{cycle values="odd,even"}>">
				<input type="submit" value="<{$smarty.const._SR_SEARCH}>" />
			</td>
		</tr>
	</table>
</form>
