Server : Apache System : Linux server.xvl.jdw.mybluehostin.me 5.14.0-611.42.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 05:30:20 EDT 2026 x86_64 User : gdckalyandurg ( 1043) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system Directory : /home/gdckalyandurg/public_html/ |
<?php
include("config.php");
$type = $_GET['id'];
$updates = $db->select('updates', '*', array('update_type'=>$type), 'ORDER BY id DESC');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SVGM Government Degree College, Kalyandurg</title>
<!-- Stylesheets -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/revolution-slider.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400italic,700' rel='stylesheet' type='text/css'>
<link href="css/style.css" rel="stylesheet">
<link href="css/extra.css" rel="stylesheet">
<link href="css/font-awesome.css" rel="stylesheet">
<link rel='stylesheet' id='google-font-css' href='//fonts.googleapis.com/css?family=Roboto%3A400%2C300%2C500%2C400italic%2C700%2C500italic%2FScript%3Alatin-ext%7CBitter&ver=4.8.8' type='text/css' media='all' />
<!--Favicon-->
<link rel="shortcut icon" href="images/gcm.png" type="image/x-icon">
<link rel="icon" href="images/gcm.png" type="image/x-icon">
<!-- Responsive -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="css/responsive.css" rel="stylesheet">
<!-- Start WOWSlider.com HEAD section -->
<link rel="stylesheet" type="text/css" href="engine1/style.css" />
<link rel="stylesheet" href="css/styles.css">
<script type="text/javascript" src="engine1/jquery.js"></script>
<!-- End WOWSlider.com HEAD section -->
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]-->
<!--[if lt IE 9]><script src="js/respond.js"></script><![endif]-->
<style>
table>tbody>tr>td:last-of-type {
text-align p:left!important;
}
</style>
</head>
<body>
<div class="page-wrapper">
<?php include("includes/header.php"); ?>
<div class="page-heading">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12">
<h1><?php if($type=='career') echo 'Career Guidance Cell'; else echo ucwords(str_replace('-', ' ', $type)); ?></h1>
</div>
</div>
</div>
</div>
<div class="auto-container">
<div class="welcome-content">
<div class="row">
<div class="col-sm-3 col-xs-12">
<?php include("includes/about-left.php"); ?>
</div>
<div class="col-sm-9 col-xs-12 no-padding" >
<div class="text" align="justify" id="content">
<table width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td>
<p align="center">
<span style="color:#ff6600;"><strong>S.No</strong></span></p>
</td>
<td>
<p align="center">
<span style="color:#ff6600;"><strong><?php if($type=='career') echo 'Name of Event'; else echo 'Title'; ?></strong></span></p>
</td>
<?php if($type != 'career'){ ?>
<td>
<p align="center">
<span style="color:#ff6600;"><strong>Updated On</strong></span></p>
</td>
<?php } ?>
<td>
<p align="center">
<span style="color:#ff6600;"><strong><?php if($type=='career') echo 'View'; else echo 'Download'; ?></strong></span></p>
</td>
</tr>
<?php
$i = 1;
foreach($updates as $update){
?>
<tr>
<td>
<p align="center"><?php echo $i; ?></p>
</td>
<td>
<p align="center"><?php echo $update->title; ?></p>
</td>
<?php if($type != 'career'){ ?>
<td>
<p align="center"><?php echo $update->updated_on; ?></p>
</td>
<?php } ?>
<td>
<p align="center"><a href="<?php echo $admin_url.$update->file; ?>"><?php if($type=='career') echo 'View'; else echo 'Download'; ?></a></p>
</td>
</tr>
<?php
$i++;
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="row clearfix"> </div>
</div>
<?php include("includes/footer.php"); ?>
</body>
</html>