Subversion Repositories eFlore/Applications.cel

Rev

Rev 905 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 905 Rev 996
Line 89... Line 89...
89
						$obs[$k]=utf8_decode($v);
89
						$obs[$k]=utf8_decode($v);
90
					}
90
					}
91
				} 
91
				} 
Line 92... Line 92...
92
 
92
 
93
				if ($obs['date_observation']!="0000-00-00 00:00:00") {
93
				if ($obs['date_observation']!="0000-00-00 00:00:00") {
94
                	list($year,$month,$day)= split ('-',$obs['date_observation']);
94
                	list($year,$month,$day)= explode('-',$obs['date_observation']);
95
    	            list($day)= split (' ',$day);
95
    	            list($day)= explode(' ',$day);
96
	                $obs['date_observation']=$day."/".$month."/".$year;
96
	                $obs['date_observation']=$day."/".$month."/".$year;
97
    	    	}
97
    	    	}
98
        		else {
98
        		else {
99
            	    $obs['date_observation']="00/00/0000";
99
            	    $obs['date_observation']="00/00/0000";