summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Zimniewicz <mzimniew@man.poznan.pl>2018-01-27 00:00:28 +0100
committerMichal Zimniewicz <mzimniew@man.poznan.pl>2018-01-27 00:00:28 +0100
commit50afeaf7328a95539edc2d67a355f9b021d1d511 (patch)
tree68797cd97578e8723df165ef413a1bb4c23b1f50
parenta69bf96f798535b4ee60bc20fc697bb1b41b5137 (diff)
emkael's origins
-rwxr-xr-x1n.json255
-rwxr-xr-x1s.json255
-rwxr-xr-x2ne.json255
-rwxr-xr-x2nw.json255
-rwxr-xr-x2se.json255
-rwxr-xr-x2sw.json255
-rwxr-xr-xeklasa.json252
7 files changed, 1782 insertions, 0 deletions
diff --git a/1n.json b/1n.json
new file mode 100755
index 0000000..6a9a33b
--- /dev/null
+++ b/1n.json
@@ -0,0 +1,255 @@
+{
+ "output": "i/n/playoff.html",
+ "page": {
+ "title": "I liga N, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 200,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["SYNTEX", "Syntex", "olsztyn.png"],
+ ["Objectivity KS AZS Wratislavia III", "Objectivity", "wroclaw.png"],
+ ["BIOPAX.PL AZS UZ", "BIOPAX", "zielonagora.png"],
+ ["COMFORT SA KSAZ Wratislavia IV/VII", "COMFORT", "wroclaw.png"],
+ ["GRICON STARKA Poznań", "GRICON", "poznan.png"],
+ ["DĄBRÓWKA NAUKABRYDŻA.PL Poznań", "DĄBRÓWKA", "poznan.png"],
+ ["VĘGORIA WCK Węgorzewo", "VĘGORIA", "wegorzewo.png"],
+ ["KTB Konin", "KTB", "konin.png"],
+ ["KART-EL Gorzów Wlkp.", "KART-EL", "gorzow.png"],
+ ["UKB KLEKS Szamotuły", "KLEKS", "szamotuly.png"],
+ ["ELEKTROWNIA Żelichowo", "ELEKTROWNIA", "zelichowo.png"],
+ ["UNIA WINKHAUS Leszno", "UNIA", "leszno.png"],
+ ["LKS PIAST Sieradz", "PIAST", "sieradz.png"],
+ ["CHEMIK Bydgoszcz", "CHEMIK", "bydgoszcz.png"],
+ ["DARLES SANTERM Gdańsk", "DARLES SANTERM", "gdansk.png"],
+ ["BLACKWOOD Gdańsk", "BLACKWOOD", "gdansk.png"]
+ ],
+ "phases": [
+ {
+ "title": "26 stycznia, 19:00",
+ "link": "#",
+ "dummies": [0, 2, 3, 7],
+ "matches": [
+ {
+ "id": 1,
+ "database": "i_n_po_1",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "i_n_po_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [7]},
+ {"place": [10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 3,
+ "database": "i_n_po_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [8]},
+ {"place": [9]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "i_n_po_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [11]},
+ {"place": [13]}
+ ]
+ },
+ {
+ "id": 5,
+ "database": "i_n_po_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [12]},
+ {"place": [14]}
+ ]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia, 19:30",
+ "link": "#",
+ "dummies": [0],
+ "matches": [
+ {
+ "id": 6,
+ "database": "i_n_po_2",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 7,
+ "database": "i_n_po_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [4]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 8,
+ "database": "i_n_po_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 9,
+ "database": "i_n_po_2",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"loser": [3]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 10,
+ "database": "i_n_po_2",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [15]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ },
+ {
+ "id": 11,
+ "database": "i_n_po_2",
+ "round": 1,
+ "table": 6,
+ "teams": [
+ {"place": [16]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "i_n_po_3",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "i_n_po_3",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"winner": [1, 6, 7]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "i_n_po_3",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [8]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "i_n_po_baraz",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [9]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "i_n_po_4",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "i_n_po_4",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}
diff --git a/1s.json b/1s.json
new file mode 100755
index 0000000..d807846
--- /dev/null
+++ b/1s.json
@@ -0,0 +1,255 @@
+{
+ "output": "i/s/playoff.html",
+ "page": {
+ "title": "I liga S, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 250,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["ELEKTROMONTAŻ Rzeszów", "Elektromontaż", "rzeszow.png"],
+ ["DIEBOLD NIXDORF CRACOVIA", "CRACOVIA", "krakow.png"],
+ ["Bridge24.pl 2", "Bridge24.pl 2", "warszawa.png"],
+ ["CZARNA PAPUGA Zwierzyniec Kraków", "CZARNA PAPUGA", "krakow.png"],
+ ["INWIT Pabianice", "INWIT", "pabianice.png"],
+ ["MAGMA Zawiercie", "MAGMA", "zawiercie.png"],
+ ["ETB PRIM Ełk", "ETB", "elk.png"],
+ ["ZweryfikujFirmę.pl - AZS UW", "AZS UW", "warszawa.png"],
+ ["MILO Kraków", "MILO", "krakow.png"],
+ ["POMTECH Zwoleń", "POMTECH", "zwolen.png"],
+ ["LESKOWIEC Wadowice-BESKID Andrychów", "LESKOWIEC-BESKID", "andrychow.png"],
+ ["HOTEL SENATOR Starachowice", "SENATOR", "starachowice.png"],
+ ["SPÓJNIA BENEXT Kalisz", "SPÓJNIA BENEXT", "kalisz.png"],
+ ["MTS PIAST Skawina", "PIAST", "skawina.png"],
+ ["HEFAJSTOS Otwock", "HEFAJSTOS", "warszawa.png"],
+ ["CONSUS ALK - Spójnia Warszawa", "CONSUS Spójnia", "warszawa.png"]
+ ],
+ "phases": [
+ {
+ "title": "26 stycznia, 19:00",
+ "link": "#",
+ "dummies": [0, 2, 3, 6],
+ "matches": [
+ {
+ "id": 1,
+ "database": "i_s_po_1",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "i_s_po_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [7]},
+ {"place": [10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 3,
+ "database": "i_s_po_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [8]},
+ {"place": [9]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "i_s_po_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [11]},
+ {"place": [13]}
+ ]
+ },
+ {
+ "id": 5,
+ "database": "i_s_po_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [12]},
+ {"place": [14]}
+ ]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia, 19:30",
+ "link": "#",
+ "dummies": [0],
+ "matches": [
+ {
+ "id": 6,
+ "database": "i_s_po_2",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 7,
+ "database": "i_s_po_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [4]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 8,
+ "database": "i_s_po_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 9,
+ "database": "i_s_po_2",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"loser": [3]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 10,
+ "database": "i_s_po_2",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [15]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ },
+ {
+ "id": 11,
+ "database": "i_s_po_2",
+ "round": 1,
+ "table": 6,
+ "teams": [
+ {"place": [16]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "i_s_po_sps",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "i_s_po_3_a",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [1, 6, 7]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "i_s_po_3_s",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [8]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "i_s_po_cracovia",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [9]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "i_s_po_4",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "i_s_po_4",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}
diff --git a/2ne.json b/2ne.json
new file mode 100755
index 0000000..d3ebc94
--- /dev/null
+++ b/2ne.json
@@ -0,0 +1,255 @@
+{
+ "output": "ii/ne/playoff.html",
+ "page": {
+ "title": "II liga NE, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 250,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["BC SUDOVIA INTERNATIONAL", "SUDOVIA"],
+ ["AUTOSTRADA EKSPLOATACJA & 2S MEDIA Warszawa", "2S MEDIA"],
+ ["K2", "K2"],
+ ["KBS LEGIONOWIANIN", "KBS"],
+ ["SPEKTR Mińsk", "Spektr"],
+ ["Gambling Ciechanów", "Gambling"],
+ ["SDK Tczew", "SDK"],
+ ["AUTO MIRAS Pępowo", "AUTO MIRAS"],
+ ["GAME OVER Gdańsk", "GAME OVER"],
+ ["COMPENSA Gdańsk", "COMPENSA"],
+ ["Mazovia Płock", "Mazovia"],
+ ["MAKABI Gdańsk", "MAKABI"],
+ ["GOK Bielsk", "GOK"],
+ ["Amado Trans Olsztyn", "Amado Trans"],
+ ["Dolina Narwi MOSiR Łomża", "Dolina Narwi"],
+ ["Akademia Brydża AZS UW Warszawa", "AZS UW"]
+ ],
+ "phases": [
+ {
+ "title": "26 stycznia, 19:00",
+ "link": "#",
+ "dummies": [0, 2, 3, 6],
+ "matches": [
+ {
+ "id": 1,
+ "database": "ii_ne_po_1",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "ii_ne_po_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [7]},
+ {"place": [9]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 3,
+ "database": "ii_ne_po_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [8]},
+ {"place": [10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "ii_ne_po_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [11]},
+ {"place": [13]}
+ ]
+ },
+ {
+ "id": 5,
+ "database": "ii_ne_po_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [12]},
+ {"place": [14]}
+ ]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia, 19:30",
+ "link": "#",
+ "dummies": [0],
+ "matches": [
+ {
+ "id": 6,
+ "database": "ii_ne_po_2",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 7,
+ "database": "ii_ne_po_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [4]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 8,
+ "database": "ii_ne_po_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 9,
+ "database": "ii_ne_po_2",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"loser": [3]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 10,
+ "database": "ii_ne_po_2",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [15]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ },
+ {
+ "id": 11,
+ "database": "ii_ne_po_2",
+ "round": 1,
+ "table": 6,
+ "teams": [
+ {"place": [16]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "ii_ne_po_3",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "ii_ne_po_3",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"winner": [1, 6, 7]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "ii_ne_po_3",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [8]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "ii_ne_po_3b",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [9]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "ii_ne_po_4",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "ii_ne_po_4",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}
diff --git a/2nw.json b/2nw.json
new file mode 100755
index 0000000..550b250
--- /dev/null
+++ b/2nw.json
@@ -0,0 +1,255 @@
+{
+ "output": "ii/nw/playoff.html",
+ "page": {
+ "title": "II liga NW, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 250,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["UNIA II Leszno", "UNIA II", "leszno.png"],
+ ["JANTAR Toruń", "JANTAR", "torun.png"],
+ ["Radio Hit Włocławek", "Radio Hit", "wloclawek.png"],
+ ["A_D Szczecin", "A_D", "szczecin.png"],
+ ["STB Słupsk", "STB", "slupsk.png"],
+ ["ADMIRA Poznań", "ADMIRA", "poznan.png"],
+ ["GOMAD Gorzów Wielkopolski", "GOMAD", "gorzow.png"],
+ ["FUNDACJA I Love Bridge Gorzów Wlkp.", "I Love Bridge", "gorzow.png"],
+ ["FLUX-MEDICAL Boguniewo", "FLUX-MEDICAL", "boguniewo.png"],
+ ["ANNEBERG Zielona Góra", "ANNEBERG", "zielona.png"],
+ ["JAGIELLONKA Piła", "JAGIELLONKA", "pila.png"],
+ ["TRZYNASTKA Szczecin", "TRZYNASTKA", "szczecion.png"],
+ ["KB KONTRA Koszalin", "KONTRA", "koszalin.png"],
+ ["BIN Aleksandrów Kujawski", "BIN", "aleksandrow.png"],
+ ["HURTOWNIA SPORTOWA PAAK Bydgoszcz", "PAAK", "bydgoszcz.png"],
+ ["SBS DAWID Nowa Sól", "SBS DAWID", "nowasol.png"]
+ ],
+ "phases": [
+ {
+ "title": "26 stycznia, 19:00",
+ "link": "#",
+ "dummies": [0, 2, 3, 6],
+ "matches": [
+ {
+ "id": 1,
+ "database": "ii_nw_po_1",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "ii_nw_po_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [7]},
+ {"place": [9]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 3,
+ "database": "ii_nw_po_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [8]},
+ {"place": [10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "ii_nw_po_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [11]},
+ {"place": [14]}
+ ]
+ },
+ {
+ "id": 5,
+ "database": "ii_nw_po_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [12]},
+ {"place": [13]}
+ ]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia, 19:30",
+ "link": "#",
+ "dummies": [0],
+ "matches": [
+ {
+ "id": 6,
+ "database": "ii_nw_po_2",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"place": [6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 7,
+ "database": "ii_nw_po_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [4]},
+ {"place": [5]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 8,
+ "database": "ii_nw_po_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 9,
+ "database": "ii_nw_po_2",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"loser": [3]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 10,
+ "database": "ii_nw_po_2",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [15]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ },
+ {
+ "id": 11,
+ "database": "ii_nw_po_2",
+ "round": 1,
+ "table": 6,
+ "teams": [
+ {"place": [16]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "ii_nw_po_3",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "ii_nw_po_3",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"winner": [1, 6, 7]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "ii_nw_po_3",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [8]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "ii_nw_po_baraz",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [9]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "ii_nw_po_4",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "ii_nw_po_4",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}
diff --git a/2se.json b/2se.json
new file mode 100755
index 0000000..7b0cfcd
--- /dev/null
+++ b/2se.json
@@ -0,0 +1,255 @@
+{
+ "output": "ii/se/playoff.html",
+ "page": {
+ "title": "II liga SE, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 250,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["Akademia Brydża AZS UW Piast Warszawa", "AZS UW", "w-wa.png"],
+ ["SKÓR-BUT Łęczna", "SKÓR-BUT", "leczna.png"],
+ ["TERMOCHEM CHEMIK Puławy", "CHEMIK", "pulawy.png"],
+ ["SFORA CIBORA Kraków", "Sfora", "krakow.png"],
+ ["SPS EKO-RÓŻANKA", "SPS", "lublin.png"],
+ ["ALF Nowy Sącz", "Alf", "n-sacz.png"],
+ ["Carlo Bossi Parfumes Nisko", "Carlo Bossi", "nisko.png"],
+ ["MPEC Tarnów", "MPEC", "tarnow.png"],
+ ["KETZ SUPER BOND Kraków", "Ketz Super Bond", "krakow.png"],
+ ["CKFiS Bełżyce", "CKFiS", "belzyce.png"],
+ ["GEOBEJUR Radom", "GEOBEJUR", "Radom.png"],
+ ["TS WISŁA Kraków", "Wisła", "krakow.png"],
+ ["COME-BACK Rzeszów", "COME-BACK", "rzeszow.png"],
+ ["LAST MINUTE Kraków", "LAST MINUTE", "krakow.png"],
+ ["PTG Sokół Gorlice", "PTG Sokół", "Gorlice.png"],
+ ["KIERY Głogoczów", "Kiery", "glog-mysl.png"]
+ ],
+ "phases": [
+ {
+ "title": "29 stycznia, 19:00",
+ "link": "#",
+ "dummies": [0, 2, 3, 6],
+ "matches": [
+ {
+ "id": 1,
+ "database": "ii_se_po_1",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "ii_se_po_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [7]},
+ {"place": [9, 10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 3,
+ "database": "ii_se_po_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [8]},
+ {"place": [9, 10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "ii_se_po_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [11]},
+ {"place": [14]}
+ ]
+ },
+ {
+ "id": 5,
+ "database": "ii_se_po_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [12]},
+ {"place": [13]}
+ ]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia, 19:30",
+ "link": "#",
+ "dummies": [0],
+ "matches": [
+ {
+ "id": 6,
+ "database": "ii_se_po_2",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 7,
+ "database": "ii_se_po_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [4]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 8,
+ "database": "ii_se_po_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 9,
+ "database": "ii_se_po_2",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"loser": [3]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 10,
+ "database": "ii_se_po_2d",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [15]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ },
+ {
+ "id": 11,
+ "database": "ii_se_po_2d",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [16]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "ii_se_po_3",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "ii_se_po_3",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"winner": [1, 6, 7]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "ii_se_po_3",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [8]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "ii_se_po_4",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [9]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "ii_se_po_4",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "ii_se_po_4",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}
diff --git a/2sw.json b/2sw.json
new file mode 100755
index 0000000..ab7ef54
--- /dev/null
+++ b/2sw.json
@@ -0,0 +1,255 @@
+{
+ "output": "ii/sw/playoff.html",
+ "page": {
+ "title": "II liga SW, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 250,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["DRUGI SORT Bielsko-Biała", "Drugi Sort"],
+ ["PONAR SILESIA Katowice", "PONAR SILESIA"],
+ ["Bluerefrigeration AZS Wratislavia VIII", "Bluerefrigeration"],
+ ["JKBS Jastrzębie-Zdrój", "JKBS"],
+ ["KS TURBO FLY BACK Wrocław", "TURBO FLY BACK"],
+ ["VALUEMEDIA KS AZS Wratislavia II", "VALUEMEDIA"],
+ ["ERBUD KS AZS Wratislavia IX", "ERBUD"],
+ ["DDK II Brzeziny Śląskie", "DDK II"],
+ ["MULTI Opole", "MULTI"],
+ ["ABNEGAT Warszawa", "ABNEGAT"],
+ ["Stowarzyszenie BONA FIDE Świebodzice", "BONA FIDE"],
+ ["BUKS MDK MOSM I Bytom", "BUKS MDK MOSM"],
+ ["BKB I Bolesławiec", "BKB I"],
+ ["MICHALAK Kolonowskie", "MICHALAK"],
+ ["KS Konfeks I Legnica", "Konfeks I"],
+ ["ZTB 7TREFL Zawiercie", "7TREFL"]
+ ],
+ "phases": [
+ {
+ "title": "26 stycznia, 19:00",
+ "link": "#",
+ "dummies": [0, 2, 3, 6],
+ "matches": [
+ {
+ "id": 1,
+ "database": "ii_sw_po_1_wro",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "ii_sw_po_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [7]},
+ {"place": [10]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 3,
+ "database": "ii_sw_po_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [8]},
+ {"place": [9]}
+ ],
+ "winner": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "ii_sw_po_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [11]},
+ {"place": [14]}
+ ]
+ },
+ {
+ "id": 5,
+ "database": "ii_sw_po_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [12]},
+ {"place": [13]}
+ ]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia, 19:30",
+ "link": "#",
+ "dummies": [0],
+ "matches": [
+ {
+ "id": 6,
+ "database": "ii_sw_po_2_wro",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 7,
+ "database": "ii_sw_po_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [4]},
+ {"place": [5,6]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 8,
+ "database": "ii_sw_po_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 9,
+ "database": "ii_sw_po_2",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"loser": [3]},
+ {"winner": [4, 5]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 10,
+ "database": "ii_sw_po_2",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [15]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ },
+ {
+ "id": 11,
+ "database": "ii_sw_po_2",
+ "round": 1,
+ "table": 6,
+ "teams": [
+ {"place": [16]},
+ {"loser": [4, 5]}
+ ],
+ "loser": [15, 16]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "ii_sw_po_3",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "ii_sw_po_3",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"winner": [1, 6, 7]},
+ {"winner": [1, 6, 7]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "ii_sw_po_3s",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [8]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "ii_sw_po_3s",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [9]},
+ {"winner": [10, 11]}
+ ],
+ "winner": [11, 12],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "V zjazd",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "ii_sw_po_4",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "ii_sw_po_4",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}
diff --git a/eklasa.json b/eklasa.json
new file mode 100755
index 0000000..eaf0a35
--- /dev/null
+++ b/eklasa.json
@@ -0,0 +1,252 @@
+{
+ "output": "eklasa/playoff.html",
+ "page": {
+ "title": "Polish Premier League, play-off",
+ "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
+ "refresh": 30,
+ "width": 200,
+ "height": 80,
+ "margin": 60
+ },
+ "database": {
+ "host": "localhost",
+ "port": 3306,
+ "user": "admin",
+ "pass": ""
+ },
+ "goniec": {
+ "enabled": 1,
+ "host": "localhost",
+ "port": 8090
+ },
+ "teams": [
+ ["KONKRET Chełmno", "Konkret"],
+ ["KS AZS Wratislavia I WR", "AZS Wratislavia"],
+ ["Bridge24.pl", "Bridge24.pl"],
+ ["CONNECTOR Poznań", "Connector"],
+ ["SPS Construction Kielce", "SPS"],
+ ["KONSTANTA Bielsko-Biała", "Konstanta"],
+ ["Skobud Tarnobrzeg", "Skobud"],
+ ["SYNERGIA Lublin", "Synergia"],
+ ["TB SILESIA I Gliwice", "Silesia"],
+ ["SYNIS Opole", "Synis"],
+ ["Ilanka 1 Rzepin", "Ilanka"],
+ ["KDK I Kutno", "KDK"],
+ ["ANDRZEJKI Gdańsk", "Andrzejki"],
+ ["MKS MAZOVIA Mińsk Mazowiecki", "Mazovia"],
+ ["RAL VYTAS Poznań", "RAL"],
+ ["ZOIM & FIORI Szczecin", "ZOIM"]
+ ],
+ "phases": [
+ {
+ "title": "26 stycznia 19:00",
+ "link": "#",
+ "matches": [
+ {
+ "id": 1,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"place": [1]},
+ {"place": [4]}
+ ]
+ },
+ {
+ "id": 2,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"place": [2]},
+ {"place": [3]}
+ ]
+ },
+ {
+ "id": 3,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"place": [5]},
+ {"place": [7]}
+ ],
+ "loser": [7, 8]
+ },
+ {
+ "id": 4,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 4,
+ "teams": [
+ {"place": [6]},
+ {"place": [8]}
+ ],
+ "loser": [7, 8]
+ },
+ {
+ "id": 5,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 5,
+ "teams": [
+ {"place": [9]},
+ {"place": [12]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 6,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 6,
+ "teams": [
+ {"place": [10]},
+ {"place": [11]}
+ ],
+ "winner": [9, 10]
+ },
+ {
+ "id": 7,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 7,
+ "teams": [
+ {"place": [13]},
+ {"place": [14]}
+ ]
+ },
+ {
+ "id": 8,
+ "database": "eklasa_1",
+ "round": 1,
+ "table": 8,
+ "teams": [
+ {"place": [15]},
+ {"place": [16]}
+ ],
+ "loser": [16]
+ }
+ ]
+ },
+ {
+ "title": "27 stycznia 19:30",
+ "link": "#",
+ "dummies": [0, 3, 4, 5],
+ "matches": [
+ {
+ "id": 9,
+ "database": "eklasa_2",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [1]},
+ {"winner": [3, 4]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 10,
+ "database": "eklasa_2",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [2]},
+ {"winner": [3, 4]}
+ ],
+ "loser": [5, 6]
+ },
+ {
+ "id": 11,
+ "database": "eklasa_2",
+ "round": 1,
+ "table": 3,
+ "teams": [
+ {"loser": [7]},
+ {"winner": [8]}
+ ],
+ "loser": [15]
+ }
+ ]
+ },
+ {
+ "title": "Final Four",
+ "link": "#",
+ "matches": [
+ {
+ "id": 12,
+ "database": "eklasa_ff",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"winner": [1, 2, 9, 10]},
+ {"winner": [1, 2, 9, 10]}
+ ]
+ },
+ {
+ "id": 13,
+ "database": "eklasa_ff",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"winner": [1, 2, 9, 10]},
+ {"winner": [1, 2, 9, 10]}
+ ]
+ },
+ {
+ "id": 14,
+ "database": "e1617_kdk_azs",
+ "round": 1,
+ "table": 1,
+ "teams": [
+ {"loser": [5]},
+ {"winner": [7, 11]}
+ ],
+ "loser": [13, 14]
+ },
+ {
+ "id": 15,
+ "database": "eklasa_3",
+ "round": 1,
+ "table": 2,
+ "teams": [
+ {"loser": [6]},
+ {"winner": [7, 11]}
+ ],
+ "loser": [13, 14]
+ }
+ ]
+ },
+ {
+ "title": "Finał / o 3. miejsce",
+ "link": "#",
+ "dummies": [2, 3],
+ "matches": [
+ {
+ "id": 16,
+ "database": "eklasa_ff",
+ "round": 2,
+ "table": 1,
+ "teams": [
+ {"winner": [12, 13]},
+ {"winner": [12, 13]}
+ ],
+ "winner": [1],
+ "loser": [2]
+ },
+ {
+ "id": 17,
+ "database": "eklasa_ff",
+ "round": 2,
+ "table": 2,
+ "teams": [
+ {"loser": [12, 13]},
+ {"loser": [12, 13]}
+ ],
+ "winner": [3],
+ "loser": [4]
+ }
+ ]
+ }
+ ]
+}