[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
tracer
/
application
/
views
/
mahasiswa_profile
/
[
Home
]
File: bg_data_ortu.php
<div class="col-xs-12"> <h3 class="dtitle">Data Orang Tua</h3> <div class="row"> <div class="col-xs-12 col-lg-6" > <?php foreach ($dtOrtu->result_array() as $key) {?> <table > <tr> <td>Nama Ayah Kandung</td><th>:</th><th><?php echo $key['nama_bpk'];?></th> </tr> <tr> <td>Keadaan</td><th>:</th><th><?php echo $key['keadaan_bpk'];?></th> </tr> <tr> <td>Pendidikan</td><th>:</th><th><?php echo $key['pendidikan_bpk'];?></th> </tr> <tr> <td>Agama</td><th>:</th><th><?php echo $key['agama_bpk'];?></th> </tr> <tr> <td>Pekerjaan</td><th>:</th><th><?php echo $key['pekerjaan_bpk'];?></th> </tr> <tr> <td>Alamat</td><th>:</th><th><?php echo $key['alamat_bpk'];?></th> </tr> </table> </div> <div class="col-xs-12 col-lg-6" > <table> <tr> <td>Nama Ibu Kandung</td><th>:</th><th><?php echo $key['nama_ibu'];?></th> </tr> <tr> <td>Keadaan</td><th>:</th><th><?php echo $key['keadaan_ibu'];?></th> </tr> <tr> <td>Pendidikan</td><th>:</th><th><?php echo $key['pendidikan_ibu'];?></th> </tr> <tr> <td>Agama</td><th>:</th><th><?php echo $key['agama_ibu'];?></th> </tr> <tr> <td>Pekerjaan</td><th>:</th><th><?php echo $key['pekerjaan_ibu'];?></th> </tr> <tr> <td>Alamat</td><th>:</th><th><?php echo $key['alamat_ibu'];?></th> </tr> </table> <?php } ?> </div></div> <button class="del" id="<?php echo $nim;?>" data-toggle="modal" data-target="#myView">Edit</button> </div> <form name="sul" method="post" action="<?php echo base_url();?>mahasiswa_profile/saveOrtu/"> <div class="modal fade" id="myView" role="dialog"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title">Edit Data</h4> </div> <div class="modal-body"> <table class="table"> <?php foreach ($dtOrtu->result_array() as $key) {?> <tr> <td>Nama Ayah Kandung</td><th>:</th><th><input type="text" name="nama_bpk" value="<?php echo $key['nama_bpk'];?>"></th> </tr> <tr> <td>Keadaan</td><th>:</th><th><input type="text" name="keadaan_bpk" value="<?php echo $key['keadaan_bpk'];?>"></th> </tr> <tr> <td>Pendidikan</td><th>:</th><th><input type="text" name="pendidikan_bpk" value="<?php echo $key['pendidikan_bpk'];?>"></th> </tr> <tr> <td>Agama</td><th>:</th><th><input type="text" name="agama_bpk" value="<?php echo $key['agama_bpk'];?>"></th> </tr> <tr> <td>Pekerjaan</td><th>:</th><th><input type="text" name="pekerjaan_bpk" value="<?php echo $key['pekerjaan_bpk'];?>"></th> </tr> <tr> <td>Alamat</td><th>:</th><th><input type="text" name="alamat_bpk" value="<?php echo $key['alamat_bpk'];?>"></th> </tr> </table> <table> <tr> <td>Nama Ibu Kandung</td><th>:</th><th><input type="text" name="nama_ibu" value="<?php echo $key['nama_ibu'];?>"></th> </tr> <tr> <td>Keadaan</td><th>:</th><th><input type="text" name="keadaan_ibu" value="<?php echo $key['keadaan_ibu'];?>"></th> </tr> <tr> <td>Pendidikan</td><th>:</th><th><input type="text" name="pendidikan_ibu" value="<?php echo $key['pendidikan_ibu'];?>"></th> </tr> <tr> <td>Agama</td><th>:</th><th><input type="text" name="agama_ibu" value="<?php echo $key['agama_ibu'];?>"></th> </tr> <tr> <td>Pekerjaan</td><th>:</th><th><input type="text" name="pekerjaan_ibu" value="<?php echo $key['pekerjaan_ibu'];?>"></th> </tr> <tr> <td>Alamat</td><th>:</th><th><input type="text" name="alamat_ibu" value="<?php echo $key['alamat_ibu'];?>"></th> </tr> <?php } ?> </table> </div> <div class="modal-footer"> <input class="btn btn-success" type="submit" name="sul" value="Save"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </form> </div> </div> </div>