   
<div class="row">
    <div class="col-sm-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h6 class="panel-title"><i class="fa fa-table"></i> Institution Info.</h6>
               <!-- <a href="<?php echo site_url('everbright/institution_add'); ?>" class="pull-right btn btn-circle btn-xs btn-default"><i class="fa fa-plus"></i>Add</a>-->
            </div>
            <div class="datatable">
                <table class="table table-bordered table-hover">
                    <thead><tr>
                        <th>S/L</th>                        
                        <th>ID</th>                        
                        
                        <th>Picture</th> 
						<th>Title</th> 						
                        <th>Name</th>
						<th>EIIN</th>
                        <th>Action</th>
                    </tr></thead>
                    <tbody>
                        <?php
								$i=1;
                        $query = $this->main_model->institution();
                        foreach($query as $row):
                        ?>
                        <tr>
                             <td><?php echo $i; ?></td>
							<td><?php echo $row['id']; ?></td>
                            
                            <td><img width="70" src="<?php echo base_url();?>uploads/<?php echo $row['logo']; ?>"></td>
                            <td><?php echo $row['ins_title']; ?></td>
							<td><?php echo $row['ins_name']; ?></td>
							<td><?php echo $row['eiin']; ?></td>
                            <td class="center">
                                <a href="<?php echo site_url('everbright/institution_edit/'.$row['iid']); ?>" class="btn btn-icon"><i class="fa fa-edit"></i> Edit</a>
                                <a href="<?php echo site_url('everbright/institution_edit_picture/'.$row['iid']); ?>" class="btn btn-icon"><i class="fa fa-edit"></i> Picture</a>
								<!--<a href="<?php echo site_url('everbright/institution_delete/'.$row['iid']); ?>" class="btn btn-icon"><i class="fa fa-desktop"></i> Delete</a>-->
                            </td>
                        </tr>
						<?php $i=$i+1; ?>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>