Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 540 Rev 624
Line 24... Line 24...
24
 
24
 
Line 25... Line 25...
25
	function getElement($uid){
25
	function getElement($uid){
26
 
26
 
27
		   // Controle detournement utilisateur
27
		   // Controle detournement utilisateur
28
		    session_start();
-
 
29
		 $this->controleUtilisateur($uid[0]);
-
 
Line 30... Line 28...
30
 
28
		    session_start();
Line 31... Line 29...
31
 
29
		 	$this->controleUtilisateur($uid[0]);
Line 137... Line 135...
137
 
135
 
Line 138... Line 136...
138
			$workbook->send('liste.xls');
136
			$workbook->send('liste.xls');
139
 
137
 
140
			// Creating a worksheet
-
 
141
			$worksheet = $workbook->addWorksheet('Liste');
138
			// Creating a worksheet
142
 
139
			$worksheet = $workbook->addWorksheet('Liste');
143
 
140
			
144
            $worksheet->write(0,0,'Nom saisi');
141
            $worksheet->write(0,0,'Espece');
145
            $worksheet->write(0,1,'Numero nomenclatural');
142
            $worksheet->write(0,1,'Numero nomenclatural');
146
            $worksheet->write(0,2,'Nom retenu');
143
            $worksheet->write(0,2,'Nom retenu');
147
            $worksheet->write(0,3,'Numero nomenclatural nom retenu');
144
            $worksheet->write(0,3,'Numero nomenclatural nom retenu');
148
            $worksheet->write(0,4,'Numero taxonomique');
145
            $worksheet->write(0,4,'Numero taxonomique');
149
            $worksheet->write(0,5,'Famille');
146
            $worksheet->write(0,5,'Famille');
150
            $worksheet->write(0,6,'Commune');
147
            $worksheet->write(0,6,'Commune');
151
            $worksheet->write(0,7,'Identifiant Commune');
148
            $worksheet->write(0,7,'Identifiant Commune');
152
            $worksheet->write(0,8,'Date Observation');
149
            $worksheet->write(0,8,'Date');
153
            $worksheet->write(0,9,'Lieu dit');
150
            $worksheet->write(0,9,'Lieu-dit');
154
            $worksheet->write(0,10,'Station');
151
            $worksheet->write(0,10,'Station');
155
            $worksheet->write(0,11,'Milieu');
152
            $worksheet->write(0,11,'Milieu');
156
            $worksheet->write(0,12,'Commentaire');
153
            $worksheet->write(0,12,'Notes');
157
            $worksheet->write(0,13,'X');
154
            $worksheet->write(0,13,'Latitude');
Line 158... Line 155...
158
            $worksheet->write(0,14,'Y');
155
            $worksheet->write(0,14,'Longitude');