A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

108 lines
1.3KB

  1. <?php
  2. # @name: index.php
  3. # @version: 0.1
  4. # @creation_date: 2021-09-24
  5. # @license: The MIT License <https://opensource.org/licenses/MIT>
  6. # @author: Simon Bowie <ad7588@coventry.ac.uk>
  7. # @purpose: Home page for the application
  8. include '../random.php';
  9. include '../ops_api.php';
  10. $random_record = random_record();
  11. ?>
  12. Application ID:
  13. <?php
  14. echo $random_record['application_id'];
  15. ?>
  16. <br><br>
  17. EPO publication:
  18. <a href=<?php echo $random_record['epo_publication_url']; ?>>
  19. <?php
  20. echo $random_record['epo_publication_url'];
  21. ?>
  22. </a>
  23. <br><br>
  24. IPC publication:
  25. <a href=<?php echo $random_record['ipc_publication_url']; ?>>
  26. <?php
  27. echo $random_record['ipc_publication_url'];
  28. ?>
  29. </a>
  30. <br><br>
  31. Title:
  32. <?php
  33. echo $random_record['title'];
  34. ?>
  35. <br><br>
  36. <?php
  37. if ($random_record['abstract']):
  38. ?>
  39. Abstract:
  40. <?php
  41. echo $random_record['abstract'];
  42. ?>
  43. <br><br>
  44. <?
  45. endif;
  46. ?>
  47. <?php
  48. if (get_publication_details($random_record['doc_ref'])):
  49. ?>
  50. <br><br>
  51. <?php
  52. endif;
  53. ?>
  54. <?php
  55. //if (get_images($random_record['doc_ref'])):
  56. ?>
  57. <!-- TO DO: RESOLVE WHY NGINX DOESN'T DISPLAY ANY OTHER PAGES IN THE PUBLIC DIRECTORY INCLUDING THESE TWO-->
  58. <a href="./ops_image.php?doc_ref=<?php echo $random_record['doc_ref'] ?>">Click here for image</a>
  59. <br><br>
  60. <?php
  61. //endif;
  62. ?>