<fieldset class="atas"> <table> <tr> <th>Name</th> <td><input type="text" class="inp-form" name="nm" required="required" size="30" maxlength="50" value="<?php echo @$ed['child_name']; ?> "/></td> <th>Descriptions</th> <td><input type="text" class="inp-form" name="desc" required="required" size="50" maxlength="100" value="<?php echo @$ed['ket']; ?> "/></td> <?php if (isset($_GET['op'])) { echo stdChoice($ed['aktif']); } ?> <td> <?php if (isset($_GET['op'])) { echo '<input type="hidden" name="tipe" value="edPrmChild"/>'; } else { echo '<input type="hidden" name="tipe" value="addPrmChild"/>'; } ?> <button type="submit" name="save" value="ok">Save</button></td> </tr> </table> </fieldset>
<h3>Modul : <?php echo $getData['nama_modul']; ?> </h3> <table border="0" width="100%" align="center"> <tr> <th>Read</th> <th>Create</th> <th>Edit</th> <th>Delete</th> </tr> <tr align="center"> <?php echo stdChoice($getData['r'], 'r'); echo stdChoice($getData['c'], 'c'); echo stdChoice($getData['e'], 'e'); echo stdChoice($getData['d'], 'd'); ?> </tr> </table> <input type="hidden" name="idlvl" value="<?php echo $getData['idlevel']; ?> "/> <input type="hidden" name="lvl" value="<?php echo $getLevel['lvl']; ?> "/> </form> <?php } //end act update