   
<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> Digital Class Information</h6>
                <a href="<?php echo site_url('everbright/digitalclass_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>Serial</th>                        
                        <th>Six</th> 
						<th>Seven</th> 
						<th>Eight</th> 
						<th>nine</th> 
						<th>Ten</th> 						
                        <th>Action</th>
                    </tr></thead>
                    <tbody>
                        <?php
						$i=1;						
                        $query = $this->main_model->digitalclass();
                        foreach($query as $row):
                        ?>
                        <tr>
                            <td><?php echo $i; ?></td>
                            <td><?php echo $row['six']; ?></td>
							<td><?php echo $row['seven']; ?></td>
							<td><?php echo $row['eight']; ?></td>
							<td><?php echo $row['nine']; ?></td>
							<td><?php echo $row['ten']; ?></td>
                           <td class="center">
                                <a href="<?php echo site_url('everbright/digitalclass_edit/'.$row['dcID']); ?>" class="btn btn-icon"><i class="fa fa-edit"></i> Edit</a>
                                <a href="<?php echo site_url('everbright/digitalclass_delete/'.$row['dcID']); ?>" class="btn btn-icon"><i class="fa fa-try"></i> Delete</a>
                            </td>
                        </tr>
						<?php $i=$i+1; ?>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>