[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
spmi
/
application
/
views
/
administrator
/
mod_iklanatas
/
[
Home
]
File: view_iklanatas_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 Iklan Atas</h3> </div> <div class='box-body'>"; $attributes = array('class'=>'form-horizontal','role'=>'form'); echo form_open_multipart('administrator/edit_iklanatas',$attributes); echo "<div class='col-md-12'> <table class='table table-condensed table-bordered'> <tbody> <input type='hidden' name='id' value='$rows[id_iklanatas]'> <tr><th width='120px' scope='row'>Judul</th> <td><input type='text' class='form-control' name='a' value='$rows[judul]' required></td></tr> <tr><th width='120px' scope='row'>Url</th> <td><input type='url' class='form-control' name='b' value='$rows[url]' required></td></tr> <tr><th width='120px' scope='row'>Gambar</th> <td><input type='file' class='form-control' name='c'>"; if ($rows['gambar'] != ''){ echo "Lihat Gambar : <a target='_BLANK' href='".base_url()."asset/foto_iklanatas/$rows[gambar]'>$rows[gambar]</a>"; } 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();