Location: PHPKode > projects > Chalange > com_chalange/views/registerform/tmpl/default.php
<script LANGUAGE="JavaScript">
<!--
// Nannette Thacker http://www.shiningstar.net
function confirmSubmit() 
{
var agree=confirm("<?php echo JText::_('confirmation register message'); ?>");
if (agree)
	return true ;
else
	return false ;
}
</script>

<h3><?php echo JText::_('Player information'); ?> <?echo $this->raceName; ?></h3>
<p><?php echo JText::_('modify information text');?></p>
<form action="index.php" method="post" name="registerForm" id="register-form">
			<p>
				<label for="modlgn_licenceNumber"><?php echo JText::_('Numero licencia'); ?></label>
				<input name="nroLicence" id="com_chalalnge_licenceNumber" type="text" class="inputbox" size="10" value="<?php echo $this->player->nroLicence; echo $this->nroLicence ?>" />
			</p>
			<p>	
				<label for="modlgn_UCIcode"><?php echo JText::_('cod_uci'); ?></label>
				<input name="codUCI" id="com_chalalnge_uciCode" type="text" class="inputbox" size="12"  value="<?php echo $this->player->codUCI ?>" />
			</p>
			<p>	
				<label for="modlgn_category"><?php echo JText::_('category'); ?></label>
				<select name="category" id="com_chalange_category">
				<?php	
					$n=count($this->categories);
					for($i=0; $i<$n; $i++){
						$row =& $this->categories[$i];
						$selected='';
						if($this->player->idcategory==$row->id) $selected='selected';
						echo "<option value='$row->description' $selected> $row->description </option>";
					} 
				?>				 
				</select>
			<p>	
				<label for="modlgn_name"><?php echo JText::_('name'); ?></label>
				<input name="name" id="com_chalalnge_name" type="text" class="inputbox" size="30" value="<?php echo $this->player->name." ".$this->player->surname?>"  />
			</p>
			<p>	
				<label for="modlgn_club"><?php echo JText::_('team'); ?></label>
				<input name="club" id="com_chalalnge_club" type="text" class="inputbox" size="25"  value="<?php echo $this->player->club ?>" />
			</p>
			<p>	
				<label for="modlgn_sponsor"><?php echo JText::_('sponsor'); ?></label>
				<input name="sponsor" id="com_chalalnge_sponsor" type="text" class="inputbox" size="25"  value="<?php echo $this->player->sponsor ?>" />
			</p>
			<p>	
				<label for="modlgn_dorsa"><?php echo JText::_('number'); ?></label>
				<input name="dorsal" id="com_chalalnge_dorsal" type="text" class="inputbox" size="25"  value="<?php echo $this->player->dorsal ?>" />
			</p>
		
				
	
	<input type="submit" value="<?php echo JText::_('Register'); ?>" onClick="return confirmSubmit()"/>
	<input type="button" value="<?php echo JText::_('cancel'); ?>" name="cancelar" onClick="window.location='index.php?option=com_chalange&view=registered&idCarrera=<?php echo JRequest::getCmd( 'idCarrera' ); ?>'"/>
	<input type="hidden" name="option" value="com_chalange" />
	<input type="hidden" name="task" value="registerModificado" />
	<input type="hidden" name="idPlayer" value="<?php echo JRequest::getCmd( 'idPlayer' );?>" />
	<input type="hidden" name="idCarrera" value="<?php echo JRequest::getCmd( 'idCarrera' );?>" />
</form>
Return current item: Chalange