<?php
if($_GET['append'] == 1)
{
	?><div id="pjEtsAttendee_<?php echo $_GET['ticket_id'];?>"><?php
} 
?>
<fieldset class="overflow fieldset" >
	<legend><?php echo $tpl['ticket_arr']['title'];?></legend>
	<?php
	for($i = 1; $i <= (int) $_GET['qty']; $i++)
	{
		?>
		<p id="pjEtsAttendee_<?php echo $_GET['ticket_id'];?>_<?php echo $i;?>">
			<label class="title"><?php __('lblBookingName'); ?> #<?php echo $i;?></label>
			<span class="inline-block">
				<input type="text" name="attendee[<?php echo $_GET['ticket_id'];?>][<?php echo $i;?>]" class="pj-form-field w400 required" value="<?php echo isset($_POST['attendee'][$_GET['ticket_id']][$i]) ? pjSanitize::html($_POST['attendee'][$_GET['ticket_id']][$i]) : NULL; ?>"/>
			</span>
		</p>
		<?php
	}
	?>
</fieldset>
<?php
if($_GET['append'] == 1)
{
	?></div><?php
} 
?>