-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
98 lines (85 loc) · 5.19 KB
/
index.php
File metadata and controls
98 lines (85 loc) · 5.19 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="pt-br" dir="ltr">
<head>
<?php
require 'inc/config.php';
require 'inc/meta-header.php';
?>
<title><?php echo $branch; ?></title>
<!-- Facebook Tags - START -->
<!--<meta property="og:locale" content="pt_BR">-->
<meta property="og:locale" content="<?php echo $locale ?>">
<meta property="og:url" content="<?php echo $url_base; ?>">
<meta property="og:title" content="<?php echo $t->gettext(''.$branch.''); ?> - <?php echo $t->gettext('Página Principal'); ?>">
<meta property="og:site_name" content="<?php echo $t->gettext(''.$branch.''); ?>">
<meta property="og:description" content="<?php echo $t->gettext(''.$branch_description.''); ?>">
<meta property="og:image" content="http://www.imagens.usp.br/wp-content/uploads/USP.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="800">
<meta property="og:image:height" content="600">
<meta property="og:type" content="website">
<!-- Facebook Tags - END -->
</head>
<body style="height: 100vh; min-height: 45em; position: relative;">
<?php
if (file_exists("inc/analyticstracking.php")) {
include_once "inc/analyticstracking.php";
}
?>
<?php require 'inc/navbar.php'; ?>
<div class="uk-container uk-margin" style="position: relative;">
<div class="uk-width-3-4@s uk-child-width-3-4@m uk-align-center" uk-grid>
<div class="uk-card uk-card-default uk-card-hover uk-card-small uk-card-body" style="margin-top: 2.5em;">
<h2 class="uk-align-center uk-text-center" style="color:#1094ab">
<strong><?php echo $t->gettext(''.$branch.''); ?></strong></br>
<span class="uk-form-label uk-text-center"><?php if(!empty($branch_version)) echo $t->gettext($branch_version); ?></span>
</h2>
<p class="uk-form-label uk-text-right"><?php echo Homepage::totalProducao($t); ?></p>
<form class="uk-form-stacked" action="result.php">
<div class="uk-margin">
<!--<label class="uk-form-label" for="form-stacked-text"><?php echo $t->gettext('Termos de busca'); ?></label>-->
<div class="uk-form-controls uk-margin uk-search uk-search-default" style="width: 100%">
<button class="uk-search-icon-flip" style="width: 5em;" uk-search-icon="ratio: 1.25"></button>
<input class="uk-input" id="form-stacked-text" type="search" placeholder="<?php echo $t->gettext('Pesquise por termo ou autor'); ?>" name="search[]">
</div>
</div>
<ul uk-accordion>
<li>
<a class="uk-accordion-title uk-text-small uk-text-right" href="#"><?php echo $t->gettext('Filtros'); ?></a>
<div class="uk-accordion-content">
<?php if($indexBasesFilter):?>
<div class="uk-margin">
<label hidden class="uk-form-label" for="form-stacked-select"><?php echo $t->gettext('Selecione a base'); ?></label>
<div class="uk-form-controls">
<select class="uk-select" id="form-stacked-select" name="filter[]">
<option disabled selected value><?php echo $t->gettext('Todas as bases'); ?></option>
<option value="base:"Produção científica"" style="color:#333"><?php echo $t->gettext('Produção Científica'); ?></option>
<option value="base:"Teses e dissertações"" style="color:#333"><?php echo $t->gettext('Teses e Dissertações'); ?></option>
</select>
</div>
</div>
<?php endif;?>
<div class="uk-margin">
<label hidden class="uk-form-label" for="form-stacked-select"><?php echo $t->gettext('Selecione uma Unidade USP para filtrar a busca'); ?></label>
<div class="uk-form-controls">
<select class="uk-select" id="form-stacked-select" name="filter[]">
<option disabled selected value><?php echo $t->gettext('Todas as Unidades USP'); ?></option>
<?php foreach($unidades as $key => $value ): ?>
<?php if(!in_array($key, $schoolsFilterRemove)): ?>
<option value="unidadeUSP:"<?php echo $key; ?>"" style="color:#333"><?php echo $value; ?></option>
<?php endif; ?>
<?php endforeach; ?>
</select>
</div>
</div>
</div><!-- FIM - uk-accordion-content -->
</li>
</ul>
</form>
</div>
</div>
</div>
<?php require 'inc/footer.php'; ?>
<?php require 'inc/offcanvas.php'; ?>
</body>
</html>