-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathe-RApubs.php
61 lines (43 loc) · 1.28 KB
/
e-RApubs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* @file papers.php
* @brief eRAbib search tool
*
* @author Nathalie Castells
*
* This form search the bibliography database.
* @date 9/27/2018
*/
include_once 'includes/init.php'; // these are the settings that refer to more than one page
$page_title .= " - eRApubs";
$filePapers = 'metadata/default/papers.json';
$hasPapers = file_exists($filePapers);
if ($hasPapers) {
$jpapers = file_get_contents($filePapers);
$dbpapers = json_decode($jpapers, true);
}
?>
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<?php
include 'includes/meta.html'; // that is the <meta and link tags> superseeds head.html
$script = ''; // $script is added to the header as the
if (isset($datacite)) {
$script = "<script type=\"application/ld+json\">" . $datacite . "</script>";
echo $script;
}
?>
</head>
<body>
<div class="container bg-white px-0">
<?php include 'includes/header.html'; // all the menus at the top
//-- start dependant content ---------------------------------------------------------
include '_papers.php';
//-- start footers -----------------------------
include_once 'includes/footer.html';
include_once 'includes/finish.inc';
?>
</div>
</body>
</html>