<div style="margin: 0 auto; width: 100%;">
	<table class="table" cellspacing="2" cellpadding="5" style="width: 100%">
		<thead>
			<tr>
				<th><?php __('lblBookingName')?></th>
				<th><?php __('lblBookingDateTime')?></th>
				<th><?php __('lblTicketType')?></th>
				<th><?php __('lblSeat')?></th>
			</tr>
		</thead>
		<tbody>
			<?php
			if(!empty($tpl['arr'])) 
			{
				foreach($tpl['arr'] as $k => $v)
				{
					?>
					<tr>
						<td><?php echo pjSanitize::html($v['attendee_name']);?></td>
						<td><?php echo date($tpl['option_arr']['o_date_format'], strtotime($v['created'])) . ', ' . date($tpl['option_arr']['o_time_format'], strtotime($v['created']));?></td>
						<td><?php echo pjSanitize::html($v['ticket']);?></td>
						<td><?php echo pjSanitize::html($v['seat_name']);?></td>
					</tr>
					<?php
				}
			}else{
				?><tr><td colspan="3"><?php __('lblNoSoldTicketsFound');?></td></tr><?php
			}
			?>
		</tbody>
	</table>
</div>