<label class="title"><?php __('lblBoothType'); ?></label>
<span class="inline_block">
	<select name="booth_id" id="booth_id" class="pj-form-field w150 required">
		<option value="">-- <?php __('lblChoose'); ?> --</option>
		<?php
		if(isset($tpl['booth_arr']))
		{
			foreach($tpl['booth_arr'] as $k => $v)
			{
				if((int) $v['count'] > (int) $v['cnt_booked'])
				{
					$cnt = (int) $v['count'] - (int) $v['cnt_booked'];
					$price = $v['price'];
					if(!empty($v['custom_price']))
					{
						$price = $v['custom_price'];
					}
					?><option value="<?php echo $v['id'];?>" data-cnt="<?php echo $cnt;?>" data-capacity="<?php echo $v['capacity'];?>" data-price="<?php echo $price;?>" data-price_format="<?php echo pjUtil::formatCurrencySign($price, $tpl['option_arr']['o_currency']);?>"><?php echo pjSanitize::html($v['type']); ?></option><?php
				}
			}
		} 
		?>
	</select>
</span>