   
<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 Teacher Summery</h6>
                <a href="<?php echo site_url('everbright/deptteacher_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>Sl</th>                        
                        <th>Subject Name</th> 
						<th>Create</th>
						<th>Fill Up</th>
						<th>Null</th>
                        <th>Action</th>
                    </tr></thead>
                    <tbody>
                        <?php 
                        $query = $this->main_model->deptteacher();
                        foreach($query as $row):
                        ?>
                        <tr>
                            <td><?php echo $row['serial']; ?></td>
                            <td><?php echo $row['dept_name']; ?></td>
							<td><?php echo $row['createp']; ?></td>
							<td><?php echo $row['fillp']; ?></td>
							<td><?php echo $row['nullp']; ?></td>
                           <td class="center">
                                <a href="<?php echo site_url('everbright/deptteacher_edit/'.$row['dtid']); ?>" class="btn btn-icon"><i class="fa fa-edit"></i> Edit</a>
                                <a href="<?php echo site_url('everbright/deptteacher_delete/'.$row['dtid']); ?>" class="btn btn-icon"><i class="fa fa-try"></i> Delete</a>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>