<td>Apellido</td> <td><input type="text" name="lastname" id="lastname" /></td> </tr> <tr> <td>ID Usuario</td> <td><input type="text" name="login" id="login" /></td> </tr> <tr> <td>Password</td> <td><input type="password" name="password" id="password" /></td> </tr> <tr> <td>Rol</td> <td> <?php $sql = "SELECT idroles,name FROM roles"; $cmb = new Combo(); $cmb->AddItem(0, "Selecciona"); $cmb->FillDB($sql); $cmb->Render("idroles"); ?> </td> </tr> <tr> <td colspan="2"><div align="center"><input type="submit" value="Guardar" name="Guardar" /></div></td> </tr> </table> </form> </body> </html>
?> </td> </tr> <tr> <td>Usuario</td> <td><input type="text" name="usuario" id="usuario" /></td> </tr> <tr> <td>Password</td> <td><input type="text" name="password" id="password" /></td> </tr> <tr> <td>Nivel</td> <td> <?php $cmb = new Combo(); $cmb->AddItem(0, "Selecciona"); $cmb->AddItem(1, "Administrador"); $cmb->AddItem(2, "Usuario"); $cmb->Render("nivel"); ?> </td> </tr> <tr> <td colspan="2"><div align="center"><input type="submit" value="Guardar" name="Guardar" /></div></td> </tr> </table> </form> </body> </html>
?> </textarea></td> <script> CKEDITOR.replace('contents', { filebrowserBrowseUrl : 'filebrowser.php', filebrowserUploadUrl : 'upload.php' } ); </script> </tr> <tr> <td> Tipo <?php $cmb = new Combo(); $cmb->AddItem("0", "Selecciona.."); $cmb->FillDB("SELECT * FROM ambits", "idambits"); $cmb->Render("ambit", $rs->ambit); ?> </td> </tr> <tr> <td> Fecha <input id="fddate" name="fddate" type="text" value="<?php echo substr($rs->fddate, 5, 2) . "/" . substr($rs->fddate, 8, 2) . "/" . substr($rs->fddate, 0, 4); ?> " /></td> <script> datepick("fddate","option|dateFormat|yyyy-mm-dd"); </script>