1 |
14572
|
thanos.pap
|
<?php
|
2 |
|
|
|
3 |
|
|
defined('_JEXEC') or die('Access denied');
|
4 |
|
|
|
5 |
|
|
jimport('joomla.environment.request');
|
6 |
|
|
jimport('joomla.environment.uri');
|
7 |
|
|
jimport('joomla.methods');
|
8 |
|
|
|
9 |
|
|
JHtml :: _('behavior.mootools');
|
10 |
|
|
$document = JFactory :: getDocument();
|
11 |
19084
|
thanos.pap
|
$document -> addStyleSheet(JRoute :: _(JURI :: base() . 'components/com_openaire/css/SqueezeBox.css'));
|
12 |
|
|
$document -> addScript(JRoute :: _(JURI :: base() . 'components/com_openaire/js/statistics.js'));
|
13 |
|
|
$document -> addScript(JRoute :: _(JURI :: base() . 'components/com_openaire/js/SqueezeBox.js'));
|
14 |
14572
|
thanos.pap
|
|
15 |
|
|
?>
|
16 |
|
|
|
17 |
|
|
<h1 class="title"><?php echo(JText :: _('FP7_OPEN_ACCESS_STATISTICS')); ?></h1>
|
18 |
17796
|
thanos.pap
|
<div class="info"><?php echo(JText :: _('S_ARE_BASED_ON_THE_CURRENT_KNOWLEDGE_OF_OPENAIRE_ABOUT_FP7_PUBLICATIONS_AND_THEIR_OA_STATUS_')); ?></div>
|
19 |
14572
|
thanos.pap
|
<div class="stats_section">
|
20 |
|
|
<div style="text-align: left;">
|
21 |
15909
|
thanos.pap
|
<?php if ($this -> statistics != NULL) {
|
22 |
30864
|
yannis.str
|
JText :: printf('TOTAL_NUMBER_OF_PUBLICATIONS_PUBLISHED_IN_FP7_S', '<a href="' . JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId) . '" class="icon-findr">' . $this -> statistics -> totalPublications . '</a>');
|
23 |
15909
|
thanos.pap
|
} else {
|
24 |
|
|
echo(JText :: _('ERROR_RETRIEVING_STATISTICS'));
|
25 |
|
|
} ?>
|
26 |
14572
|
thanos.pap
|
</div>
|
27 |
|
|
</div>
|
28 |
|
|
<div class="stats_section">
|
29 |
|
|
<h4><?php echo(JText :: _('OPEN_ACCESS_IN_FP7_AT_A_GLANCE')); ?></h4>
|
30 |
|
|
<div class="stats_group">
|
31 |
15909
|
thanos.pap
|
<?php if ($this -> publicationsByAccessMode === NULL) { ?>
|
32 |
|
|
<div style="text-align: left;">
|
33 |
|
|
<?php echo(JText :: _('ERROR_RETRIEVING_STATISTICS')); ?>
|
34 |
14572
|
thanos.pap
|
</div>
|
35 |
15909
|
thanos.pap
|
<?php } else if ($this -> publicationsByAccessMode == NULL) { ?>
|
36 |
|
|
<div style="text-align: left;">
|
37 |
|
|
<?php echo(JText :: _('NO_ACCESS_MODE_STATISTICS_FOUND')); ?>
|
38 |
|
|
</idv>
|
39 |
|
|
<?php } else { ?>
|
40 |
|
|
<div>
|
41 |
30864
|
yannis.str
|
<?php JText :: printf('NUMBER_OF_OPEN_ACCESS_PUBLICATIONS_GREEN_OR_GOLD_S', '<a href="' . JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&accessMode=OPEN') . '" class="icon-findr">' . $this -> openAccessPublications . '</a>'); ?>
|
42 |
15909
|
thanos.pap
|
</div>
|
43 |
|
|
<div>
|
44 |
30864
|
yannis.str
|
<?php JText :: printf('NUMBER_OF_PUBLICATIONS_STILL_IN_EMBARGO_PERIOD_S', '<a href="' . JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&accessMode=CLOSED&accessMode=EMBARGO&accessmode=RESTRICTED') . '" class="icon-findr">' . $this -> embargoPublications . '</a>'); ?>
|
45 |
15909
|
thanos.pap
|
</div>
|
46 |
|
|
<?php foreach ($this -> publicationsByAccessMode as $publicationsByAccessMode) { ?>
|
47 |
|
|
<div style="padding-left: 30px;">
|
48 |
30864
|
yannis.str
|
<?php echo($publicationsByAccessMode -> name); ?> - <a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&accessMode=' . $publicationsByAccessMode -> accessMode)); ?>" class="icon-findr"><?php echo($publicationsByAccessMode -> publications); ?></a>
|
49 |
15909
|
thanos.pap
|
</div>
|
50 |
|
|
<?php } ?>
|
51 |
|
|
<div class="chart">
|
52 |
30864
|
yannis.str
|
<input type="hidden" class="chartUrl" value="<?php echo(JRoute :: _('index.php?option=com_openaire&view=chart&chart=accessMode')); ?>" />
|
53 |
15909
|
thanos.pap
|
<span class="chartToggle pseudolink"><?php echo(JText :: _('VIEW_GRAPH_')); ?></span>
|
54 |
|
|
</div>
|
55 |
14572
|
thanos.pap
|
<?php } ?>
|
56 |
|
|
</div>
|
57 |
|
|
</div>
|
58 |
|
|
<div class="stats_section">
|
59 |
|
|
<h4><?php echo(JText :: _('PUBLICATION_STATISTICS')); ?></h4>
|
60 |
15909
|
thanos.pap
|
<?php if ($this -> publicationsByProgramme === NULL) { ?>
|
61 |
|
|
<div style="text-align: left;">
|
62 |
|
|
<?php echo(JText :: _('ERROR_RETRIEVING_STATISTICS')); ?>
|
63 |
14587
|
thanos.pap
|
</div>
|
64 |
15909
|
thanos.pap
|
<?php } else if ($this -> publicationsByProgramme == NULL) { ?>
|
65 |
|
|
<div style="text-align: left;">
|
66 |
|
|
<?php echo(JText :: _('NO_PROGRAMME_STATISTICS_FOUND')); ?>
|
67 |
|
|
</div>
|
68 |
|
|
<?php } else { ?>
|
69 |
|
|
<div class="stats_group">
|
70 |
23853
|
thanos.pap
|
<img class="toggle" style="margin-right: 7px; vertical-align: top;" src="<?php echo(JRoute :: _(JURI :: base() . 'components/com_openaire/images/plus.gif')); ?>" height="14" width="14" />
|
71 |
15909
|
thanos.pap
|
<span><?php echo(JText :: _('FP7_PROGRAMME')); ?></span>
|
72 |
|
|
<div class="chart">
|
73 |
30864
|
yannis.str
|
<input type="hidden" class="chartUrl" value="<?php echo(JRoute :: _('index.php?option=com_openaire&view=chart&chart=programme')); ?>" />
|
74 |
15909
|
thanos.pap
|
<span class="chartToggle pseudolink"><?php echo(JText :: _('VIEW_GRAPH_')); ?></span>
|
75 |
|
|
</div>
|
76 |
|
|
<div class="toggle" style="display: none;">
|
77 |
|
|
<table class="zebra stats_table">
|
78 |
|
|
<thead>
|
79 |
14572
|
thanos.pap
|
<tr>
|
80 |
17117
|
thanos.pap
|
<th width="50%"><?php echo(JText :: _('FUNDING_STREAM')); ?></th>
|
81 |
15909
|
thanos.pap
|
<th><?php echo(JText :: _('PUBLICATIONS')); ?></th>
|
82 |
|
|
<th><?php echo(JText :: _('PROJECTS')); ?></th>
|
83 |
|
|
<th><?php echo(JText :: _('OPEN_ACCESS')); ?></th>
|
84 |
14572
|
thanos.pap
|
</tr>
|
85 |
15909
|
thanos.pap
|
</thead>
|
86 |
|
|
<tbody>
|
87 |
|
|
<?php foreach ($this -> publicationsByProgramme as $publicationsByProgramme) { ?>
|
88 |
|
|
<tr>
|
89 |
|
|
<td><?php echo($publicationsByProgramme -> name); ?></td>
|
90 |
30864
|
yannis.str
|
<td><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&programme=' . $publicationsByProgramme -> acronym)); ?>" class="icon-findr"><?php echo($publicationsByProgramme -> totalPublications); ?></a></td>
|
91 |
15909
|
thanos.pap
|
<td><?php echo($publicationsByProgramme -> projects); ?></td>
|
92 |
30864
|
yannis.str
|
<td><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&programme=' . $publicationsByProgramme -> acronym . '&accessMode=OPEN')) ?>" class="icon-findr"><?php echo($publicationsByProgramme -> openPublications); ?></a> (<?php echo($publicationsByProgramme -> openPublicationsRatio); ?>%)</td>
|
93 |
15909
|
thanos.pap
|
</tr>
|
94 |
|
|
<?php } ?>
|
95 |
|
|
</tbody>
|
96 |
|
|
</table>
|
97 |
|
|
</div>
|
98 |
14572
|
thanos.pap
|
</div>
|
99 |
15909
|
thanos.pap
|
<?php }
|
100 |
|
|
if ($this -> publicationsByScientificArea === NULL) { ?>
|
101 |
|
|
<div style="text-align: left;">
|
102 |
|
|
<?php echo(JText :: _('ERROR_RETRIEVING_STATISTICS')); ?>
|
103 |
14587
|
thanos.pap
|
</div>
|
104 |
15909
|
thanos.pap
|
<?php } else if ($this -> publicationsByScientificArea == NULL) { ?>
|
105 |
|
|
<div style="text-align: left;">
|
106 |
|
|
<?php echo(JText :: _('NO_SCIENTFIC_AREA_STATISTICS_FOUND')); ?>
|
107 |
|
|
</div>
|
108 |
|
|
<?php } else { ?>
|
109 |
|
|
<div class="stats_group">
|
110 |
23853
|
thanos.pap
|
<img class="toggle" style="margin-right: 7px; vertical-align: top;" src="<?php echo(JRoute :: _(JURI :: base() . 'components/com_openaire/images/plus.gif')); ?>" height="14" width="14" />
|
111 |
15909
|
thanos.pap
|
<?php echo(JText :: _('SCIENTIFIC_AREA')); ?>
|
112 |
|
|
<div class="chart">
|
113 |
30864
|
yannis.str
|
<input type="hidden" class="chartUrl" value="<?php echo(JRoute :: _('index.php?option=com_openaire&view=chart&chart=scientificArea')); ?>" />
|
114 |
15909
|
thanos.pap
|
<span class="chartToggle pseudolink"><?php echo(JText :: _('VIEW_GRAPH_')); ?></span>
|
115 |
|
|
</div>
|
116 |
|
|
<div class="toggle" style="display: none;">
|
117 |
|
|
<table class="zebra stats_table">
|
118 |
|
|
<thead>
|
119 |
14572
|
thanos.pap
|
<tr>
|
120 |
15909
|
thanos.pap
|
<th width="50%"><?php echo(JText :: _('SCIENTIFIC_AREA')); ?></th>
|
121 |
|
|
<th><?php echo(JText :: _('PUBLICATIONS')); ?></th>
|
122 |
|
|
<th><?php echo(JText :: _('PROJECTS')); ?></th>
|
123 |
|
|
<th><?php echo(JText :: _('OPEN_ACCESS')); ?></th>
|
124 |
14572
|
thanos.pap
|
</tr>
|
125 |
15909
|
thanos.pap
|
</thead>
|
126 |
|
|
<tbody>
|
127 |
|
|
<?php foreach ($this -> publicationsByScientificArea as $publicationsByScientificArea) { ?>
|
128 |
|
|
<tr>
|
129 |
|
|
<td><?php echo($publicationsByScientificArea -> name); ?></td>
|
130 |
30864
|
yannis.str
|
<td><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&scientificArea=' . $publicationsByScientificArea -> acronym)); ?>" class="icon-findr"><?php echo($publicationsByScientificArea -> totalPublications); ?></a></td>
|
131 |
15909
|
thanos.pap
|
<td><?php echo($publicationsByScientificArea -> projects); ?></td>
|
132 |
30864
|
yannis.str
|
<td><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=browse&Itemid=' . $this -> itemId . '&scientificArea=' . $publicationsByScientificArea -> acronym . '&accessMode=OPEN')); ?>" class="icon-findr"><?php echo($publicationsByScientificArea -> openPublications); ?></a> (<?php echo($publicationsByScientificArea -> openPublicationsRatio); ?>%)</td>
|
133 |
15909
|
thanos.pap
|
</tr>
|
134 |
|
|
<?php } ?>
|
135 |
|
|
</tbody>
|
136 |
|
|
</table>
|
137 |
|
|
</div>
|
138 |
14572
|
thanos.pap
|
</div>
|
139 |
15909
|
thanos.pap
|
<?php }
|
140 |
|
|
if ($this -> publicationsByCountry === NULL) { ?>
|
141 |
|
|
<div style="text-align: left;">
|
142 |
|
|
<?php echo(JText :: _('ERROR_RETRIEVING_STATISTICS')); ?>
|
143 |
14587
|
thanos.pap
|
</div>
|
144 |
15909
|
thanos.pap
|
<?php } else if ($this -> publicationsByCountry == NULL) { ?>
|
145 |
|
|
<div style="text-align: left;">
|
146 |
|
|
<?php echo(JText :: _('NO_COUNTRY_STATISTICS_FOUND')); ?>
|
147 |
|
|
</div>
|
148 |
|
|
<?php } else { ?>
|
149 |
|
|
<div class="stats_group">
|
150 |
23853
|
thanos.pap
|
<img class="toggle" style="margin-right: 7px; vertical-align: top;" src="<?php echo(JRoute :: _(JURI :: base() . 'components/com_openaire/images/' . ($this -> showCountries ? 'minus' : 'plus') . '.gif')); ?>" height="14" width="14" />
|
151 |
15909
|
thanos.pap
|
<?php echo(JText :: _('COUNTRY')); ?>
|
152 |
|
|
<div class="chart">
|
153 |
30864
|
yannis.str
|
<input type="hidden" class="chartUrl" value="<?php echo(JRoute :: _('index.php?option=com_openaire&view=chart&chart=country')); ?>" />
|
154 |
15909
|
thanos.pap
|
<span class="chartToggle pseudolink"><?php echo(JText :: _('VIEW_GRAPH_')); ?></span>
|
155 |
|
|
</div>
|
156 |
|
|
<div class="toggle"<?php echo($this -> showCountries ? '' : ' style="display: none;"'); ?>>
|
157 |
|
|
<table class="zebra stats_table">
|
158 |
|
|
<thead>
|
159 |
14572
|
thanos.pap
|
<tr>
|
160 |
15909
|
thanos.pap
|
<th width="50%"><?php echo(JText :: _('COUNTRY')); ?></th>
|
161 |
|
|
<th><?php echo(JText :: _('PUBLICATIONS')); ?></th>
|
162 |
|
|
<th><?php echo(JText :: _('PROJECTS')); ?></th>
|
163 |
|
|
<th><?php echo(JText :: _('OPEN_ACCESS')); ?></th>
|
164 |
14572
|
thanos.pap
|
</tr>
|
165 |
15909
|
thanos.pap
|
</thead>
|
166 |
|
|
<tbody>
|
167 |
|
|
<?php foreach ($this -> publicationsByCountry as $publicationsByCountry) { ?>
|
168 |
|
|
<tr>
|
169 |
|
|
<td><?php echo($publicationsByCountry -> name); ?></td>
|
170 |
|
|
<td><?php echo($publicationsByCountry -> totalPublications); ?></td>
|
171 |
|
|
<td><?php echo($publicationsByCountry -> projects); ?></td>
|
172 |
|
|
<td><?php echo($publicationsByCountry -> openPublications); ?> (<?php echo($publicationsByCountry -> openPublicationsRatio); ?>%)</td>
|
173 |
|
|
</tr>
|
174 |
|
|
<?php }
|
175 |
|
|
if (!$this -> showCountries) { ?>
|
176 |
|
|
<tr>
|
177 |
|
|
<td colspan="3"></td>
|
178 |
30864
|
yannis.str
|
<td align="right"><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=statistics&Itemid=' . $this -> itemId . '&showCountries=true')); ?>"><span class="show_details"><?php echo(JText :: _('SHOW_ALL')); ?></span></a></td>
|
179 |
15909
|
thanos.pap
|
</tr>
|
180 |
|
|
<?php } ?>
|
181 |
|
|
</tbody>
|
182 |
|
|
</table>
|
183 |
|
|
</div>
|
184 |
14572
|
thanos.pap
|
</div>
|
185 |
15909
|
thanos.pap
|
<?php }
|
186 |
|
|
if ($this -> publicationsByInstitution === NULL) { ?>
|
187 |
|
|
<div style="text-align: left;">
|
188 |
|
|
<?php echo(JText :: _('ERROR_RETRIEVING_STATISTICS')); ?>
|
189 |
14587
|
thanos.pap
|
</div>
|
190 |
15909
|
thanos.pap
|
<?php } else if ($this -> publicationsByInstitution == NULL) { ?>
|
191 |
|
|
<div style="text-align: left;">
|
192 |
|
|
<?php echo(JText :: _('NO_INSTITUTION_STATISTICS_FOUND')); ?>
|
193 |
|
|
</div>
|
194 |
|
|
<?php } else { ?>
|
195 |
|
|
<div class="stats_group">
|
196 |
23853
|
thanos.pap
|
<img class="toggle" style="margin-right: 7px; vertical-align: top;" src="<?php echo(JRoute :: _(JURI :: base() . 'components/com_openaire/images/' . ($this -> showInstitutions ? 'minus' : 'plus') . '.gif')); ?>" height="14" width="14" />
|
197 |
15909
|
thanos.pap
|
<?php echo(JText :: _('INSTITUTION')); ?>
|
198 |
|
|
<div class="chart">
|
199 |
30864
|
yannis.str
|
<input type="hidden" class="chartUrl" value="<?php echo(JRoute :: _('index.php?option=com_openaire&view=chart&chart=institution')); ?>" />
|
200 |
15909
|
thanos.pap
|
<span class="chartToggle pseudolink"><?php echo(JText :: _('VIEW_GRAPH_')); ?></span>
|
201 |
|
|
</div>
|
202 |
|
|
<div class="toggle"<?php echo($this -> showInstitutions ? '' : ' style="display: none;"'); ?>>
|
203 |
|
|
<table class="zebra stats_table">
|
204 |
|
|
<thead>
|
205 |
14572
|
thanos.pap
|
<tr>
|
206 |
15909
|
thanos.pap
|
<th width="50%"><?php echo(JText :: _('INSTITUTION')); ?></th>
|
207 |
|
|
<th><?php echo(JText :: _('PUBLICATIONS')); ?></th>
|
208 |
|
|
<th><?php echo(JText :: _('PROJECTS')); ?></th>
|
209 |
|
|
<th><?php echo(JText :: _('OPEN_ACCESS')); ?></th>
|
210 |
14572
|
thanos.pap
|
</tr>
|
211 |
15909
|
thanos.pap
|
</thead>
|
212 |
|
|
<tbody>
|
213 |
|
|
<?php foreach ($this -> publicationsByInstitution as $publicationsByInstitution) { ?>
|
214 |
|
|
<tr>
|
215 |
|
|
<td><?php echo($publicationsByInstitution -> name); ?></td>
|
216 |
|
|
<td><?php echo($publicationsByInstitution -> totalPublications); ?></td>
|
217 |
|
|
<td><?php echo($publicationsByInstitution -> projects); ?></td>
|
218 |
|
|
<td><?php echo($publicationsByInstitution -> openPublications); ?> (<?php echo($publicationsByInstitution -> openPublicationsRatio); ?>%)</td>
|
219 |
|
|
</tr>
|
220 |
|
|
<?php }
|
221 |
|
|
if (!$this -> showInstitutions) { ?>
|
222 |
|
|
<tr>
|
223 |
|
|
<td colspan="3"></td>
|
224 |
30864
|
yannis.str
|
<td align="right"><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=statistics&Itemid=' . $this -> itemId . '&showInstitutions=true')); ?>"><span class="show_details"><?php echo(JText :: _('SHOW_ALL')); ?></span></a></td>
|
225 |
15909
|
thanos.pap
|
</tr>
|
226 |
|
|
<?php } ?>
|
227 |
|
|
</tbody>
|
228 |
|
|
</table>
|
229 |
|
|
</div>
|
230 |
14572
|
thanos.pap
|
</div>
|
231 |
15909
|
thanos.pap
|
<?php } ?>
|
232 |
14572
|
thanos.pap
|
</div>
|
233 |
|
|
<div class="stats_section">
|
234 |
18547
|
thanos.pap
|
<h4><?php echo(JText :: _('FP7_OA_PILOT_SPECIAL_CLAUSE_39_PROJECTS_OA_EVALUATION')); ?></h4>
|
235 |
14572
|
thanos.pap
|
<div class="stats_group">
|
236 |
|
|
<div style="text-align: left;">
|
237 |
15909
|
thanos.pap
|
<?php if ($this -> statistics != NULL) {
|
238 |
18547
|
thanos.pap
|
JText :: printf('N_PROJECTS_WITH_SPECIAL_CLAUSE_39', $this -> statistics -> sc39Projects);
|
239 |
15909
|
thanos.pap
|
} else {
|
240 |
|
|
echo(JText :: _('ERROR_RETRIEVING_STATISTICS'));
|
241 |
|
|
} ?>
|
242 |
14572
|
thanos.pap
|
</div>
|
243 |
|
|
</div>
|
244 |
|
|
</div>
|
245 |
|
|
<div class="stats_section">
|
246 |
|
|
<h4><?php echo(JText :: _('MISC')); ?></h4>
|
247 |
|
|
<div class="stats_group">
|
248 |
15909
|
thanos.pap
|
<?php if ($this -> statistics != NULL) { ?>
|
249 |
|
|
<div style="text-align: left;">
|
250 |
|
|
<?php JText :: printf('AVERAGE_NUMBER_OF_PUBLICATIONS_PER_PROJECT_N', $this -> statistics -> averagePublicationsPerProject); ?>
|
251 |
|
|
</div>
|
252 |
|
|
<div style="text-align: left;">
|
253 |
|
|
<?php JText :: printf('AVERAGE_NUMBER_OF_PUBLICATIONS_PER_YEAR_N', $this -> statistics -> averagePublicationsPerYear); ?>
|
254 |
|
|
</div>
|
255 |
|
|
<?php } else { ?>
|
256 |
|
|
<div style="text-align: left;">
|
257 |
|
|
<?php echo(JText :: _('ERROR_RETRIEVING_STATISTICS')); ?>
|
258 |
|
|
</div>
|
259 |
|
|
<?php } ?>
|
260 |
14572
|
thanos.pap
|
</div>
|
261 |
|
|
</div>
|