$studentLogin = false; if (isset($_SESSION['userInfo'])) { $userInfo = $_SESSION['userInfo']; $userType = $userInfo->userType; if ($userType == "student") { $registrationId = $userInfo->registrationId; $studentLogin = true; $studentInfo = $htmlFactory->getStudentInfoById($registrationId); //var_dump($studentInfo); } } $contactData = $htmlFactory->getContactData(); include $path . "helper/header_helper.php"; if (isset($_REQUEST['pageId'])) { $pageId = $_REQUEST['pageId']; $pageData = $htmlFactory->getPageDetailByPageId($pageId); //var_dump($pageData); } ?> <!DOCTYPE html> <html lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <title>POF INDIA</title> <link href="<?php echo BaseUrl; ?> css/bootstrap.min.css" rel="stylesheet"> <link href="<?php