| @@ 861-870 (lines=10) @@ | ||
| 858 | $lon[$i] = str_replace(array('E', 'W', ','), array('', '-', '.'), $latlongval[$i]->pl_long); |
|
| 859 | if ($lat[$i] && $lon[$i]) { |
|
| 860 | $count++; |
|
| 861 | } else { |
|
| 862 | // The place is in the table but has empty values |
|
| 863 | if ($name) { |
|
| 864 | if ($missing) { |
|
| 865 | $missing .= ', '; |
|
| 866 | } |
|
| 867 | $missing .= '<a href="' . $person->getHtmlUrl() . '">' . $name . '</a>'; |
|
| 868 | $miscount++; |
|
| 869 | } |
|
| 870 | } |
|
| 871 | } else { |
|
| 872 | // There was no place, or not listed in the map table |
|
| 873 | if ($name) { |
|
| @@ 871-880 (lines=10) @@ | ||
| 868 | $miscount++; |
|
| 869 | } |
|
| 870 | } |
|
| 871 | } else { |
|
| 872 | // There was no place, or not listed in the map table |
|
| 873 | if ($name) { |
|
| 874 | if ($missing) { |
|
| 875 | $missing .= ', '; |
|
| 876 | } |
|
| 877 | $missing .= '<a href="' . $person->getHtmlUrl() . '">' . $name . '</a>'; |
|
| 878 | $miscount++; |
|
| 879 | } |
|
| 880 | } |
|
| 881 | } |
|
| 882 | } |
|
| 883 | //<!-- end of count records by type --> |
|