Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1545 Rev 1581
Line 113... Line 113...
113
			'bot' => 'int', 
113
			'bot' => 'int', 
114
			'zg' => 'str', 
114
			'zg' => 'str', 
115
			'p' => 'str', 
115
			'p' => 'str', 
116
			'pr' => 'int',
116
			'pr' => 'int',
117
			'str-d' => 'defaut',
117
			'str-d' => 'defaut',
118
			'veg' => 'int');
118
			'veg' => 'int',
-
 
119
			'projets' => 'int');
Line 119... Line 120...
119
		
120
		
120
		$p = $this->traiterParametresUrl(array_keys($params_passes), $param, false);
121
		$p = $this->traiterParametresUrl(array_keys($params_passes), $param, false);
121
		$this->debug[] = $param;
122
		$this->debug[] = $param;
122
		foreach ($params_passes as $param_passe => $type) {
123
		foreach ($params_passes as $param_passe => $type) {
Line 234... Line 235...
234
				foreach ($veg as $id) {
235
				foreach ($veg as $id) {
235
					$recherche[] = "ccb_truk_nature LIKE '%$id%'";
236
					$recherche[] = "ccb_truk_nature LIKE '%$id%'";
236
				}
237
				}
237
				$where .= 'AND ('.implode(' OR ', $recherche).') ';
238
				$where .= 'AND ('.implode(' OR ', $recherche).') ';
238
			}
239
			}
239
		} 
240
		}
-
 
241
		
-
 
242
		if (isset($p['projets'])) {
-
 
243
			$where .= "AND cc_ce_projet IN ({$p['projets']}) ".
-
 
244
				"AND cs_ce_projet IN ({$p['projets']}) ";
-
 
245
		}
Line 240... Line 246...
240
		
246
		
Line 241... Line 247...
241
		$where = str_replace('WHERE AND', 'WHERE', $where);
247
		$where = str_replace('WHERE AND', 'WHERE', $where);
242
		
248