コード例 #1
0
ファイル: header.php プロジェクト: beltechnology/pof
include $path . "admin/class/datainfo.php";
include $path . "class/htmlFactory.php";
$pathCss = BaseUrl;
$htmlFactory = new htmlFactory();
$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