<div class="container">
	<div class="col-sm-12 col-12" id="mainpage">
		<div class="row">
<?php
    $query = $this->main_model->teacher_info($tid);
    foreach ($query as $row):
        ?>
			<div class="col-sm-9 col-12">

				<center>
					<div class="col-sm-12">

						<img src="<?php echo base_url();?>admin/uploads/<?php echo $row['image']; ?>" style="height: 200px;border-radius:10%;border:1px solid black;"> 
					</div> 
				</center> 
				<hr>

				<div class="table-responsive">
					<table class="table table-bordered table-hover">
						<tbody>
							<tr>
								<td width="100">নাম</td>
								<td width="3" align="center">:</td>
								<td width="230"><?php echo $row['name']; ?></td>
							</tr>

							<tr>
								<td>পদবী</td>
								<td align="center">:</td>
								<td>
								<?php 
									$query111 = $this->main_model->desig();
									foreach($query111 as $row123):
								?>
								<?php if($row['designation']==$row123['did']): ?><?php echo $row123['name']; ?><?php endif; ?>
                            <?php endforeach; ?>
								
								
								
								</td>
							</tr>




							<tr>
								<td>মোবাইল</td>
								<td align="center">:</td>
								<td><?php echo $row['contact']; ?></td>
							</tr>

							<tr>
								<td>ইমেইল</td>
								<td align="center">:</td>
								<td><?php echo $row['email']; ?></td>
							</tr>	

							


							<tr>
								<td>যোগদানের তারিখ</td>
								<td align="center">:</td>
								<td><?php echo $row['join_date']; ?></td>
							</tr>

							
							
							

							<tr>
								<td>সর্বশেষ শিক্ষাগত যোগ্যতা</td>
								<td align="center">:</td>
								<td><p><font color="#333333" face="Roboto, sans-serif"><?php echo $row['education']; ?></font></p></td>
							</tr>	


						</tbody>
					</table>
				</div>


<?php endforeach; ?>	



			</div>
