<?php // no direct access

defined('_JEXEC') or die('Restricted access'); ?>

<script type="text/javascript">

<!--

	Window.onDomReady(function(){

		document.formvalidator.setHandler('passverify', function (value) { return ($('password').value == value); }	);

	});

// -->

</script>

<form action="<?php echo JRoute::_( 'index.php?option=com_user' ); ?>" method="post" id="josForm" name="josForm" class="form-validate">

<div class="Post">

    <div class="Post-tl"></div>

    <div class="Post-tr"><div></div></div>

    <div class="Post-bl"><div></div></div>

    <div class="Post-br"><div></div></div>

    <div class="Post-tc"><div></div></div>

    <div class="Post-bc"><div></div></div>

    <div class="Post-cl"><div></div></div>

    <div class="Post-cr"><div></div></div>

    <div class="Post-cc"></div>

    <div class="Post-body">

<div class="Post-inner">



<?php if ($this->params->def('show_page_title', 1)): ?>

<h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '29', 'height' => '29')); ?> <span class="PostHeader">

<span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>

</span>

</h2>



<?php endif; ?>



<div class="PostContent">



<?php

	if(isset($this->message)){

		$this->display('message');

	}

?>



<table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane">

<tr>

	<td width="30%" height="40">

		<label id="namemsg" for="name">

			<?php echo JText::_( 'Name' ); ?>:

		</label>

	</td>

  	<td>

  		<input type="text" name="name" id="name" size="40" value="<?php echo $this->user->get( 'name' );?>" class="inputbox required" maxlength="50" /> *

  	</td>

</tr>

<tr>

	<td height="40">

		<label id="usernamemsg" for="username">

			<?php echo JText::_( 'Username' ); ?>:

		</label>

	</td>

	<td>

		<input type="text" id="username" name="username" size="40" value="<?php echo $this->user->get( 'username' );?>" class="inputbox required validate-username" maxlength="25" /> *

	</td>

</tr>

<tr>

	<td height="40">

		<label id="emailmsg" for="email">

			<?php echo JText::_( 'Email' ); ?>:

		</label>

	</td>

	<td>

		<input type="text" id="email" name="email" size="40" value="<?php echo $this->user->get( 'email' );?>" class="inputbox required validate-email" maxlength="100" /> *

	</td>

</tr>

<tr>

	<td height="40">

		<label id="pwmsg" for="password">

			<?php echo JText::_( 'Password' ); ?>:

		</label>

	</td>

  	<td>

  		<input class="inputbox required validate-password" type="password" id="password" name="password" size="40" value="" /> *

  	</td>

</tr>

<tr>

	<td height="40">

		<label id="pw2msg" for="password2">

			<?php echo JText::_( 'Verify Password' ); ?>:

		</label>

	</td>

	<td>

		<input class="inputbox required validate-passverify" type="password" id="password2" name="password2" size="40" value="" /> *

	</td>

</tr>

<tr>

	<td colspan="2" height="40">

		<?php echo JText::_( 'REGISTER_REQUIRED' ); ?>

	</td>

</tr>

</table>

	<button class="button validate" type="submit"><?php echo JText::_('Register'); ?></button>

	<input type="hidden" name="task" value="register_save" />

	<input type="hidden" name="id" value="0" />

	<input type="hidden" name="gid" value="0" />

	<?php echo JHTML::_( 'form.token' ); ?>



</div>

<div class="cleared"></div>





</div>



    </div>

</div>



</form>

