[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
spmi2
/
application
/
views
/
administrator
/
mod_modul
/
[
Home
]
File: view_modul_edit.php
<?php echo "<div class='col-md-12'> <div class='box box-info'> <div class='box-header with-border'> <h3 class='box-title'>Edit Modul Website</h3> </div> <div class='box-body'>"; $attributes = array('class'=>'form-horizontal','role'=>'form'); echo form_open_multipart('administrator/edit_manajemenmodul',$attributes); echo "<div class='col-md-12'> <table class='table table-condensed table-bordered'> <tbody> <input type='hidden' name='id' value='$rows[id_modul]'> <tr><th width='120px' scope='row'>Nama Modul</th> <td><input type='text' class='form-control' name='a' value='$rows[nama_modul]' required></td></tr> <tr><th scope='row'>Link</th> <td style='color:red;'><b>".base_url()."administrator/</b> <input type='text' class='form-control' name='b' value='$rows[link]' style='width:50%; display:inline-block' required></td></tr> <tr><th scope='row'>Publish</th> <td>"; if ($rows['publish']=='Y'){ echo "<input type='radio' name='c' value='Y' checked> Ya <input type='radio' name='c' value='N'> Tidak"; }else{ echo "<input type='radio' name='c' value='Y'> Ya <input type='radio' name='c' value='N' checked> Tidak"; } echo "</td></tr> <tr><th scope='row'>Aktif</th> <td>"; if ($rows['aktif']=='Y'){ echo "<input type='radio' name='d' value='Y' checked> Ya <input type='radio' name='d' value='N'> Tidak"; }else{ echo "<input type='radio' name='d' value='Y'> Ya <input type='radio' name='d' value='N' checked> Tidak"; } echo "</td></tr> <tr><th scope='row'>Status</th> <td>"; if ($rows['status']=='admin'){ echo "<input type='radio' name='e' value='admin' checked> Admin <input type='radio' name='e' value='user'> User"; }else{ echo "<input type='radio' name='e' value='admin'> Admin <input type='radio' name='e' value='user' checked> User"; } echo "</td></tr> </tbody> </table> </div> <div class='box-footer'> <button type='submit' name='submit' class='btn btn-info'>Update</button> <a href='index.php'><button type='button' class='btn btn-default pull-right'>Cancel</button></a> </div> </div></div></div>"; echo form_close();