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
JViewLegacy:: loadHelper('PublicationHelper');
11
JViewLegacy:: loadHelper('DatasetHelper');
12

    
13
$document = JFactory :: getDocument();
14
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/project.js'));
15
$document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/tabcontent.css'));
16
$document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/tabcontent.js'));
17
$document->setTitle("Project:".(($this -> project == NULL) ||($this -> project -> title == NULL) ? '' : $this -> project -> title));
18
$parameters = JComponentHelper :: getParams('com_openaire');
19
?>
20
<!-- Go to www.addthis.com/dashboard to customize your tools -->
21
<script type="text/javascript" src="<?php echo(JRoute :: _($parameters -> get('addThisUrl')) .JRoute :: _($parameters -> get('addThisPubId') )); ?>" async="async"></script>
22

    
23
<div id="system" class="uk-grid">
24
	<?php if (($this -> projectId == NULL) || ($this -> project == NULL) || (($this -> project -> acronym == NULL) && ($this -> project -> title == NULL))) { ?>
25
		<div class="error"><?php echo(JText :: _('ERROR_RETRIEVING_PROJECT')); ?></div>
26
	<?php } else { ?>
27
		<div class="uk-width-7-10">
28
			<div class="projectBox">
29
				<div class="projectIcon">
30
				<h3<?php echo(($this -> project -> sc39) ? (' class="sc39" title="' . JText :: _('SPECIAL_CLAUSE_39') . '"') : ''); ?>><?php echo(($this -> project -> acronym == NULL) ? $this -> project -> title : $this -> project -> acronym); ?></h3>
31
				</div>
32
				<dl class="uk-description-list-horizontal">
33
					<dt><?php echo(JText :: _('TITLE')); ?></dt>
34
					<dd><?php echo(($this -> project -> title == NULL) ? '-' : $this -> project -> title); ?></dd>
35
					<!--<dt><?php echo(JText :: _('FUNDER')); ?></dt>
36
					<dd><?php echo(($this -> project -> funder == NULL) ? '-' : $this -> project -> funder)?></dd>
37
					<dt><?php echo(JText :: _('FUNDING_STREAM')); ?></dt>
38
					<dd><?php echo(($this -> project -> fundingStream == NULL) ? '-' : $this -> project -> fundingStream); ?></dd>
39
					<dt><?php echo(JText :: _('SCIENTIFIC_AREA')); ?></dt>
40
					<dd><?php echo(($this -> project -> scientificArea == NULL) ? '-' : $this -> project -> scientificArea); ?></dd>
41
                                        <dt><?php echo(JText :: _('FUNDING_STREAM_LEVEL2')); ?></dt>
42
					<dd><?php echo(($this -> project -> fundingStreamLevel2 == NULL) ? '-' : $this -> project -> fundingStreamLevel2); ?></dd>-->
43
					<dt><?php echo(JText :: _('FUNDING')); ?></dt>					
44
					<dd><?php echo(($this -> project -> funder == NULL) ? '-' : $this -> project -> funder.
45
					($this -> project -> fundingStream!==NULL?' '.JText :: _('FUNDER_SEPARATOR').$this -> project -> fundingStream.' ':'')
46
					.($this -> project -> scientificArea!==NULL?' '.JText :: _('FUNDER_SEPARATOR').$this -> project -> scientificArea.' ':'').
47
					($this -> project -> fundingStreamLevel2!==NULL?' '.JText :: _('FUNDER_SEPARATOR').$this -> project -> fundingStreamLevel2.' ':''))?>
48
					</dd>
49
					<?php if($this -> project -> call !== NULL && $this -> project -> call!==''){ 
50
						 echo('<dt>'.JText :: _('CALL').'</dt>'.
51
						 '<dd>'. $this -> project -> call.'</dd>');
52
					}?>
53
					<dt><?php echo(JText :: _('CONTRACT_GA_NUMBER')); ?></dt>
54
					<dd><?php echo(($this -> project -> code == NULL) ? '-' : $this -> project -> code);?></dd>
55
					<dt><?php echo(JText :: _('START_DATE')); ?></dt>
56
					<dd><?php echo(($this -> project -> startDate == NULL) ? '-' : date(JText :: _('DATE_FORMAT'), ($this -> project -> startDate))); ?></dd>
57
					<dt><?php echo(JText :: _('END_DATE')); ?></dt>
58
					<dd><?php echo(($this -> project -> endDate == NULL) ? '-' : date(JText :: _('DATE_FORMAT'), ($this -> project -> endDate))); ?></dd>
59
					<?php if($this -> project -> oaMandate !== NULL ){ 
60
						 echo('<dt>'.JText :: _('OPEN_ACCESS_MANDATE').'</dt>'.
61
						 '<dd>'.JText :: _($this -> project -> oaMandate ? 'YES__' : 'NO__') .'</dd>');
62
					}?>
63
					<?php if($this -> project -> sc39 !== NULL){ ?>
64
						<dt><?php echo(JText :: _('SPECIAL_CLAUSE_39')); ?></dt>
65
						<dd><?php echo(JText :: _($this -> project -> sc39 ? 'YES__' : 'NO__')); ?></dd>
66
					<?php }?>
67
					<?php if($this -> project -> dataPilot !== NULL){ 
68
						 echo('<dt>'.JText :: _('DATA_PILOT').'</dt>'.
69
						 '<dd>'. JText :: _($this -> project -> dataPilot? 'YES__' : 'NO__').'</dd>');
70
					}?>
71
					<?php $itemId = $this -> itemId; ?>
72
					<dt><?php echo(JText :: _('ORGANIZATIONS')); ?></dt>                                                                               
73
					<dd><?php echo(($this -> project -> organizations == NULL) ? '-' : implode(', ', array_filter(array_map(function ($organization) use ($itemId) {return (($organization == NULL) || (($organization -> shortName == NULL) && ($organization -> name == NULL))) ? '' : ((($organization -> id == NULL) ? '' : '<a href="' . JRoute :: _( 'index.php?option=com_openaire&view=organization&Itemid=' . $itemId . '&organizationId=' . $organization -> id) . '">') . (($organization -> shortName == NULL) ? $organization -> name : $organization -> shortName) . (($organization -> id == NULL) ? '' : '</a>'));}, $this -> project -> organizations)))); ?></dd>
74
					<dt><?php echo(JText :: _('MORE_INFORMATION')); ?></dt>
75
					<dd>
76
                                            
77
                                            <?php                                            
78
                                                //if($this-> project->funding->funding_level_0!=="FP7"){ 
79
                                                if($this-> project->funder!=null&&$this-> project->funder!=="EC"){ 
80
                                                        echo(($this->project -> url!==null&&!empty($this->project -> url))?'<a href="'.$this->project -> url.'" target="_blank" class="custom-external">'.$this->project->url.'</a>':'-');
81
                                                ?>
82
                                               
83
                                               
84
                                                   <?php }else{ ?>
85
                                                <a href="http://cordis.europa.eu/projects/<?php echo($this -> project -> code); ?>" target="_blank" class="custom-external"><?php echo(JText :: _('DETAILED_PROJECT_INFORMATION_CORDIS_')); ?></a>
86
                                            <?php } ?>
87
                                        </dd>
88
				</dl>
89
			</div>
90
			<p>&nbsp;</p>
91
			<div>
92
 					<ul class="uk-tab"  data-uk-tab="{connect:'#tab-content'}"  > 
93
						<li class="uk-active"><a rel="publtab"><?php echo(JText :: _('PUBLICATIONS').' ('.$this -> publications -> totalPublications.')'); ?></a></li>
94
						<li><a rel="datatab"><?php echo(JText :: _('DATA').' ('.$this -> publications -> totalDatasets.')'); ?></a></li>		
95
						<li ><a rel="statstab"><?php echo(JText :: _('STATISTICS').'&nbsp;<i class="uk-icon-pie-chart uk-icon-small"></i>'); ?></a></li>
96
					</ul>
97
 				<ul id="tab-content" class="uk-switcher uk-margin">  
98
					<li id="publtab" >
99
						<?php if ($this -> publications == NULL) { ?>
100
							<div class="error"><?php echo(JText :: _('ERROR_RETRIEVING_PROJECT_PUBLICATIONS')); ?></div>
101
						<?php } else if ($this -> publications -> publications == NULL) { ?>
102
							<div class="box-info"><?php echo(JText :: _('NO_PROJECT_PUBLICATIONS_FOUND')); ?></div>
103
						<?php } else { ?>				
104
							<div class="searchResults">
105
								<?php if ($this -> publications -> totalPublications > OpenAireViewProject :: SIZE) { ?>
106
									<div class="pageController">
107
										<a class="viewall" href="<?php echo(JRoute :: _( 'index.php?option=com_openaire&view=browsepublications&Itemid=' . $this -> itemId . '&project=' . $this -> projectId)); ?> "><?php JText :: printf('VIEW_ALL_N', $this -> publications -> totalPublications); ?></a>
108
									</div>
109
								<?php }
110
								foreach ($this -> publications -> publications as $publication) {
111
									echo(PublicationHelper :: formatPublication($publication, $this -> itemId));
112
								} ?>
113
							</div>
114
						<?php } ?>
115
					</li>
116
					<li id="datatab"  >
117
						<?php if ($this -> datasets == NULL) { ?>
118
							<div class="error"><?php echo(JText :: _('ERROR_RETRIEVING_PROJECT_DATASETS')); ?></div>
119
						<?php } else if ($this -> datasets -> datasets == NULL) { ?>
120
							<div class="box-info"><?php echo(JText :: _('NO_PROJECT_DATASETS_FOUND')); ?></div>
121
						<?php } else { ?>				
122
							<div class="searchResults">
123
								<?php if ($this -> datasets -> totalDatasets > OpenAireViewProject :: SIZE) { ?>
124
									<div class="pageController">
125
										<a class="viewall" href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=browsedatasets&Itemid=' . $this -> itemId . '&project=' . $this -> projectId)); ?> "><?php JText :: printf('VIEW_ALL_N', $this -> datasets -> totalDatasets); ?></a>
126
									</div>
127
								<?php }
128
								foreach ($this -> datasets -> datasets as $dataset) {
129
									echo(DatasetHelper :: formatDataset($dataset, $this -> itemId));
130
								} ?>
131
							</div>
132
						<?php } ?>
133
					</li>
134
					<li id="statstab"  >
135
						<div class="error" style="display: none;"><?php echo(JText :: _('NO_PROJECT_STATISTICS_FOUND')); ?></div>
136
						<?php if (($this -> publications -> publications == NULL) ) { ?>
137
							<div class="box-info"><?php echo(JText :: _('NO_PROJECT_STATISTICS_FOUND')); ?></div>
138
						<?php } else { ?>
139
                                                        <div id="scientificResults">                                                            
140
                                                            <h3><?php echo(JText :: _('SCIENTIFIC_RESULTS')); ?></h3>
141
                                                             <div class="loading">
142
                                                                <?php echo(JText :: _('PLEASE_WAIT_CHART_IS_LOADING_')); ?>
143
                                                                <img  class="loader  " src="./components/com_openaire/images/loader.gif" />
144
                                                            </div>
145
                                                               <?php 
146
                                                           
147
                                                            
148
                                  //   $url =$this -> chartUrl.'chart.php?com=query&persistent=false&data={"emp": [' . (($this -> project -> startYear == NULL) ? OpenAireViewProject :: DEFAULT_START_YEAR : $this -> project -> startYear) . ', ' . (($this -> project -> endYear == NULL) ? OpenAireViewProject :: DEFAULT_END_YEAR : $this -> project -> endYear) . '],"bands": [[' . (($this -> project -> startYear == NULL) ? OpenAireViewProject :: DEFAULT_START_YEAR : $this -> project -> startYear) . ', ' . (($this -> project -> endYear == NULL) ? OpenAireViewProject :: DEFAULT_END_YEAR : $this -> project -> endYear) . ']],"table": "result","fields": [{"fld": "number","agg": "count","type": "spline","yaxis": 1,"c": false}],"xaxis": {"name": "year","agg": "avg"},"group": "","color": "","type": "chart","size": 30,"sort": "xaxis","xStyle": {"r": "-","s": "-","l": "-","ft": "-","wt": "-"},"yaxisheaders": [""],"fieldsheaders": [""],"in": [{"f": 0,"text": "Yearly"}],"filters": [{"name": "result_projects-project-title","values": ["'.$this -> project -> title. '"],"to": "-1"},{"name": "year","max": "' . ((($this -> project -> endYear == NULL) ? OpenAireViewProject :: DEFAULT_END_YEAR : $this -> project -> endYear) + 5) . '","min": "' . ((($this -> project -> startYear == NULL) ? OpenAireViewProject :: DEFAULT_START_YEAR : $this -> project -> startYear) - 2) . '","to": -1}],"having": [],"incfilters": [],"inchaving": [],"yaxisheaders": ["publications"]}&h=70%';
149
                                       $url =$this -> chartUrl.'chart.php?com=query&persistent=false&data={"query":"projScient","projTitle":"'.$this -> projectId.'", "emp": [' . (($this -> project -> startYear == NULL) ? OpenAireViewProject :: DEFAULT_START_YEAR : $this -> project -> startYear) . ', ' . (($this -> project -> endYear == NULL) ? OpenAireViewProject :: DEFAULT_END_YEAR : $this -> project -> endYear) . '],"bands": [[' . (($this -> project -> startYear == NULL) ? OpenAireViewProject :: DEFAULT_START_YEAR : $this -> project -> startYear) . ', ' . (($this -> project -> endYear == NULL) ? OpenAireViewProject :: DEFAULT_END_YEAR : $this -> project -> endYear) . ']],"table":"result","fields": [{"fld": "number","agg": "count","type": "spline","yaxis": 1,"c": false}],"xaxis": {"name": "year","agg": "avg"},"group": "","color": "","type": "chart","size": 30,"sort": "xaxis","xStyle": {"r": "-","s": "-","l": "-","ft": "-","wt": "-"},"yaxisheaders": [""],"fieldsheaders": [""],"in": [{"f": 0,"text": "Yearly"}],"filters": [{"name": "result_projects-project-title","values": ["'.$this -> project -> title. '"],"to": "-1"},{"name": "year","max": "' . ((($this -> project -> endYear == NULL) ? OpenAireViewProject :: DEFAULT_END_YEAR : $this -> project -> endYear) + 5) . '","min": "' . ((($this -> project -> startYear == NULL) ? OpenAireViewProject :: DEFAULT_START_YEAR : $this -> project -> startYear) - 2) . '","to": -1}],"having": [],"incfilters": [],"inchaving": [],"yaxisheaders": ["publications"]}&h=70%';
150
                                                         
151
                                                            $document->addScriptDeclaration("var scientificResultsUrl = '" . $url."'");                
152
                                                                ?>
153
                                                            <div class="frame"> </div>
154
                                                        </div>
155
                                                         <div id="publicationsAccessMode"> 
156
                                                            <h3><?php echo(JText :: _('PUBLICATIONS BY ACCESS MODE')); ?></h3>
157
                                                             <div class="loading">
158
                                                                <?php echo(JText :: _('PLEASE_WAIT_CHART_IS_LOADING_')); ?>
159
                                                                <img  class="loader  " src="./components/com_openaire/images/loader.gif" />
160
                                                            </div>
161
                                                             <?php 
162
                                                          
163
                                                       // $url =$this -> chartUrl.'chart.php?com=query&persistent=false&data={"table": "result", "fields": [{"fld": "number", "agg": "count", "type": "pie", "yaxis": 1, "c": false}], "xaxis": {"name": "bestlicense", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size": 30, "sort": "xaxis", "xStyle": {"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["' . JText :: _('PUBLICATIONS') . '"], "in": [], "filters": [{"name": "result_projects-project-title", "values": ["' .$this -> project -> title  . '"], "to": "-1"}], "having": [], "title": "","subtitle": "", "xaxistitle": ""}';
164
                          
165
                                                      $url =$this -> chartUrl.'chart.php?com=query&persistent=false&data={"query":"projOA","projTitle":"'.$this -> projectId.'","table": "result", "fields": [{"fld": "number", "agg": "count", "type": "pie", "yaxis": 1, "c": false}], "xaxis": {"name": "bestlicense", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size": 30, "sort": "xaxis", "xStyle": {"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["' . JText :: _('PUBLICATIONS') . '"], "in": [], "filters": [{"name": "result_projects-project-title", "values": ["' .$this -> project -> title  . '"], "to": "-1"}], "having": [], "title": "","subtitle": "", "xaxistitle": ""}';
166
                              
167
                                                             $document->addScriptDeclaration("var  publicationsAccessModeUrl = '" . $url."'");                
168
                                                                ?>
169
                                                            <div class="frame"> </div>
170
							 </div>                                                        
171
                                                        <div id="publicationsInRepositories"> 
172
                                                            <h3><?php echo(JText :: _('PUBLICATIONS_IN_REPOSITORIES')); ?></h3>
173
                                                            <div class="loading">
174
                                                                <?php echo(JText :: _('PLEASE_WAIT_CHART_IS_LOADING_')); ?>
175
                                                                <img  class="loader  " src="./components/com_openaire/images/loader.gif" />
176
                                                            </div>
177
                                                            <?php 
178
                                                            // $url =$this -> chartUrl.'chart.php?com=query&persistent=false&data={"table": "result", "fields": [{"fld": "number", "agg": "count", "type": "column", "yaxis": 1, "c": false}], "xaxis": {"name": "result_datasources-datasource-name", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size": 30, "sort": "count-number", "xStyle": {"r": "90", "s": "-", "l": "-", "ft": "10", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["' . JText :: _('PUBLICATIONS') . '"], "in": [], "filters": [{"name": "result_projects-project-title", "values": ["'.$this -> project -> title.'"], "to": "-1"}, {"name": "type", "values": ["publication"], "to": "-1"}], "having": [], "title": "", "subtitle": "", "xaxistitle": "' . JText :: _('REPOSITORIES') . '", "order": "d"}&w=90%';
179
                                                            $url =$this -> chartUrl.'chart.php?com=query&persistent=false&data={"query":"projPubsRepos","projTitle":"'.$this -> projectId.'","table": "result", "fields": [{"fld": "number", "agg": "count", "type": "column", "yaxis": 1, "c": false}], "xaxis": {"name": "result_datasources-datasource-name", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size": 30, "sort": "count-number", "xStyle": {"r": "90", "s": "-", "l": "-", "ft": "10", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["' . JText :: _('PUBLICATIONS') . '"], "in": [], "filters": [{"name": "result_projects-project-title", "values": ["'.$this -> project -> title.'"], "to": "-1"}, {"name": "type", "values": ["publication"], "to": "-1"}], "having": [], "title": "", "subtitle": "", "xaxistitle": "' . JText :: _('REPOSITORIES') . '", "order": "d"}&w=90%';
180
                                                    
181
                                                            $document->addScriptDeclaration("var publicationsInRepositoriesUrl = '" . $url."'");                
182
                                                                ?>
183
                                                            <div class="frame"> </div>
184
                                                             </div>
185
						<?php } ?>
186
					</li>
187
				</ul>
188
			</div>
189
		</div>
190
                <div class="uk-width-3-10">
191
                        <div class="functionsSection">
192
                            <h3 class="title"><?php echo(JText :: _('SHARE_BOOKMARK')); ?></h3>
193
                            <!-- Go to www.addthis.com/dashboard to customize your tools -->
194
                            <div class="addthis_sharing_toolbox"></div>
195
                        </div>
196
			<div class="appBox">
197
				<h3><?php echo(JText :: _('APP_BOX')); ?></h3>
198
				<ul class="uk-list uk-list-striped">
199
					<li>
200
						<a href="<?php echo(JRoute :: _( 'index.php?option=com_openaire&view=browsepublications&Itemid=' . $this -> itemId . '&project=' . $this -> projectId)); ?>" class="pubDets"><?php echo(JText :: _('PUBLICATION_DETAILS')); ?></a>
201
					</li>
202
					<li>
203
						<a href="#" id="showSnippet" class="incHTM"><?php echo(JText :: _('DYNAMICALLY_INCORPORATE_PUBLICATIONS_IN_YOUR_SITE_HTML_')); ?></a>
204
						<div id="snippet" style="display: none;">
205
							<a href="#" id="hideSnippet" class="hide_details"><?php echo(JText :: _('CLOSE')); ?></a>
206
							<code>
207
								<pre>
208
			&lt;script type=&quot;text/javascript&quot;&gt;
209
			&lt;!--
210
			document.write('&lt;div id=&quot;oa_widget&quot;&gt;&lt;/div&gt;');
211
			document.write('&lt;script type=&quot;text/javascript&quot; src=&quot;<?php echo(JRoute :: _(JUri :: base() . 'index.php?option=com_openaire&view=widget&format=raw&projectId=' . $this -> projectId)); ?>&quot;&gt;&lt;/script&gt;');
212
			--&gt;
213
			&lt;/script&gt;
214
								</pre>	
215
							</code>
216
						</div>
217
					</li>
218
					<li>
219
						<a target="_blank" href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=publications&Itemid=' . $this -> itemId . '&format=raw&projectId=' . $this -> projectId.'&size='.$this -> publications -> totalPublications)); ?>" class="viewEC"><?php JText :: printf('VIEW_FUNDER_PROGRESS_REPORT_HTML_',$this -> project -> funder == NULL ? ' ' : $this -> project -> funder);   ?></a>
220
					</li>
221
					<li>
222
						<a href="<?php echo(JRoute :: _( 'index.php?option=com_openaire&view=publications&Itemid=' . $this -> itemId . '&format=raw&layout=csv&projectId=' . $this -> projectId.'&size='.$this -> publications -> totalPublications)); ?>" class="dlEC"><?php JText :: printf('DOWNLOAD_FUNDER_PROGRESS_REPORT_CSV_',$this -> project -> funder == NULL ? ' ' : $this -> project -> funder); ?></a>
223
					</li>
224
				
225
                                        <li class="publicationControls">
226
                                                <div><a href="<?php echo(JRoute :: _('index.php?option=com_openaire&view=claim1&Itemid=' . $this -> itemId.'&projectId='.$this -> projectId.'&action=addProject')); ?>" class="button-primary"><?php echo(JText :: _('LINK_RESEARCH_RESULTS')); ?></a></div>
227
                                                <div><a href="<?php echo(JRoute :: _( 'index.php?option=com_openaire&view=ingestion1&Itemid=' . $this -> itemId)); ?>" class="button-primary"><?php echo(JText :: _('DEPOSIT_PUBLICATIONS')); ?></a></div>
228
                                        </li>
229
                                    </ul>
230
			</div>
231
		</div>
232
	<?php } ?>
