<?php
/**
* @version		3.0.0
* @package		JomLand TicketCenter
* @copyright	Copyright (C) 2010 JomLand.com. All rights reserved.
* @link 		www.jomland.com
* @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/

// no direct access
defined('_JEXEC') or die('Restricted access');
$user_detials = $this->user_detials;


?>

	<fieldset class="left">
		<legend><?php echo JText::_('Client Detials');?></legend>
		<?php
			if (!$user_detials->user_id){ ?>
			<p>
				<label for="email"><?php echo JText::_('Email') ?></label>
				<input type="text" id="email" name="email" class="inputbox required validate-email" value="<?php echo $user_detials->first_name;?>" /> * 
			</p>
		<?php }	?>
		<p>
			<label for="first_name"><?php echo JText::_('First Name') ?></label>
			<input type="text" id="first_name" name="first_name" class="inputbox required" value="<?php echo $user_detials->first_name;?>" /> * 
		</p>
		<p>
			<label for="last_name"><?php echo JText::_('Last Name') ?></label>
			<input type="text" id="last_name" name="last_name" class="inputbox required" value="<?php echo $user_detials->last_name;?>"/> * 
		</p>
		
		<p>
			<label for="phone_num"><?php echo JText::_('Phone') ?></label>
			<input type="text" id="phone_num" name="phone_num" class="inputbox" value="<?php echo $user_detials->phone_num;?>" />
		</p>
		
		<p>
			<label for="street"><?php echo JText::_('Street') ?></label>
			<input type="text" id="street" name="street" class="inputbox required"  value="<?php echo $user_detials->street;?>"/>
		</p>
		<p>
			<label for="city"><?php echo JText::_('City') ?></label>
			<input type="text" id="city" name="city" class="inputbox required" value="<?php echo $user_detials->city;?>"/>
		</p>	
		
		<p>
			<label for="state"><?php echo JText::_('State') ?></label>
			<?php echo $this->states_dropdown;?>
		</p>
		
		<p>
			<label for="country"><?php echo JText::_('Country') ?></label>
			<?php echo $this->country_dropdown;?>
		</p>	
	</fieldset>