Subversion Repositories eFlore/Applications.cel

Rev

Rev 2009 | Rev 2446 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2009 Rev 2015
Line 82... Line 82...
82
			$xml .= '		dcterms:spatial="'.utf8_decode($picture['zone_geo'])." (".$picture['ce_zone_geo'].")".'"'."\n";
82
			$xml .= '		dcterms:spatial="'.utf8_decode($picture['zone_geo'])." (".$picture['ce_zone_geo'].")".'"'."\n";
Line 83... Line 83...
83
			
83
			
84
	        if ($picture['date_observation'] != '0000-00-00 00:00:00') {
84
	        if ($picture['date_observation'] != '0000-00-00 00:00:00') {
85
				$yearMonthDay = explode('-',$picture['date_observation']);
85
				$yearMonthDay = explode('-',$picture['date_observation']);
-
 
86
				$year = $yearMonthDay[0];
-
 
87
				$month = 0;
86
				$year = $yearMonthDay[0];
88
				$day = 0;
87
				if (count($yearMonthDay) > 1) {
89
				if (count($yearMonthDay) > 1) {
88
					$month = $yearMonthDay[1];
90
					$month = $yearMonthDay[1];
89
				}
91
				}
90
				if (count($yearMonthDay) > 2) {
92
				if (count($yearMonthDay) > 2) {