233
</div>
234
<?php
235
 //$document->addScriptDeclaration("var latestPublicationsTimelineUrl = '" .$this -> projectStatisticsChartUrl."chart.php?com=query&data={%22table%22: %22result%22, %22fields%22: [{%22fld%22: %22number%22, %22agg%22: %22count%22, %22type%22: %22line%22, %22yaxis%22:1, %22c%22:true}], %22xaxis%22:{%22name%22: %22year%22, %22agg%22: %22avg%22}, %22group%22: %22%22, %22color%22: %22%22, %22type%22: %22chart%22, %22size%22:30, %22sort%22: %22xaxis%22, %22xStyle%22:{%22r%22: %22-%22, %22s%22: %22-%22, %22l%22: %22-%22, %22ft%22: %22-%22, %22wt%22: %22-%22}, %22yaxisheaders%22: [%22%22], %22fieldsheaders%22: [%22".(JText :: _('PUBLICATIONS'))."%22], %22in%22: [{%22f%22:0, %22text%22: %22".(JText ::_('YEARLY'))."%22}], %22filters%22: [{%22name%22:%22year%22,%22max%22:%22". date("Y",strtotime("-1 year"))."%22,%22min%22:%22".date("Y",strtotime("-20 year"))."%22},{%22name%22: %22result_datasources-datasource-name%22, %22values%22:[%22".$sanitized."%22], %22to%22: %22-1%22}],%22having%22: [], %22incfilters%22: [], %22inchaving%22: [], %22title%22: %22%22, %22subtitle%22: %22%22, %22xaxistitle%22: %22".JText :: _('YEAR')."%22}'");
236
?>
(1-1/2)