<div class="wow_form_fields">
	<label><?php echo $wo['field']['name']?></label>
<?php 
      if ($wo['field']['select_type'] == 'yes') {
      	$options = @explode(',', $wo['field']['type']); ?>
      	<select name="<?php echo $wo['field']['fid'];?>">
      	<?php
      	foreach ($options as $key => $value) {
      		?>
      		<option value="<?php echo $key + 1;?>"><?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">
      	<?php } else if ($wo['field']['type'] == 'textarea') {?>
      		<textarea id="<?php echo $wo['field']['fid'];?>" name="<?php echo $wo['field']['fid'];?>" rows="3"></textarea>
<?php } } ?>
</div>