?> <div id='profile'> <?php $metricsData = array("hIndex" => $hIndex, "hflIndex" => $hflIndex, "h_distribution" => json_encode($distributions["h"], true), "hfl_distribution" => json_encode($distributions["hfl"], true), "hMatrix" => array("type" => "faculty", "id" => $internetId), "firstName" => $thisFacultyArray['firstName'], "deptName" => $thisFacultyArray['deptName'], "citation_data" => json_encode($citation_data, true), "tenure_status" => $thisFacultyArray['tenure_status']); $headerArray = array("header" => $thisFacultyArray['firstName'] . " " . $thisFacultyArray['lastName'], "scopusId" => $thisFacultyArray['scopusId'], "subHeader" => array("tenure_status" => $thisFacultyArray['tenure_status'], "class_description" => $thisFacultyArray['class_description'], "title" => $thisFacultyArray['title'], "dept" => $thisFacultyArray['deptName'])); $summary_faculty = array("totalCitations" => $totalCitations, "totalflCitations" => $flCitations, "hIndex" => $hIndex, "hflIndex" => $hflIndex, "pubCount" => $thisFacultyArray['pubCount'], "flPubCount" => $thisFacultyArray['flPubCount']); // Create page header drawHeader($headerArray); ?> <div id='top_publications'></div> <?php // Create overview module drawSummary($summary_faculty); ?> <div id='publications'></div> <?php // List top-cited publications drawPublicationList($type, $internetId, $thisFacultyArray['deptId'], null, null, "top_publications"); // List all publications drawPublicationList($type, $internetId, $thisFacultyArray['deptId'], $startYear, $endYear, "initialize"); // Create visualizations drawMetrics($metricsData); global $data_current_date; ?> </div>
$thisCustomArray['faculty'][$row['internetID']] = array("firstName" => htmlspecialchars($row['firstName']), "lastName" => htmlspecialchars($row['lastName']), "hIndex" => $row['hIndex'], "hflIndex" => $row['hflIndex'], "pubCount" => $row['pubCount'], "flPubCount" => $row['flPubCount'], "totalCitations" => $row['totalCitations'], "totalflCitations" => $row['totalflCitations'], "deptId" => $row['affilID']); } ?> <div id='profile'> <?php $headerArray = array("header" => $thisCustomArray['name']); // Create page header drawHeader($headerArray); ?> <div id='top_publications'></div> <?php // Create overview module drawSummary(); ?> <div id='publications'></div> <?php // List most-cited publications drawPublicationList($type, $internetIdList, null, null, null, "top_publications"); // List all publications drawPublicationList($type, $internetIdList, null, $startYear, $endYear, "initialize"); // List faculty/create faculty summary drawFaculty($thisCustomArray['faculty']); $metricsData = array("h_distribution" => json_encode($distributions["h"], true), "hfl_distribution" => json_encode($distributions["hfl"], true), "hMatrix" => array("type" => "custom", "id" => implode(',', $idArray))); // Create visualizations drawMetrics($metricsData); ?>