Project

General

Profile

1
<?php
2

    
3
defined('_JEXEC') or die('Access denied');
4

    
5
jimport('joomla.environment.uri');
6
jimport('joomla.html.html');
7
jimport('joomla.methods');
8

    
9
JHtml :: _('behavior.framework',true);
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
JViewLegacy:: loadHelper('FilterHelper');
16
JViewLegacy:: loadHelper('StatisticHelper');
17
JViewLegacy:: loadHelper('BrowseHelper');
18

    
19
?>
20

    
21
<div id="main-column">
22
	<?php if (($this -> keyword != NULL) && ($this -> result != NULL) && ($this -> result -> totalProjects > 0)) { ?>
23
		<div id="left-column">
24
			<div class="refineBox">
25
				<?php $baseUrl = 'index.php?option=com_openaire&view=searchprojects&Itemid=' . $this -> itemId . '&keyword=' . $this -> keyword . '&noscroll=true';
26
				echo(FilterHelper :: formatFilters($this -> filters, $this -> result -> statistics, $baseUrl, ''));
27
				echo(StatisticHelper :: formatStatistics($this -> result -> statistics, $this -> filters, $baseUrl, '')); ?>
28
			</div>
29
		</div>
30
	<?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=browseprojects&Itemid=' . $this -> itemId) : $this -> loadTemplate('projects')); ?>
34
	</div>
35
</div>
36

    
(1-1/5)