@@ 254-256 (lines=3) @@ | ||
251 | $inmap_pkms_filter = rtrim($inmap_pkms_filter, ','); |
|
252 | $where .= ' AND encounter_id NOT IN ('.$inmap_pkms_filter.') '; |
|
253 | } |
|
254 | if (null != $testIv->iv && !is_null($ivMin) && ('' != $ivMin) && !($ivMax == 100 && $ivMin == 0)) { |
|
255 | $where .= ' AND iv >= ('.$ivMin.') '; |
|
256 | } |
|
257 | if (null != $testIv->iv && !is_null($ivMax) && ('' != $ivMax) && !($ivMax == 100 && $ivMin == 0)) { |
|
258 | $where .= ' AND iv <= ('.$ivMax.') '; |
|
259 | } |
|
@@ 257-259 (lines=3) @@ | ||
254 | if (null != $testIv->iv && !is_null($ivMin) && ('' != $ivMin) && !($ivMax == 100 && $ivMin == 0)) { |
|
255 | $where .= ' AND iv >= ('.$ivMin.') '; |
|
256 | } |
|
257 | if (null != $testIv->iv && !is_null($ivMax) && ('' != $ivMax) && !($ivMax == 100 && $ivMin == 0)) { |
|
258 | $where .= ' AND iv <= ('.$ivMax.') '; |
|
259 | } |
|
260 | $req = 'SELECT pokemon_id, lat AS latitude, lon AS longitude, |
|
261 | FROM_UNIXTIME(expire_timestamp) AS disappear_time, |
|
262 | FROM_UNIXTIME(expire_timestamp) AS disappear_time_real, |