<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
$boardname =boardjumplist($GLOBALS['boardid'],$lang['tpl.str']);
global $ft_settings;
if (0 == $ft_settings[0]) {
	$str_ft = $lang['str_15'];
} else {
	if (0 == $ft_settings[2] OR 1 == $ft_settings[2]) {	//	主题+帖子内容的搜索被禁用
		$str_ft = $lang['str_15'];
	} else {
		$str_ft = $lang['str_14'];
	}
}
print <<<EOT
<BR>
<hr>
 <!---------------论坛搜索------------------->
 <BR>
 <div style="width:50% !important;margin: 0 auto !important; width:600px;text-align : center;overflow: hidden; background:#fff; border:1px solid #C6D2E3; padding:1px ">
		<div class="tabtitle" style="width:600px;overflow: hidden;">
		<div id="search_bot">
			<p class="tab_search_on">  {$lang['str_13']}  </p>
			<p class="tab_search_on">  {$lang['str_12']}  </p>
			<p class="tab_search_on">  {$str_ft}  </p>
		</div>
		<div id="searchbody">
		<dl>
		<FORM METHOD=POST ACTION="query.php?stype=2">
			<input type="text" name="keyword" style="width:50%"> 
			<select name="boardid" id="boardid">
				<option value="0">{$lang['tpl.str']}</option>
				{$boardname}
			</select>
			<button onmousemove="button_move(this)" onmouseout="button_out(this)" style=" margin-left:5px; text-indent:0px;" type="submit" name="so1"> {$lang['str_13']} {$lang['str_00']} </button>
			
		</FORM>
		</dl>
		<dl>
		<FORM METHOD=POST ACTION="query.php?stype=1">
			<input type="text" name="keyword" style="width:50%">  
			<select name="boardid" id="boardid">
				<option value="0">{$lang['tpl.str']}</option>
				{$boardname}
			</select>
			<button onmousemove="button_move(this)" onmouseout="button_out(this)" style=" margin-left:5px; text-indent:0px;" type="submit" name="so2"> {$lang['str_12']} {$lang['str_00']} </button>
		</FORM>
		</dl>
		<dl>
		<FORM METHOD=POST ACTION="query.php?stype=7">
			<input type="text" name="keyword" style="width:50%">  
			<select name="boardid" id="boardid">
				<option value="0">{$lang['tpl.str']}</option>
				{$boardname}
			</select>
			<button onmousemove="button_move(this)" onmouseout="button_out(this)" style=" margin-left:5px; text-indent:0px;" type="submit" name="so3"> {$str_ft} {$lang['str_00']} </button>
		</FORM>
		</dl>
		</div>
		</div>
		<div class="partition"></div>
		<div class="partition"></div>
		<div style="width:500px;text-align : left;overflow: hidden; padding:10px">
			<br />
			<b>{$lang['str_1']}</b><br />
			{$lang['str_2']}&nbsp;<b>{$keywordminlen}</b>&nbsp;{$lang['str_3']}&nbsp;<b>{$keywordmaxlen}</b>&nbsp;{$lang['str_4']}<br />
			{$lang['str_6']}&nbsp;<b>{$timelimited}</b>&nbsp;{$lang['str_7']}<BR>
			{$lang['str_8']}<br /><br />
		</div>
</div>
<BR>
<!---------------end 论坛搜索------------------->
<SCRIPT LANGUAGE="JavaScript">
//右边搜索切换
var new2 = new NewsSpanBar();
new2.f=0;
new2.event = "move"
new2.titleid = "search_bot";
new2.bodyid = "searchbody";
new2.class_hiton = "tab_search_on";
new2.class_hitno = "tab_search";
new2.load();
</SCRIPT>

<hr>

EOT;
?>