| Latest Publications:
|
if($latest_publications!=null){
foreach ($latest_publications as $latest_publication)
{
echo '| ';
$date_publish=str_replace('-00','',$latest_publication['date_publish']);
$date_publish=str_replace('0000','',$latest_publication['date_publish']);
if (strlen($date_publish)>6)
echo date('M Y',strtotime($date_publish));
else
echo $date_publish;
echo ' | '.$latest_publication['title'].' | ';
}
}
else echo '| No publications related to the project :(. | ';
?>
|
|
Latest News:
|
if($project_news!=null){
foreach ($project_news as $news)
{
echo '| '.date('M Y',strtotime($news['date_time_start'])).' |
'.$news['title'].' | ';
}
}
else echo '| Nothing new here :(. | ';
?>
|