|
@@ 1195-1198 (lines=4) @@
|
| 1192 |
|
|
| 1193 |
|
if ($globalDebug) echo "Owner France: Download..."; |
| 1194 |
|
update_db::download('http://antonakis.co.uk/registers/France.txt',$tmp_dir.'owner_f.csv'); |
| 1195 |
|
if (file_exists($tmp_dir.'owner_f.csv')) { |
| 1196 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1197 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_f.csv','F'); |
| 1198 |
|
} else $error = "File ".$tmp_dir.'owner_f.csv'." doesn't exist. Download failed."; |
| 1199 |
|
if ($error != '') { |
| 1200 |
|
return $error; |
| 1201 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1205-1208 (lines=4) @@
|
| 1202 |
|
|
| 1203 |
|
if ($globalDebug) echo "Owner Ireland: Download..."; |
| 1204 |
|
update_db::download('http://antonakis.co.uk/registers/Ireland.txt',$tmp_dir.'owner_ei.csv'); |
| 1205 |
|
if (file_exists($tmp_dir.'owner_ei.csv')) { |
| 1206 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1207 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_ei.csv','EI'); |
| 1208 |
|
} else $error = "File ".$tmp_dir.'owner_ei.csv'." doesn't exist. Download failed."; |
| 1209 |
|
if ($error != '') { |
| 1210 |
|
return $error; |
| 1211 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1214-1217 (lines=4) @@
|
| 1211 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1212 |
|
if ($globalDebug) echo "Owner Switzerland: Download..."; |
| 1213 |
|
update_db::download('http://antonakis.co.uk/registers/Switzerland.txt',$tmp_dir.'owner_hb.csv'); |
| 1214 |
|
if (file_exists($tmp_dir.'owner_hb.csv')) { |
| 1215 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1216 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_hb.csv','HB'); |
| 1217 |
|
} else $error = "File ".$tmp_dir.'owner_hb.csv'." doesn't exist. Download failed."; |
| 1218 |
|
if ($error != '') { |
| 1219 |
|
return $error; |
| 1220 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1223-1226 (lines=4) @@
|
| 1220 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1221 |
|
if ($globalDebug) echo "Owner Czech Republic: Download..."; |
| 1222 |
|
update_db::download('http://antonakis.co.uk/registers/CzechRepublic.txt',$tmp_dir.'owner_ok.csv'); |
| 1223 |
|
if (file_exists($tmp_dir.'owner_ok.csv')) { |
| 1224 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1225 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_ok.csv','OK'); |
| 1226 |
|
} else $error = "File ".$tmp_dir.'owner_ok.csv'." doesn't exist. Download failed."; |
| 1227 |
|
if ($error != '') { |
| 1228 |
|
return $error; |
| 1229 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1232-1235 (lines=4) @@
|
| 1229 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1230 |
|
if ($globalDebug) echo "Owner Australia: Download..."; |
| 1231 |
|
update_db::download('http://antonakis.co.uk/registers/Australia.txt',$tmp_dir.'owner_vh.csv'); |
| 1232 |
|
if (file_exists($tmp_dir.'owner_vh.csv')) { |
| 1233 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1234 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_vh.csv','VH'); |
| 1235 |
|
} else $error = "File ".$tmp_dir.'owner_vh.csv'." doesn't exist. Download failed."; |
| 1236 |
|
if ($error != '') { |
| 1237 |
|
return $error; |
| 1238 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1241-1244 (lines=4) @@
|
| 1238 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1239 |
|
if ($globalDebug) echo "Owner Austria: Download..."; |
| 1240 |
|
update_db::download('http://antonakis.co.uk/registers/Austria.txt',$tmp_dir.'owner_oe.csv'); |
| 1241 |
|
if (file_exists($tmp_dir.'owner_oe.csv')) { |
| 1242 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1243 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_oe.csv','OE'); |
| 1244 |
|
} else $error = "File ".$tmp_dir.'owner_oe.csv'." doesn't exist. Download failed."; |
| 1245 |
|
if ($error != '') { |
| 1246 |
|
return $error; |
| 1247 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1250-1253 (lines=4) @@
|
| 1247 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1248 |
|
if ($globalDebug) echo "Owner Chile: Download..."; |
| 1249 |
|
update_db::download('http://antonakis.co.uk/registers/Chile.txt',$tmp_dir.'owner_cc.csv'); |
| 1250 |
|
if (file_exists($tmp_dir.'owner_cc.csv')) { |
| 1251 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1252 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_cc.csv','CC'); |
| 1253 |
|
} else $error = "File ".$tmp_dir.'owner_cc.csv'." doesn't exist. Download failed."; |
| 1254 |
|
if ($error != '') { |
| 1255 |
|
return $error; |
| 1256 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1259-1262 (lines=4) @@
|
| 1256 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1257 |
|
if ($globalDebug) echo "Owner Colombia: Download..."; |
| 1258 |
|
update_db::download('http://antonakis.co.uk/registers/Colombia.txt',$tmp_dir.'owner_hj.csv'); |
| 1259 |
|
if (file_exists($tmp_dir.'owner_hj.csv')) { |
| 1260 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1261 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_hj.csv','HJ'); |
| 1262 |
|
} else $error = "File ".$tmp_dir.'owner_hj.csv'." doesn't exist. Download failed."; |
| 1263 |
|
if ($error != '') { |
| 1264 |
|
return $error; |
| 1265 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1268-1271 (lines=4) @@
|
| 1265 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1266 |
|
if ($globalDebug) echo "Owner Bosnia Herzegobina: Download..."; |
| 1267 |
|
update_db::download('http://antonakis.co.uk/registers/BosniaHerzegovina.txt',$tmp_dir.'owner_e7.csv'); |
| 1268 |
|
if (file_exists($tmp_dir.'owner_e7.csv')) { |
| 1269 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1270 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_e7.csv','E7'); |
| 1271 |
|
} else $error = "File ".$tmp_dir.'owner_e7.csv'." doesn't exist. Download failed."; |
| 1272 |
|
if ($error != '') { |
| 1273 |
|
return $error; |
| 1274 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1277-1280 (lines=4) @@
|
| 1274 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1275 |
|
if ($globalDebug) echo "Owner Brazil: Download..."; |
| 1276 |
|
update_db::download('http://antonakis.co.uk/registers/Brazil.txt',$tmp_dir.'owner_pp.csv'); |
| 1277 |
|
if (file_exists($tmp_dir.'owner_pp.csv')) { |
| 1278 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1279 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_pp.csv','PP'); |
| 1280 |
|
} else $error = "File ".$tmp_dir.'owner_pp.csv'." doesn't exist. Download failed."; |
| 1281 |
|
if ($error != '') { |
| 1282 |
|
return $error; |
| 1283 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1286-1289 (lines=4) @@
|
| 1283 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1284 |
|
if ($globalDebug) echo "Owner Cayman Islands: Download..."; |
| 1285 |
|
update_db::download('http://antonakis.co.uk/registers/CaymanIslands.txt',$tmp_dir.'owner_vp.csv'); |
| 1286 |
|
if (file_exists($tmp_dir.'owner_vp.csv')) { |
| 1287 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1288 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_vp.csv','VP'); |
| 1289 |
|
} else $error = "File ".$tmp_dir.'owner_vp.csv'." doesn't exist. Download failed."; |
| 1290 |
|
if ($error != '') { |
| 1291 |
|
return $error; |
| 1292 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1295-1298 (lines=4) @@
|
| 1292 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1293 |
|
if ($globalDebug) echo "Owner Croatia: Download..."; |
| 1294 |
|
update_db::download('http://antonakis.co.uk/registers/Croatia.txt',$tmp_dir.'owner_9a.csv'); |
| 1295 |
|
if (file_exists($tmp_dir.'owner_9a.csv')) { |
| 1296 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1297 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_9a.csv','9A'); |
| 1298 |
|
} else $error = "File ".$tmp_dir.'owner_9a.csv'." doesn't exist. Download failed."; |
| 1299 |
|
if ($error != '') { |
| 1300 |
|
return $error; |
| 1301 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1304-1307 (lines=4) @@
|
| 1301 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1302 |
|
if ($globalDebug) echo "Owner Luxembourg: Download..."; |
| 1303 |
|
update_db::download('http://antonakis.co.uk/registers/Luxembourg.txt',$tmp_dir.'owner_lx.csv'); |
| 1304 |
|
if (file_exists($tmp_dir.'owner_lx.csv')) { |
| 1305 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1306 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_lx.csv','LX'); |
| 1307 |
|
} else $error = "File ".$tmp_dir.'owner_lx.csv'." doesn't exist. Download failed."; |
| 1308 |
|
if ($error != '') { |
| 1309 |
|
return $error; |
| 1310 |
|
} elseif ($globalDebug) echo "Done\n"; |
|
@@ 1313-1316 (lines=4) @@
|
| 1310 |
|
} elseif ($globalDebug) echo "Done\n"; |
| 1311 |
|
if ($globalDebug) echo "Owner Maldives: Download..."; |
| 1312 |
|
update_db::download('http://antonakis.co.uk/registers/Maldives.txt',$tmp_dir.'owner_8q.csv'); |
| 1313 |
|
if (file_exists($tmp_dir.'owner_8q.csv')) { |
| 1314 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1315 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_8q.csv','8Q'); |
| 1316 |
|
} else $error = "File ".$tmp_dir.'owner_8q.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 New Zealand: Download..."; |
| 1321 |
|
update_db::download('http://antonakis.co.uk/registers/NewZealand.txt',$tmp_dir.'owner_zk.csv'); |
| 1322 |
|
if (file_exists($tmp_dir.'owner_zk.csv')) { |
| 1323 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1324 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_zk.csv','ZK'); |
| 1325 |
|
} else $error = "File ".$tmp_dir.'owner_zk.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 Papua New Guinea: Download..."; |
| 1330 |
|
update_db::download('http://antonakis.co.uk/registers/PapuaNewGuinea.txt',$tmp_dir.'owner_p2.csv'); |
| 1331 |
|
if (file_exists($tmp_dir.'owner_p2.csv')) { |
| 1332 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1333 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_p2.csv','P2'); |
| 1334 |
|
} else $error = "File ".$tmp_dir.'owner_p2.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 Slovakia: Download..."; |
| 1339 |
|
update_db::download('http://antonakis.co.uk/registers/Slovakia.txt',$tmp_dir.'owner_om.csv'); |
| 1340 |
|
if (file_exists($tmp_dir.'owner_om.csv')) { |
| 1341 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1342 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_om.csv','OM'); |
| 1343 |
|
} else $error = "File ".$tmp_dir.'owner_om.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 Ecuador: Download..."; |
| 1348 |
|
update_db::download('http://antonakis.co.uk/registers/Ecuador.txt',$tmp_dir.'owner_hc.csv'); |
| 1349 |
|
if (file_exists($tmp_dir.'owner_hc.csv')) { |
| 1350 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1351 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_hc.csv','HC'); |
| 1352 |
|
} else $error = "File ".$tmp_dir.'owner_hc.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 Iceland: Download..."; |
| 1357 |
|
update_db::download('http://antonakis.co.uk/registers/Iceland.txt',$tmp_dir.'owner_tf.csv'); |
| 1358 |
|
if (file_exists($tmp_dir.'owner_tf.csv')) { |
| 1359 |
|
if ($globalDebug) echo "Add to DB..."; |
| 1360 |
|
$error = update_db::retrieve_owner($tmp_dir.'owner_tf.csv','TF'); |
| 1361 |
|
} else $error = "File ".$tmp_dir.'owner_tf.csv'." doesn't exist. Download failed."; |
| 1362 |
|
if ($error != '') { |
| 1363 |
|
return $error; |
| 1364 |
|
} elseif ($globalDebug) echo "Done\n"; |