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
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

56 rindas
1.2KB

  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. <meta charset="utf-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <link rel="stylesheet" type="text/css" href="css/style.css">
  17. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  18. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
  19. </head>
  20. <body>
  21. <div class="container">
  22. <?php
  23. foreach ($random_titles as $record_array):
  24. ?>
  25. <?
  26. foreach ($record_array as $id => $title):
  27. ?>
  28. <a href="id_search.php?id=<? echo $id; ?>">
  29. <?
  30. echo $title;
  31. ?>
  32. </a>
  33. <?
  34. endforeach;
  35. ?>
  36. <br><br>
  37. <hr>
  38. <?php
  39. endforeach;
  40. ?>
  41. </div>
  42. </body>
  43. </html>