itemId;
for ($i = 0; ($i < count($this -> keywords)) && ($i < count($this -> fields)) && ($i < count($this -> constraints)); $i++)
$baseUrl .= '&keyword%5B%5D=' . $this -> keywords[$i] . '&field%5B%5D=' . $this -> fields[$i] . '&constraint%5B%5D=' . $this -> constraints[$i];
foreach ($this -> funders as $funder)
$baseUrl .= '&funder%5B%5D=' . urlencode($funder);
foreach ($this -> fundingStreams as $fundingStream)
$baseUrl .= '&fundingStream%5B%5D=' . urlencode($fundingStream);
foreach ($this -> scientificAreas as $scientificArea)
$baseUrl .= '&scientificArea%5B%5D=' . urlencode($scientificArea);
$baseUrl .= '&startDate=' . $this -> startDate . '&startFromMonth=' . $this -> startFromMonth . '&startFromYear=' . $this -> startFromYear . '&startToMonth=' . $this -> startToMonth . '&startToYear=' . $this -> startToYear . '&endDate=' . $this -> endDate . '&endFromMonth=' . $this -> endFromMonth . '&endFromYear=' . $this -> endFromYear . '&endToMonth=' . $this -> endToMonth . '&endToYear=' . $this -> endToYear;
foreach ($this -> sc39s as $sc39)
$baseUrl .= '&sc39%5B%5D=' . urlencode($sc39 ? 'true' : 'false');
$baseUrl .= '&page=1&size=' . $this -> size . '&noscroll=true';
echo(FilterHelper :: formatFilters($this -> filters, $this -> result -> statistics, $baseUrl, '#projtab'));
echo(StatisticHelper :: formatStatistics($this -> result -> statistics, $this -> filters, $baseUrl, '#projtab')); ?>
loadTemplate('form'));
if ((($this -> keywords != NULL) && ($this -> fields != NULL) && ($this -> constraints != NULL)) || ($this -> funders != NULL) || ($this -> fundingStreams != NULL) || ($this -> scientificAreas != NULL) || ($this -> startDate != -1) || ($this -> endDate != -1) || ($this -> sc39s != NULL)) {
echo($this -> loadTemplate('projects'));
} ?>