Current File : /home/inlingua/public_html/dwarka/icentex/admin_cert/check_cert.php
<?php
ob_start(); 
session_start();

if(in_array("eoc_admin",$_SESSION['allowed_modules']))
{
$allow="Yes";
}
else
{
$allow="No";
}


if($_SESSION['id']=="" || $allow!="Yes")
{
//header("Location: ../index.php");
}
else
{
echo"";
}
/*echo "<pre>";
print_r($_SESSION);
exit;*/
/*$_SESSION['id']=$objectData['recNo'];
$_SESSION['username']=$objectData['username'];
$_SESSION['usertype']=$objectData['usertype'];
header("Location: admin.php");*/

?>