[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
tracer
/
application
/
views
/
admin_next
/
[
Home
]
File: bg_approv_krs.php
<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript"> $(document).ready(function(){ $("#semester").change(function(){ loadprodi() }); }); $(document).ready(function(){ $("#nim").change(function(){ loadprodi() }); }); function loadprodi() { var semester=$("#semester").val(); var nim=$("#nim").val(); $.ajax({ url:"<?php echo base_url();?>admin_next/approvKrsNext", data:"semester=" + semester +"&nim=" + nim, success: function(msg) { $("#tampilJadwal").html(msg); } }); } $(function(){ loadprodi(); }) </script> <style> table { border-collapse: collapse; width: 100%; } table.sam { border-collapse: collapse; width: 100%; background-color:#f5f5f5; } th, td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; } tr:hover{background-color:#f5f5f5} input[type=text] { width: 70%; box-sizing: border-box; border: 1px solid #ccc; border-radius: 8px; font-size: 12px; background-color: white; padding: 5px 5px 5px 5px; } td { font-size: 14px; } </style> </head> <body> <table > <tr> <th >NIM</th> <td ><input name="nim" value="<?php echo $nim; ?>" id="nim" type="text" readonly="readonly" "/></td> <th>Nama</th> <td><input name="nama_mhs" value="<?php echo $nama_mhs; ?>" type="text" readonly="readonly" /></td> </tr> <tr> <th>Jurusan</th> <td><input name="jurusan" value="<?php echo $jurusan; ?>" type="text" readonly="readonly" /></td> <th>Dosen Wali</th> <td> <input name="dosen_wali" value="<?php echo $dosen_wali; ?>" type="text" readonly="readonly" /> </td> </tr> </table> <table> <tr> <td colspan="4">Pilih Semester : <select id="semester"> <?php foreach ($kk->result() as $key ) { $pilih = ''; if($key->semester==$this->session->userdata("semester")) $pilih="selected='selected'"; ?> <option value="<?php echo $key->semester;?>"<?php echo $pilih; ?>><?php echo $key->nm_semester;?></option> <?php } ?> </select> </td> </tr> </table> <div id="tampilJadwal"></div> </body> </html>