">
                                                <td><?php 
        echo $teacher->name;
        ?>
</td>
                                                <td><?php 
        echo strtoupper($teacher->privilege);
        if ($teacher->privilege == 'dean') {
            echo ' ACADEMICS';
        }
        ?>
</td>
                                                <td><?php 
        $d = new Department();
        $di = $d->getInfo($teacher->dept_id);
        echo $d->getDepName();
        ?>
												</td>
												<td><?php 
        echo $teacher->email;
        ?>
</td>
												<td><?php 
        echo $teacher->mobile;
        ?>
</td>
                                                <td><?php 
        echo $teacher->approved ? 'Approved' : 'Not Approved';
        ?>
</td>
                                                <td><?php 
	<table class="table table-bordered table-striped">
		<tbody>
			<tr>
				<th>Department ID</th>
				<td><input type='hidden' name='id' value='<?php 
    echo Input::get('did');
    ?>
'><?php 
    echo Input::get('did');
    ?>
</td>
			</tr>
			<tr>	
		        <th>Name</th>
		        <td><input type="text" placeholder="Name of Department" value="<?php 
    echo $dep->getDepName();
    ?>
" name="name"/></td>
		    </tr>
			<tr>    
		        <th>No. of Course(s)</th>
		        <td>
				<?php 
    $cors = new Course();
    $courses = $cors->getInfobyDept(Input::get('did'));
    echo $courses->num_rows;
    ?>
	
				</td>
			</tr>
			<tr>