Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1724 Rev 1727
Line 110... Line 110...
110
						'img_id' => $img['id_image']);
110
						'img_id' => $img['id_image']);
111
				} else {
111
				} else {
112
					if (!isset($doublons[$img['md5']])) {
112
					if (!isset($doublons[$img['md5']])) {
113
						$id_img = $md5[$img['md5']]['img_id'];
113
						$id_img = $md5[$img['md5']]['img_id'];
114
						$doublons[$img['md5']][$id_img] = $md5[$img['md5']];
114
						$doublons[$img['md5']][$id_img] = $md5[$img['md5']];
115
						$images_doublons_id[] = $this->bdd->quote($id_img);
115
						$images_doublons_id[] = Cel::db()->quote($id_img);
116
					}
116
					}
Line 117... Line 117...
117
 
117
 
118
					$doublons[$img['md5']][$img['id_image']] = array(
118
					$doublons[$img['md5']][$img['id_image']] = array(
119
							'url' => $this->getUrlImage($img['id_image'], 'CXS'), 
119
							'url' => $this->getUrlImage($img['id_image'], 'CXS'), 
120
							'obs_ordre' => array(),
120
							'obs_ordre' => array(),
121
							'img_ordre' => $img['ordre'],
121
							'img_ordre' => $img['ordre'],
122
							'img_id' => $img['id_image']);
122
							'img_id' => $img['id_image']);
123
					$images_doublons_id[] = $this->bdd->quote($img['id_image']);
123
					$images_doublons_id[] = Cel::db()->quote($img['id_image']);
124
				}
124
				}
Line 125... Line 125...
125
			}
125
			}
126
			
126