| @@ 621-625 (lines=5) @@ | ||
| 618 | ||
| 619 | if ($options['searchtype'] == 'byplz') { |
|
| 620 | if ($locid == 0) { |
|
| 621 | if (isset($options['ortplz'])) { |
|
| 622 | $plz = $options['ortplz']; |
|
| 623 | } else { |
|
| 624 | $plz = $options['plz']; |
|
| 625 | } |
|
| 626 | $sql = |
|
| 627 | "SELECT `loc_id` |
|
| 628 | FROM `geodb_textdata` |
|
| @@ 687-691 (lines=5) @@ | ||
| 684 | } else { |
|
| 685 | if ($options['searchtype'] == 'byort') { |
|
| 686 | if ($locid == 0) { |
|
| 687 | if (isset($options['ortplz'])) { |
|
| 688 | $ort = $options['ortplz']; |
|
| 689 | } else { |
|
| 690 | $ort = $options['ort']; |
|
| 691 | } |
|
| 692 | $simpletexts = search_text2sort($ort, true); |
|
| 693 | $simpletextsarray = explode_multi($simpletexts, ' -/,'); |
|
| 694 | ||