Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/10/2011, 13:11
sjkurro
 
Fecha de Ingreso: marzo-2011
Mensajes: 80
Antigüedad: 13 años, 7 meses
Puntos: 1
ordenar tabulacion

Hola estoy intentando ordenar la tabulacion de este formulario de registro, y me da problemas...os pego el codigo para que veais como está: gracias


<h1> <p class="box"><label><span><?php echo elgg_echo('tokalah:artista');?>* </span></label><input type="text" name="username" id="nombre" class="general-textarea" maxlength="45" onfocus="" value="<?php echo $nombre ?>" tabindex="1"/><br/></p>
<!--<p class="box" ><label><span><?php echo elgg_echo('artistas:nombre')?>*</span></label><input type="text" name="nombre" value="" class="general-textarea"/> <br /></p>-->
<p class="box"><label><span><?php echo elgg_echo('registro:mail')?>*</span></label><input type="text" name="email" value="" class="general-textarea" tabindex="2"/> <br /></p>
<p class="box"><label><span><?php echo elgg_echo('registro:contraseña')?>*</span></label><input type="password" name="password" value="" class="general-textarea" tabindex="3"/> <br /></p>
<p class="box"><label><span><?php echo elgg_echo('registro:contraseña2')?>*</span></label><input type="password" name="password2" value="" class="general-textarea" tabindex="4"/><br /></p>
<p class="box"><select name="provincias" id="provincias" class="provincias" style=" height: 23px;margin-bottom: 7px;margin-top: 12px; width: 192px" tabindex="5">
<?php echo "<option value='' selected='selected'>".elgg_echo('form1')."</option>" ?>;
<?php foreach( $vars['provincias'] as $key=>$option) {
echo "<option value=\"{$key}\" >". $option ."</option>";
}
?>
</select></p>
<p class="box"><select id="localidades" name="localidades" style="width: 192px;height: 23px;margin-top: 6px; margin-bottom: 7px" tabindex="6">
<option value='' selected='selected'><?php echo elgg_echo('form3')?></option>
</select></p>
<p class="box" style="font-size: 80%; margin-top: 10px;"><a href="<?php echo $vars['url']; ?>pg/terminos/index/"><label style=" font-size: 15px; cursor: pointer"><span><?php echo elgg_echo('registro:condiciones uso')?></span></label></a>
<input type="checkbox" id="cUso" name="cUso" class="submit_button" style=" width: auto; margin-left: 7px;position: absolute; margin-top: 3px; " tabindex="17"/></p>
</h1>

<!--input type="hidden" name="friend_guid" value="0" />
<input type="hidden" name="invitecode" value="" />
<input type="hidden" name="action" value="register" /-->
<div style="display: block; width: 324px;margin-top: 12px">
<img id="captcha" src="<?php echo $vars['url']; ?>/securimage/securimage_show.php" alt="CAPTCHA Image" style=" width: 180px; height: 67px; border: 1px solid #777777;"/>
<input type="text" name="captcha_code" size="10" maxlength="6" style=" font-size: 17px; margin-top: 21px;position: absolute;" tabindex="18"/>
<a href="#" onclick="document.getElementById('captcha').src = '<?php echo $vars['url']; ?>/securimage/securimage_show.php?' + Math.random(); return false" style="font-size: 13px">Cambiar imagen</a>
</div>

<p class="boxinput"><input name="submit" type="submit" value="Enviar" onclick="" style=" font-size: large;height: 29px;margin-top: 6%; width: 180px;" tabindex="19"/></p>



</div>
<div id="blq2" style=" width:23%; float: left;margin-left: 6%;">
<div name="form2" id="form2" class="box" style="display: table-caption;">
<input type="hidden" name="open" id="open" value="0"/>
<input type="hidden" name="newArtist" id="open" value="0"/>

<div class=""><h1>
<div class="box" style="width: 156px;"><label><span><?php echo elgg_echo('artistas:manager');?>* </span></label><input type="text" id="manager" name="manager" maxlength="45" value="<?php echo $manager ?>" tabindex="7"/><br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:mail');?>* </span></label><input type="text" id="mail" name="mail" maxlength="45" value="<?php echo $mail ?>" tabindex="8"/><br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:telefono');?>* </span></label><input type="text" id="telefono" name="telefono" maxlength="9" value="<?php echo $telefono ?>" tabindex="9"/><br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:estilo');?>* &nbsp; </span></label>
<select name="estilos" id="estilos" class="estilos" tabindex="10">
<?php
foreach($vars['estilos'] as $key=>$option) {
if($key==$vars['estiloSeleccionado']){
echo "<option value=\"{$key}\" selected=\"selected\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}else{
echo "<option value=\"{$key}\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}
}
?>
</select>
<br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:subestilo');?>* </span></label>
<select name="subestilos" id="subestilos" class="subestilos" tabindex="11">
<?php

foreach($vars['subestilos'] as $key=>$option) {
if($key==$vars['subestiloSeleccionado']){
echo "<option value=\"{$key}\" selected=\"selected\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}else{
echo "<option value=\"{$key}\">". htmlentities($option, ENT_QUOTES, 'UTF-8') ."</option>";
}
}
?>
</select>
<br/></div>
</h1></div>
</div>
</div>
<div id="blq2" style=" width:29%; float: right; ">
<div name="form2" id="form2" class="box" style="display: table-caption;">
<input type="hidden" name="open" id="open" value="0"/>
<input type="hidden" name="newArtist" id="open" value="0"/>
<div class=""><h1>
<div class="box"><label><span><?php echo elgg_echo('artistas:componentes');?> </span></label><input type="text" id="componentes" name="componentes" maxlength="80" value="<?php echo $componentes ?>" tabindex="12"/><br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:influencias');?> </span></label><input type="text" id="influencias" name="influencias" maxlength="80" value="<?php echo $influencias ?>" tabindex="13"/><br/></div>
<?php if(isadminloggedin()){?>
<div class="box"><label><span><?php echo elgg_echo('artistas:foto');?> </span></label>
<input type="file" id="fotoA" name="fotoA" maxlength="100" class="" value=""/>
<br/>
</div>
<?php }?>
<div class="box"><label><span><?php echo elgg_echo('Web');?>* </span></label><input type="text" id="url1" name="url1" maxlength="45" value="<?php echo $url1 ?>" tabindex="14"/><br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:anyoFormacion');?> </span></label><input type="text" id="anyoFormacion" name="anyoFormacion" maxlength="4" value="<?php echo $anyoFormacion ?>" tabindex="15"/><br/></div>
<div class="box"><label><span><?php echo elgg_echo('artistas:cp');?>* </span></label><input type="text" id="cp" name="cp" maxlength="5" value="<?php echo $cp ?>" tabindex="16"/><br/></div>
<!--div><label><?php echo elgg_echo('artistas:contrasenya');?> : </label><input type="password" id="contrasenya" name="contrasenya" maxlength="45" value="<?php echo $contrasenya ?>"/><br/></div-->
<div ><h3 style=" margin-top: 6px; font-size: 14px; width: 150px; margin-left: -1%">*campos obligatorios</h3></div>
<div class="boxinput"> <input type=hidden id='id' name='id' value="<?php echo $id ?>"/>
<input type=hidden id='valorFotoOld' name='valorFotoOld' value="<?php echo $foto ?>"/>
<input type="hidden" id="idGroup" name="idGroup" value="<?php echo $idGroup?>"/>
</div>
<br />
</h1></div>
</div>