'."\n";
?>
MILSET Activities
https://www.milset.org
en-us
MILSET
https://www.milset.org/design/images/milset.png
MILSET Activities
https://www.milset.org
id,$filteredList)) continue;
if ($event->isProd == 0) continue;
$filename = null;
if (isset($event->image) && $event->image != null && $event->image != '') {
$filename = 'https://www.milset.org/tools/thumb/phpThumb.php?src=/modules/event/library/global/' . $event->id . '/' . getFileName($event->image, '_prod').'&w=100';
}
$guid = 'https://www.milset.org/' . $language.'/activities.html?detail='.$event->id.'&lang='.$language;
if ($event->htmlContent != null && $event->htmlContent != '') {
$link = $guid;
} else {
$link = $event->website;
}
if ($link == '') $link = $guid;
$dateArray = explode("-", $event->publishStartDate);
$eventDate = date("D, d M Y H:i:s O", mktime(12, 0, 0, $dateArray[1], $dateArray[2], $dateArray[0]));
$description = "$event->title\n
";
if (!is_null($filename)) {
$description .= '
'."\n";
}
$flagseparator = true;
$description .= '
Date';
if (!empty($event->publishEndDate) && $event->publishEndDate != $event->publishStartDate) {
$description .= 's: ';
} else {
$description .= ': ';
}
$description .= date("d/m/Y", strtotime($event->publishStartDate));
if (isset($event->eventStartTime) && $event->eventStartTime != '') {
$description .= ' '.date("H:i", strtotime($event->eventStartTime));
if (isset($event->eventEndTime) && $event->eventEndTime != '') {
$description .= $RESOURCES['common.separator'].date("H:i", strtotime($event->eventEndTime));
}
$flagseparator = false;
}
if (isset($event->publishEndDate) && $event->publishEndDate != '' && $event->publishEndDate != null && $event->publishEndDate != $event->publishStartDate) {
if ($flagseparator) $description .= $RESOURCES['common.separator']; else $description .= " ";
$description .= date("d/m/Y", strtotime($event->publishEndDate));
}
$eventOwner = "\n".'
Organiser';
if (strpos($event->organiser,',')>0) {
$eventOwner .= 's: '.$event->organiser;
} else {
$eventOwner .= ': '.$event->organiser;
}
if (isset($event->organiser) && $event->organiser != '' && $event->organiser != null) $description .= $eventOwner;
if ((isset($event->place) && $event->place != '' && $event->place != null) || (isset($event->country) && $event->country != '' && $event->country != null)){
$description .= "\n".'
'.$RESOURCES ['event.edit.place'].$RESOURCES ['event.edit.separator'];
if (isset($event->place) && $event->place != '' && $event->place != null) $description .= $event->place;
if ((isset($event->place) && $event->place != '' && $event->place != null) && (isset($event->country) && $event->country != '' && $event->country != null))
$description .= ', ';
if (isset($event->country) && $event->country != '' && $event->country != null) $description .= $event->country;
}
if (isset($event->number) && $event->number != '' && $event->number != null) $description .= "\n".'
'.$RESOURCES ['event.edit.number'].$RESOURCES ['event.edit.separator'].$event->number;
if (isset($event->level) && $event->level != '' && $event->level != null){
$eventLevelLabel = 'event.edit.level.'.$event->level;
$description .= "\n".'
'.$RESOURCES ['event.edit.level'].$RESOURCES ['event.edit.separator'].$RESOURCES [$eventLevelLabel];
}
if (isset($event->age) && $event->age != '' && $event->age != null) $description .= "\n".'
'.$RESOURCES ['event.edit.age'].$RESOURCES ['event.edit.separator'].$event->age;
if (isset($event->eventLanguage) && $event->eventLanguage != '' && $event->eventLanguage != null) $description .= "\n".'
'.$RESOURCES ['event.edit.eventLanguage'].$RESOURCES ['event.edit.separator'].$event->eventLanguage;
if (isset($event->participation) && $event->participation != '' && $event->participation != null) $description .= "\n".'
'.$RESOURCES ['event.edit.participation'].$RESOURCES ['event.edit.separator'].$event->participation;
if (isset($event->fee) && $event->fee != '' && $event->fee != null) $description .= "\n".'
'.$RESOURCES ['event.edit.fee'].$RESOURCES ['event.edit.separator'].$event->fee;
if (isset($event->abstract) && $event->abstract != '' && $event->abstract != null) $description .= "\n".'
'.$event->abstract;
if (isset($event->contact) && $event->contact != '' && $event->contact != null) $description .= "\n".'
'.$RESOURCES ['event.edit.contact'].$RESOURCES ['event.edit.separator'].$event->contact;
?>
-
title?>]]>
]]>
]]>
=$eventDate?>
]]>