forked from SIBiUSP/coletaprod
-
Notifications
You must be signed in to change notification settings - Fork 9
/
ppg.php
319 lines (263 loc) · 8.98 KB
/
ppg.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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<!DOCTYPE html>
<html lang="pt-br" dir="ltr">
<?php
class PPG {
static function externos($type, $link) {
$ico = '';
$text = '';
switch ($type) {
case 'Sucupira':
$ico = 'sucupira.png';
$text = '';
break;
case 'Repositório de dados de esquisa':
$ico = 'dataverse.png';
$text = 'Repositório de dados de esquisa';
break;
case 'Repositório institucional':
$ico = 'DSpace.svg';
$text = 'Repositório institucional';
break;
}
echo
"<a class='p-ppg-externos' href='$link' target='blank'>
<img class='p-ppg-plataforms' src='inc/images/logos/$ico' title='$text'/>
<p class='t t-light'><b>$text</b></p>
</a>";
}
}
?>
<head>
<?php
require 'inc/config.php';
require 'inc/meta-header.php';
require 'inc/functions.php';
require 'inc/components/GraphBar.php';
require 'inc/components/Production.php';
require 'inc/components/Who.php';
require 'inc/components/PPGBadges.php';
require 'inc/components/TagCloud.php';
require '_fakedata.php';
?>
<meta charset="utf-8" />
<title><?php echo $branch; ?> - PPG Letras</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="Prodmais Unifesp." />
<meta name="keywords" content="Produção acadêmica, lattes, ORCID" />
</head>
<body data-theme="<?php echo $theme; ?>" class="c-wrapper-body">
<?php if(file_exists('inc/google_analytics.php')){include 'inc/google_analytics.php';}?>
<?php require 'inc/navbar.php'; ?>
<main class="c-wrapper-container">
<div class="c-wrapper-paper">
<div class="c-wrapper-inner">
<section class="p-ppg-header">
<div class="p-ppg-header-one">
<i class="i i-ppg-logo p-ppg-logo"></i>
</div>
<div class="p-ppg-header-two">
<h1 class="t t-h1">PPG Letras</h1>
<h2 class="t t-h2">Programa de Pós Graduação em Letras</h2>
<p class="t t-b ty-light-a">
<span>Campus Guarulhos</span>
<span>Escola de Filosofia, Letras e ciências Humanas</span>
</p>
<div class="d-icon-text t-gray u-mb-1">
<i class="i i-sm i-mapmarker p-ppg-i"></i>
<b>Estrada do Caminho Velho nª 123 - Bairro, Cidade - SP</b>
</div>
<div class="d-icon-text">
<i class='i i-people-manager'></i>
<span class="t t-gray t-b">Coordenação: Nome do coordenador/coordenadora</span>
</div>
</diV>
<div class="p-ppg-header-three">
<p class="t t-gray t-b">Secretaria:</p>
<p class="t t-gray">Maria Oliveira</p>
<p class="t t-gray">Olívia Maria</p>
<a href="" target="blank">
<div class="d-icon-text t-gray">
<i class="i i-sm i-mail p-ppg-i"></i> [email protected]
</div>
</a>
<div class="d-icon-text t-gray">
<i class="i i-sm i-phone p-ppg-i"></i> (11) 5555-5555
</div>
<a href="" target="blank">
<div class="d-icon-text t-gray">
<i class="i i-sm i-web p-ppg-i"></i> site
</div>
</a>
</div>
<div class="p-ppg-header-four">
<div class="d-h d-hc">
<?php echo PPGBadges::students(
$rate = 20,
$title = 'Em Curso',
$ico = 'student2'
); ?>
<?php echo PPGBadges::students(
$rate = 100,
$title = 'Formados',
$ico = 'formado'
); ?>
</div>
<div class="p-ppg-badges">
<?php echo PPGBadges::capes(
$rate = 4,
$title = 'Mestrado acadêmico'
); ?>
<?php echo PPGBadges::capes(
$rate = 6,
$title = 'Doutorado acadêmico'
); ?>
<?php echo PPGBadges::capes(
$rate = 6,
$title = 'Outro '
); ?>
</div>
</div>
</section>
<hr class="c-line u-my-2" />
<section class="l-ppg">
<h3 class="t t-title">Palavras chave recorrentes</h3>
<div>
<?php Tag::cloud( $categorysFake, $hasLink = false ); ?>
</div> <!-- end -->
</section>
<hr class="c-line u-my-2" />
<section class="l-ppg">
<?php
$legends = array(
"Artigos publicados",
"Textos em jornais e revistas",
"Participação em eventos",
"Outras produções"
);
GraphBar::graph(
$title = 'Produção nos últimos anos',
$arrData = $infosToGraph,
$arrLegends = $legends,
$lines = 30
);
?>
</section>
<section class="l-ppg u-my-3">
<?php
$legends2 = array(
"Mestrado profissional",
"Mestrado acadêmico",
"Doutorado acadêmico"
);
GraphBar::graph3(
$title = 'Orientações',
$arrData = $infosToGraph2,
$arrLegends = $legends2,
$lines = 10
);
?>
</section>
<hr class="c-line u-my-2" />
<section class="l-ppg">
<h3 class='t t-title'>Orientadores e orientadoras</h3>
<ul class="p-ppg-orientadores">
<li>
<?php
Who::ppg(
$picture = "inc/images/tmp/profile.jpg",
$name = 'Sebastião',
$title = 'Linha de pesquisa',
$link = 'https://unifesp.br/prodmais/index.php'
)
?>
</li>
<li>
<?php
Who::ppg(
$picture = "inc/images/tmp/profile.jpg",
$name = 'Sócrates',
$title = 'Linha de pesquisa',
$link = 'https://unifesp.br/prodmais/index.php'
)
?>
</li>
<li>
<?php
Who::ppg(
$picture = "inc/images/tmp/profile.jpg",
$name = 'Sêneca',
$title = 'Linha de pesquisa',
$link = 'https://unifesp.br/prodmais/index.php'
)
?>
</li>
<li>
<?php
Who::ppg(
$picture = "inc/images/tmp/profile.jpg",
$name = 'Salomão',
$title = 'Linha de pesquisa',
$link = 'https://unifesp.br/prodmais/index.php'
)
?>
</li>
</ul>
</section>
<hr class="c-line u-my-2" />
<section>
<div class="d-v d-vc">
<p class="t t-gray u-mt-1"><b>Código CAPES</b></p>
<p class="t t-gray u-mb-1">33009015088p9</p>
</div>
</section>
<section class="d-v d-vc d-md-h d-md-hc">
<?php echo PPG::externos(
$type = 'Sucupira',
$link = 'https://repositorio.unifesp.br/handle/11600/6108'
); ?>
<?php echo PPG::externos(
$type = 'Repositório de dados de esquisa',
$link = 'https://repositoriodedados.unifesp.br/dataverse/eflch'
); ?>
<?php echo PPG::externos(
$type = 'Repositório institucional',
$link = 'https://sucupira.capes.gov.br/sucupira/public/consultas/coleta/programa/viewPrograma.xhtml;jsessionid=OLRUfmVYapfO6QJKy+Wf0KS1.sucupira-218?popup=true&cd_programa=33009015089P5'
); ?>
</section>
<!-- <table>
<thead>
<tr class="thead">
<th>Avaliação</th>
<th>MA</th>
<th>DO</th>
<th>MP</th>
<th>Portaria/Parecer</th>
<th>Data D.O.U.</th>
<th>Seção D.O.U.</th>
<th>Página D.O.U.</th>
</tr>
</thead>
<tbody>
<tr>
<th>Quadrienal 2013/2014/2015/2016</th>
<th>4</th>
<th>3</th>
<th>5</th>
<th>Portaria MEC 609, de 14/03/2019</th>
<th>18/03/2019</th>
<th>1</th>
<th>78</th>
</tr>
</tbody>
</table> -->
<p class="t t-lastUpdate t-right">Atualização Lattes em </p>
<p class="t t-lastUpdate t-right">Processado em </p>
</div> <!-- c-wrapper-inner -->
</div> <!-- c-wrapper-paper -->
</main> <!-- c-wrapper-container -->
</div> <!-- end result-container -->
<?php include('inc/footer.php'); ?>
<script>
</script>
</body>
</html>