Skip to content

Commit

Permalink
split municipiialba
Browse files Browse the repository at this point in the history
  • Loading branch information
sebiboga committed Dec 1, 2023
1 parent 19221ac commit ec55316
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 43 deletions.
46 changes: 3 additions & 43 deletions ROMANIA/ALBA/alba.php
Original file line number Diff line number Diff line change
@@ -1,50 +1,10 @@
<?php

require_once 'municipiialba.php';

$alba =
createJudet(
"ALBA",[
createMunicipiu("ALBA IULIA", [
createLoc("ALBA IULIA", "oras"),
createLoc("Bărăbanț", "sat"),
createLoc("Micești", "sat"),
createLoc("Oarda", "sat"),
createLoc("Pâclișa", "sat"),
]),
createMunicipiu("AIUD",[
createLoc("AIUD", "oras",[
createLoc("Ciumbrud", "sat"),
createLoc("Gârbova de Jos", "sat"),
createLoc("Gârbova de Sus", "sat"),
createLoc("Gârbovița", "sat"),
createLoc("Sâncrai", "sat"),
createLoc("Țifra", "sat"),
]),
createLoc("Aiudul de Sus", "sat"),
createLoc("Gâmbaș", "sat"),
createLoc("Măgina", "sat"),
createLoc("Păgida", "sat"),
]),
createMunicipiu("BLAJ",[
createLoc("BLAJ", "oras",[
createLoc("Mănărade", "sat"),
createLoc("Spătac", "sat"),
]),
createLoc("Deleni-Obârșie", "sat"),
createLoc("Flitești", "sat"),
createLoc("Izvoarele", "sat"),
createLoc("Petrisat", "sat"),
createLoc("Tiur", "sat"),
createLoc("Veza", "sat"),
]),
createMunicipiu("SEBEȘ",[
createLoc("SEBEȘ", "oras",[
createLoc("Răhău", "sat"),
]),
createLoc("Lancrăm", "sat"),
createLoc("Petrești", "sat"),
]),

],
"ALBA",$municipii,
);

?>
47 changes: 47 additions & 0 deletions ROMANIA/ALBA/municipiialba.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
$municipii =
[
createMunicipiu("ALBA IULIA", [
createLoc("ALBA IULIA", "oras"),
createLoc("Bărăbanț", "sat"),
createLoc("Micești", "sat"),
createLoc("Oarda", "sat"),
createLoc("Pâclișa", "sat"),
]),
createMunicipiu("AIUD",[
createLoc("AIUD", "oras",[
createLoc("Ciumbrud", "sat"),
createLoc("Gârbova de Jos", "sat"),
createLoc("Gârbova de Sus", "sat"),
createLoc("Gârbovița", "sat"),
createLoc("Sâncrai", "sat"),
createLoc("Țifra", "sat"),
]),
createLoc("Aiudul de Sus", "sat"),
createLoc("Gâmbaș", "sat"),
createLoc("Măgina", "sat"),
createLoc("Păgida", "sat"),
]),
createMunicipiu("BLAJ",[
createLoc("BLAJ", "oras",[
createLoc("Mănărade", "sat"),
createLoc("Spătac", "sat"),
]),
createLoc("Deleni-Obârșie", "sat"),
createLoc("Flitești", "sat"),
createLoc("Izvoarele", "sat"),
createLoc("Petrisat", "sat"),
createLoc("Tiur", "sat"),
createLoc("Veza", "sat"),
]),
createMunicipiu("SEBEȘ",[
createLoc("SEBEȘ", "oras",[
createLoc("Răhău", "sat"),
]),
createLoc("Lancrăm", "sat"),
createLoc("Petrești", "sat"),
]),

];

?>

0 comments on commit ec55316

Please sign in to comment.