<p>
	<label class="title"><?php __('lblWeek');?></label>
	<span class="inline-block">
		<?php
		if(!empty($tpl['week_arr']))
		{ 
			?>
			<select name="week_start" id="week_start" class="pj-form-field w300">
				<option value="">-- <?php __('lblChoose'); ?>--</option>
				<?php
				foreach ($tpl['week_arr'] as $k => $v)
				{
					?><option value="<?php echo $k; ?>" data-subtotal="<?php echo $v['subtotal']?>" data-tax="<?php echo $v['tax']?>" data-total="<?php echo $v['total']?>" data-deposit="<?php echo $v['deposit']?>"><?php echo date($tpl['option_arr']['o_date_format'], strtotime($k)) . ' - ' . date($tpl['option_arr']['o_date_format'], strtotime($k) + 6 * 60 * 60 * 24); ?></option><?php
				}
				?>
			</select>
			<?php
		}else{
			?><label class="content"><?php __('lblNoWeeklyPrices');?></label><?php
		} 
		?>
	</span>
</p>