   
<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> Facebook Page Information</h6>
              <a href="<?php echo site_url('everbright/facebookpage_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>Id</th>                        
                        <th>Page</th>                        
                        <th>Action</th>
                    </tr></thead>
                    <tbody>
                        <?php 
                        $query = $this->main_model->facebookpage();
                        foreach($query as $row):
                        ?>
                        <tr>
                            <td><?php echo $row['id']; ?></td>
                            <td><?php echo $row['name']; ?></td>
                           <td class="center">
                                <a href="<?php echo site_url('everbright/facebookpage_edit/'.$row['id']); ?>" class="btn btn-icon"><i class="fa fa-edit"></i> Edit</a>
                               <!-- <a href="<?php echo site_url('everbright/facebookpage_delete/'.$row['id']); ?>" class="btn btn-icon"><i class="fa fa-try"></i> Delete</a>-->
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>