<label for="pagina">Pagina:</label> <br> <input type="text" id="page" name="page" style="text-transform: lowercase" maxlength="10" required> <br> <label for="menu">Menu-optie:</label> <br> <input type="text" id="menu" name="menu" placeholder="Dezelfde naam als pagina" maxlength="10" required> <br> <label for="order">Volgorde:</label> <br> <input type="number" id="order" name="order" value="0"> <br> <label for="sub">Onder:</label> <br> <?php echo getPagesForSub(); ?> <br> <label for="template">template:</label> <br> <select name="template"> <option value="">None</option> <option value="night">Night</option> <option value="books">Books</option> </select> <br> <label for="inhoud">Inhoud:</label> <br> <textarea id="content" name="content"></textarea> <br> <input type="submit" value="Opslaan">
<input type="text" id="menu" name="menu" placeholder="Dezelfde naam als pagina" value="<?php echo $result['menuoption']; ?> " maxlength="10" required> <br> <label for="order">Volgorde:</label> <br> <input type="number" id="order" name="order" value="<?php echo $result['menuorder']; ?> "> <br> <label for="sub">Onder:</label> <br> <?php echo getPagesForSub($oldmenuoption, $oldpagecontent); ?> <br> <label for="template">Template:</label> <br> <select name="template"> <option selected disabled style="display:none" value="<?php echo $oldtemplate; ?> "><?php echo $oldtemplate; ?> </option> <option value="">None</option> <option value="night">Night</option> <option value="books">Books</option>