<?php
if (!defined('_GNUBOARD_')) exit; //개별 Page 접근 불가
?>

<!-- Search -->
<div class="div-title-underline-thin en">
	<b>SEARCH</b>
</div>
<div class="sidebar-search">
	<form id="ctrlSearch" name="ctrlSearch" method="get" onsubmit="return sidebar_search(this);" role="form" class="form">
		<div class="row">
			<div class="col-xs-6">
				<select name="url" class="form-control input-sm">
					<option value="<?php echo $at_href['search'];?>">Post</option>
					<?php if(IS_YC) { ?>
						<option value="<?php echo $at_href['isearch'];?>">Goods</option>
						<option value="<?php echo $at_href['iuse'];?>">Reviews</option>
						<option value="<?php echo $at_href['iqa'];?>">Questions</option>
					<?php } ?>
					<option value="<?php echo $at_href['tag'];?>">Tags</option>
				</select>
			</div>
			<div class="col-xs-6">
				<select name="sop" id="sop" class="form-control input-sm">
					<option value="or">OR</option>
					<option value="and">AND</option>
				</select>	
			</div>
		</div>
		<div class="input-group input-group-sm" style="margin-top:8px;">
			<input type="text" name="stx" class="form-control input-sm" value="<?php echo $stx;?>" placeholder="Search must be at least 2 characters">
			<span class="input-group-btn">
				<button type="submit" class="btn btn-navy btn-sm"><i class="fa fa-search"></i></button>
			</span>
		</div>
	</form>				
</div>
