|
@@ -89,7 +89,6 @@ get_header(); ?>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
-
|
|
|
<?php
|
|
|
$employeeid = get_field('employeeid');
|
|
|
|
|
@@ -106,30 +105,26 @@ get_header(); ?>
|
|
|
|
|
|
)
|
|
|
);
|
|
|
-
|
|
|
$data = json_decode(wp_remote_retrieve_body($response), true);
|
|
|
|
|
|
- // foreach ($data as $query) {
|
|
|
- // $EmployeeID = $query['EmployeeID'];
|
|
|
- // }
|
|
|
-
|
|
|
?>
|
|
|
- <span class="contact-dets member-api"></span>
|
|
|
|
|
|
- <div class="bio desc-block">
|
|
|
- <h2 class="m-text">Publication</h2>
|
|
|
- <p class="m-text">
|
|
|
- <?php
|
|
|
- if (!empty($employeeid)) {
|
|
|
+ <?php if (!empty($employeeid)) : ?>
|
|
|
|
|
|
- print_r($data);
|
|
|
- } else {
|
|
|
- echo 'Please insert Login ID of the faculty member</ul></div>';
|
|
|
- }
|
|
|
+ <div class="bio desc-block">
|
|
|
+ <h2 class="m-text">Publication</h2>
|
|
|
+ <p class="m-text">
|
|
|
+ <?php
|
|
|
+ if (!empty($employeeid)) {
|
|
|
|
|
|
- ?>
|
|
|
- </div>
|
|
|
+ print_r($data);
|
|
|
+ } else {
|
|
|
+ echo 'Please insert Login ID of the faculty member</ul></div>';
|
|
|
+ }
|
|
|
|
|
|
+ ?>
|
|
|
+ </div>
|
|
|
+ <?php endif; ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|