Mini Kabibi Habibi
<?php
session_start();
$conn=mysqli_connect('localhost','root','','personnel');
if (isset($_POST['login'])){
$username=mysqli_real_escape_string($conn,$_POST['username']);
$password=mysqli_real_escape_string($conn,$_POST['password']);
if(empty($username)&&empty($password)){
$error='Fields are required';
}else{
$_SESSION['login_user'] =$_POST['username'];
$result=mysqli_query($conn,"SELECT * FROM employee where username='$username' and password='$password'");
$row=mysqli_fetch_assoc($result);
$count=mysqli_num_rows($result);
if ($count>=1) {
$_SESSION['employee']=array(
'username'=>$row['username'],
'password'=>$row['PASSWORD'],
'POSITION'=>$row['POSITION'],
);
$POSITION=$_SESSION['employee']['POSITION'];
switch ($POSITION) {
case 'ADA101':
header('location:profile/profile.php');
break;
case 'ADA102':
header('location:profile/profile.php');
break;
break;
case 'ADA103':
header('location:profile/profile.php');
break;
break;
case 'ADA104':
header('location:profile/profile.php');
break;
break;
case 'ADA105':
header('location:profile/profile.php');
break;
break;
case 'ADA106':
header('location:profile/profile.php');
break;
break;
case 'ADA107':
header('location:profile/profile.php');
break;
break;
case 'ADA108':
header('location:profile/profile.php');
break;
break;
case 'ADA201':
header('location:profile/profile.php');
break;
break;
case 'ADA202':
header('location:profile/profile.php');
break;
break;
case 'ADA203':
header('location:profile/profile.php');
break;
break;
case 'ADA204':
header('location:profile/profile.php');
break;
break;
case 'ADA205':
header('location:profile/profile.php');
break;
break;
case 'ADA206':
header('location:profile/profile.php');
break;
break;
case 'ADA207':
header('location:profile/profile.php');
break;
break;
case 'ADA208':
header('location:profile/profile.php');
break;
break;
case 'FM101':
header('location:profile/profile.php');
break;
break;
case 'FM102':
header('location:profile/profile.php');
break;
break;
case 'FM103':
header('location:profile/profile.php');
break;
break;
case 'FM104':
header('location:profile/profile.php');
break;
break;
case 'FM105':
header('location:profile/profile.php');
break;
break;
case 'FM106':
header('location:profile/profile.php');
break;
break;
case 'FM107':
header('location:profile/profile.php');
break;
break;
case 'FM108':
header('location:profile/profile.php');
break;
break;
case 'WM101':
header('location:profile/profile.php');
break;
break;
case 'WM102':
header('location:profile/profile.php');
break;
break;
case 'WM103':
header('location:profile/profile.php');
break;
break;
case 'WM104':
header('location:profile/profile.php');
break;
break;
case 'WM105':
header('location:profile/profile.php');
break;
break;
case 'WM106':
header('location:profile/profile.php');
break;
break;
case 'WM107':
header('location:profile/profile.php');
break;
break;
case 'WM108':
header('location:profile/profile.php');
break;
break;
case 'ADA301':
header('location:profile/profile.php');
break;
break;
case 'ADA302':
header('location:profile/profile.php');
break;
break;
case 'ADA303':
header('location:profile/profile.php');
break;
break;
case 'ADA304':
header('location:profile/profile.php');
break;
break;
case 'ADA305':
header('location:profile/profile.php');
break;
break;
case 'ADA306':
header('location:profile/profile.php');
break;
break;
case 'ADA307':
header('location:profile/profile.php');
break;
break;
case 'ADA308':
header('location:profile/profile.php');
break;
break;
case 'SG101':
header('location:profile/profile.php');
break;
break;
case 'SG102':
header('location:profile/profile.php');
break;
break;
case 'SG103':
header('location:profile/profile.php');
break;
break;
case 'SG104':
header('location:profile/profile.php');
break;
break;
case 'SG105':
header('location:profile/profile.php');
break;
break;
case 'SG106':
header('location:profile/profile.php');
break;
break;
case 'SG107':
header('location:profile/profile.php');
break;
break;
case 'SG108':
header('location:profile/profile.php');
break;
break;
case 'ADA401':
header('location:profile/profile.php');
break;
break;
case 'ADA402':
header('location:profile/profile.php');
break;
break;
case 'ADA403':
header('location:profile/profile.php');
break;
break;
case 'ADA404':
header('location:profile/profile.php');
break;
break;
case 'ADA405':
header('location:profile/profile.php');
break;
break;
case 'ADA406':
header('location:profile/profile.php');
break;
break;
case 'ADA407':
header('location:profile/profile.php');
break;
break;
case 'ADA408':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE01':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE02':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE03':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE04':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE05':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE06':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE07':
header('location:profile/profile.php');
break;
break;
case 'DENTAIDE08':
header('location:profile/profile.php');
break;
break;
case 'ADA601':
header('location:profile/profile.php');
break;
break;
case 'ADA602':
header('location:profile/profile.php');
break;
break;
case 'ADA603':
header('location:profile/profile.php');
break;
break;
case 'ADA604':
header('location:profile/profile.php');
break;
break;
case 'ADA605':
header('location:profile/profile.php');
break;
break;
case 'ADA606':
header('location:profile/profile.php');
break;
break;
case 'ADA607':
header('location:profile/profile.php');
break;
break;
case 'ADA608':
header('location:profile/profile.php');
break;
break;
case 'ADAS101':
header('location:profile/profile.php');
break;
break;
case 'ADAS102':
header('location:profile/profile.php');
break;
break;
case 'ADAS103':
header('location:profile/profile.php');
break;
break;
case 'ADAS104':
header('location:profile/profile.php');
break;
break;
case 'ADAS105':
header('location:profile/profile.php');
break;
break;
case 'ADAS106':
header('location:profile/profile.php');
break;
break;
case 'ADAS107':
header('location:profile/profile.php');
break;
break;
case 'ADAS108':
header('location:profile/profile.php');
break;
break;
case 'ADAS201':
header('location:profile/profile.php');
break;
break;
case 'ADAS202':
header('location:profile/profile.php');
break;
break;
case 'ADAS203':
header('location:profile/profile.php');
break;
break;
case 'ADAS204':
header('location:profile/profile.php');
break;
break;
case 'ADAS205':
header('location:profile/profile.php');
break;
break;
case 'ADAS206':
header('location:profile/profile.php');
break;
break;
case 'ADAS207':
header('location:profile/profile.php');
break;
break;
case 'ADAS208':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 201':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 202':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 203':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 204':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 205':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 206':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 207':
header('location:profile/profile.php');
break;
break;
case 'DISB OFFICER 208':
header('location:profile/profile.php');
break;
break;
case 'ADAS301':
header('location:profile/profile.php');
break;
break;
case 'ADAS302':
header('location:profile/profile.php');
break;
break;
case 'ADAS303':
header('location:profile/profile.php');
break;
break;
case 'ADAS304':
header('location:profile/profile.php');
break;
break;
case 'ADAS305':
header('location:profile/profile.php');
break;
break;
case 'ADAS306':
header('location:profile/profile.php');
break;
break;
case 'ADAS307':
header('location:profile/profile.php');
break;
break;
case 'ADAS308':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER01':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER02':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER03':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER04':
header('location:profile/profile.php');
break;
break;
case 'EPS201':
header('location:profile/profile.php');
break;
break;
case 'EPS202':
header('location:profile/profile.php');
break;
break;
case 'EPS203':
header('location:profile/profile.php');
break;
break;
case 'EPS204':
header('location:profile/profile.php');
break;
break;
case 'EPS205':
header('location:profile/profile.php');
break;
break;
case 'EPS206':
header('location:profile/profile.php');
break;
break;
case 'EPS207':
header('location:profile/profile.php');
break;
break;
case 'EPS208':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER05':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER06':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER07':
header('location:profile/profile.php');
break;
break;
case 'SRBOOKKEEPER08':
header('location:profile/profile.php');
break;
break;
case 'AO101':
header('location:profile/profile.php');
break;
break;
case 'AO102':
header('location:profile/profile.php');
break;
break;
case 'AO103':
header('location:profile/profile.php');
break;
break;
case 'AO104':
header('location:profile/profile.php');
break;
break;
case 'AO105':
header('location:profile/profile.php');
break;
break;
case 'AO106':
header('location:profile/profile.php');
break;
break;
case 'AO107':
header('location:profile/profile.php');
break;
break;
case 'AO108':
header('location:profile/profile.php');
break;
break;
case 'T101':
header('location:profile/profile.php');
break;
break;
case 'T102':
header('location:profile/profile.php');
break;
break;
case 'T103':
header('location:profile/profile.php');
break;
break;
case 'T104':
header('location:profile/profile.php');
break;
break;
case 'T105':
header('location:profile/profile.php');
break;
break;
case 'T106':
header('location:profile/profile.php');
break;
break;
case 'T107':
header('location:profile/profile.php');
break;
break;
case 'T108':
header('location:profile/profile.php');
break;
break;
case 'T101':
header('location:profile/profile.php');
break;
break;
case 'MT101':
header('location:profile/profile.php');
break;
break;
case 'MT102':
header('location:profile/profile.php');
break;
break;
case 'MT103':
header('location:profile/profile.php');
break;
break;
case 'MT104':
header('location:profile/profile.php');
break;
break;
case 'MT105':
header('location:profile/profile.php');
break;
break;
case 'MT106':
header('location:profile/profile.php');
break;
break;
case 'MT107':
header('location:profile/profile.php');
break;
break;
case 'MT108':
header('location:profile/profile.php');
break;
break;
case 'MT201':
header('location:profile/profile.php');
break;
break;
case 'MT202':
header('location:profile/profile.php');
break;
break;
case 'MT203':
header('location:profile/profile.php');
break;
break;
case 'MT204':
header('location:profile/profile.php');
break;
break;
case 'MT205':
header('location:profile/profile.php');
break;
break;
case 'MT206':
header('location:profile/profile.php');
break;
break;
case 'MT207':
header('location:profile/profile.php');
break;
break;
case 'MT208':
header('location:profile/profile.php');
break;
break;
case 'AO201':
header('location:profile/profile.php');
break;
break;
case 'AO202':
header('location:profile/profile.php');
break;
break;
case 'AO203':
header('location:profile/profile.php');
break;
break;
case 'AO204':
header('location:profile/profile.php');
break;
break;
case 'AO205':
header('location:profile/profile.php');
break;
break;
case 'AO206':
header('location:profile/profile.php');
break;
break;
case 'AO207':
header('location:profile/profile.php');
break;
break;
case 'AO208':
header('location:profile/profile.php');
break;
break;
case 'GC101':
header('location:profile/profile.php');
break;
break;
case 'GC102':
header('location:profile/profile.php');
break;
break;
case 'GC103':
header('location:profile/profile.php');
break;
break;
case 'GC104':
header('location:profile/profile.php');
break;
break;
case 'GC105':
header('location:profile/profile.php');
break;
break;
case 'GC106':
header('location:profile/profile.php');
break;
break;
case 'GC107':
header('location:profile/profile.php');
break;
break;
case 'GC108':
header('location:profile/profile.php');
break;
break;
case 'PDO101':
header('location:profile/profile.php');
break;
break;
case 'PDO102':
header('location:profile/profile.php');
break;
break;
case 'PDO103':
header('location:profile/profile.php');
break;
break;
case 'PDO104':
header('location:profile/profile.php');
break;
break;
case 'PDO105':
header('location:profile/profile.php');
break;
break;
case 'PDO106':
header('location:profile/profile.php');
break;
break;
case 'PDO107':
header('location:profile/profile.php');
break;
break;
case 'PDO108':
header('location:profile/profile.php');
break;
break;
case 'ITO101':
header('location:profile/profile.php');
break;
break;
case 'ITO102':
header('location:profile/profile.php');
break;
break;
case 'ITO103':
header('location:profile/profile.php');
break;
break;
case 'ITO104':
header('location:profile/profile.php');
break;
break;
case 'ITO105':
header('location:profile/profile.php');
break;
break;
case 'ITO106':
header('location:profile/profile.php');
break;
break;
case 'ITO107':
header('location:profile/profile.php');
break;
break;
case 'ITO108':
header('location:profile/profile.php');
break;
break;
case 'P0301':
header('location:profile/profile.php');
break;
break;
case 'PO302':
header('location:profile/profile.php');
break;
break;
case 'PO303':
header('location:profile/profile.php');
break;
break;
case 'PO304':
header('location:profile/profile.php');
break;
break;
case 'PO305':
header('location:profile/profile.php');
break;
break;
case 'PO306':
header('location:profile/profile.php');
break;
break;
case 'PO307':
header('location:profile/profile.php');
break;
break;
case 'PO308':
header('location:profile/profile.php');
break;
break;
case 'PDO201':
header('location:profile/profile.php');
break;
break;
case 'PDO202':
header('location:profile/profile.php');
break;
break;
case 'PDO203':
header('location:profile/profile.php');
break;
break;
case 'PDO204':
header('location:profile/profile.php');
break;
break;
case 'PDO205':
header('location:profile/profile.php');
break;
break;
case 'PDO206':
header('location:profile/profile.php');
break;
break;
case 'PDO207':
header('location:profile/profile.php');
break;
break;
case 'PDO208':
header('location:profile/profile.php');
break;
break;
case 'NURSE101':
header('location:profile/profile.php');
break;
break;
case 'NURSE102':
header('location:profile/profile.php');
break;
break;
case 'NURSE103':
header('location:profile/profile.php');
break;
break;
case 'NURSE104':
header('location:profile/profile.php');
break;
break;
case 'NURSE105':
header('location:profile/profile.php');
break;
break;
case 'NURSE106':
header('location:profile/profile.php');
break;
break;
case 'NURSE107':
header('location:profile/profile.php');
break;
break;
case 'NURSE108':
header('location:profile/profile.php');
break;
break;
case 'NURSE201':
header('location:profile/profile.php');
break;
break;
case 'NURSE202':
header('location:profile/profile.php');
break;
break;
case 'NURSE203':
header('location:profile/profile.php');
break;
break;
case 'NURSE204':
header('location:profile/profile.php');
break;
break;
case 'NURSE205':
header('location:profile/profile.php');
break;
break;
case 'NURSE206':
header('location:profile/profile.php');
break;
break;
case 'NURSE207':
header('location:profile/profile.php');
break;
break;
case 'NURSE208':
header('location:profile/profile.php');
break;
break;
case 'REG101':
header('location:profile/profile.php');
break;
break;
case 'REG102':
header('location:profile/profile.php');
break;
break;
case 'REG103':
header('location:profile/profile.php');
break;
break;
case 'REG104':
header('location:profile/profile.php');
break;
break;
case 'REG105':
header('location:profile/profile.php');
break;
break;
case 'REG106':
header('location:profile/profile.php');
break;
break;
case 'REG107':
header('location:profile/profile.php');
break;
break;
case 'REG108':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB101':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB102':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB103':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB104':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB105':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB106':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB107':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB108':
header('location:profile/profile.php');
break;
break;
case 'ACCT101':
header('location:profile/profile.php');
break;
break;
case 'ACCT102':
header('location:profile/profile.php');
break;
break;
case 'ACCT103':
header('location:profile/profile.php');
break;
break;
case 'ACCT104':
header('location:profile/profile.php');
break;
break;
case 'ACCT105':
header('location:profile/profile.php');
break;
break;
case 'ACCT106':
header('location:profile/profile.php');
break;
break;
case 'ACCT107':
header('location:profile/profile.php');
break;
break;
case 'ACCT108':
header('location:profile/profile.php');
break;
break;
case 'SDS101':
header('location:profile/profile.php');
break;
break;
case 'SDS102':
header('location:profile/profile.php');
break;
break;
case 'SDS103':
header('location:profile/profile.php');
break;
break;
case 'SDS104':
header('location:profile/profile.php');
break;
break;
case 'SDS105':
header('location:profile/profile.php');
break;
break;
case 'SDS106':
header('location:profile/profile.php');
break;
break;
case 'SDS107':
header('location:profile/profile.php');
break;
break;
case 'SDS108':
header('location:profile/profile.php');
break;
break;
case 'SEPS01':
header('location:profile/profile.php');
break;
break;
case 'SEPS02':
header('location:profile/profile.php');
break;
break;
case 'SEPS03':
header('location:profile/profile.php');
break;
break;
case 'SEPS04':
header('location:profile/profile.php');
break;
break;
case 'SEPS05':
header('location:profile/profile.php');
break;
break;
case 'SEPS06':
header('location:profile/profile.php');
break;
break;
case 'SEPS07':
header('location:profile/profile.php');
break;
break;
case 'SEPS08':
header('location:profile/profile.php');
break;
break;
case 'PSDS01':
header('location:profile/profile.php');
break;
break;
case 'PSDS02':
header('location:profile/profile.php');
break;
break;
case 'PSDS03':
header('location:profile/profile.php');
break;
break;
case 'PSDS04':
header('location:profile/profile.php');
break;
break;
case 'PSDS05':
header('location:profile/profile.php');
break;
break;
case 'PSDS06':
header('location:profile/profile.php');
break;
break;
case 'PSDS07':
header('location:profile/profile.php');
break;
break;
case 'PSDS08':
header('location:profile/profile.php');
break;
break;
case 'EPSVR01':
header('location:profile/profile.php');
break;
break;
case 'EPSVR02':
header('location:profile/profile.php');
break;
break;
case 'EPSVR03':
header('location:profile/profile.php');
break;
break;
case 'EPSVR04':
header('location:profile/profile.php');
break;
break;
case 'EPSVR05':
header('location:profile/profile.php');
break;
break;
case 'EPSVR06':
header('location:profile/profile.php');
break;
break;
case 'EPSVR07':
header('location:profile/profile.php');
break;
break;
case 'EPSVR08':
header('location:profile/profile.php');
break;
break;
case 'CES01':
header('location:profile/profile.php');
break;
break;
case 'CES02':
header('location:profile/profile.php');
break;
break;
case 'CES03':
header('location:profile/profile.php');
break;
break;
case 'CES04':
header('location:profile/profile.php');
break;
break;
case 'CES05':
header('location:profile/profile.php');
break;
break;
case 'CES06':
header('location:profile/profile.php');
break;
break;
case 'CES07':
header('location:profile/profile.php');
break;
break;
case 'CES08':
header('location:profile/profile.php');
break;
break;
case 'ASDS01':
header('location:profile/profile.php');
break;
break;
case 'ASDS02':
header('location:profile/profile.php');
break;
break;
case 'ASDS03':
header('location:profile/profile.php');
break;
break;
case 'ASDS04':
header('location:profile/profile.php');
break;
break;
case 'ASDS05':
header('location:profile/profile.php');
break;
break;
case 'ASDS06':
header('location:profile/profile.php');
break;
break;
case 'ASDS07':
header('location:profile/profile.php');
break;
break;
case 'ASDS08':
header('location:profile/profile.php');
break;
break;
case 'ACCT301':
header('location:profile/profile.php');
break;
break;
case 'ACCT302':
header('location:profile/profile.php');
break;
break;
case 'ACCT303':
header('location:profile/profile.php');
break;
break;
case 'ACCT304':
header('location:profile/profile.php');
break;
break;
case 'ACCT305':
header('location:profile/profile.php');
break;
break;
case 'ACCT306':
header('location:profile/profile.php');
break;
break;
case 'ACCT307':
header('location:profile/profile.php');
break;
break;
case 'ACCT308':
header('location:profile/profile.php');
break;
break;
case 'ATTY301':
header('location:profile/profile.php');
break;
break;
case 'ATTY302':
header('location:profile/profile.php');
break;
break;
case 'ATTY303':
header('location:profile/profile.php');
break;
break;
case 'ATTY304':
header('location:profile/profile.php');
break;
break;
case 'ATTY305':
header('location:profile/profile.php');
break;
break;
case 'ATTY306':
header('location:profile/profile.php');
break;
break;
case 'ATTY307':
header('location:profile/profile.php');
break;
break;
case 'ATTY308':
header('location:profile/profile.php');
break;
break;
case 'MO301':
header('location:profile/profile.php');
break;
break;
case 'MO302':
header('location:profile/profile.php');
break;
break;
case 'MO303':
header('location:profile/profile.php');
break;
break;
case 'MO304':
header('location:profile/profile.php');
break;
break;
case 'MO305':
header('location:profile/profile.php');
break;
break;
case 'MO306':
header('location:profile/profile.php');
break;
break;
case 'MO307':
header('location:profile/profile.php');
break;
break;
case 'MO308':
header('location:profile/profile.php');
break;
break;
case 'ENGR301':
header('location:profile/profile.php');
break;
break;
case 'ENGR302':
header('location:profile/profile.php');
break;
break;
case 'ENGR303':
header('location:profile/profile.php');
break;
break;
case 'ENGR304':
header('location:profile/profile.php');
break;
break;
case 'ENGR305':
header('location:profile/profile.php');
break;
break;
case 'ENGR306':
header('location:profile/profile.php');
break;
break;
case 'ENGR307':
header('location:profile/profile.php');
break;
break;
case 'ENGR308':
header('location:profile/profile.php');
break;
break;
case 'GC201':
header('location:profile/profile.php');
break;
break;
case 'GC202':
header('location:profile/profile.php');
break;
break;
case 'GC203':
header('location:profile/profile.php');
break;
break;
case 'GC204':
header('location:profile/profile.php');
break;
break;
case 'GC205':
header('location:profile/profile.php');
break;
break;
case 'GC206':
header('location:profile/profile.php');
break;
break;
case 'GC207':
header('location:profile/profile.php');
break;
break;
case 'GC208':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP201':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP202':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP203':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP204':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP205':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP206':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP207':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP208':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP301':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP302':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP303':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP304':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP305':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP306':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP307':
header('location:profile/profile.php');
break;
break;
case 'ASSTSCHP308':
header('location:profile/profile.php');
break;
break;
case 'T201':
header('location:profile/profile.php');
break;
break;
case 'T202':
header('location:profile/profile.php');
break;
break;
case 'T203':
header('location:profile/profile.php');
break;
break;
case 'T204':
header('location:profile/profile.php');
break;
break;
case 'T205':
header('location:profile/profile.php');
break;
break;
case 'T206':
header('location:profile/profile.php');
break;
break;
case 'T207':
header('location:profile/profile.php');
break;
break;
case 'T208':
header('location:profile/profile.php');
break;
break;
case 'GC301':
header('location:profile/profile.php');
break;
break;
case 'GC302':
header('location:profile/profile.php');
break;
break;
case 'GC303':
header('location:profile/profile.php');
break;
break;
case 'GC304':
header('location:profile/profile.php');
break;
break;
case 'GC305':
header('location:profile/profile.php');
break;
break;
case 'GC306':
header('location:profile/profile.php');
break;
break;
case 'GC307':
header('location:profile/profile.php');
break;
break;
case 'GC208':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB301':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB302':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB303':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB304':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB305':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB306':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB307':
header('location:profile/profile.php');
break;
break;
case 'SCHLIB308':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR301':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR302':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR303':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR304':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR305':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR306':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR307':
header('location:profile/profile.php');
break;
break;
case 'GUIDCOOR308':
header('location:profile/profile.php');
break;
break;
case 'SPET301':
header('location:profile/profile.php');
break;
break;
case 'SPET302':
header('location:profile/profile.php');
break;
break;
case 'SPET303':
header('location:profile/profile.php');
break;
break;
case 'SPET304':
header('location:profile/profile.php');
break;
break;
case 'SPET305':
header('location:profile/profile.php');
break;
break;
case 'SPET306':
header('location:profile/profile.php');
break;
break;
case 'SPET307':
header('location:profile/profile.php');
break;
break;
case 'SPET308':
header('location:profile/profile.php');
break;
break;
case 'SST101':
header('location:profile/profile.php');
break;
break;
case 'SST102':
header('location:profile/profile.php');
break;
break;
case 'SST103':
header('location:profile/profile.php');
break;
break;
case 'SST104':
header('location:profile/profile.php');
break;
break;
case 'SST105':
header('location:profile/profile.php');
break;
break;
case 'SST106':
header('location:profile/profile.php');
break;
break;
case 'SST107':
header('location:profile/profile.php');
break;
break;
case 'SST108':
header('location:profile/profile.php');
break;
break;
case 'SP101':
header('location:profile/profile.php');
break;
break;
case 'SP102':
header('location:profile/profile.php');
break;
break;
case 'SP103':
header('location:profile/profile.php');
break;
break;
case 'SP104':
header('location:profile/profile.php');
break;
break;
case 'SP105':
header('location:profile/profile.php');
break;
break;
case 'SP106':
header('location:profile/profile.php');
break;
break;
case 'SP107':
header('location:profile/profile.php');
break;
break;
case 'SP108':
header('location:profile/profile.php');
break;
break;
case 'SP401':
header('location:profile/profile.php');
break;
break;
case 'SP402':
header('location:profile/profile.php');
break;
break;
case 'SP403':
header('location:profile/profile.php');
break;
break;
case 'SP404':
header('location:profile/profile.php');
break;
break;
case 'SP405':
header('location:profile/profile.php');
break;
break;
case 'SP406':
header('location:profile/profile.php');
break;
break;
case 'SP407':
header('location:profile/profile.php');
break;
break;
case 'SP408':
header('location:profile/profile.php');
break;
break;
case 'SP201':
header('location:profile/profile.php');
break;
break;
case 'SP202':
header('location:profile/profile.php');
break;
break;
case 'SP203':
header('location:profile/profile.php');
break;
break;
case 'SP204':
header('location:profile/profile.php');
break;
break;
case 'SP205':
header('location:profile/profile.php');
break;
break;
case 'SP206':
header('location:profile/profile.php');
break;
break;
case 'SP207':
header('location:profile/profile.php');
break;
break;
case 'SP208':
header('location:profile/profile.php');
break;
break;
case 'SP301':
header('location:profile/profile.php');
break;
break;
case 'SP302':
header('location:profile/profile.php');
break;
break;
case 'SP303':
header('location:profile/profile.php');
break;
break;
case 'SP304':
header('location:profile/profile.php');
break;
break;
case 'SP305':
header('location:profile/profile.php');
break;
break;
case 'SP306':
header('location:profile/profile.php');
break;
break;
case 'SP307':
header('location:profile/profile.php');
break;
break;
case 'SP308':
header('location:profile/profile.php');
break;
break;
case 'T301':
header('location:profile/profile.php');
break;
break;
case 'T302':
header('location:profile/profile.php');
break;
break;
case 'T303':
header('location:profile/profile.php');
break;
break;
case 'T304':
header('location:profile/profile.php');
break;
break;
case 'T305':
header('location:profile/profile.php');
break;
break;
case 'T306':
header('location:profile/profile.php');
break;
break;
case 'T307':
header('location:profile/profile.php');
break;
break;
case 'T308':
header('location:profile/profile.php');
break;
break;
case 'DENT101':
header('location:profile/profile.php');
break;
break;
case 'DENT102':
header('location:profile/profile.php');
break;
break;
case 'DENT103':
header('location:profile/profile.php');
break;
break;
case 'DENT104':
header('location:profile/profile.php');
break;
break;
case 'DENT105':
header('location:profile/profile.php');
break;
break;
case 'DENT106':
header('location:profile/profile.php');
break;
break;
case 'DENT107':
header('location:profile/profile.php');
break;
break;
case 'DENT108':
header('location:profile/profile.php');
break;
break;
case 'DENT201':
header('location:profile/profile.php');
break;
break;
case 'DENT202':
header('location:profile/profile.php');
break;
break;
case 'DENT203':
header('location:profile/profile.php');
break;
break;
case 'DENT204':
header('location:profile/profile.php');
break;
break;
case 'DENT205':
header('location:profile/profile.php');
break;
break;
case 'DENT206':
header('location:profile/profile.php');
break;
break;
case 'DENT207':
header('location:profile/profile.php');
break;
break;
case 'DENT208':
header('location:profile/profile.php');
break;
break;
case 'HT101':
header('location:profile/profile.php');
break;
break;
case 'HT102':
header('location:profile/profile.php');
break;
break;
case 'HT103':
header('location:profile/profile.php');
break;
break;
case 'HT104':
header('location:profile/profile.php');
break;
break;
case 'HT105':
header('location:profile/profile.php');
break;
break;
case 'HT106':
header('location:profile/profile.php');
break;
break;
case 'HT107':
header('location:profile/profile.php');
break;
break;
case 'HT108':
header('location:profile/profile.php');
break;
break;
case 'HT601':
header('location:profile/profile.php');
break;
break;
case 'HT602':
header('location:profile/profile.php');
break;
break;
case 'HT603':
header('location:profile/profile.php');
break;
break;
case 'HT604':
header('location:profile/profile.php');
break;
break;
case 'HT605':
header('location:profile/profile.php');
break;
break;
case 'HT606':
header('location:profile/profile.php');
break;
break;
case 'HT607':
header('location:profile/profile.php');
break;
break;
case 'HT608':
header('location:profile/profile.php');
break;
break;
case 'HT401':
header('location:profile/profile.php');
break;
break;
case 'HT402':
header('location:profile/profile.php');
break;
break;
case 'HT403':
header('location:profile/profile.php');
break;
break;
case 'HT404':
header('location:profile/profile.php');
break;
break;
case 'HT405':
header('location:profile/profile.php');
break;
break;
case 'HT406':
header('location:profile/profile.php');
break;
break;
case 'HT407':
header('location:profile/profile.php');
break;
break;
case 'HT408':
header('location:profile/profile.php');
break;
break;
case 'HT301':
header('location:profile/profile.php');
break;
break;
case 'HT302':
header('location:profile/profile.php');
break;
break;
case 'HT303':
header('location:profile/profile.php');
break;
break;
case 'HT304':
header('location:profile/profile.php');
break;
break;
case 'HT305':
header('location:profile/profile.php');
break;
break;
case 'HT306':
header('location:profile/profile.php');
break;
break;
case 'HT307':
header('location:profile/profile.php');
break;
break;
case 'HT308':
header('location:profile/profile.php');
break;
break;
case 'SPET101':
header('location:profile/profile.php');
break;
break;
case 'SPET102':
header('location:profile/profile.php');
break;
break;
case 'SPET103':
header('location:profile/profile.php');
break;
break;
case 'SPET104':
header('location:profile/profile.php');
break;
break;
case 'SPET105':
header('location:profile/profile.php');
break;
break;
case 'SPET106':
header('location:profile/profile.php');
break;
break;
case 'SPET107':
header('location:profile/profile.php');
break;
break;
case 'SPET108':
header('location:profile/profile.php');
break;
break;
case 'AO401':
header('location:profile/profile.php');
break;
break;
case 'AO402':
header('location:profile/profile.php');
break;
break;
case 'AO403':
header('location:profile/profile.php');
break;
break;
case 'AO404':
header('location:profile/profile.php');
break;
break;
case 'AO405':
header('location:profile/profile.php');
break;
break;
case 'AO406':
header('location:profile/profile.php');
break;
break;
case 'AO407':
header('location:profile/profile.php');
break;
break;
case 'AO408':
header('location:profile/profile.php');
break;
break;
case 'AO501':
header('location:profile/profile.php');
break;
break;
case 'AO502':
header('location:profile/profile.php');
break;
break;
case 'AO503':
header('location:profile/profile.php');
break;
break;
case 'AO504':
header('location:profile/profile.php');
break;
break;
case 'AO505':
header('location:profile/profile.php');
break;
break;
case 'AO506':
header('location:profile/profile.php');
break;
break;
case 'AO507':
header('location:profile/profile.php');
break;
break;
case 'AO508':
header('location:profile/profile.php');
break;
break;
case 'HT201':
header('location:profile/profile.php');
break;
break;
case 'HT202':
header('location:profile/profile.php');
break;
break;
case 'HT203':
header('location:profile/profile.php');
break;
break;
case 'HT204':
header('location:profile/profile.php');
break;
break;
case 'HT205':
header('location:profile/profile.php');
break;
break;
case 'HT206':
header('location:profile/profile.php');
break;
break;
case 'HT207':
header('location:profile/profile.php');
break;
break;
case 'HT208':
header('location:profile/profile.php');
break;
break;
case 'LIB201':
header('location:profile/profile.php');
break;
break;
case 'LIB202':
header('location:profile/profile.php');
break;
break;
case 'LIB203':
header('location:profile/profile.php');
break;
break;
case 'LIB204':
header('location:profile/profile.php');
break;
break;
case 'LIB205':
header('location:profile/profile.php');
break;
break;
case 'LIB206':
header('location:profile/profile.php');
break;
break;
case 'LIB207':
header('location:profile/profile.php');
break;
break;
case 'LIB208':
header('location:profile/profile.php');
break;
break;
case 'AOS201':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS202':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS203':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS204':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS205':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS206':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS207':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'AOS208':
header('location:profilingsystem/profile/profileao.php');
break;
break;
case 'ADASD301':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD302':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD303':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD304':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD305':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD306':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD307':
header('location:profilingsystem/home.php');
break;
break;
case 'ADASD308':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD401':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD402':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD403':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD404':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD405':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD406':
header('location:profilingsystem/home.php');
break;
break;
case 'AOD407':
header('location:profilingsystem/home.php');
break;
case 'AOD408':
header('location:profilingsystem/home.php');
break;
}
}else{
$error='YOur password or Username not found';
}
}
}
?>