|
@@ -99,9 +99,13 @@ get_header(); ?>
|
|
|
<h1 class="profile-name">
|
|
|
<?php echo $employeeInfo[0]['Title'];
|
|
|
echo " " . $employeeInfo[0]['FullName'];
|
|
|
- ?><span class="degree"><?php if ($employeeInfo[0]['Title'] == "Dr.") {
|
|
|
- echo ', PhD';
|
|
|
- } ?></span>
|
|
|
+ ?>
|
|
|
+
|
|
|
+ <!-- <span class="degree"><?php //if ($employeeInfo[0]['Title'] == "Dr.") {
|
|
|
+ //echo ', PhD';}
|
|
|
+ //
|
|
|
+ ?>
|
|
|
+ </span> -->
|
|
|
</h1>
|
|
|
<h2 class="profile-des">
|
|
|
<?php echo $employeeInfo[0]['Designation'];
|
|
@@ -158,87 +162,90 @@ get_header(); ?>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
- <div class="bio desc-block">
|
|
|
- <h2 class="m-text">Publication</h2>
|
|
|
- <p class="m-text">
|
|
|
- <h3 class="paper-type">Journal Papers</h3>
|
|
|
-
|
|
|
- <?php
|
|
|
- foreach ($employeeJournal as $item) {
|
|
|
- // Access individual elements of each response
|
|
|
- echo "<div class='paper-details'>";
|
|
|
- echo "<span class='paper-year'>{$item['Year']}</span>";
|
|
|
-
|
|
|
- // Iterate over the JournalList array within each item
|
|
|
- foreach ($item['JournalList'] as $journal) {
|
|
|
- // Access individual elements of each journal
|
|
|
- echo "<a href='{$journal['JournalLink']}'>";
|
|
|
- echo "<h2 class='paper-title'>{$journal['PaperTitle']}</h2>";
|
|
|
- echo "</a>";
|
|
|
- echo "<p class='paper-tags'>";
|
|
|
- $journalKeyword = explode(',', $journal['Keyword']);
|
|
|
- foreach ($journalKeyword as $keyword) {
|
|
|
- if ($keyword) {
|
|
|
- echo "<span class='tag'>{$keyword}</span>";
|
|
|
+ <?php if ($employeeJournal || $employeeConference) : ?>
|
|
|
+
|
|
|
+ <div class="bio desc-block">
|
|
|
+ <h2 class="m-text">Publication</h2>
|
|
|
+ <p class="m-text">
|
|
|
+ <h3 class="paper-type">Journal Papers</h3>
|
|
|
+
|
|
|
+ <?php
|
|
|
+ foreach ($employeeJournal as $item) {
|
|
|
+ // Access individual elements of each response
|
|
|
+ echo "<div class='paper-details'>";
|
|
|
+ echo "<span class='paper-year'>{$item['Year']}</span>";
|
|
|
+
|
|
|
+ // Iterate over the JournalList array within each item
|
|
|
+ foreach ($item['JournalList'] as $journal) {
|
|
|
+ // Access individual elements of each journal
|
|
|
+ echo "<a href='{$journal['JournalLink']}'>";
|
|
|
+ echo "<h2 class='paper-title'>{$journal['PaperTitle']}</h2>";
|
|
|
+ echo "</a>";
|
|
|
+ echo "<p class='paper-tags'>";
|
|
|
+ $journalKeyword = explode(',', $journal['Keyword']);
|
|
|
+ foreach ($journalKeyword as $keyword) {
|
|
|
+ if ($keyword) {
|
|
|
+ echo "<span class='tag'>{$keyword}</span>";
|
|
|
+ }
|
|
|
}
|
|
|
+ echo "</p>";
|
|
|
+ echo "<p class='paper-event'>Publication: {$journal['JournalTitle']}</p>";
|
|
|
+ echo "<p class='paper-contributors'>";
|
|
|
+ echo "Author List: ";
|
|
|
+ // Iterate over the Author array within each journal
|
|
|
+ foreach ($journal['Author'] as $author) {
|
|
|
+ // Access individual elements of each author
|
|
|
+ $authorName = $author['AuthorName'];
|
|
|
+ // Process or output the values as needed
|
|
|
+ echo " $authorName,";
|
|
|
+ }
|
|
|
+ echo "</p>";
|
|
|
}
|
|
|
- echo "</p>";
|
|
|
- echo "<p class='paper-event'>Publication: {$journal['JournalTitle']}</p>";
|
|
|
- echo "<p class='paper-contributors'>";
|
|
|
- echo "Author List: ";
|
|
|
- // Iterate over the Author array within each journal
|
|
|
- foreach ($journal['Author'] as $author) {
|
|
|
- // Access individual elements of each author
|
|
|
- $authorName = $author['AuthorName'];
|
|
|
- // Process or output the values as needed
|
|
|
- echo " $authorName,";
|
|
|
- }
|
|
|
- echo "</p>";
|
|
|
- }
|
|
|
- echo "</div>";
|
|
|
- }
|
|
|
- ?>
|
|
|
-
|
|
|
- <h3 class="paper-type">Conference Papers</h3>
|
|
|
-
|
|
|
- <?php
|
|
|
- foreach ($employeeConference as $item) {
|
|
|
- // Access individual elements of each response
|
|
|
- $item_count = "single";
|
|
|
- if (count($item['ConferenceList']) > 1) {
|
|
|
- $item_count = "multiple";
|
|
|
+ echo "</div>";
|
|
|
}
|
|
|
- echo "<div class='paper-details {$item_count}'>";
|
|
|
- echo "<span class='paper-year'>{$item['Year']}</span>";
|
|
|
-
|
|
|
- // Iterate over the JournalList array within each item
|
|
|
- foreach ($item['ConferenceList'] as $conference) {
|
|
|
- // Access individual elements of each journal
|
|
|
- echo "<a href='{$conference['Link']}'>";
|
|
|
- echo "<h2 class='paper-title'>{$conference['PaperTitle']}</h2>";
|
|
|
- echo "</a>";
|
|
|
- echo "<p class='paper-tags'>";
|
|
|
- $conferenceKeyword = explode(',', $conference['Keyword']);
|
|
|
- foreach ($conferenceKeyword as $keyword) {
|
|
|
- if ($keyword) {
|
|
|
- echo "<span class='tag'>{$keyword}</span>";
|
|
|
- }
|
|
|
+ ?>
|
|
|
+
|
|
|
+ <h3 class="paper-type">Conference Papers</h3>
|
|
|
+
|
|
|
+ <?php
|
|
|
+ foreach ($employeeConference as $item) {
|
|
|
+ // Access individual elements of each response
|
|
|
+ $item_count = "single";
|
|
|
+ if (count($item['ConferenceList']) > 1) {
|
|
|
+ $item_count = "multiple";
|
|
|
}
|
|
|
- echo "</p>";
|
|
|
- echo "<p class='paper-event'>Conference: {$conference['ConferenceName']}</p>";
|
|
|
- echo "<p class='paper-contributors'>";
|
|
|
- echo "Author List: ";
|
|
|
- // Iterate over the Author array within each journal
|
|
|
- foreach ($conference['Author'] as $author) {
|
|
|
- // Process or output the values as needed
|
|
|
- echo " {$author['AuthorName']},";
|
|
|
+ echo "<div class='paper-details {$item_count}'>";
|
|
|
+ echo "<span class='paper-year'>{$item['Year']}</span>";
|
|
|
+
|
|
|
+ // Iterate over the JournalList array within each item
|
|
|
+ foreach ($item['ConferenceList'] as $conference) {
|
|
|
+ // Access individual elements of each journal
|
|
|
+ echo "<a href='{$conference['Link']}'>";
|
|
|
+ echo "<h2 class='paper-title'>{$conference['PaperTitle']}</h2>";
|
|
|
+ echo "</a>";
|
|
|
+ echo "<p class='paper-tags'>";
|
|
|
+ $conferenceKeyword = explode(',', $conference['Keyword']);
|
|
|
+ foreach ($conferenceKeyword as $keyword) {
|
|
|
+ if ($keyword) {
|
|
|
+ echo "<span class='tag'>{$keyword}</span>";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ echo "</p>";
|
|
|
+ echo "<p class='paper-event'>Conference: {$conference['ConferenceName']}</p>";
|
|
|
+ echo "<p class='paper-contributors'>";
|
|
|
+ echo "Author List: ";
|
|
|
+ // Iterate over the Author array within each journal
|
|
|
+ foreach ($conference['Author'] as $author) {
|
|
|
+ // Process or output the values as needed
|
|
|
+ echo " {$author['AuthorName']},";
|
|
|
+ }
|
|
|
+ echo "</p>";
|
|
|
}
|
|
|
- echo "</p>";
|
|
|
+ echo "</div>";
|
|
|
}
|
|
|
- echo "</div>";
|
|
|
- }
|
|
|
- ?>
|
|
|
- </div>
|
|
|
+ ?>
|
|
|
+ </div>
|
|
|
+ <?php endif; ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -354,6 +361,7 @@ get_header(); ?>
|
|
|
|
|
|
.profile-img-container {
|
|
|
flex-basis: 200px;
|
|
|
+ height: 200px;
|
|
|
border-radius: 50%;
|
|
|
border: 2px solid #F68B1F;
|
|
|
overflow: hidden;
|
|
@@ -368,6 +376,15 @@ get_header(); ?>
|
|
|
object-fit: cover;
|
|
|
}
|
|
|
|
|
|
+ .profile-body td,
|
|
|
+ .profile-body th {
|
|
|
+ color: white;
|
|
|
+ }
|
|
|
+
|
|
|
+ section.profile-body .container {
|
|
|
+ padding: 100px 30px;
|
|
|
+ }
|
|
|
+
|
|
|
@media screen and (max-width: 600px) {
|
|
|
.profile-img-container {
|
|
|
flex-basis: 100px;
|