| Current Path : /home/bolconlineco/www/aaaaaa/coordinator/ |
| Current File : /home/bolconlineco/www/aaaaaa/coordinator/updateemailstatus.php |
<?php
ob_start();
ob_flush();
session_start();
//clearstatcache();
//date_default_timezone_set('Europe/London');
?>
<?php include('includes/header.php');
require '../emails/PHPMailerAutoload.php';
?>
<?php
if(!isset($_SESSION['coordinator']) || $_SESSION['coordinatorrole'] != 2)
{
header("location:../index.php");
exit();
}
if(isset($_GET['Id']) && isset($_GET['eid']))
{
$id = $_GET['Id'];
$eid = $_GET['eid'];
$q = mysql_query("update emails set status='1' where email_id='$eid'");
if($q)
{
header("location:studentInfo.php?Id=$id#ui-tabs-13");
}
}