<label class="texto">Nick</label> </td> <td> <input class="texto" type="text" name="nick" value="<?php echo $RowSEL['nick']; ?> " onfocus="this.className='texto_focus'" onblur="this.className='texto'"> </td> </tr> <tr> <td width="35%"> <label class="texto">Fecha nacimiento</label> </td> <td> <?php echo escribe_formulario_fecha_vacio("fecha_nac", "form_opciones", date("d/m/Y", $RowSEL['fecha_nac']), $id_session); ?> </td> </tr> <tr> <td width="35%"> <label class="texto">Correo electrónico</label> </td> <td> <input class="texto" type="text" name="correo_e" value="<?php echo $RowSEL['correo_e']; ?> " onfocus="this.className='texto_focus'" onblur="this.className='texto'"> </td> </tr> <tr>
echo escribe_formulario_fecha_vacio("fecha_nac", "form_registro", "", $id_session); ?> </td> <td> </td> </tr> <tr> <td colspan=2 style="text-align: center"> <label class="titulo_blanco">Correo electrónico: </label><br> <input class="texto" type="text" name="correo_e" onfocus="this.className='texto_focus'" onblur="this.className='texto'"> </td> <td colspan=2 style="text-align: center"> <label class="titulo_blanco">Miembro desde: </label><br> <?php echo escribe_formulario_fecha_vacio("miembro_desde", "form_registro", "", $id_session); ?> </td> </tr> <tr> <td colspan=4 style="text-align: center"> <label class="titulo_blanco">Password: </label><br> <input class="texto" type="password" name="pwd" style="width: 150px;" onfocus="this.className='texto_focus'" onblur="this.className='texto'"> </td> </tr> </table> <br> <table align=center cellpadding=0 cellspacing=0 border=0 onclick="registro()" onmousedown="document.getElementById('boton_left').className='boton_left_down';document.getElementById('boton_center').className='boton_center_down';document.getElementById('boton_right').className='boton_right_down';" onmouseup="document.getElementById('boton_left').className='boton_left';document.getElementById('boton_center').className='boton_center';document.getElementById('boton_right').className='boton_right';"> <tr> <td id="boton_left" class="boton_left"> <label> </label>
<input type="text" name="telefono_celu" id="telefono_celu" required pattern="^\d{11,11}$"/> </p> <p> <label for="telefono_ofic">Teléfono de oficina</label> <input type="text" name="telefono_ofic" id="telefono_ofic" required pattern="^\d{11,11}$"/> </p> <p> <label for="fecha_inicio">Fecha de inicio</label> <?php escribe_formulario_fecha_vacio('fecha_inicio', 'rp'); ?> </p> <p> <label for="fecha_fin">Fecha de finalización</label> <?php escribe_formulario_fecha_vacio('fecha_fin', 'rp'); ?> </p> <p> <label for="tiempo_completo">Tiempo Completo</label> <input type="checkbox" value="y" checked id="tiempo_completo" name="tiempo_completo"/> </p> <p> <input type="submit" value="Registrar"> </p> </form> <script type="application/javascript" src="validaciones.js"></script> </td> </tr> </table>
<p> <label for="entrega_borrador">Entrega del borrador del informe:</label> <?php escribe_formulario_fecha_vacio('entrega_borrador', 'lapsos'); ?> </p> <p> <label for="retiro_borrador">Retiro del borrador del informe:</label> <?php escribe_formulario_fecha_vacio('retiro_borrador', 'lapsos'); ?> </p> <p> <label for="entrega_final">Entrega final del informe:</label> <?php escribe_formulario_fecha_vacio('entrega_final', 'lapsos'); ?> </p> <br/> <input type="submit" value="Descargar carta"/> </form> <script type="text/javascript" src="validaciones.js"></script> </div> </div> <br/> <?php include "include/pie.php"; ?> </div> </body>
<?php // ejecuto las funciones que me devuelven los usuarios y los locales $sitios = buscar_sitios(); if (!$sitios) { echo ' <br> <div id="error"> ' . "No se ha logrado acceder a la Base de datos" . "</div>"; exit; } ?> <b>Añadir extra:</b> <p> <div id="datos"> <div id="separacion"> <form name="fcalen"> <label for="fecha">Fecha (AAAA-MM-DD): </label> <?php escribe_formulario_fecha_vacio("fecha1", "fcalen"); ?> </form> </div> <br> <div id="separacion"> <label for="sitio">Sitio:</label> <select name="sitio" size="1" id="sitio" required="required"> <option disabled="disabled" selected="selected">Sitio</option> <?php foreach ($sitios as $sitio) { ?> <option value="<?php echo $sitio[Nomlocal]; ?> "><?php