<div class="<?php if( isset( $wo['field']['issearch'] ) ){ ?>form-group col-lg-12<?php }else{ ?>setting-panel row<?php } ?>">
	<div class="form-group col-lg-12">
		<?php $fid = '';
			if (!empty($wo['setting']['fileds'][$wo['field']['fid']])) {
				$fid = $wo['setting']['fileds'][$wo['field']['fid']];
			} 
			if( isset( $_GET[ $wo['field']['fid'] ] ) && !empty( $_GET[ $wo['field']['fid'] ] ) ){
				$fid = Wo_Secure( $_GET[ $wo['field']['fid'] ] );
			}
		?>
		<label class="col-md-12" for="<?php echo $wo['field']['fid'];?>"><?php echo $wo['field']['name']; ?></label>  
		<div class="col-md-12" <?php if( isset( $wo['field']['issearch'] ) ){ ?> style="padding-left: 0px;padding-right: 0px;" <?php } ?>>
			<?php 
				if ($wo['field']['select_type'] == 'yes') {
				$options = @explode(',', $wo['field']['type']); ?>
			<select name="<?php echo $wo['field']['fid'];?>" class="form-control">
				<?php if( isset( $wo['field']['issearch'] ) ){ ?> <option value=""><?php echo $wo['lang']['all'];?></option> <?php } ?>
				<?php
					foreach ($options as $key => $value) {
					$selected = (($key + 1) == $fid) ? 'selected' : '';
				?>
				<option value="<?php echo $key + 1;?>" <?php echo $selected;?>><?php echo $value;?></option>
				<?php } ?>
			</select>
			<?php
			} else {
			if ($wo['field']['type'] == 'textbox') { ?>
            <input id="<?php echo $wo['field']['fid'];?>" name="<?php echo $wo['field']['fid'];?>" type="text" class="form-control input-md" value="<?php echo $fid?>">
			<?php } else if ($wo['field']['type'] == 'textarea') {?>
            <textarea class="form-control" id="<?php echo $wo['field']['fid'];?>" name="<?php echo $wo['field']['fid'];?>" cols="20" rows="3"><?php echo br2nl($fid);?></textarea>
			<?php } } ?>
			<?php if( !isset( $wo['field']['issearch'] ) ){ ?>
				<span class="help-block"><?php echo $wo['field']['description'];?></span>
			<?php } ?>
		</div>
	</div>
</div>