Browse Source

Added images to ID search page

main
Simon Bowie 3 years ago
parent
commit
47d76723be
1 changed files with 50 additions and 0 deletions
  1. +50
    -0
      site/public/id_search.php

+ 50
- 0
site/public/id_search.php View File

@@ -8,6 +8,7 @@
# @purpose: Searches the Solr index by ID for one particular record

include '../solr.php';
include '../ops_api.php'

?>

@@ -70,6 +71,55 @@ include '../solr.php';
endif;
?>


<?php
$publication_details = get_publication_details($result['doc_ref']);

if (isset($publication_details['original_title'])):
?>

Original language title:

<?php
echo $publication_details['original_title'];
?>

<br><br>

<?php
endif;
?>

<?php
if (isset($publication_details['original_abstract'])):
?>

Original language abstract:

<?php
echo $publication_details['original_abstract'];
?>

<br><br>

<?php
endif;
?>


<?php
if (check_for_images($result['doc_ref'])):
?>

<iframe src="./ops_image.php?doc_ref=<?php echo $result['doc_ref'] ?>" width="100%" height="500px">
</iframe>

<br><br>

<?php
endif;
?>

<?php
endforeach;
?>

Loading…
Cancel
Save