<span class='white'>Reorganizar el árbol alfabéticamente.<br /> </span> <input type='submit' value='Reorganizar árbol.'> </form> <!-- Formulario para elimiinar un nodo de seccion --> <form action="directoryhowto6.php?accion=delete" method="POST" style="background-color: rgba(6, 109, 5, 0.5); width: 300px; padding: 5px;"> <span class='white'>El proceso elimina un nodo, a excepcion de la Raiz.<br /> Si el nodo tiene hijos, estos pasan a apuntar al padre del nodo eliminado.<br /> </span> <span class='white'>Secciones actuales.<br /></span> <?php get_select_tree(0, "tseccion"); ?> <input type='submit' value='Eliminar seccion'> </form> <br /><br /><br /><br /> </div> <div id='rightChildLayer'> Arbol actual de secciones. <?php echo "<p>\n"; display_tree(1, "linkStyle"); echo "</p>\n"; ?> </div> </div> </body>
value=<?php if (isset($_POST["tnombre"]) && !empty($_POST["tnombre "])) { $fields["nombre"] = $_POST["tnombre"]; echo $_POST["tnombre"]; } ?> ><br> * Sección a la que pertenece el documento: <br> <?php if (isset($_POST["tseccion"]) && !empty($_POST["tseccion "])) { $fields["tseccion"] = $_POST["tseccion"]; $compare = $_POST["tseccion"] > 0 ? $_POST["tseccion"] : 0; } $compare = ""; get_select_tree(0, "tseccion", $compare); ?> <br /><br /> <button type="submit" class="btn btn-info"><?php echo GENERAL_ANADIR; ?> </button> <br /> </form> </td> <td width="60%" style="padding: 10px;" valign="top"><?php echo $results; ?>