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
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

50 行
608B

  1. <?php
  2. # @name: titles.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: Displays ten random titles
  8. include '../solr.php';
  9. $random_titles = ten_random_titles();
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. </head>
  15. <body>
  16. <?php
  17. foreach ($random_titles as $record_array):
  18. ?>
  19. <?
  20. foreach ($record_array as $id => $title):
  21. ?>
  22. <a href="id_search.php?id=<? echo $id; ?>">
  23. <?
  24. echo $title;
  25. ?>
  26. </a>
  27. <?
  28. endforeach;
  29. ?>
  30. <br><br>
  31. <hr>
  32. <?php
  33. endforeach;
  34. ?>
  35. </body>
  36. </html>