1 |
19426
|
thanos.pap
|
<?php
|
2 |
|
|
|
3 |
|
|
defined('_JEXEC') or die('Access denied');
|
4 |
|
|
|
5 |
|
|
jimport('joomla.environment.uri');
|
6 |
|
|
jimport('joomla.html.html');
|
7 |
21748
|
thanos.pap
|
jimport('joomla.methods');
|
8 |
19426
|
thanos.pap
|
|
9 |
21841
|
thanos.pap
|
JHtml :: _('behavior.mootools');
|
10 |
|
|
$document = JFactory :: getDocument();
|
11 |
|
|
$document -> addScript(JRoute :: _(JURI :: base() . 'components/com_openaire/js/tooltip.js'));
|
12 |
|
|
$document -> addScript(JRoute :: _(JURI :: base() . 'components/com_openaire/js/search.js'));
|
13 |
|
|
$document -> addStyleSheet(JRoute :: _(JURI :: base() . 'components/com_openaire/css/tooltip/tooltip1.css'));
|
14 |
|
|
$document -> addStyleSheet(JRoute :: _(JURI :: base() . 'templates/' . JFactory :: getApplication() -> getTemplate() . '/styles/openaire/css/tooltip.css'));
|
15 |
|
|
JView :: loadHelper('FilterHelper');
|
16 |
|
|
JView :: loadHelper('StatisticHelper');
|
17 |
|
|
JView :: loadHelper('BrowseHelper');
|
18 |
19426
|
thanos.pap
|
|
19 |
21841
|
thanos.pap
|
?>
|
20 |
19426
|
thanos.pap
|
|
21 |
21841
|
thanos.pap
|
<div id="system">
|
22 |
|
|
<?php if (($this -> keyword != NULL) && ($this -> result != NULL) && ($this -> result -> totalDatasets > 0)) { ?>
|
23 |
|
|
<div id="left-column">
|
24 |
|
|
<div class="refineBox">
|
25 |
|
|
<?php $baseUrl = 'index.php?option=com_openaire&view=searchdatasets&Itemid=' . $this -> itemId . '&keyword=' . $this -> keyword . '&noscroll=true';
|
26 |
27140
|
yannis.str
|
echo(FilterHelper :: formatFilters($this -> filters, $this -> result -> statistics, $baseUrl, ''));
|
27 |
|
|
echo(StatisticHelper :: formatStatistics($this -> result -> statistics, $this -> filters, $baseUrl, '')); ?>
|
28 |
19426
|
thanos.pap
|
</div>
|
29 |
|
|
</div>
|
30 |
21841
|
thanos.pap
|
<?php } ?>
|
31 |
|
|
<div id="right-column">
|
32 |
|
|
<?php echo($this -> loadTemplate('form'));
|
33 |
|
|
echo(($this -> keyword == NULL) ? BrowseHelper :: formatBrowse($this -> statistics, 'index.php?option=com_openaire&view=browsedatasets&Itemid=' . $this -> itemId) : $this -> loadTemplate('datasets')); ?>
|
34 |
19426
|
thanos.pap
|
</div>
|
35 |
21841
|
thanos.pap
|
</div>
|