X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/effd8e12af440586594a18a04beb33abed260d15..f05ea577f42c5ad4a62ff25ec62fbb60c550ee26:/website/polygons.php diff --git a/website/polygons.php b/website/polygons.php index a8abd83b..2e7197ab 100755 --- a/website/polygons.php +++ b/website/polygons.php @@ -17,8 +17,7 @@ $iTotalBroken = (int) chksql($oDB->getOne('select count(*) from import_polygon_error')); $aPolygons = array(); - while($iTotalBroken && !sizeof($aPolygons)) - { + while ($iTotalBroken && !sizeof($aPolygons)) { $sSQL = 'select osm_type as "type",osm_id as "id",class as "key",type as "value",name->\'name\' as "name",'; $sSQL .= 'country_code as "country",errormessage as "error message",updated'; $sSQL .= " from import_polygon_error"; @@ -31,8 +30,7 @@ $aPolygons = chksql($oDB->getAll($sSQL)); } - if (CONST_Debug) - { + if (CONST_Debug) { var_dump($aPolygons); exit; } @@ -89,32 +87,25 @@ table td { echo "
".$sCol." | "; } echo ""; echo " | "; echo " | ||
---|---|---|---|---|
".($sVal?$sVal:' ')." | "; - } - else - { + } else { echo "".($sVal?$sVal:' ')." | "; } break; @@ -127,12 +118,9 @@ table td { } } echo "josm | "; - if (isset($aRow['lat'])) - { + if (isset($aRow['lat'])) { echo "P2 | "; - } - else - { + } else { echo ""; } echo " |