            <div class="col-xs-12">  
              <div class="box">
                <div class="box-header">
                  <h3 class="box-title">Ganti Logo Website</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <table id="example" class="table table-bordered table-striped">
                    <tbody>
                  <?php 
                    $attributes = array('class'=>'form-horizontal','role'=>'form');
                    echo form_open_multipart('administrator/logowebsite',$attributes); 
                    $no = 1;
                    foreach ($record->result_array() as $row){
                    echo "<input type='hidden' name='id' value='$row[id_logo]'>
                          <tr><td width=120px>Logo Terpasang</td><td><a href=''><img width='100%' src='".base_url()."asset/logo/$row[gambar]'></a></td></tr>
                          <tr><td>Ganti Logo</td><td><a href=''><input type='file' name='logo' class='form-control'></td></tr>";
                      $no++;
                    }
                    echo "<tr><td></td><td><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></td></tr>";
                    echo form_close();
                  ?>
                  </tbody>
                </table>
              </div>