|
@@ 1303-1306 (lines=4) @@
|
| 1300 |
|
|
| 1301 |
|
if ($globalDebug) echo "Owner France: Download..."; |
| 1302 |
|
update_db::download('http://antonakis.co.uk/registers/France.txt',$tmp_dir.'owner_f.csv'); |
| 1303 |
|
if (file_exists($tmp_dir.'owner_f.csv')) { |
| 1304 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1305 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_f.csv','F'); |
| 1306 |
|
} else $error = "File ".$tmp_dir.'owner_f.csv'." doesn't exist. Download failed."; |
| 1307 |
|
if ($error != '') { |
| 1308 |
|
return $error; |
| 1309 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1313-1316 (lines=4) @@
|
| 1310 |
|
|
| 1311 |
|
if ($globalDebug) echo "Owner Ireland: Download..."; |
| 1312 |
|
update_db::download('http://antonakis.co.uk/registers/Ireland.txt',$tmp_dir.'owner_ei.csv'); |
| 1313 |
|
if (file_exists($tmp_dir.'owner_ei.csv')) { |
| 1314 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1315 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_ei.csv','EI'); |
| 1316 |
|
} else $error = "File ".$tmp_dir.'owner_ei.csv'." doesn't exist. Download failed."; |
| 1317 |
|
if ($error != '') { |
| 1318 |
|
return $error; |
| 1319 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1322-1325 (lines=4) @@
|
| 1319 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1320 |
|
if ($globalDebug) echo "Owner Switzerland: Download..."; |
| 1321 |
|
update_db::download('http://antonakis.co.uk/registers/Switzerland.txt',$tmp_dir.'owner_hb.csv'); |
| 1322 |
|
if (file_exists($tmp_dir.'owner_hb.csv')) { |
| 1323 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1324 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_hb.csv','HB'); |
| 1325 |
|
} else $error = "File ".$tmp_dir.'owner_hb.csv'." doesn't exist. Download failed."; |
| 1326 |
|
if ($error != '') { |
| 1327 |
|
return $error; |
| 1328 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1331-1334 (lines=4) @@
|
| 1328 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1329 |
|
if ($globalDebug) echo "Owner Czech Republic: Download..."; |
| 1330 |
|
update_db::download('http://antonakis.co.uk/registers/CzechRepublic.txt',$tmp_dir.'owner_ok.csv'); |
| 1331 |
|
if (file_exists($tmp_dir.'owner_ok.csv')) { |
| 1332 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1333 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_ok.csv','OK'); |
| 1334 |
|
} else $error = "File ".$tmp_dir.'owner_ok.csv'." doesn't exist. Download failed."; |
| 1335 |
|
if ($error != '') { |
| 1336 |
|
return $error; |
| 1337 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1340-1343 (lines=4) @@
|
| 1337 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1338 |
|
if ($globalDebug) echo "Owner Australia: Download..."; |
| 1339 |
|
update_db::download('http://antonakis.co.uk/registers/Australia.txt',$tmp_dir.'owner_vh.csv'); |
| 1340 |
|
if (file_exists($tmp_dir.'owner_vh.csv')) { |
| 1341 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1342 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_vh.csv','VH'); |
| 1343 |
|
} else $error = "File ".$tmp_dir.'owner_vh.csv'." doesn't exist. Download failed."; |
| 1344 |
|
if ($error != '') { |
| 1345 |
|
return $error; |
| 1346 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1349-1352 (lines=4) @@
|
| 1346 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1347 |
|
if ($globalDebug) echo "Owner Austria: Download..."; |
| 1348 |
|
update_db::download('http://antonakis.co.uk/registers/Austria.txt',$tmp_dir.'owner_oe.csv'); |
| 1349 |
|
if (file_exists($tmp_dir.'owner_oe.csv')) { |
| 1350 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1351 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_oe.csv','OE'); |
| 1352 |
|
} else $error = "File ".$tmp_dir.'owner_oe.csv'." doesn't exist. Download failed."; |
| 1353 |
|
if ($error != '') { |
| 1354 |
|
return $error; |
| 1355 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1358-1361 (lines=4) @@
|
| 1355 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1356 |
|
if ($globalDebug) echo "Owner Chile: Download..."; |
| 1357 |
|
update_db::download('http://antonakis.co.uk/registers/Chile.txt',$tmp_dir.'owner_cc.csv'); |
| 1358 |
|
if (file_exists($tmp_dir.'owner_cc.csv')) { |
| 1359 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1360 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_cc.csv','CC'); |
| 1361 |
|
} else $error = "File ".$tmp_dir.'owner_cc.csv'." doesn't exist. Download failed."; |
| 1362 |
|
if ($error != '') { |
| 1363 |
|
return $error; |
| 1364 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1367-1370 (lines=4) @@
|
| 1364 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1365 |
|
if ($globalDebug) echo "Owner Colombia: Download..."; |
| 1366 |
|
update_db::download('http://antonakis.co.uk/registers/Colombia.txt',$tmp_dir.'owner_hj.csv'); |
| 1367 |
|
if (file_exists($tmp_dir.'owner_hj.csv')) { |
| 1368 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1369 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_hj.csv','HJ'); |
| 1370 |
|
} else $error = "File ".$tmp_dir.'owner_hj.csv'." doesn't exist. Download failed."; |
| 1371 |
|
if ($error != '') { |
| 1372 |
|
return $error; |
| 1373 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1376-1379 (lines=4) @@
|
| 1373 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1374 |
|
if ($globalDebug) echo "Owner Bosnia Herzegobina: Download..."; |
| 1375 |
|
update_db::download('http://antonakis.co.uk/registers/BosniaHerzegovina.txt',$tmp_dir.'owner_e7.csv'); |
| 1376 |
|
if (file_exists($tmp_dir.'owner_e7.csv')) { |
| 1377 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1378 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_e7.csv','E7'); |
| 1379 |
|
} else $error = "File ".$tmp_dir.'owner_e7.csv'." doesn't exist. Download failed."; |
| 1380 |
|
if ($error != '') { |
| 1381 |
|
return $error; |
| 1382 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1385-1388 (lines=4) @@
|
| 1382 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1383 |
|
if ($globalDebug) echo "Owner Brazil: Download..."; |
| 1384 |
|
update_db::download('http://antonakis.co.uk/registers/Brazil.txt',$tmp_dir.'owner_pp.csv'); |
| 1385 |
|
if (file_exists($tmp_dir.'owner_pp.csv')) { |
| 1386 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1387 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_pp.csv','PP'); |
| 1388 |
|
} else $error = "File ".$tmp_dir.'owner_pp.csv'." doesn't exist. Download failed."; |
| 1389 |
|
if ($error != '') { |
| 1390 |
|
return $error; |
| 1391 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1394-1397 (lines=4) @@
|
| 1391 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1392 |
|
if ($globalDebug) echo "Owner Cayman Islands: Download..."; |
| 1393 |
|
update_db::download('http://antonakis.co.uk/registers/CaymanIslands.txt',$tmp_dir.'owner_vp.csv'); |
| 1394 |
|
if (file_exists($tmp_dir.'owner_vp.csv')) { |
| 1395 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1396 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_vp.csv','VP'); |
| 1397 |
|
} else $error = "File ".$tmp_dir.'owner_vp.csv'." doesn't exist. Download failed."; |
| 1398 |
|
if ($error != '') { |
| 1399 |
|
return $error; |
| 1400 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1403-1406 (lines=4) @@
|
| 1400 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1401 |
|
if ($globalDebug) echo "Owner Croatia: Download..."; |
| 1402 |
|
update_db::download('http://antonakis.co.uk/registers/Croatia.txt',$tmp_dir.'owner_9a.csv'); |
| 1403 |
|
if (file_exists($tmp_dir.'owner_9a.csv')) { |
| 1404 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1405 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_9a.csv','9A'); |
| 1406 |
|
} else $error = "File ".$tmp_dir.'owner_9a.csv'." doesn't exist. Download failed."; |
| 1407 |
|
if ($error != '') { |
| 1408 |
|
return $error; |
| 1409 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1412-1415 (lines=4) @@
|
| 1409 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1410 |
|
if ($globalDebug) echo "Owner Luxembourg: Download..."; |
| 1411 |
|
update_db::download('http://antonakis.co.uk/registers/Luxembourg.txt',$tmp_dir.'owner_lx.csv'); |
| 1412 |
|
if (file_exists($tmp_dir.'owner_lx.csv')) { |
| 1413 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1414 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_lx.csv','LX'); |
| 1415 |
|
} else $error = "File ".$tmp_dir.'owner_lx.csv'." doesn't exist. Download failed."; |
| 1416 |
|
if ($error != '') { |
| 1417 |
|
return $error; |
| 1418 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1421-1424 (lines=4) @@
|
| 1418 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1419 |
|
if ($globalDebug) echo "Owner Maldives: Download..."; |
| 1420 |
|
update_db::download('http://antonakis.co.uk/registers/Maldives.txt',$tmp_dir.'owner_8q.csv'); |
| 1421 |
|
if (file_exists($tmp_dir.'owner_8q.csv')) { |
| 1422 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1423 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_8q.csv','8Q'); |
| 1424 |
|
} else $error = "File ".$tmp_dir.'owner_8q.csv'." doesn't exist. Download failed."; |
| 1425 |
|
if ($error != '') { |
| 1426 |
|
return $error; |
| 1427 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1430-1433 (lines=4) @@
|
| 1427 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1428 |
|
if ($globalDebug) echo "Owner New Zealand: Download..."; |
| 1429 |
|
update_db::download('http://antonakis.co.uk/registers/NewZealand.txt',$tmp_dir.'owner_zk.csv'); |
| 1430 |
|
if (file_exists($tmp_dir.'owner_zk.csv')) { |
| 1431 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1432 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_zk.csv','ZK'); |
| 1433 |
|
} else $error = "File ".$tmp_dir.'owner_zk.csv'." doesn't exist. Download failed."; |
| 1434 |
|
if ($error != '') { |
| 1435 |
|
return $error; |
| 1436 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1439-1442 (lines=4) @@
|
| 1436 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1437 |
|
if ($globalDebug) echo "Owner Papua New Guinea: Download..."; |
| 1438 |
|
update_db::download('http://antonakis.co.uk/registers/PapuaNewGuinea.txt',$tmp_dir.'owner_p2.csv'); |
| 1439 |
|
if (file_exists($tmp_dir.'owner_p2.csv')) { |
| 1440 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1441 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_p2.csv','P2'); |
| 1442 |
|
} else $error = "File ".$tmp_dir.'owner_p2.csv'." doesn't exist. Download failed."; |
| 1443 |
|
if ($error != '') { |
| 1444 |
|
return $error; |
| 1445 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1448-1451 (lines=4) @@
|
| 1445 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1446 |
|
if ($globalDebug) echo "Owner Slovakia: Download..."; |
| 1447 |
|
update_db::download('http://antonakis.co.uk/registers/Slovakia.txt',$tmp_dir.'owner_om.csv'); |
| 1448 |
|
if (file_exists($tmp_dir.'owner_om.csv')) { |
| 1449 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1450 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_om.csv','OM'); |
| 1451 |
|
} else $error = "File ".$tmp_dir.'owner_om.csv'." doesn't exist. Download failed."; |
| 1452 |
|
if ($error != '') { |
| 1453 |
|
return $error; |
| 1454 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1457-1460 (lines=4) @@
|
| 1454 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1455 |
|
if ($globalDebug) echo "Owner Ecuador: Download..."; |
| 1456 |
|
update_db::download('http://antonakis.co.uk/registers/Ecuador.txt',$tmp_dir.'owner_hc.csv'); |
| 1457 |
|
if (file_exists($tmp_dir.'owner_hc.csv')) { |
| 1458 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1459 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_hc.csv','HC'); |
| 1460 |
|
} else $error = "File ".$tmp_dir.'owner_hc.csv'." doesn't exist. Download failed."; |
| 1461 |
|
if ($error != '') { |
| 1462 |
|
return $error; |
| 1463 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1466-1469 (lines=4) @@
|
| 1463 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1464 |
|
if ($globalDebug) echo "Owner Iceland: Download..."; |
| 1465 |
|
update_db::download('http://antonakis.co.uk/registers/Iceland.txt',$tmp_dir.'owner_tf.csv'); |
| 1466 |
|
if (file_exists($tmp_dir.'owner_tf.csv')) { |
| 1467 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1468 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_tf.csv','TF'); |
| 1469 |
|
} else $error = "File ".$tmp_dir.'owner_tf.csv'." doesn't exist. Download failed."; |
| 1470 |
|
if ($error != '') { |
| 1471 |
|
return $error; |
| 1472 |
|
} elseif ($globalDebug) echo "Done\n"; |