$name2 = "Log-In"; $name3 = "Signupform.php"; $name4 = "Login.php"; $name5 = ""; $name6 = ""; if ($_SESSION['type'] != 'employee') { header('Location: index.php'); } if (!empty($_SESSION['login'])) { $name1 = ""; $name2 = $_SESSION['login']; $name3 = ""; $name4 = ""; $name5 = "Logout"; $name6 = "logout.php"; $msg = $control->jobcreatedbyuser($name2); } ?> <html> <head> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link href="css/Formstyle.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="main"> <div id="header"> <div id="welcome"> </div><!--end welcome-->