From 3470e2605595bf52b3ba07bf0b3886e5a61d3e06 Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Sun, 5 Sep 2021 20:35:44 +0200 Subject: first version of masterinterface --- COPYING.md | 25 + Changelog | 5 + README.md | 90 + data/settings.pl | 20 + lib/MasterWebInterface/Database/Games.pm | 61 + lib/MasterWebInterface/Database/ServerInfo.pm | 40 + lib/MasterWebInterface/Database/Servers.pm | 61 + lib/MasterWebInterface/Handler/ErrorPages.pm | 72 + lib/MasterWebInterface/Handler/Games.pm | 142 + lib/MasterWebInterface/Handler/Json/ApiDoc.pm | 437 ++ .../Handler/Json/JsonServerInfo.pm | 99 + .../Handler/Json/JsonServerList.pm | 95 + lib/MasterWebInterface/Handler/Json/Motd.pm | 51 + lib/MasterWebInterface/Handler/ServInfo.pm | 550 ++ lib/MasterWebInterface/Handler/Servers.pm | 180 + lib/MasterWebInterface/Util/AddressFormat.pm | 54 + lib/MasterWebInterface/Util/BrowseHTML.pm | 201 + lib/MasterWebInterface/Util/Layout.pm | 116 + lib/MasterWebInterface/Util/Misc.pm | 43 + log/log.txt | 1 + s/favicon.ico | Bin 0 -> 12342 bytes s/flag/ad.svg | 71 + s/flag/ae.svg | 8 + s/flag/af.svg | 433 ++ s/flag/ag.svg | 15 + s/flag/ai.svg | 771 +++ s/flag/al.svg | 5 + s/flag/am.svg | 5 + s/flag/ao.svg | 13 + s/flag/aq.svg | 6 + s/flag/ar.svg | 143 + s/flag/as.svg | 33 + s/flag/at.svg | 6 + s/flag/au.svg | 11 + s/flag/aw.svg | 186 + s/flag/ax.svg | 18 + s/flag/az.svg | 12 + s/flag/ba.svg | 12 + s/flag/bb.svg | 10 + s/flag/bd.svg | 6 + s/flag/be.svg | 7 + s/flag/bf.svg | 7 + s/flag/bg.svg | 7 + s/flag/bh.svg | 11 + s/flag/bi.svg | 15 + s/flag/bj.svg | 14 + s/flag/bl.svg | 7 + s/flag/bm.svg | 133 + s/flag/bn.svg | 75 + s/flag/bo.svg | 7 + s/flag/bq.svg | 5 + s/flag/br.svg | 45 + s/flag/bs.svg | 13 + s/flag/bt.svg | 124 + s/flag/bv.svg | 13 + s/flag/bw.svg | 7 + s/flag/by.svg | 62 + s/flag/bz.svg | 237 + s/flag/ca.svg | 11 + s/flag/cc.svg | 12 + s/flag/cd.svg | 5 + s/flag/cf.svg | 15 + s/flag/cg.svg | 12 + s/flag/ch.svg | 9 + s/flag/ci.svg | 7 + s/flag/ck.svg | 11 + s/flag/cl.svg | 13 + s/flag/cm.svg | 13 + s/flag/cn.svg | 19 + s/flag/co.svg | 7 + s/flag/cr.svg | 7 + s/flag/cu.svg | 13 + s/flag/cv.svg | 16 + s/flag/cw.svg | 14 + s/flag/cx.svg | 16 + s/flag/cy.svg | 13 + s/flag/cz.svg | 12 + s/flag/de.svg | 7 + s/flag/dj.svg | 13 + s/flag/dk.svg | 12 + s/flag/dm.svg | 152 + s/flag/do.svg | 6748 ++++++++++++++++++++ s/flag/dz.svg | 10 + s/flag/earth.svg | 266 + s/flag/ec.svg | 145 + s/flag/ee.svg | 7 + s/flag/eg.svg | 67 + s/flag/eh.svg | 15 + s/flag/er.svg | 8 + s/flag/es.svg | 676 ++ s/flag/et.svg | 14 + s/flag/eu.svg | 176 + s/flag/fi.svg | 15 + s/flag/fj.svg | 138 + s/flag/fk.svg | 92 + s/flag/fm.svg | 11 + s/flag/fo.svg | 12 + s/flag/fr.svg | 7 + s/flag/ga.svg | 7 + s/flag/gb.svg | 15 + s/flag/gd.svg | 13 + s/flag/ge.svg | 18 + s/flag/gf.svg | 7 + s/flag/gg.svg | 18 + s/flag/gh.svg | 13 + s/flag/gi.svg | 197 + s/flag/gl.svg | 12 + s/flag/gm.svg | 14 + s/flag/gn.svg | 7 + s/flag/gp.svg | 7 + s/flag/gq.svg | 36 + s/flag/gr.svg | 22 + s/flag/gs.svg | 209 + s/flag/gt.svg | 57 + s/flag/gu.svg | 39 + s/flag/gw.svg | 13 + s/flag/gy.svg | 9 + s/flag/hk.svg | 36 + s/flag/hm.svg | 12 + s/flag/hn.svg | 11 + s/flag/hr.svg | 81 + s/flag/ht.svg | 6 + s/flag/hu.svg | 7 + s/flag/id.svg | 6 + s/flag/ie.svg | 7 + s/flag/il.svg | 14 + s/flag/im.svg | 36 + s/flag/in.svg | 36 + s/flag/io.svg | 187 + s/flag/iq.svg | 27 + s/flag/ir.svg | 522 ++ s/flag/is.svg | 22 + s/flag/it.svg | 17 + s/flag/je.svg | 67 + s/flag/jm.svg | 45 + s/flag/jo.svg | 49 + s/flag/jp.svg | 21 + s/flag/ke.svg | 33 + s/flag/kg.svg | 47 + s/flag/kh.svg | 156 + s/flag/ki.svg | 49 + s/flag/km.svg | 51 + s/flag/kn.svg | 25 + s/flag/kp.svg | 25 + s/flag/kr.svg | 42 + s/flag/kw.svg | 23 + s/flag/ky.svg | 123 + s/flag/kz.svg | 67 + s/flag/la.svg | 22 + s/flag/lb.svg | 45 + s/flag/lc.svg | 18 + s/flag/li.svg | 195 + s/flag/lk.svg | 44 + s/flag/lr.svg | 29 + s/flag/ls.svg | 173 + s/flag/lt.svg | 17 + s/flag/lu.svg | 36 + s/flag/lv.svg | 37 + s/flag/ly.svg | 23 + s/flag/ma.svg | 21 + s/flag/mc.svg | 16 + s/flag/md.svg | 101 + s/flag/me.svg | 5 + s/flag/mf.svg | 17 + s/flag/mg.svg | 38 + s/flag/mh.svg | 42 + s/flag/mk.svg | 30 + s/flag/ml.svg | 38 + s/flag/mm.svg | 146 + s/flag/mn.svg | 8 + s/flag/mo.svg | 31 + s/flag/mp.svg | 268 + s/flag/mq.svg | 17 + s/flag/mr.svg | 22 + s/flag/ms.svg | 76 + s/flag/mt.svg | 82 + s/flag/mu.svg | 40 + s/flag/mv.svg | 20 + s/flag/mw.svg | 55 + s/flag/mx.svg | 349 + s/flag/my.svg | 27 + s/flag/mz.svg | 34 + s/flag/na.svg | 30 + s/flag/nc.svg | 17 + s/flag/ne.svg | 20 + s/flag/nf.svg | 46 + s/flag/ng.svg | 19 + s/flag/ni.svg | 122 + s/flag/nl.svg | 37 + s/flag/no.svg | 27 + s/flag/np.svg | 47 + s/flag/nr.svg | 22 + s/flag/nu.svg | 40 + s/flag/nz.svg | 69 + s/flag/om.svg | 349 + s/flag/pa.svg | 25 + s/flag/pe.svg | 40 + s/flag/pf.svg | 77 + s/flag/pg.svg | 27 + s/flag/ph.svg | 36 + s/flag/pk.svg | 25 + s/flag/pl.svg | 16 + s/flag/pm.svg | 17 + s/flag/pn.svg | 146 + s/flag/pr.svg | 45 + s/flag/ps.svg | 25 + s/flag/pt.svg | 526 ++ s/flag/pw.svg | 21 + s/flag/py.svg | 242 + s/flag/qa.svg | 21 + s/flag/re.svg | 17 + s/flag/ro.svg | 42 + s/flag/rs.svg | 1562 +++++ s/flag/ru.svg | 17 + s/flag/rw.svg | 25 + s/flag/sa.svg | 56 + s/flag/sb.svg | 27 + s/flag/sc.svg | 45 + s/flag/sd.svg | 23 + s/flag/se.svg | 28 + s/flag/sg.svg | 29 + s/flag/sh.svg | 795 +++ s/flag/si.svg | 30 + s/flag/sj.svg | 27 + s/flag/sk.svg | 26 + s/flag/sl.svg | 43 + s/flag/sm.svg | 209 + s/flag/sn.svg | 20 + s/flag/so.svg | 21 + s/flag/sr.svg | 25 + s/flag/ss.svg | 21 + s/flag/st.svg | 27 + s/flag/sv.svg | 301 + s/flag/sx.svg | 106 + s/flag/sy.svg | 23 + s/flag/sz.svg | 93 + s/flag/tc.svg | 102 + s/flag/td.svg | 41 + s/flag/tf.svg | 17 + s/flag/tg.svg | 25 + s/flag/th.svg | 20 + s/flag/tj.svg | 37 + s/flag/tk.svg | 42 + s/flag/tl.svg | 23 + s/flag/tm.svg | 325 + s/flag/tn.svg | 23 + s/flag/to.svg | 22 + s/flag/tr.svg | 8 + s/flag/tt.svg | 18 + s/flag/tv.svg | 49 + s/flag/tw.svg | 24 + s/flag/tz.svg | 45 + s/flag/ua.svg | 16 + s/flag/ug.svg | 42 + s/flag/um.svg | 141 + s/flag/us.svg | 141 + s/flag/uy.svg | 63 + s/flag/uz.svg | 37 + s/flag/va.svg | 501 ++ s/flag/vc.svg | 20 + s/flag/ve.svg | 29 + s/flag/vg.svg | 249 + s/flag/vi.svg | 249 + s/flag/vn.svg | 21 + s/flag/vu.svg | 28 + s/flag/wf.svg | 17 + s/flag/ws.svg | 25 + s/flag/ye.svg | 17 + s/flag/yt.svg | 17 + s/flag/za.svg | 58 + s/flag/zm.svg | 40 + s/flag/zw.svg | 52 + s/map/default/333networks.jpg | Bin 0 -> 27580 bytes s/map/default/deusex.jpg | Bin 0 -> 17779 bytes s/map/default/jetfighter4.jpg | Bin 0 -> 47597 bytes s/map/default/postal2.jpg | Bin 0 -> 13814 bytes s/map/default/rune.jpg | Bin 0 -> 22243 bytes s/map/default/ut.jpg | Bin 0 -> 9299 bytes s/masterinterface.pl | 37 + s/masterscript.js | 37 + s/robots.txt | 3 + s/style/default/333networks.png | Bin 0 -> 5871 bytes s/style/default/body.gif | Bin 0 -> 70 bytes s/style/default/style.css | 600 ++ 284 files changed, 27430 insertions(+) create mode 100755 COPYING.md create mode 100755 Changelog create mode 100755 README.md create mode 100755 data/settings.pl create mode 100755 lib/MasterWebInterface/Database/Games.pm create mode 100755 lib/MasterWebInterface/Database/ServerInfo.pm create mode 100755 lib/MasterWebInterface/Database/Servers.pm create mode 100755 lib/MasterWebInterface/Handler/ErrorPages.pm create mode 100755 lib/MasterWebInterface/Handler/Games.pm create mode 100755 lib/MasterWebInterface/Handler/Json/ApiDoc.pm create mode 100755 lib/MasterWebInterface/Handler/Json/JsonServerInfo.pm create mode 100755 lib/MasterWebInterface/Handler/Json/JsonServerList.pm create mode 100755 lib/MasterWebInterface/Handler/Json/Motd.pm create mode 100755 lib/MasterWebInterface/Handler/ServInfo.pm create mode 100755 lib/MasterWebInterface/Handler/Servers.pm create mode 100755 lib/MasterWebInterface/Util/AddressFormat.pm create mode 100755 lib/MasterWebInterface/Util/BrowseHTML.pm create mode 100755 lib/MasterWebInterface/Util/Layout.pm create mode 100755 lib/MasterWebInterface/Util/Misc.pm create mode 100644 log/log.txt create mode 100755 s/favicon.ico create mode 100755 s/flag/ad.svg create mode 100755 s/flag/ae.svg create mode 100755 s/flag/af.svg create mode 100755 s/flag/ag.svg create mode 100755 s/flag/ai.svg create mode 100755 s/flag/al.svg create mode 100755 s/flag/am.svg create mode 100755 s/flag/ao.svg create mode 100755 s/flag/aq.svg create mode 100755 s/flag/ar.svg create mode 100755 s/flag/as.svg create mode 100755 s/flag/at.svg create mode 100755 s/flag/au.svg create mode 100755 s/flag/aw.svg create mode 100755 s/flag/ax.svg create mode 100755 s/flag/az.svg create mode 100755 s/flag/ba.svg create mode 100755 s/flag/bb.svg create mode 100755 s/flag/bd.svg create mode 100755 s/flag/be.svg create mode 100755 s/flag/bf.svg create mode 100755 s/flag/bg.svg create mode 100755 s/flag/bh.svg create mode 100755 s/flag/bi.svg create mode 100755 s/flag/bj.svg create mode 100755 s/flag/bl.svg create mode 100755 s/flag/bm.svg create mode 100755 s/flag/bn.svg create mode 100755 s/flag/bo.svg create mode 100755 s/flag/bq.svg create mode 100755 s/flag/br.svg create mode 100755 s/flag/bs.svg create mode 100755 s/flag/bt.svg create mode 100755 s/flag/bv.svg create mode 100755 s/flag/bw.svg create mode 100755 s/flag/by.svg create mode 100755 s/flag/bz.svg create mode 100755 s/flag/ca.svg create mode 100755 s/flag/cc.svg create mode 100755 s/flag/cd.svg create mode 100755 s/flag/cf.svg create mode 100755 s/flag/cg.svg create mode 100755 s/flag/ch.svg create mode 100755 s/flag/ci.svg create mode 100755 s/flag/ck.svg create mode 100755 s/flag/cl.svg create mode 100755 s/flag/cm.svg create mode 100755 s/flag/cn.svg create mode 100755 s/flag/co.svg create mode 100755 s/flag/cr.svg create mode 100755 s/flag/cu.svg create mode 100755 s/flag/cv.svg create mode 100755 s/flag/cw.svg create mode 100755 s/flag/cx.svg create mode 100755 s/flag/cy.svg create mode 100755 s/flag/cz.svg create mode 100755 s/flag/de.svg create mode 100755 s/flag/dj.svg create mode 100755 s/flag/dk.svg create mode 100755 s/flag/dm.svg create mode 100755 s/flag/do.svg create mode 100755 s/flag/dz.svg create mode 100755 s/flag/earth.svg create mode 100755 s/flag/ec.svg create mode 100755 s/flag/ee.svg create mode 100755 s/flag/eg.svg create mode 100755 s/flag/eh.svg create mode 100755 s/flag/er.svg create mode 100755 s/flag/es.svg create mode 100755 s/flag/et.svg create mode 100755 s/flag/eu.svg create mode 100755 s/flag/fi.svg create mode 100755 s/flag/fj.svg create mode 100755 s/flag/fk.svg create mode 100755 s/flag/fm.svg create mode 100755 s/flag/fo.svg create mode 100755 s/flag/fr.svg create mode 100755 s/flag/ga.svg create mode 100755 s/flag/gb.svg create mode 100755 s/flag/gd.svg create mode 100755 s/flag/ge.svg create mode 100755 s/flag/gf.svg create mode 100755 s/flag/gg.svg create mode 100755 s/flag/gh.svg create mode 100755 s/flag/gi.svg create mode 100755 s/flag/gl.svg create mode 100755 s/flag/gm.svg create mode 100755 s/flag/gn.svg create mode 100755 s/flag/gp.svg create mode 100755 s/flag/gq.svg create mode 100755 s/flag/gr.svg create mode 100755 s/flag/gs.svg create mode 100755 s/flag/gt.svg create mode 100755 s/flag/gu.svg create mode 100755 s/flag/gw.svg create mode 100755 s/flag/gy.svg create mode 100755 s/flag/hk.svg create mode 100755 s/flag/hm.svg create mode 100755 s/flag/hn.svg create mode 100755 s/flag/hr.svg create mode 100755 s/flag/ht.svg create mode 100755 s/flag/hu.svg create mode 100755 s/flag/id.svg create mode 100755 s/flag/ie.svg create mode 100755 s/flag/il.svg create mode 100755 s/flag/im.svg create mode 100755 s/flag/in.svg create mode 100755 s/flag/io.svg create mode 100755 s/flag/iq.svg create mode 100755 s/flag/ir.svg create mode 100755 s/flag/is.svg create mode 100755 s/flag/it.svg create mode 100755 s/flag/je.svg create mode 100755 s/flag/jm.svg create mode 100755 s/flag/jo.svg create mode 100755 s/flag/jp.svg create mode 100755 s/flag/ke.svg create mode 100755 s/flag/kg.svg create mode 100755 s/flag/kh.svg create mode 100755 s/flag/ki.svg create mode 100755 s/flag/km.svg create mode 100755 s/flag/kn.svg create mode 100755 s/flag/kp.svg create mode 100755 s/flag/kr.svg create mode 100755 s/flag/kw.svg create mode 100755 s/flag/ky.svg create mode 100755 s/flag/kz.svg create mode 100755 s/flag/la.svg create mode 100755 s/flag/lb.svg create mode 100755 s/flag/lc.svg create mode 100755 s/flag/li.svg create mode 100755 s/flag/lk.svg create mode 100755 s/flag/lr.svg create mode 100755 s/flag/ls.svg create mode 100755 s/flag/lt.svg create mode 100755 s/flag/lu.svg create mode 100755 s/flag/lv.svg create mode 100755 s/flag/ly.svg create mode 100755 s/flag/ma.svg create mode 100755 s/flag/mc.svg create mode 100755 s/flag/md.svg create mode 100755 s/flag/me.svg create mode 100755 s/flag/mf.svg create mode 100755 s/flag/mg.svg create mode 100755 s/flag/mh.svg create mode 100755 s/flag/mk.svg create mode 100755 s/flag/ml.svg create mode 100755 s/flag/mm.svg create mode 100755 s/flag/mn.svg create mode 100755 s/flag/mo.svg create mode 100755 s/flag/mp.svg create mode 100755 s/flag/mq.svg create mode 100755 s/flag/mr.svg create mode 100755 s/flag/ms.svg create mode 100755 s/flag/mt.svg create mode 100755 s/flag/mu.svg create mode 100755 s/flag/mv.svg create mode 100755 s/flag/mw.svg create mode 100755 s/flag/mx.svg create mode 100755 s/flag/my.svg create mode 100755 s/flag/mz.svg create mode 100755 s/flag/na.svg create mode 100755 s/flag/nc.svg create mode 100755 s/flag/ne.svg create mode 100755 s/flag/nf.svg create mode 100755 s/flag/ng.svg create mode 100755 s/flag/ni.svg create mode 100755 s/flag/nl.svg create mode 100755 s/flag/no.svg create mode 100755 s/flag/np.svg create mode 100755 s/flag/nr.svg create mode 100755 s/flag/nu.svg create mode 100755 s/flag/nz.svg create mode 100755 s/flag/om.svg create mode 100755 s/flag/pa.svg create mode 100755 s/flag/pe.svg create mode 100755 s/flag/pf.svg create mode 100755 s/flag/pg.svg create mode 100755 s/flag/ph.svg create mode 100755 s/flag/pk.svg create mode 100755 s/flag/pl.svg create mode 100755 s/flag/pm.svg create mode 100755 s/flag/pn.svg create mode 100755 s/flag/pr.svg create mode 100755 s/flag/ps.svg create mode 100755 s/flag/pt.svg create mode 100755 s/flag/pw.svg create mode 100755 s/flag/py.svg create mode 100755 s/flag/qa.svg create mode 100755 s/flag/re.svg create mode 100755 s/flag/ro.svg create mode 100755 s/flag/rs.svg create mode 100755 s/flag/ru.svg create mode 100755 s/flag/rw.svg create mode 100755 s/flag/sa.svg create mode 100755 s/flag/sb.svg create mode 100755 s/flag/sc.svg create mode 100755 s/flag/sd.svg create mode 100755 s/flag/se.svg create mode 100755 s/flag/sg.svg create mode 100755 s/flag/sh.svg create mode 100755 s/flag/si.svg create mode 100755 s/flag/sj.svg create mode 100755 s/flag/sk.svg create mode 100755 s/flag/sl.svg create mode 100755 s/flag/sm.svg create mode 100755 s/flag/sn.svg create mode 100755 s/flag/so.svg create mode 100755 s/flag/sr.svg create mode 100755 s/flag/ss.svg create mode 100755 s/flag/st.svg create mode 100755 s/flag/sv.svg create mode 100755 s/flag/sx.svg create mode 100755 s/flag/sy.svg create mode 100755 s/flag/sz.svg create mode 100755 s/flag/tc.svg create mode 100755 s/flag/td.svg create mode 100755 s/flag/tf.svg create mode 100755 s/flag/tg.svg create mode 100755 s/flag/th.svg create mode 100755 s/flag/tj.svg create mode 100755 s/flag/tk.svg create mode 100755 s/flag/tl.svg create mode 100755 s/flag/tm.svg create mode 100755 s/flag/tn.svg create mode 100755 s/flag/to.svg create mode 100755 s/flag/tr.svg create mode 100755 s/flag/tt.svg create mode 100755 s/flag/tv.svg create mode 100755 s/flag/tw.svg create mode 100755 s/flag/tz.svg create mode 100755 s/flag/ua.svg create mode 100755 s/flag/ug.svg create mode 100755 s/flag/um.svg create mode 100755 s/flag/us.svg create mode 100755 s/flag/uy.svg create mode 100755 s/flag/uz.svg create mode 100755 s/flag/va.svg create mode 100755 s/flag/vc.svg create mode 100755 s/flag/ve.svg create mode 100755 s/flag/vg.svg create mode 100755 s/flag/vi.svg create mode 100755 s/flag/vn.svg create mode 100755 s/flag/vu.svg create mode 100755 s/flag/wf.svg create mode 100755 s/flag/ws.svg create mode 100755 s/flag/ye.svg create mode 100755 s/flag/yt.svg create mode 100755 s/flag/za.svg create mode 100755 s/flag/zm.svg create mode 100755 s/flag/zw.svg create mode 100644 s/map/default/333networks.jpg create mode 100644 s/map/default/deusex.jpg create mode 100644 s/map/default/jetfighter4.jpg create mode 100755 s/map/default/postal2.jpg create mode 100755 s/map/default/rune.jpg create mode 100755 s/map/default/ut.jpg create mode 100755 s/masterinterface.pl create mode 100755 s/masterscript.js create mode 100755 s/robots.txt create mode 100755 s/style/default/333networks.png create mode 100755 s/style/default/body.gif create mode 100755 s/style/default/style.css diff --git a/COPYING.md b/COPYING.md new file mode 100755 index 0000000..a752001 --- /dev/null +++ b/COPYING.md @@ -0,0 +1,25 @@ +# Web Interface for MasterServer-Qt5 +--- + +## COPYING +Copyright (c) 2005-2021 Darkelarious & 333networks.com + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/Changelog b/Changelog new file mode 100755 index 0000000..d327fa9 --- /dev/null +++ b/Changelog @@ -0,0 +1,5 @@ +Changelog: + +23-05-2021: first version of masterinterface +* initial working version of webinterface compatible with MasterServer-Qt5 +* descriptive readme with user instructions diff --git a/README.md b/README.md new file mode 100755 index 0000000..5e8023a --- /dev/null +++ b/README.md @@ -0,0 +1,90 @@ +## Web Interface for MasterServer-Qt5 +Web interface in Perl for MasterServer-Qt5. + +## DESCRIPTION +This repository contains software for a web interface to display information obtained by the 333networks MasterServer for the support of various legacy games. + +## AUTHOR +* Darkelarious +* darkelarious@333networks.com + +## REQUIREMENTS +* MasterServer-Qt5 (code.333networks.com) +* Apache/httpd +* Perl 5.10 or above +* The following CPAN modules: + * DBI + * DBD::SQLite + * TUWF (http://dev.yorhel.nl/tuwf) + +## INSTALL +This repository consists of Perl modules and is run by a http deamon. First, the MasterServer-Qt5 repository should be installed and configured in order to run this web interface. This web interface requires access to the database generated and updated by MasterServer-Qt5. + +## CONFIGURATION +The 333networks masterserver interface comes with options. These options are found in configuration file `data/settings.pl`. First provide the site name and URL. These are used for the title bar and links. +``` + # site (for sharing options) + site_url => "http://master.333networks.com", + site_name => "333networks", + email => 'master@333networks.com', +``` + +Configure the path to the database that the masterserver uses. The location of this database is found in the documentation of `MasterServer-Qt5`. +``` + # database connection + db_login => ["dbi:SQLite:dbname=/server/masterserver/qt5/data/masterserver.db",'',''], +``` + +When more than one website style exists, it can be selected in the following option. If no additional style files are (manually) installed, do not alter this option. +``` + # display + style => "classic2", +``` + +By default, only servers that have updated in the last half hour are shown. To show servers for a shorter or longer period of time after the last update increase or decrease the value of the option `window_time`. This value is provided in seconds (3600 seconds is 1 hour). +``` + # do not display servers older than [seconds] + window_time => 1800, +``` + +## Apache settings +``` +LoadModule rewrite_module modules/mod_rewrite.so +AddHandler cgi-script .cgi .pl +``` + +Update the vhost configuration for the Web Interface to match your repository folder path: + +``` +# +# Master Web Interface +# + +ServerAdmin master@yourdomain.com +ServerName master.yourdomain.com + +DocumentRoot "/path/to/WebInterface-Perl-MS-Qt5/s" +AddHandler cgi-script .pl + +RewriteEngine On +RewriteCond "%{DOCUMENT_ROOT}/%{REQUEST_URI}" !-s +RewriteRule ^/ /masterinterface.pl + +ErrorLog /path/to/WebInterface-Perl-MS-Qt5/log/Error.log +CustomLog /path/to/WebInterface-Perl-MS-Qt5/log/Access.log combined + + + Options +FollowSymLinks +ExecCGI + AllowOverride None + Require all granted + + +``` + +## KNOWN ISSUES +There are a few known issues that will be resolved in future versions. The following issues are listed and do not need to be reported. +* No additional styling available for third parties. Will come when the rest of the website is stable. +* Country name/flag is always "Earth". There is a third party script that updates these in the database, which may or may not be released in the future. + +## COPYING +See COPYING file diff --git a/data/settings.pl b/data/settings.pl new file mode 100755 index 0000000..20f1db5 --- /dev/null +++ b/data/settings.pl @@ -0,0 +1,20 @@ +package MasterWebInterface; + +our %S = (%S, # retain options from parent script + + # site info + site_url => "http://master.333networks.com", + site_name => "333networks", + email => 'master@333networks.com', + + # database connection + db_login => ["dbi:SQLite:dbname=/path/to/your/data/masterserver.db",'',''], + + # display + style => "default", + + # do not display servers older than [seconds] + window_time => 1800, +); + +1; diff --git a/lib/MasterWebInterface/Database/Games.pm b/lib/MasterWebInterface/Database/Games.pm new file mode 100755 index 0000000..02b6ad9 --- /dev/null +++ b/lib/MasterWebInterface/Database/Games.pm @@ -0,0 +1,61 @@ +package MasterWebInterface::Database::Games; +use strict; +use warnings; +use Exporter 'import'; +our @EXPORT = qw| dbGameListGet dbGetGameDesc |; + +# Get list of games +sub dbGameListGet +{ + my $s = shift; + my %o = ( + page => 1, + results => 50, + sort => '', + @_ + ); + + # search criteria + my %where = ( + $o{search} ? ('lower(label) LIKE lower(?)' => "%$o{search}%") : (), + !$o{all} ? ( 'num_total > ?' => 0) : (), + ); + + # what to get from db + my @select = ( + qw| label gamename num_direct num_total | + ); + + # sort order + my $order = sprintf { + label => 'label %s', + gamename => 'gamename %s', + num_total => 'num_total %s', + }->{ $o{sort}||'num_total' }, $o{reverse} ? 'DESC' : 'ASC'; + + # query + my($r, $np) = $s->dbPage( + \%o, + q| SELECT !s FROM gameinfo !W ORDER BY !s|, + join(', ', @select), + \%where, + $order + ); + + # page numbering + my $p = $s->dbAll( + q| SELECT COUNT(*) AS num FROM gameinfo !W|, + \%where, + )->[0]{num}; + + return wantarray ? ($r, $np, $p) : $r; +} + +# Get description for a game by gamename +sub dbGetGameDesc +{ + my ($self, $gn) = @_; + return $self->dbAll("SELECT label FROM gameinfo WHERE gamename = ?", $gn)->[0]{label}; +} + +1; diff --git a/lib/MasterWebInterface/Database/ServerInfo.pm b/lib/MasterWebInterface/Database/ServerInfo.pm new file mode 100755 index 0000000..6aeddd4 --- /dev/null +++ b/lib/MasterWebInterface/Database/ServerInfo.pm @@ -0,0 +1,40 @@ +package MasterWebInterface::Database::ServerInfo; +use strict; +use warnings; +use Exporter 'import'; +our @EXPORT = qw| dbGetServerInfo dbGetPlayerInfoList |; + +## get server details for list of servers (gamename/all/recent) +sub dbGetServerInfo +{ + my $s = shift; + my %o = @_; + + my %where = ( + $o{ip} ? ( 'ip = ?' => $o{ip}) : (), + $o{port} ? ( 'queryport = ?' => $o{port}) : (), + $o{hostport} ? ( 'hostport = ?' => $o{hostport}) : (), + ); + + return $s->dbAll( q|SELECT * FROM serverlist + LEFT JOIN serverinfo ON serverlist.id = serverinfo.sid + !W LIMIT 1|, \%where ); +} + + +## get player details for one particular server +sub dbGetPlayerInfoList +{ + my $s = shift; + my %o = (sort => '', @_ ); + + my %where = ( + $o{sid} ? ( 'sid = ?' => $o{sid}) : (), + ); + + my @select = ( qw| name team frags mesh skin face ping | ); + + return $s->dbAll( q|SELECT * FROM playerinfo !W ORDER BY team, name|, \%where ); +} + +1; diff --git a/lib/MasterWebInterface/Database/Servers.pm b/lib/MasterWebInterface/Database/Servers.pm new file mode 100755 index 0000000..d02bcd7 --- /dev/null +++ b/lib/MasterWebInterface/Database/Servers.pm @@ -0,0 +1,61 @@ +package MasterWebInterface::Database::Servers; +use strict; +use warnings; +use Exporter 'import'; +our @EXPORT = qw| dbServerListGet |; + +################################################################################ +## get the serverlist +################################################################################ +sub dbServerListGet { + my $s = shift; + my %o = ( page => 1, + results => 50, + gamename => "all", + @_ + ); + + my %where = ( + # gamename and char are "all" or value + $o{gamename} !~ /all/ ? ('serverlist.gamename = ?' => $o{gamename}) : (), + $o{nolist} ? ('serverlist.gamename <> ?' => $o{nolist}) : (), + $o{search} ? ('LOWER(hostname) LIKE LOWER(?)' => "%$o{search}%") : (), + $o{gametype} ? ('LOWER(gametype) LIKE LOWER(?)' => $o{gametype}) : (), + $o{updated} ? ('dt_updated > ?' => (time-$o{updated})) : (), + ('hostport >= ?' => 0), # sanity check + ); + + my @select = ( qw| id ip hostport hostname serverlist.gamename country numplayers maxplayers maptitle mapname gametype dt_added label dt_updated| ); + + my $order = sprintf { + hostname => 'hostname %s', + gamename => 'serverlist.gamename %s, gametype', + country => 'country %s', + dt_added => 'dt_added %s', + gametype => 'gametype %s, mapname', + numplayers => 'numplayers %s, maxplayers', + maptitle => 'maptitle %s', + mapname => 'mapname %s', + }->{ $o{sort} // 'dt_added' }, $o{reverse} ? 'DESC' : 'ASC'; + + my($r, $np) = $s->dbPage(\%o, q| + SELECT !s FROM serverlist + LEFT JOIN serverinfo ON serverlist.id = serverinfo.sid + LEFT JOIN gameinfo ON serverlist.gamename = gameinfo.gamename + !W + ORDER BY !s |, + join(', ', @select), \%where, $order + ); + + my $p = $s->dbAll( q| + SELECT COUNT(*) AS num + FROM serverlist + LEFT JOIN serverinfo ON serverlist.id = serverinfo.sid + !W|, \%where, + )->[0]{num}; + return wantarray ? ($r, $np, $p) : $r; + +} + + +1; diff --git a/lib/MasterWebInterface/Handler/ErrorPages.pm b/lib/MasterWebInterface/Handler/ErrorPages.pm new file mode 100755 index 0000000..dc386fc --- /dev/null +++ b/lib/MasterWebInterface/Handler/ErrorPages.pm @@ -0,0 +1,72 @@ +package MasterWebInterface::Handler::ErrorPages; +use strict; +use TUWF ':html'; + +# handle 404 and 500 +TUWF::set( + error_404_handler => \&handle404, + error_500_handler => \&handle500, +); + +TUWF::register( + qr{500} => sub {die "Process died on purpose, but with a lot of text to test if the whole error is correctly displayed on the screen when debug information is enabled in the website configuration, "}, +); + +sub handle404 +{ + my $self = shift; + + $self->resStatus(404); + $self->htmlHeader(title => '404 - Not Found'); + $self->htmlSearchBox(title => "Servers", action => "/s", sel => 's', fq => ''); + + div class => "mainbox warning"; + div class => "header"; + h1 'Page not found'; + p "Error 404: the page could not be found."; + end; + + div class => "description"; + p; + txt 'It seems the page you were looking for does not exist,'; + br; + txt 'perhaps our search function may yield results?'; + end; + end; + end; + $self->htmlFooter; +} + +sub handle500 +{ + my($self, $error) = @_; + + $self->resStatus(500); + $self->htmlHeader(title => '500 - Internal Server Error'); + $self->htmlSearchBox(title => "Servers", action => "/s", sel => 's', fq => ''); + + div class => "mainbox warning"; + div class => "header"; + h1 'Internal Server Error'; + p "Error 500: loading this page caused an internal error."; + end; + + div class => "description"; + p; + txt 'Something went wrong on our side. The problem was logged '; + br; + txt 'and will be fixed shortly. Please try again later.'; + end; + end; + + if ($self->debug) + { + div class => "code warning"; + txt $error; + end; + } + end; + $self->htmlFooter; +} + +1; diff --git a/lib/MasterWebInterface/Handler/Games.pm b/lib/MasterWebInterface/Handler/Games.pm new file mode 100755 index 0000000..bf50655 --- /dev/null +++ b/lib/MasterWebInterface/Handler/Games.pm @@ -0,0 +1,142 @@ +package MasterWebInterface::Handler::Games; + +use strict; +use utf8; + +use TUWF ':html'; +use Exporter 'import'; + +TUWF::register( + qr{g} => \&gamelist, + qr{g(|/all)} => \&gamelist, +); + +################################################################################ +# LIST GAMES +# Generate a list of games in the database (arg: gamename) +################################################################################ +sub gamelist +{ + my ($self, $all) = @_; + + # process additional query information, such as order, sorting, page, etc + my $f = $self->formValidate( + { + get => 's', + required => 0, + default => 'num_total', + enum => [ qw| label gamename num_total | ] + }, + { + get => 'o', + required => 0, + default => 'd', + enum => [ 'a','d' ] + }, + { + get => 'p', + required => 0, + default => 1, + template => 'page' + }, + { + get => 'q', + required => 0, + default => '', + maxlength => 30 + }, + { + get => 'r', + required => 0, + default => 50, + template => 'page' + } + ); + return $self->resNotFound if $f->{_err}; + + # load server list from database + my($list, $np, $p) = $self->dbGameListGet( + sort => $f->{s}, + reverse => $f->{o} eq 'd', + page => $f->{p}, + search => $f->{q}, + results => $f->{r}, + all => $all, + + ); + + # + # page + # + + $self->htmlHeader(title => "Browse Games"); + $self->htmlSearchBox(title => "Games", action => "/g/all", sel => 'g', fq => $f->{q}); + + # + # game list + # + + # table url (full table or only active servers?) + my $url = ($all) ? "/g/all" : "/g"; + $self->htmlBrowse( + items => $list, + options => $f, + total => $p, + nextpage => [$p,$f->{r}], + pageurl => "$url?o=$f->{o};s=$f->{s};q=$f->{q}", + sorturl => "$url?q=$f->{q}", + class => "gamelist", + (! $np and ! $all or $p <= 0) ? (footer => sub + { + Tr $p % $f->{r} ? (class => 'odd') : (); + td colspan => 3, class => 'tc2'; + txt "No (more) games with active servers. Browse "; + a class => "link", href => "/g/all", "all game titles"; + txt " instead."; + end; + end 'tr'; + }) : (), + header => [ + ['Release Title', 'label' ], + ['Game', ''], + ['Servers', 'num_total' ], + ], + row => sub + { + my($s, $n, $l) = @_; + + my $gn = $l->{gamename} // ""; + my $lb = $l->{label} // ""; + + + Tr $n % 2 ? (class => 's odd') : (class => 's'); + + # label + link + td class => "tc1"; + a href => "/s/$gn", $lb; + end; + + # icon or gamename + if (-e "$self->{root}/s/icon32/$gn.png" ) + { + td class => "tc2 icon", + style => "background-image: url(/icon32/$gn.png);", + title => $gn, + ''; + } + else + { + td $gn; + } + + # number of beacons / servers + td title => ($l->{num_direct} // 0) . "/" . ($l->{num_total} // 0), + $l->{num_total} // 0; + end; + }, + ); + + $self->htmlFooter; +} + +1; diff --git a/lib/MasterWebInterface/Handler/Json/ApiDoc.pm b/lib/MasterWebInterface/Handler/Json/ApiDoc.pm new file mode 100755 index 0000000..bbfe620 --- /dev/null +++ b/lib/MasterWebInterface/Handler/Json/ApiDoc.pm @@ -0,0 +1,437 @@ +package MasterWebInterface::Handler::Json::ApiDoc; +use strict; +use TUWF ':html'; +use Exporter 'import'; +use JSON; + +TUWF::register( + qr{json} => \&json_docs, +); + +################################################################################ +# Json Documentation +# Documentation about the Json API +################################################################################ +sub json_docs +{ + my $self = shift; + $self->htmlHeader(title => "Json API"); + $self->htmlSearchBox(title => "Servers", action => "/s", sel => 'j', fq => ''); + + div class => "mainbox apidoc"; + div class => "header"; + h1 "Json API"; + p "333networks has a Json API. With this API, it is possible to obtain server lists and specific server information for your own banners, ubrowser or other application."; + end; + + # + # ToS + # + + h2 "Permission & Terms of Use"; + p; + txt "The following permissions and conditions are in effect for making use of the Json API: "; + end; + + p "You are allowed to access our API with any application and/or script, self-made or not, to obtain our server lists and server information on the condition that somewhere, anywhere in your application or script you mention that the information is obtained from 333networks."; + + p "You are not allowed to flood the API with requests or query our API continuously or with a short interval. If you draw too much network traffic from 333networks, we consider this flooding and will terminate your ability to query our API. Server information is updated every 15 minutes, there is no point in requesting information at a faster rate as there will be no new information available."; + + p "Intended use: use the serverlist request to get show a list of all servers. After loading the list, your visitors/users can select a single server to display detailed information. Do NOT use the serverlist to immediately show detailed information for ALL servers, this causes a ludicrous amount of information requests and will get you excluded from our API. Not sure whether you are doing it right? Contact us!"; + + # + # use + # + h2 "Use"; + p "The Json API consists of three functions to query for information. The methods occur over HTTP and are presented as Json data. The first function requests the \"Message of the Day\", often used to make announcements about the game. The second method returns a list of servers and can be manipulated by gamename. The third method returns detailed server information for an individual server."; + + + h2 "Message of the Day"; + p; + txt "It is possible to pull announcements from the 333networks Json API with the "; + span class => "code", "motd"; + txt " command. This command returns an html string with the current 333networks announcements for the selected "; + span class => "code", "gamename"; + txt ". This string is suitable for direct JQuery's "; + span class => "code", ".html()"; + txt " function. Additionally, it contains the amount of servers and players as described for the serverlist. This method can be used to announce service messages."; + end; + + div class => "code"; + txt "$self->{site_url}/json/(.[\\w]{1,20})/motd"; + end; + + + h2 "Serverlist"; + p "With the API you can pull a serverlist directly from the masterserver. The API applies the following regex to process your request:"; + div class => "code"; + txt "$self->{site_url}/json/(.[\\w]{1,20})"; + end; + p; + txt "In this regex, "; + span class => "code", "(.[\\w]{1,20})"; + txt " refers to the "; + span class => "ext", "gamename"; + txt ". This is the abbreviation that every game specifies in their masterserver protocol. A comprehensive list of gamenames is found on the "; + a href => "/g/all", "games"; + txt " page by looking at the last part of the URL."; + end; + + p; + txt "It is also possible to provide "; + span class => "code", "GET"; + txt " information in the url. Allowed options are:"; + end; + + ul; + li; + span class => "code", "s"; + txt " - sort by country, hostname, gametype, ip, hostport, numplayers and mapname."; + end; + li; + span class => "code", "o"; + txt " - sorting order: 'a' for ascending and 'd' for descending."; + end; + li; + span class => "code", "r"; + txt " - number of results. Defaults to 50 if not specified. Minimum 1, maximum 1000."; + end; + li; + span class => "code", "p"; + txt " - page. Show the specified page with results. Total number of entries is included in the result."; + end; + li; + span class => "code", "q"; + txt " - search query. Identical to the search query on the "; + a href => "/s", "servers"; + txt " page. Maximum query length is 90 characters."; + end; + end; + + # + # list request format + # + + h2 "Serverlist request examples:"; + p; + txt "The following examples have different outcomes. In the first example, we request a serverlist of "; + span class => "code", "all"; + txt " servers, regardless of type and/or name. The second example requests only servers of the game "; + span class => "code", "Unreal"; + txt ". In the last example, we request a serverlist with the gamename "; + span class => "code", "333networks"; + txt ", with only "; + span class => "code", "2"; + txt " results per page, page "; + span class => "code", "1"; + txt " and with the search word "; + span class => "code", "master"; + txt "."; + end; + + div class => "code"; + txt "$self->{site_url}/json/"; + span class => "ext", "all"; + br; + txt "$self->{site_url}/json/"; + span class => "ext", "unreal"; + br; + txt "$self->{site_url}/json/"; + span class => "ext", "333networks"; + txt "?r="; + span class => "ext", "2"; + txt "&p="; + span class => "ext", "1"; + txt "&q="; + span class => "ext", "master"; + end; + + h2 "Serverlist result examples:"; + p "The API returns Json data in the following format, using the third request as an example. This is example data and may vary from what you receive when performing the same query."; + + div class => "code"; + pre json_result_1(); + end; + + p; + txt "The result contains an array of server entries and the "; + span class => "code", "total"; + txt " amount of entries. In this case, that is "; + span class => "code", "2"; + txt " entries listed and "; + span class => "code", "5"; + txt " total entries, implying that there is one more server not shown or on a next page. With the specified number of results specified by the user and the total amount of servers provided by the API, you can calculate how many pages there are to be specified. If applicable, it also shows the current number of "; + span class => "code", "players"; + txt " that are currently in the selected servers. Every server entry has a number of unsorted keywords. Timestamps are linux epoch, in UTC."; + end; + + p "The available keywords that are returned by the API are: "; + div class => "code", join (" ", qw| id ip hostport hostname gamename label country numplayers maxplayers maptitle mapname gametype dt_added dt_updated|); + + p "There are more keywords available for individual servers. Detailed information about a server is obtained with the individual request as described below. Keywords of both requests are described in the tables below. "; + + + h2 "Server details"; + p "Your application or script can also request detailed information for a single server. This is done in a similar way as requesting a server list. The following general regex is used by 333networks:"; + + div class => "code"; + txt "$self->{site_url}/json/(.[\\w]{1,20})/([\\:\\.\\w]{9,35})"; + end; + + p; + txt "This restricts requests to the correct url with a gamename "; + span class => "code", "(.[\\w]{1,20})"; + txt " and an IP:port "; + span class => "code", "([\\:\\.\\w]{9,35})"; + txt " for IPv4 and IPv6 addresses and numerical port number. There are no additional query options or GET options. It is possible that the gamename specified does not match the "; + txt "gamename"; + txt " as stored in our database. The result will include the correct gamename that was specified in our database."; + end; + + p "The following example requests detailed information by IP address and hostport."; + + # + # individual server details request format + # + + h3 "Server details request:"; + div class => "code"; + txt "$self->{site_url}/json/"; + span class => "ext", "333networks"; + txt "/"; + span class => "ext", "84.83.176.234"; + txt ":"; + span class => "ext", "28900"; + end; + + h3 "Server details result:"; + p "The API returns Json data in the following format, using the requests above as an example. This is example data and may vary from what you receive when performing the same query."; + + div class => "code"; + # snippet 1, below + pre json_result_2(); + end; + + p "The result has a single entry of parameters with a number of unsorted keywords. The available keywords are in addition to the keywords are specified in multiple tables below."; + + p; + txt "The player object "; + span class => "code", "player_n"; + txt " represent the players in the server. This is a Json object as part of the larger object above. The available keywords are specified in the table below."; + end; + + h2 "Keyword reference"; + p "Values, type and descriptions of fields that are returned by the Json API:"; + + # generate reference tables + json_database_ref(); + + h2 "Feedback"; + p; + txt "We wrote the Json API with the intention to make the 333networks masterserver data as accessible as possible. If you feel like any functionality is missing or incorrectly shared, do not hesitate to contact us to provide feedback. Additionally, we request that you follow the advise on usage as we described under the Terms of Use on top of this page, so we can keep providing this API."; + end; + + end; # mainbox + $self->htmlFooter(last_change => "May 2021"); +} + +# list of value / type / descriptions directly from database +sub json_database_ref +{ + my @keyval = ( + { title => "Server identifier information", + table => [ + ["id", "int", "gameserver ID in list database"], + ["sid", "int", "reference ID for detailed information"], + ["ip", "text", "server IP address (in IPv6 format)"], + ["queryport", "int", "UDP status query port"], + ["hostport", "int", "hostport to join the server"], + ["hostname", "text", "name of the specific server"], + ["country", "text", "2-letter country code where the server is hosted"], + ["location", "text", "GameSpy regional indication (continent index or 0 for world)"], + ], + }, + { title => "Server flags \& datetime", + table => [ + ["f_protocol", "int", "protocol index to distinguish between GameSpy v0 and others"], + ["f_blacklist", "int", "server blacklisted?"], + ["f_auth", "int", "authenticated response to the secure/validate challenge?"], + ["f_direct", "int", "direct beacon to the masterserver?"], + ["dt_added", "long", "UTC epoch time that the server was added"], + ["dt_beacon", "long", "UTC epoch time that the server sent a heartbeat"], + ["dt_sync", "long", "UTC epoch time that the server was last synced from another masterserver"], + ["dt_updated", "long", "UTC epoch time that the server information was updated"], + ["dt_serverinfo", "long", "UTC epoch time that the detailed server information was updated"], + ], + }, + { title => "Gamedata", + table => [ + # gamedata + ["gamename", "text", "gamename of the server"], + ["label", "text", "comprehensible game title associated with gamename"], + ["gamever", "text", "game version of the server"], + ["minnetver", "text", "minimal required game version to join"], + ], + }, + { title => "Game settings (detailed information)", + table => [ + ["listenserver", "text", "dedicated server indication"], + ["adminname", "text", "server administrator's name"], + ["adminemail", "text", "server administrator's contact information"], + ["password", "text", "passworded or non-public server"], + ["gametype", "text", "type of game: capture the flag, deathmatch, assault and more"], + ["gamestyle", "text", "in-game playing style"], + ["changelevels", "text", "automatically change levels after match end"], + ["mapurl", "text", "direct url of the map thumbnail relative from this site's domain"], + ["mapname", "text", "filename of current map"], + ["maptitle", "text", "title or description of current map"], + ["minplayers", "int", "minimum number of players to start the game"], + ["numplayers", "int", "current number of players"], + ["maxplayers", "int", "maximum number of players simultaneously allowed on the server"], + ["botskill", "text", "skill level of bots"], + ["balanceteams", "text", "team balancing on join"], + ["playersbalanceteams", "text", "players can toggle automatic team balancing"], + ["friendlyfire", "text", "friendly fire rate"], + ["maxteams", "text", "maximum number of teams"], + ["timelimit", "text", "time limit per match"], + ["goalteamscore", "text", "score limit per match"], + ["fraglimit", "text", "score limit per deathmatch"], + ["mutators", "text", "comma-separated mutator/mod list"], + ["misc", "text", "miscellaneous server attributes (reserved)"], + ["player_#", "text", "player information as Json object for player #, see table below"], + ], + }, + { title => "Player information", + table => [ + ["sid", "int", "associated server ID (per player)"], + ["name", "text", "player display name"], + ["team", "text", "player indication as team number, color code or text string"], + ["frags", "int", "number of frags or points"], + ["mesh", "text", "player model / mesh"], + ["skin", "text", "player body texture"], + ["face", "text", "player facial texture"], + ["ping", "int", "player ping"], + ["misc", "text", "miscellaneous player attributes (reserved)"], + ["dt_player", "long", "UTC epoch time that the player information was updated"], + ], + }, + ); + + + use Data::Dumper 'Dumper'; + + for my $keytype (@keyval) + { + h3 $keytype->{title}; + table class => "keyval"; + Tr; + th class => "tc1", "Value"; + th class => "tc2", "Type"; + th "Description"; + end; + + for my $r (@{$keytype->{table}}) + { + my @tr = @{$r}; + Tr; + td class => "tc1"; + span class => "code", $tr[0]; + end; + td class => "tc2", $tr[1]; + td $tr[2]; + end; + } + end; + } +} + +# json output for example 1 +sub json_result_1 +{ + return '[ + [ + { + "id":1990, + "ip":"::ffff:84.83.176.234" + "hostport":28900, + "hostname":"master.333networks.com (333networks MasterServer)", + "gamename":"333networks", + "gametype":"MasterServer", + "label":"333networks Masterserver", + "country":"NL", + "numplayers":15, + "maxplayers":2966, + "maptitle":null, + "mapname":"333networks", + "dt_added":1616895602, + "dt_updated":1621019250, + }, + { + "id":1117, + "ip":"::ffff:162.154.33.129", + "hostport":28900 + "hostname":"master.gonespy.com", + "gamename":"333networks", + "gametype":"Masterserver", + "label":"333networks Masterserver", + "country":"US", + "numplayers":5, + "maxplayers":847, + "maptitle":"", + "mapname":"333networks", + "dt_added":1616593343, + "dt_updated":1621019247, + } + ], + { + "players":20, + "total":5 + } +]'; +} + +sub json_result_2 +{ + return '{ + "id":3, + "ip":"::ffff:45.74.100.250", + "hostport":10205, + "mapname":"DXMP_iceworld2", + "adminname":"Canna the visionary l Disciple Derp191 and RoninMastaFX", + "hostname":"~Canna\'s Buddhist Server~", + "mapurl":"/map/default/333networks.jpg", + "gamever":"1100", + "gametype":"CDX BDM", + "gamename":"deusex", + "country":"CA", + "dt_updated":1621022768, + "player_0": + { + "sid":3, + "name":"Dark191", + "team":"0", + "frags":8, + "mesh":"cmJCDenton", + "skin":"None", + "face":"" + "ping":63, + "dt_player":1621022768, + "misc":"", + }, + "player_1": + { + "sid":3, + "name":"Anya", + "team":"0", + "frags":12, + "mesh":"cmJCDenton", + "skin":"None", + "face":"" + "ping":54, + "dt_player":1621022768, + "misc":"", + }, + }'; +} + +1; diff --git a/lib/MasterWebInterface/Handler/Json/JsonServerInfo.pm b/lib/MasterWebInterface/Handler/Json/JsonServerInfo.pm new file mode 100755 index 0000000..e6f5b44 --- /dev/null +++ b/lib/MasterWebInterface/Handler/Json/JsonServerInfo.pm @@ -0,0 +1,99 @@ +package MasterWebInterface::Handler::Json::JsonServerInfo; +use strict; +use TUWF ':html'; +use Exporter 'import'; +use JSON; + +TUWF::register( + qr{json/(.[\w]{1,20})/([\:\.\w]{9,35})} => \&json_serverinfo, +); + +################################################################################ +# Server Info +# Show server info for an individual server +# Same as &server_info, but with json output. +# returns "error:1" if errors occurred +################################################################################ +sub json_serverinfo +{ + my ($self, $gamename, $s_addr, $s_port) = @_; + + # parse from ipv4/6 and soft sanity check + my ($ip, $port) = $self->from_addr_str($s_addr); + + # select server from database + my $info = $self->dbGetServerInfo( + ip => $ip, + hostport => $port, + limit => 1, + )->[0] if ($ip && $port); + + # display an error in case of an invalid IP or port + unless ($info) + { + my %err = (error => 1, ip => $ip, port => $port); + my $e = \%err; + my $json_data = encode_json $e; + my $json_data_size = keys %$e; + + # return json data as the response + print { $self->resFd() } $json_data; + + # set content type at the end + $self->resHeader("Access-Control-Allow-Origin", "*"); + $self->resHeader("Content-Type", "application/json; charset=UTF-8"); + return; + } + + # load player data if available + my %players = (); + my $pl_list = $self->dbGetPlayerInfoList(sid => $info->{id}); + + for (my $i=0; defined $pl_list->[$i]->{name}; $i++) + { + $players{"player_$i"} = $pl_list->[$i]; + } + + use Data::Dumper 'Dumper'; + my $str = Dumper $pl_list; + + # merge + #$info = { %$info, %$details } if $details; + $info = { %$info, %players } if %players; + + + # find the correct thumbnail, otherwise game default, otherwise 333 default + my $mapname = lc $info->{mapname}; + + # if map figure exists, use it + if (-e "$self->{root}/s/map/$info->{gamename}/$mapname.jpg") + { + # map image + $info->{mapurl} = "/map/$info->{gamename}/$mapname.jpg"; + } + # if not, game default image + elsif (-e "$self->{root}/s/map/default/$info->{gamename}.jpg") + { + # game image + $info->{mapurl} = "/map/default/$info->{gamename}.jpg"; + } + # otherwise 333networks default + else + { + # 333networks default + $info->{mapurl} = "/map/default/333networks.jpg"; + } + + # encode + my $json_data = encode_json $info; + my $json_data_size = keys %$info; + + # return json data as the response + print { $self->resFd() } $json_data; + + # set content type and allow off-domain access (for example jQuery) + $self->resHeader("Access-Control-Allow-Origin", "*"); + $self->resHeader("Content-Type", "application/json; charset=UTF-8"); +} + +1; diff --git a/lib/MasterWebInterface/Handler/Json/JsonServerList.pm b/lib/MasterWebInterface/Handler/Json/JsonServerList.pm new file mode 100755 index 0000000..ecd6c36 --- /dev/null +++ b/lib/MasterWebInterface/Handler/Json/JsonServerList.pm @@ -0,0 +1,95 @@ +package MasterWebInterface::Handler::Json::JsonServerList; +use strict; +use TUWF ':html'; +use Exporter 'import'; +use JSON; + +TUWF::register( + qr{json/(.[\w]{1,20})} => \&serverlist_json, + qr{json/(.[\w]{1,20})/(all|[0a-z])} => \&serverlist_json, +); + +################################################################################ +# LIST SERVERS +# Generate a list of selected games in the database per game (arg: gamename) +# Same as &serverlist, but with json output. +################################################################################ +sub serverlist_json +{ + my($self, $gamename, $char) = @_; + $gamename = "all" unless $gamename; + + # TODO DEPRECATE $char + + # sorting, page + my $f = $self->formValidate( + { + get => 's', + required => 0, + default => 'gamename', + enum => [ qw| hostname gamename country added gametype numplayers mapname | ] + }, + { + get => 'o', + required => 0, + default => 'a', + enum => [ 'a','d' ] + }, + { + get => 'p', + required => 0, + default => 1, + template => 'page', + }, + { + get => 'q', + required => 0, + default => '', + maxlength => 90 + }, + { + get => 'r', + required => 0, + default => 100, + template => 'page' + }, + { + get => 'g', + required => 0, + default => '', + maxlength => 90 + }, + ); + return $self->resNotFound if $f->{_err}; + + # load server list from database + my ( $list, $np, $p ) = $self->dbServerListGet( + sort => $f->{s}, + reverse => $f->{o} eq 'd', + gamename => $gamename, + search => $f->{q}, + page => $f->{p}, + results => $f->{r}, + updated => $self->{window_time}, + gametype => $f->{g}, # TODO: implement in DB query + ); + + # get total number of players + my $pl = 0; + for (@{$list}) + { + $pl += $_->{numplayers} + } + + # return json data as the response + my $json_data = encode_json [$list, {total => $p, players => $pl}]; + print { + $self->resFd() + } $json_data; + + # set content type and allow off-domain access (for example jQuery) + $self->resHeader("Access-Control-Allow-Origin", "*"); + $self->resHeader("Content-Type", "application/json; charset=UTF-8"); +} + +1; diff --git a/lib/MasterWebInterface/Handler/Json/Motd.pm b/lib/MasterWebInterface/Handler/Json/Motd.pm new file mode 100755 index 0000000..c473f12 --- /dev/null +++ b/lib/MasterWebInterface/Handler/Json/Motd.pm @@ -0,0 +1,51 @@ +package MasterWebInterface::Handler::Json::Motd; + +use strict; +use utf8; +use JSON; +use TUWF ':html'; +use Exporter 'import'; +our @EXPORT = qw| motd_static |; + +TUWF::register( + qr{json/(.[\w]{1,20})/motd} => \&json_motd, +); + +# Message of the Day for things like the JSON API or updateserver page +sub motd_static +{ + my ($self, $gamedesc) = @_; + return "

$gamedesc

Thank you for using the $self->{site_name} masterserver. For more information, visit {site_url}\">$self->{site_url}.

"; +} + +# MOTD for json api +sub json_motd +{ + my ($self, $gamename) = @_; + + # gamename defined + my $gn_desc = $self->dbGetGameDesc($gamename) || $gamename; + my $html = $self->motd_static($gn_desc); + + # get numServers + my ($l,$x,$s) = $self->dbServerListGet( + gamename => $gamename, + results => 100, + ); + + my $p = 0; + for (@{$l}) + { + $p += $_->{numplayers} + } + + # return json data as the response + my $json_data = encode_json [{motd => $html}, {total => $s, players => $p}]; + print { $self->resFd() } $json_data; + + # set content type and allow off-domain access (for example jQuery) + $self->resHeader("Access-Control-Allow-Origin", "*"); + $self->resHeader("Content-Type", "application/json; charset=UTF-8"); +} + +1; diff --git a/lib/MasterWebInterface/Handler/ServInfo.pm b/lib/MasterWebInterface/Handler/ServInfo.pm new file mode 100755 index 0000000..be30fd0 --- /dev/null +++ b/lib/MasterWebInterface/Handler/ServInfo.pm @@ -0,0 +1,550 @@ +package MasterWebInterface::Handler::ServInfo; +use strict; +use warnings; +use utf8; +use TUWF ':html'; +use POSIX 'strftime'; +use Exporter 'import'; + +TUWF::register( + qr{(.[\w]{1,20})/([\:\.\w]{9,35})} => \&show_server, +); + +################################################################################ +# Display server information +# Verify if game and server (ip:hostport) exist. Display as many available +# values as possible. +# Display error pages if not found or incorrect. +################################################################################ +sub show_server +{ + my ($self, $gamename, $s_addr) = @_; + + # parse from ipv4/6 and soft sanity check + my ($ip, $port) = $self->from_addr_str($s_addr); + + # select server from database + my $info = $self->dbGetServerInfo( + ip => $ip, + hostport => $port, + limit => 1, + )->[0]; + + # either redirect or show error when no info was found + if (!defined $info) + { + # try if query port was provided instead + my $attempt = $self->dbGetServerInfo( + ip => $ip, + port => $port, + limit => 1 + )->[0]; + + # if it exists now, automatically redirect to this page (don't show info here) + if (defined $attempt && defined $attempt->{gamename} && defined $attempt->{hostport} ) + { + $self->resRedirect("/$attempt->{gamename}/$ip:$attempt->{hostport}"); + return; + } + + # otherwise not found in database, soft error page (no 404 status) + $self->htmlHeader(title => 'Server not found'); + $self->htmlSearchBox(title => "Servers", action => "/s", sel => 's', fq => ''); + + div class => "mainbox warning"; + div class => "header"; + h1 'Server not found'; + p "The requested information is not in our database."; + end; + + div class => "description"; + p; + txt 'It seems the server you were looking for does not exist in our database,'; + br; + txt 'perhaps our search function may yield results?'; + end; + + p; + txt "You tried to access "; + span class => "hilit", $self->to_ipv4_str($s_addr) // "[no ip]"; + txt " in "; + span class => "hilit", $gamename; + txt "."; + end; + end; + end; + $self->htmlFooter; + + return; + } + + + # + # info exists. sanity checks + $gamename = $info->{gamename} // $gamename; + my $gamedescription = $self->dbGetGameDesc($info->{gamename}) // $info->{gamename}; + + # + # generate info page + $self->htmlHeader(title => $info->{hostname} // "Server"); + $self->htmlSearchBox( + title => "$gamedescription Servers", + action => "/s/$gamename", + sel => 's', + fq => '' + ); + + # serverinfo box + div class => "mainbox detail"; + + div class => "header"; + h1 title => $info->{hostname} // "[unnamed $gamename server]", + $info->{hostname} // "[unnamed $gamename server]"; + end; + + # + # Map thumbnail and bot info + # + div class => "container"; + + # find the correct thumbnail, otherwise game default, otherwise 333 default + div class => "thumbnail"; + my $mapfig = "/map/default/333networks.jpg"; + my $mapfile = lc ($info->{mapname} // ""); + + # if map figure exists, use it + if (-e "$self->{root}/s/map/$gamename/$mapfile.jpg") + { + # map image + $mapfig = "/map/$gamename/$mapfile.jpg"; + } + # if not, game default image + elsif (-e "$self->{root}/s/map/default/$gamename.jpg") + { + # game image + $mapfig = "/map/default/$gamename.jpg"; + } + # otherwise 333networks default + else + { + # 333networks default + $mapfig = "/map/default/333networks.jpg"; + } + + # map title/name (not lowercase) + my $mapname = $info->{mapname} // $info->{maptitle} // "Untitled"; + my $maptitle = ( $info->{maptitle} && lc $info->{maptitle} ne "untitled" ) + ? $info->{maptitle} + : $mapname; + + img src => $mapfig, + alt => $mapfig, + title => $mapname; + span $maptitle; + end; + + table class => "mapinfo"; + # numplayer field + Tr; + td class => "wc1", "Players:"; + td; + txt $info->{numplayers} // 0; + txt "/"; + txt $info->{maxplayers} // 0; + end; + end; + + + Tr; + td "Bots:"; + td; + if ($info->{botskill} or $info->{minplayers}) + { + txt $info->{minplayers} // 0; + txt " "; + txt $info->{botskill} // ""; + txt " bot"; + txt ($info->{minplayers} && $info->{minplayers} == 1 ? "" : "s"); + } + else + { + txt "No"; + } + end; + end; + end; #table + end; # container + + # + # specific server entry information + table class => "serverinfo"; + Tr; + th class => "wc1", title => "Server ID: " . ($info->{id} // "-1"), "Server Info"; + th ""; + end; + + # server address + Tr; + td "Address:"; + td title => $info->{queryport} // 0; + txt $self->to_ipv4_str($info->{ip}) // "0.0.0.0"; + txt ":"; + txt $info->{hostport} // 0; + end; + end; + + # contact + if ($info->{adminname}) + { + Tr; + td "Admin:"; + td $info->{adminname}; + end; + } + + # always display contact + Tr; + td class => "wc1", "Contact:"; + td; + if ($info->{adminemail}) + { + txt $info->{adminemail} + } + else + { + i; + txt "This server has no contact information listed "; + a href => "https://ut99.org/viewtopic.php?f=33&t=6660", "[?]"; + end; + } + end; + end; + + # location data + Tr; + td class => "wc1", "Location:"; + + my ($flag, $country) = $self->countryflag($info->{country} // ""); + td; + img class => "flag", src => "/flag/$flag.svg"; + txt " ". $country; + end; + end; + + # added / updated + Tr; + { + td "Added:"; + my @t = gmtime( time - ( $info->{dt_added} // 0 ) ); + my $sig = 0; + my $diff = ""; + if ($t[5]-70) + { + $diff .= $t[5]-70 + . " year" + . ( ($t[5]-70==1) ? "" : "s" ); + $sig++; + } + if ($t[7]) + { + $diff .= ($sig?", ":"") + . $t[7] + . " day" + . ( ($t[7]==1) ? "" : "s") + } + + if ($diff eq "") + { + $diff = "Less than one day"; + } + td $diff . " ago (" . (strftime "%e %b %Y", gmtime ($info->{dt_added} // 0) ) .")"; + } + end; + + Tr; + { + td "Last seen:"; + td; + my @t = gmtime( time - ( $info->{dt_updated} // 0 ) ); + if ($t[5]-70 // $t[7]) + { + # more than 1 day? show date + span class => "r", (strftime "%e %b %Y", gmtime ($info->{dt_updated} // 0) ); + } + else + { + # less than 1 day? show "time ago" + my $diff = ""; + $diff .= ($t[2] ? $t[2]." hour" . ( $t[2]>1 ? "s, " : ", ") : ""); + $diff .= ($t[1] ? $t[1]." minute". ( $t[1]>1 ? "s, " : ", ") : ""); + $diff .= ($t[0] ? $t[0]." second". ( $t[0]>1 ? "s" : " " ) : "0 seconds"); + $diff .= " ago"; + span $diff; + } + end; + } + end; + + + # TODO: move flags to header + Tr; + td "Flags: "; + td; + # uplink/sync + span title => "direct uplink or manually added?", + ($info->{f_direct} ? "💻 uplink" : "🤚 manual"); + + txt ", "; + + span title => "authenticated game server?", + ($info->{f_auth} ? "✅ authed" : "❌ insecure"); + txt ", "; + + span title => "server blacklisted for violating 333networks policy?", + ($info->{f_blacklist} ? "blacklisted" : "compliant"); + + txt ", "; + span title => "does the server require a password to join?", + ($info->{passworded} ? + ($info->{passworded} =~ /(true|1)/i ? "🔒 password" : "🔓 open") + : "🔓 open"); + end; + end; + end; # table serverinfo + + # + # Specific game and version information + table class => "gameinfo"; + Tr; + th class => "wc1", "Game Info"; + th ""; + end; + + Tr; + td "Game:"; + td; + a href => "/s/$gamename", $gamedescription; + end; + end; + if ($info->{gametype}) + { + Tr; + td "Type:"; + td $info->{gametype}; + end; + } + if ($info->{gamestyle}) + { + Tr; + td "Style:"; + td $info->{gamestyle}; + end; + } + if ($info->{gamever}) + { + Tr; + td "Version:"; + td $info->{gamever}; + end; + } + end; #gameinfo + + # + # Mutator list + table class => "mutators"; + Tr; + th "Mutators"; + end; + Tr; + td; + if (defined $info->{mutators} && $info->{mutators} ne "None") + { + txt $info->{mutators}; + } + else + { + i "This server does not have any mutators listed."; + } + end; + end; + end; #mutators + + # + # Player info + table class => "players"; + my $player = $self->dbGetPlayerInfoList(sid => $info->{id}); + my %team = (0 => "#e66", + 1 => "#66e", + 2 => "#6e6", + 3 => "#ee6", + 4 => "#fe6", + 255 => "#aaa"); + + # iterate players and colors + Tr; + th class => "wc1", 'Player Info'; + th class => "frags", 'Frags'; + th class => "mesh", 'Mesh'; + th class => "skin", 'Skin'; + th class => "ping", 'Ping'; + end; + + for (my $i = 0; defined $player->[$i]->{name}; $i++) + { + # determine teamcolor + my $teamcolor = ( defined $player->[$i]->{team} && + $player->[$i]->{team} =~ m/^([0-4]|255)$/i) + ? $team{$player->[$i]->{team}} + : "#aaa"; + + Tr $i % 2 ? (class => 'odd') : (), style => 'color:'.$teamcolor; + td class => "wc1", title => $player->[$i]->{team} // "None"; + txt $player->[$i]->{name} // "[no name]"; + if ($player->[$i]->{ngsecret} && $player->[$i]->{ngsecret} =~ m/^bot$/i) + { + txt " (bot)"; + } + end; + td class => "frags", $player->[$i]->{frags} // 0; + td class => "mesh", $player->[$i]->{mesh} // ""; + td class => "skin", $player->[$i]->{skin} // ""; + td class => "ping", $player->[$i]->{ping} // 0; + end; + } + if ( ! defined $player->[0]->{name}) + { + Tr; + td colspan => 5; + i "There is no player information available."; + end; + end; + } + end; # playerinfo + + # + # Team info + table class => "teaminfo"; + Tr; + th class => "wc1", "Team Info"; + th ""; + end; + Tr; + td "Balance Teams:"; + td ( (defined $info->{balanceteams} && + $info->{balanceteams} =~ m/true/i ) ? "Yes" : "No"); + end; + Tr; + td "Players Balance Teams:"; + td ( defined $info->{playersbalanceteams} && + $info->{playersbalanceteams} ? "Yes" : "No"); + end; + Tr; + td "Friendly Fire:"; + td ($info->{friendlyfire} // "0%"); + end; + Tr; + td "Max Teams:"; + td ($info->{maxteams} // 1); + end; + end; + + # + # Game Limits + table class => "limits"; + Tr; + th class => "wc1", "Limits"; + th ""; + end; + Tr; + td "Time Limit:"; + td (($info->{timelimit} // 0). " min"); + end; + Tr; + td "Score Limit:"; + td ($info->{goalteamscore} // 0); + end; + Tr; + td "Frag Limit:"; + td ($info->{fraglimit} // 0); + end; + end; + + # + # Share options (copy fields) + my $url = $self->{site_url} + . "/" + . $gamename + . "/" + . ( $self->to_ipv4_str($info->{ip}) // "0.0.0.0" ) + . ":" + . ($info->{hostport} // 0); + + table class => "shareopts"; + Tr; + th class => "wc1", "Share"; + th ""; + end; + Tr; + td class => "tc1", "Link"; + td class => "tc2"; + input type => 'text', + class => 'text', + name => 'url', + value => $url; + end; + end; + Tr; + td class => "tc1"; + a href => "/json", + title => "The url to access this server over the 333networks Json API", + "Json API"; + end; + td class => "tc2"; + input type => 'text', + class => 'text', + name => 'url', + value => $self->{site_url} + . "/json/" + . $gamename + . "/" + . ( $self->to_ipv4_str($info->{ip}) // "0.0.0.0" ) + . ":" + . ($info->{hostport} // 0); + end; + end; + Tr; + td "Forum Link"; + td; + textarea type => 'textarea', + class => 'text', + rows => 3, + name => 'paste'; + txt "\[url=$url\]";lit "\n"; + txt $info->{hostname} // "[unnamed $gamename server]"; + lit "\n"; + txt "\[/url\]"; + end; + end; + end; + Tr; + td "HTML Code"; + td; + textarea type => 'textarea', + class => 'text', + rows => 3, + name => 'paste'; + txt ""; + lit "\n"; + txt $info->{hostname} // "[unnamed $gamename server]"; + lit "\n"; + txt ""; + end; + end; + end; + end; # share options + + end; # mainbox details + $self->htmlFooter; +} + +1; diff --git a/lib/MasterWebInterface/Handler/Servers.pm b/lib/MasterWebInterface/Handler/Servers.pm new file mode 100755 index 0000000..374cddf --- /dev/null +++ b/lib/MasterWebInterface/Handler/Servers.pm @@ -0,0 +1,180 @@ +package MasterWebInterface::Handler::Servers; +use strict; +use utf8; +use TUWF ':html'; +use Exporter 'import'; + +TUWF::register( + qr{} => \&serverlist, + qr{s} => \&serverlist, + qr{s/(.[\w]{1,20})} => \&serverlist, +); + +################################################################################ +# List servers +# Generate a list of selected games in the database per game (arg: gamename) +################################################################################ +sub serverlist +{ + my($self, $gamename) = @_; + $gamename = "all" unless $gamename; + + # sorting, page + my $f = $self->formValidate( + { + get => 's', + required => 0, + default => 'gamename', + enum => [ qw| hostname gamename country dt_added gametype numplayers mapname | ] + }, + { + get => 'o', + required => 0, + default => 'a', + enum => [ 'a','d' ] + }, + { + get => 'p', + required => 0, + default => 1, + template => 'page', + }, + { + get => 'q', + required => 0, + default => '', + maxlength => 90 + }, + { + get => 'r', + required => 0, + default => 50, + template => 'page' + }, + { + get => 'g', + required => 0, + default => '', + maxlength => 90 + }, + ); + return $self->resNotFound if $f->{_err}; + + # load server list from database + my ( $list, $np, $p ) = $self->dbServerListGet( + sort => $f->{s}, + reverse => $f->{o} eq 'd', + gamename => $gamename, + search => $f->{q}, + page => $f->{p}, + updated => $self->{window_time}, + results => $f->{r}, + gametype => $f->{g}, + # don't show 333networks in default list + $gamename ne "333networks" ? ( nolist => "333networks") : (), + ); + + # game name description in title + my $gn_desc = $self->dbGetGameDesc($gamename) // $gamename; + + # + # page + # + + # Write page + $self->htmlHeader(title => "Browse $gn_desc game servers"); + $self->htmlSearchBox( + title => "$gn_desc Servers", + action => "/s/$gamename", + sel => 's', + fq => $f->{q} + ); + + + # + # server list + $self->htmlBrowse( + items => $list, + options => $f, + total => $p, + nextpage => [$p,$f->{r}], + pageurl => "/s/$gamename?o=$f->{o};s=$f->{s};q=$f->{q}", + sorturl => "/s/$gamename?q=$f->{q}", + class => "serverlist", + ($p <= 0) ? (footer => sub + { + Tr; + td colspan => 6, class => 'tc2', 'No online servers found'; + end 'tr'; + }) : (), + header => [ + [ '', 'country' ], + [ 'Server Name', 'hostname' ], + [ 'Game', 'gamename' ], + [ 'Gametype', 'gametype' ], + [ 'Players', 'numplayers' ], + [ 'Map', 'mapname' ], + ], + row => sub + { + + my($s, $n, $l) = @_; + Tr $n % 2 ? (class => 's odd') : (class => 's'); + + # country flag + my ($flag, $country) = $self->countryflag($l->{country}); + td class => "tc1", + style => "background-image: url(/flag/$flag.svg);", + title => $country, + ''; + + # server name + my $ip = $self->to_ipv4_str($l->{ip}); + my $hp = $l->{hostport} // 0; + my $gn = $l->{gamename} // ""; + td class => "tc2"; + a href => "/$gn/$ip:$hp", + title => $l->{hostname} // "[unnamed $gn server]", + $l->{hostname} // "[unnamed $gn server]"; + end; + + # gamename + icon + if (-e "$self->{root}/s/icon32/$gn.png" ) + { + td class => "tc3 icon", + style => "background-image: url(/icon32/$gn.png);", + title => $l->{label}; + a href => "/s/$gn", ""; + end; + } + else + { + td $gn; + } + + # game type (CTF, DM, Masterserver, CoopGame) + td class => "tc4", + title => $l->{gametype} // "", + $l->{gametype} // ""; + + # number of players / maximum players + td class => "tc5"; + txt $l->{numplayers} // 0; + txt "/"; + txt $l->{maxplayers} // 0; + end; + + # map title/name + my $mapname = $l->{mapname} // $l->{maptitle} // ""; + my $maptitle = ( $l->{maptitle} && lc $l->{maptitle} ne "untitled" ) + ? $l->{maptitle} + : $mapname; + td class => "tc6", title => $mapname, $maptitle; + end; + }, + ); + + $self->htmlFooter; +} + +1; diff --git a/lib/MasterWebInterface/Util/AddressFormat.pm b/lib/MasterWebInterface/Util/AddressFormat.pm new file mode 100755 index 0000000..68cf82c --- /dev/null +++ b/lib/MasterWebInterface/Util/AddressFormat.pm @@ -0,0 +1,54 @@ +package MasterWebInterface::Util::AddressFormat; +use strict; +use warnings; +use TUWF ':html'; +use Exporter 'import'; +our @EXPORT = qw| from_addr_str + to_ipv4_str |; + +################################################################################ +# parse incoming addresses to IPv6 type used by MasterServer-Qt5 and port +# parses IPv4 to ::ffff:0.0.0.0 and port +# this is only a semi-sanity check -- invalid values (like port > 65535) +# are ignored since they will simply not be found in the database. +################################################################################ +sub from_addr_str { + my ($self, $str_addr) = @_; + my ($ip, $port); + + # ::ffff:127.0.0.1:7778 + if ($str_addr =~ /^::ffff:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d{1,5}$/) + { + # ipv4 in ipv6 format is already in the correct format + return ($ip, $port) = $str_addr =~ m/^(::ffff:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d{1,5})$/; + } + + # ipv6 (without leading ::) and trailing :7778 / port + if ($str_addr =~ /^\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\d{1,5}$/) + { + # ipv6 already in the correct format + return ($ip, $port) = $str_addr =~ m/^(\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\w{4}:\w{4}):(\d{1,5})$/; + } + + # ipv4 (127.0.0.1:7778) + if ($str_addr =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d{1,5}$/) + { + # rewrite to ::ffff:127.0.0.1 + ($ip, $port) = $str_addr =~ m/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d{1,5})$/; + return ("::ffff:".$ip, $port); + } + + # failure + return ("0.0.0.0", 0); +} + +# write ::ffff:0.0.0.0 to 0.0.0.0 format if possible +# return ipv6 addresses untouched +sub to_ipv4_str +{ + my ($self, $str_addr) = @_; + $str_addr =~ s/^::ffff://; + return $str_addr; +} + +1; diff --git a/lib/MasterWebInterface/Util/BrowseHTML.pm b/lib/MasterWebInterface/Util/BrowseHTML.pm new file mode 100755 index 0000000..f32e088 --- /dev/null +++ b/lib/MasterWebInterface/Util/BrowseHTML.pm @@ -0,0 +1,201 @@ +package MasterWebInterface::Util::BrowseHTML; +use strict; +use warnings; +use utf8; +use TUWF ':html', 'xml_escape'; +use Exporter 'import'; +use POSIX 'ceil'; +our @EXPORT = qw| htmlSearchBox htmlBrowse htmlBrowseNavigate |; + +# generates a search box, arguments: +# title => games/ (game) servers +# action => form action +# sel => g or s selected +# fq => form query string +sub htmlSearchBox +{ + my($self, %opt) = @_; + + div class => 'mainbox'; + div class => "header"; + h1 "Browse $opt{title}"; + p class => "alttitle", "An overview of games titles and servers that are currently online."; + end; + + # search box + form action => $opt{action}, 'accept-charset' => 'UTF-8', method => 'get'; + fieldset class => 'search'; + a href => '/g', $opt{sel} eq 'g' ? (class => 'sel') : (), 'Games'; + a href => '/s', $opt{sel} eq 's' ? (class => 'sel') : (), 'Servers'; + #a href => '/json', $opt{sel} eq 'j' ? (class => 'sel') : (), 'Json API'; + input type => 'text', name => 'q', id => 'q', class => 'text', + value => $opt{fq} || 'search...'; + input type => 'submit', class => 'submit', value => 'submit'; + end 'fieldset'; + + div class => "dropdown"; + a href => "#", onclick => "toggleAdvanced()"; + txt "advanced search "; + lit "\x{25BE}"; + end; + end; + + fieldset id => 'advancedsearch'; + #input type => 'text', name => 'aq', class => 'text', value => ''; + #input type => 'submit', class => 'submit', value => 'submit'; + txt "Patience, young one. With time, advanced search options will become available to you."; + end; + end; + + end 'div'; # mainbox +} + +# generates a browse box, arguments: +# items => arrayref with the list items +# options => hashref containing at least the keys s (sort key), o (order) and p (page) +# nextpage => whether there's a next page or not +# sorturl => base URL to append the sort options to (if there are any sortable columns) +# pageurl => base URL to append the page option to +# class => classname of the mainbox +# header => +# can be either an arrayref or subroutine reference, +# in the case of a subroutine, it will be called when the header should be written, +# in the case of an arrayref, the array should contain the header items. Each item +# can again be either an arrayref or subroutine ref. The arrayref would consist of +# two elements: the name of the header, and the name of the sorting column if it can +# be sorted +# row => subroutine ref, which is called for each item in $list, arguments will be +# $self, $item_number (starting from 0), $item_value +# footer => subroutine ref, called after all rows have been processed +# Mostly written by Yorhel --> https://g.blicky.net/vndb.git/tree/COPYING +sub htmlBrowse +{ + my($self, %opt) = @_; + + # get options + $opt{sorturl} .= $opt{sorturl} =~ /\?/ ? ';' : '?' if $opt{sorturl}; + + # top navigation + $self->htmlBrowseNavigate($opt{pageurl}, $opt{options}{p}, $opt{nextpage}, 't') if $opt{pageurl}; + + div class => 'mainbox browse'.($opt{class} ? ' '.$opt{class} : ''); + table class => 'stripe'; + + # header + thead; + Tr; + if(ref $opt{header} eq 'CODE') + { + $opt{header}->($self); + } + else + { + for(0..$#{$opt{header}}) + { + if(ref $opt{header}[$_] eq 'CODE') + { + $opt{header}[$_]->($self, $_+1); + } + elsif ($opt{simple}) + { + td class => $opt{header}[$_][3]||'tc'.($_+1), $opt{header}[$_][2] ? (colspan => $opt{header}[$_][2]) : (); + if($opt{header}[$_][1]) + { + lit qq|$opt{header}[$_][0]|; + } + else + { + txt $opt{header}[$_][0]; + } + end; + } + else + { + td class => $opt{header}[$_][3]||'tc'.($_+1), $opt{header}[$_][2] ? (colspan => $opt{header}[$_][2]) : (); + if ( $opt{options}{s} eq $opt{header}[$_][1] ) + { # active sort + if ( $opt{options}{o} eq 'a' ) + { + a href => "$opt{sorturl}o=d;s=$opt{header}[$_][1]"; + lit $opt{header}[$_][0]; + lit " \x{25B4}"; + end; + } + else + { # eq 'd' + a href => "$opt{sorturl}o=a;s=$opt{header}[$_][1]"; + lit $opt{header}[$_][0]; + lit " \x{25BE}"; + end; + } + } + else + { # passive sort options + a href => "$opt{sorturl}o=d;s=$opt{header}[$_][1]"; + lit $opt{header}[$_][0]; + end; + } + end; + } + } + } + end; + end 'thead'; + + # footer + if($opt{footer}) + { + tfoot; + $opt{footer}->($self); + end; + } + + # rows + $opt{row}->($self, $_+1, $opt{items}[$_]) for 0..$#{$opt{items}}; + + end 'table'; + end 'div'; + + # bottom navigation + $self->htmlBrowseNavigate($opt{pageurl}, $opt{options}{p}, $opt{nextpage}, 'b') if $opt{pageurl}; +} + + +# creates next/previous buttons (tabs), if needed +# Arguments: page url, current page (1..n), nextpage (0/1 or [$total, $perpage]), alignment (t/b), noappend (0/1) +# Mostly written by Yorhel --> https://g.blicky.net/vndb.git/tree/COPYING +sub htmlBrowseNavigate { + my($self, $url, $p, $np, $al, $na) = @_; + my($cnt, $pp) = ref($np) ? @$np : ($p+$np, 1); + return if $p == 1 && $cnt <= $pp; + + $url .= $url =~ /\?/ ? ';p=' : '?p=' unless $na; + + my $tab = sub { + my($left, $page, $label) = @_; + li $left ? (class => 'left') : (); + a href => $url.$page; lit $label; end; + end; + }; + my $ell = sub { + li class => 'ellipsis'.(shift() ? ' left' : ''); + b '⋯'; + end; + }; + my $nc = 5; # max. number of buttons on each side + + ul class => 'maintabs browsetabs ' . ($al eq 't' ? 'notfirst' : 'bottom'); + $p > $nc and ref $np and $tab->(1, 1, '« first'); + $p > $nc and ref $np and $ell->(1); + $p > $_ and ref $np and $tab->(1, $p-$_, $p-$_) for (reverse 1..($nc>$p-1?$p-1:$nc-1)); + $p > 1 and $tab->(1, $p-1, '‹ previous'); + + my $l = ceil($cnt/$pp)-$p+1; + $l > $nc and $tab->(0, $l+$p-1, ('last').' »'); + $l > $nc and $ell->(0); + $l > $_ and $tab->(0, $p+$_, $p+$_) for (reverse 1..($nc>$l-1?$l-1:$nc-1)); + $l > 1 and $tab->(0, $p+1, ('next').' ›'); + end 'ul'; +} + +1; diff --git a/lib/MasterWebInterface/Util/Layout.pm b/lib/MasterWebInterface/Util/Layout.pm new file mode 100755 index 0000000..bf401c2 --- /dev/null +++ b/lib/MasterWebInterface/Util/Layout.pm @@ -0,0 +1,116 @@ +package MasterWebInterface::Util::Layout; +use strict; +use warnings; +use TUWF ':html'; +use Exporter 'import'; +our @EXPORT = qw| htmlHeader htmlFooter |; + +################################################################################ +# page header +# options: title, noindex +################################################################################ +sub htmlHeader +{ + my($self, %o) = @_; + + # CSS override: allow passing of style from GET --> ?style=classic + my $style = $self->{style}; + if (my $overrideStyle = $self->reqParam("style") ) + { + # default to custom style if specified option doesn't exist + $style = ( -e "$self->{root}/s/style/$overrideStyle" ) ? $overrideStyle : "basic"; + } + + html lang => "en"; + head; + title "$o{title} :: $self->{site_name} masterserver"; + Link type => 'image/x-icon', rel => 'shortcut icon', href => "/favicon.ico"; + Link type => "text/css", rel => 'stylesheet', href => "/style/$style/style.css", media => "all"; + if ( $o{noindex} ) + { + meta name => 'robots', content => 'noindex,nofollow,nosnippet,noodp,noarchive,noimageindex';end; + } + end 'head'; + + body; + + my $topbar = $self->reqParam("topbar"); + if ($topbar && lc $topbar eq "true" ) + { + # games, servers, search bar + div class => 'nav'; + # search box + form action => "/g", 'accept-charset' => 'UTF-8', method => 'get'; + fieldset class => 'search'; + p id => 'searchtabs'; + a href => '/g', class => 'sel', 'Games'; + a href => '/s', 'Servers'; + input type => 'text', name => 'q', id => 'q', class => 'text', value => ''; + input type => 'submit', class => 'submit', value => '', style => "display:none"; + end; + a style => "font-size:x-small", href => "#", "advanced search"; + end 'fieldset'; + end; + end; + } + + div id => "body"; + + # start the page content with a header logo box + div class => "titlebox"; + end; + + my $overrideStyle = $self->reqParam("style"); + if ($overrideStyle) { + # debug feature: force list of styles on floaty-box + div class => "mainbox", + style => "position:absolute; left: 20px; top: 20px; width:200px"; + + div class => "header"; + h1 "Development"; + p class => "alttitle"; + txt "This site is under development. Find "; + a href => "http://333networks.com", "333networks.com here!"; + br; + txt "Use the list below to test different house styles."; + end; + end; + + ul style => "margin: 3px 20px 10pt 40px"; + opendir(DIR, "$self->{root}/s/style") or die $!; + while (my $file = readdir(DIR)) + { + next if ($file =~ m/^\./); + li; + a href => "?style=$file", $file; + end; + } + closedir(DIR); + end; + end; + } +} + +################################################################################ +# page footer +# options: last_edited +################################################################################ +sub htmlFooter +{ + my ($self, %o) = @_; + + br style => "clear:both"; + + div id => 'footer'; + txt "$self->{site_name} | Powered by "; + a href => "http://333networks.com", "333networks"; + txt " | "; + txt $o{last_edited} || "2021"; + end; + end 'div'; # body + script type => 'text/javascript', src => "/masterscript.js", ''; + end 'body'; + end 'html'; +} + +1; diff --git a/lib/MasterWebInterface/Util/Misc.pm b/lib/MasterWebInterface/Util/Misc.pm new file mode 100755 index 0000000..f2979ea --- /dev/null +++ b/lib/MasterWebInterface/Util/Misc.pm @@ -0,0 +1,43 @@ +package MasterWebInterface::Util::Misc; +use strict; +use warnings; +use TUWF ':html'; +use POSIX 'strftime'; +use Exporter 'import'; +use Geography::Countries; +use Unicode::Normalize 'NFKD'; +our @EXPORT = qw| date_new timeformat countryflag |; + +# time formatting for when a server was added +sub date_new +{ + my ($s, $d) = @_; + return (strftime "%a %H:%M", gmtime $d); # no seconds +} + +# time formatting for when a server was added / last updated +sub timeformat +{ + my ($self, $time) = @_; + my @t = gmtime($time); + my $r = ""; + + # parse into d HH:mm:SS format + if ($t[7]){$r .= $t[7]."d "} + if ($t[2]){$r .= ($t[2] > 9) ? $t[2].":" : "0".$t[2].":" } + if ($t[1]){$r .= ($t[1] > 9) ? $t[1].":" : "0".$t[1].":" } else {$r .= "00:";} + if ($t[0]){$r .= ($t[0] > 9) ? $t[0] : "0".$t[0] } else {$r .= "00";} + + return $r; +} + +# returns flag, country name +sub countryflag +{ + my ($self, $c) = @_; + my $flag = ($c ? lc $c : 'earth'); + my $coun = $c ? ( $c eq 'EU' ? 'Europe' : country $c ) : 'Earth' ; + return $flag, $coun; +} + +1; diff --git a/log/log.txt b/log/log.txt new file mode 100644 index 0000000..4fcf6b8 --- /dev/null +++ b/log/log.txt @@ -0,0 +1 @@ +log files are created in this folder. diff --git a/s/favicon.ico b/s/favicon.ico new file mode 100755 index 0000000..1182ce4 Binary files /dev/null and b/s/favicon.ico differ diff --git a/s/flag/ad.svg b/s/flag/ad.svg new file mode 100755 index 0000000..5abdb07 --- /dev/null +++ b/s/flag/ad.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ae.svg b/s/flag/ae.svg new file mode 100755 index 0000000..02e2942 --- /dev/null +++ b/s/flag/ae.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/s/flag/af.svg b/s/flag/af.svg new file mode 100755 index 0000000..57c6e09 --- /dev/null +++ b/s/flag/af.svg @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ag.svg b/s/flag/ag.svg new file mode 100755 index 0000000..05bf052 --- /dev/null +++ b/s/flag/ag.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/s/flag/ai.svg b/s/flag/ai.svg new file mode 100755 index 0000000..3df7736 --- /dev/null +++ b/s/flag/ai.svg @@ -0,0 +1,771 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/al.svg b/s/flag/al.svg new file mode 100755 index 0000000..2f8e26c --- /dev/null +++ b/s/flag/al.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/s/flag/am.svg b/s/flag/am.svg new file mode 100755 index 0000000..75ff8f0 --- /dev/null +++ b/s/flag/am.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/s/flag/ao.svg b/s/flag/ao.svg new file mode 100755 index 0000000..b686581 --- /dev/null +++ b/s/flag/ao.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/aq.svg b/s/flag/aq.svg new file mode 100755 index 0000000..f3c72af --- /dev/null +++ b/s/flag/aq.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/s/flag/ar.svg b/s/flag/ar.svg new file mode 100755 index 0000000..120b46b --- /dev/null +++ b/s/flag/ar.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/as.svg b/s/flag/as.svg new file mode 100755 index 0000000..ef2e784 --- /dev/null +++ b/s/flag/as.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/at.svg b/s/flag/at.svg new file mode 100755 index 0000000..ce61d8e --- /dev/null +++ b/s/flag/at.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/s/flag/au.svg b/s/flag/au.svg new file mode 100755 index 0000000..ca7e29d --- /dev/null +++ b/s/flag/au.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/s/flag/aw.svg b/s/flag/aw.svg new file mode 100755 index 0000000..5e2a85d --- /dev/null +++ b/s/flag/aw.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ax.svg b/s/flag/ax.svg new file mode 100755 index 0000000..7cd9931 --- /dev/null +++ b/s/flag/ax.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/s/flag/az.svg b/s/flag/az.svg new file mode 100755 index 0000000..8809a72 --- /dev/null +++ b/s/flag/az.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/ba.svg b/s/flag/ba.svg new file mode 100755 index 0000000..a4945c4 --- /dev/null +++ b/s/flag/ba.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/bb.svg b/s/flag/bb.svg new file mode 100755 index 0000000..3bf8e50 --- /dev/null +++ b/s/flag/bb.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/s/flag/bd.svg b/s/flag/bd.svg new file mode 100755 index 0000000..231f3bf --- /dev/null +++ b/s/flag/bd.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/s/flag/be.svg b/s/flag/be.svg new file mode 100755 index 0000000..95d31de --- /dev/null +++ b/s/flag/be.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/bf.svg b/s/flag/bf.svg new file mode 100755 index 0000000..4c1e343 --- /dev/null +++ b/s/flag/bf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/bg.svg b/s/flag/bg.svg new file mode 100755 index 0000000..19e9ba6 --- /dev/null +++ b/s/flag/bg.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/bh.svg b/s/flag/bh.svg new file mode 100755 index 0000000..c67e017 --- /dev/null +++ b/s/flag/bh.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/s/flag/bi.svg b/s/flag/bi.svg new file mode 100755 index 0000000..2250637 --- /dev/null +++ b/s/flag/bi.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/s/flag/bj.svg b/s/flag/bj.svg new file mode 100755 index 0000000..e0c9814 --- /dev/null +++ b/s/flag/bj.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/s/flag/bl.svg b/s/flag/bl.svg new file mode 100755 index 0000000..5f468ab --- /dev/null +++ b/s/flag/bl.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/bm.svg b/s/flag/bm.svg new file mode 100755 index 0000000..c8d5a84 --- /dev/null +++ b/s/flag/bm.svg @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/bn.svg b/s/flag/bn.svg new file mode 100755 index 0000000..2eda082 --- /dev/null +++ b/s/flag/bn.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/bo.svg b/s/flag/bo.svg new file mode 100755 index 0000000..3fae780 --- /dev/null +++ b/s/flag/bo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/bq.svg b/s/flag/bq.svg new file mode 100755 index 0000000..06006a1 --- /dev/null +++ b/s/flag/bq.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/s/flag/br.svg b/s/flag/br.svg new file mode 100755 index 0000000..b0b457c --- /dev/null +++ b/s/flag/br.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/bs.svg b/s/flag/bs.svg new file mode 100755 index 0000000..5e7cc13 --- /dev/null +++ b/s/flag/bs.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/bt.svg b/s/flag/bt.svg new file mode 100755 index 0000000..8de9197 --- /dev/null +++ b/s/flag/bt.svg @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/bv.svg b/s/flag/bv.svg new file mode 100755 index 0000000..369f67c --- /dev/null +++ b/s/flag/bv.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/bw.svg b/s/flag/bw.svg new file mode 100755 index 0000000..7becab4 --- /dev/null +++ b/s/flag/bw.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/by.svg b/s/flag/by.svg new file mode 100755 index 0000000..a61e842 --- /dev/null +++ b/s/flag/by.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/bz.svg b/s/flag/bz.svg new file mode 100755 index 0000000..a0db1ae --- /dev/null +++ b/s/flag/bz.svg @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ca.svg b/s/flag/ca.svg new file mode 100755 index 0000000..0a7a889 --- /dev/null +++ b/s/flag/ca.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/s/flag/cc.svg b/s/flag/cc.svg new file mode 100755 index 0000000..547fec5 --- /dev/null +++ b/s/flag/cc.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/cd.svg b/s/flag/cd.svg new file mode 100755 index 0000000..03e6f4c --- /dev/null +++ b/s/flag/cd.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/s/flag/cf.svg b/s/flag/cf.svg new file mode 100755 index 0000000..2c57425 --- /dev/null +++ b/s/flag/cf.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/s/flag/cg.svg b/s/flag/cg.svg new file mode 100755 index 0000000..3a2efaa --- /dev/null +++ b/s/flag/cg.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/ch.svg b/s/flag/ch.svg new file mode 100755 index 0000000..71bf3b2 --- /dev/null +++ b/s/flag/ch.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/s/flag/ci.svg b/s/flag/ci.svg new file mode 100755 index 0000000..b651f62 --- /dev/null +++ b/s/flag/ci.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/ck.svg b/s/flag/ck.svg new file mode 100755 index 0000000..1c3133d --- /dev/null +++ b/s/flag/ck.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/s/flag/cl.svg b/s/flag/cl.svg new file mode 100755 index 0000000..11e8bde --- /dev/null +++ b/s/flag/cl.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/cm.svg b/s/flag/cm.svg new file mode 100755 index 0000000..a956cbd --- /dev/null +++ b/s/flag/cm.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/cn.svg b/s/flag/cn.svg new file mode 100755 index 0000000..3a48789 --- /dev/null +++ b/s/flag/cn.svg @@ -0,0 +1,19 @@ + + + Flag of the People's Republic of China + + + + + + + + + + + + + + + + diff --git a/s/flag/co.svg b/s/flag/co.svg new file mode 100755 index 0000000..edf0074 --- /dev/null +++ b/s/flag/co.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/cr.svg b/s/flag/cr.svg new file mode 100755 index 0000000..213db50 --- /dev/null +++ b/s/flag/cr.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/cu.svg b/s/flag/cu.svg new file mode 100755 index 0000000..314bc7f --- /dev/null +++ b/s/flag/cu.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/cv.svg b/s/flag/cv.svg new file mode 100755 index 0000000..87d4e22 --- /dev/null +++ b/s/flag/cv.svg @@ -0,0 +1,16 @@ + + + The United States of America flag, produced by Daniel McRae + + + + + + + + + + + + + diff --git a/s/flag/cw.svg b/s/flag/cw.svg new file mode 100755 index 0000000..821a5ea --- /dev/null +++ b/s/flag/cw.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/s/flag/cx.svg b/s/flag/cx.svg new file mode 100755 index 0000000..ac68f9b --- /dev/null +++ b/s/flag/cx.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/s/flag/cy.svg b/s/flag/cy.svg new file mode 100755 index 0000000..02f9b32 --- /dev/null +++ b/s/flag/cy.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/cz.svg b/s/flag/cz.svg new file mode 100755 index 0000000..a704a88 --- /dev/null +++ b/s/flag/cz.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/de.svg b/s/flag/de.svg new file mode 100755 index 0000000..431c0f3 --- /dev/null +++ b/s/flag/de.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/dj.svg b/s/flag/dj.svg new file mode 100755 index 0000000..b69664e --- /dev/null +++ b/s/flag/dj.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/dk.svg b/s/flag/dk.svg new file mode 100755 index 0000000..0aaf086 --- /dev/null +++ b/s/flag/dk.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/dm.svg b/s/flag/dm.svg new file mode 100755 index 0000000..0501a8c --- /dev/null +++ b/s/flag/dm.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/do.svg b/s/flag/do.svg new file mode 100755 index 0000000..e5ba634 --- /dev/null +++ b/s/flag/do.svg @@ -0,0 +1,6748 @@ + + + The United States of America flag, produced by Daniel McRae + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/dz.svg b/s/flag/dz.svg new file mode 100755 index 0000000..36613d1 --- /dev/null +++ b/s/flag/dz.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/s/flag/earth.svg b/s/flag/earth.svg new file mode 100755 index 0000000..b810372 --- /dev/null +++ b/s/flag/earth.svg @@ -0,0 +1,266 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ec.svg b/s/flag/ec.svg new file mode 100755 index 0000000..d32cd10 --- /dev/null +++ b/s/flag/ec.svg @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ee.svg b/s/flag/ee.svg new file mode 100755 index 0000000..63d95b1 --- /dev/null +++ b/s/flag/ee.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/eg.svg b/s/flag/eg.svg new file mode 100755 index 0000000..c14a682 --- /dev/null +++ b/s/flag/eg.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/eh.svg b/s/flag/eh.svg new file mode 100755 index 0000000..95c3f44 --- /dev/null +++ b/s/flag/eh.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/s/flag/er.svg b/s/flag/er.svg new file mode 100755 index 0000000..f7f0013 --- /dev/null +++ b/s/flag/er.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/s/flag/es.svg b/s/flag/es.svg new file mode 100755 index 0000000..09ea9b2 --- /dev/null +++ b/s/flag/es.svg @@ -0,0 +1,676 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/et.svg b/s/flag/et.svg new file mode 100755 index 0000000..abcb0a9 --- /dev/null +++ b/s/flag/et.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/s/flag/eu.svg b/s/flag/eu.svg new file mode 100755 index 0000000..57cd1ee --- /dev/null +++ b/s/flag/eu.svg @@ -0,0 +1,176 @@ + + + + + + image/svg+xml + + + + + + + European flag + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/fi.svg b/s/flag/fi.svg new file mode 100755 index 0000000..0af77d5 --- /dev/null +++ b/s/flag/fi.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/s/flag/fj.svg b/s/flag/fj.svg new file mode 100755 index 0000000..6fcc5b4 --- /dev/null +++ b/s/flag/fj.svg @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/fk.svg b/s/flag/fk.svg new file mode 100755 index 0000000..e16d2cf --- /dev/null +++ b/s/flag/fk.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/fm.svg b/s/flag/fm.svg new file mode 100755 index 0000000..df0de0d --- /dev/null +++ b/s/flag/fm.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/s/flag/fo.svg b/s/flag/fo.svg new file mode 100755 index 0000000..de838d3 --- /dev/null +++ b/s/flag/fo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/fr.svg b/s/flag/fr.svg new file mode 100755 index 0000000..bfbea35 --- /dev/null +++ b/s/flag/fr.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/ga.svg b/s/flag/ga.svg new file mode 100755 index 0000000..581c0f0 --- /dev/null +++ b/s/flag/ga.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/gb.svg b/s/flag/gb.svg new file mode 100755 index 0000000..05a0bf4 --- /dev/null +++ b/s/flag/gb.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/s/flag/gd.svg b/s/flag/gd.svg new file mode 100755 index 0000000..6232574 --- /dev/null +++ b/s/flag/gd.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/ge.svg b/s/flag/ge.svg new file mode 100755 index 0000000..a3ce6a8 --- /dev/null +++ b/s/flag/ge.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gf.svg b/s/flag/gf.svg new file mode 100755 index 0000000..bfbea35 --- /dev/null +++ b/s/flag/gf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/gg.svg b/s/flag/gg.svg new file mode 100755 index 0000000..9b71caa --- /dev/null +++ b/s/flag/gg.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gh.svg b/s/flag/gh.svg new file mode 100755 index 0000000..d642d50 --- /dev/null +++ b/s/flag/gh.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/gi.svg b/s/flag/gi.svg new file mode 100755 index 0000000..68101b2 --- /dev/null +++ b/s/flag/gi.svg @@ -0,0 +1,197 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gl.svg b/s/flag/gl.svg new file mode 100755 index 0000000..b7eac43 --- /dev/null +++ b/s/flag/gl.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/gm.svg b/s/flag/gm.svg new file mode 100755 index 0000000..6727e35 --- /dev/null +++ b/s/flag/gm.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/s/flag/gn.svg b/s/flag/gn.svg new file mode 100755 index 0000000..1745155 --- /dev/null +++ b/s/flag/gn.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/gp.svg b/s/flag/gp.svg new file mode 100755 index 0000000..bfbea35 --- /dev/null +++ b/s/flag/gp.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/gq.svg b/s/flag/gq.svg new file mode 100755 index 0000000..978e933 --- /dev/null +++ b/s/flag/gq.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gr.svg b/s/flag/gr.svg new file mode 100755 index 0000000..8e36ca6 --- /dev/null +++ b/s/flag/gr.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gs.svg b/s/flag/gs.svg new file mode 100755 index 0000000..5772442 --- /dev/null +++ b/s/flag/gs.svg @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + L + + + E + + + O + + + T + + + E + + + R + + + R + + + R + + + R + + + R + + + E + + + O + + + O + + + A + + + A + + + A + + + M + + + P + + + P + + + P + + + I + + + T + + + T + + + M + + + G + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gt.svg b/s/flag/gt.svg new file mode 100755 index 0000000..c5def7c --- /dev/null +++ b/s/flag/gt.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/gu.svg b/s/flag/gu.svg new file mode 100755 index 0000000..37b62a6 --- /dev/null +++ b/s/flag/gu.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + G + + + U + + + A + + + M + + + + + + + + G + + + U + + + A + + + M + + diff --git a/s/flag/gw.svg b/s/flag/gw.svg new file mode 100755 index 0000000..367ff0d --- /dev/null +++ b/s/flag/gw.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/s/flag/gy.svg b/s/flag/gy.svg new file mode 100755 index 0000000..1c6d189 --- /dev/null +++ b/s/flag/gy.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/s/flag/hk.svg b/s/flag/hk.svg new file mode 100755 index 0000000..339b5f8 --- /dev/null +++ b/s/flag/hk.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/hm.svg b/s/flag/hm.svg new file mode 100755 index 0000000..343fe41 --- /dev/null +++ b/s/flag/hm.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/s/flag/hn.svg b/s/flag/hn.svg new file mode 100755 index 0000000..6fe3b77 --- /dev/null +++ b/s/flag/hn.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/s/flag/hr.svg b/s/flag/hr.svg new file mode 100755 index 0000000..6754f4a --- /dev/null +++ b/s/flag/hr.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ht.svg b/s/flag/ht.svg new file mode 100755 index 0000000..4efc3f3 --- /dev/null +++ b/s/flag/ht.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/s/flag/hu.svg b/s/flag/hu.svg new file mode 100755 index 0000000..566d886 --- /dev/null +++ b/s/flag/hu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/id.svg b/s/flag/id.svg new file mode 100755 index 0000000..0e6a5ea --- /dev/null +++ b/s/flag/id.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/s/flag/ie.svg b/s/flag/ie.svg new file mode 100755 index 0000000..d5c8527 --- /dev/null +++ b/s/flag/ie.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/s/flag/il.svg b/s/flag/il.svg new file mode 100755 index 0000000..bd75736 --- /dev/null +++ b/s/flag/il.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/s/flag/im.svg b/s/flag/im.svg new file mode 100755 index 0000000..1511f0d --- /dev/null +++ b/s/flag/im.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/in.svg b/s/flag/in.svg new file mode 100755 index 0000000..987c5dd --- /dev/null +++ b/s/flag/in.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/io.svg b/s/flag/io.svg new file mode 100755 index 0000000..8a0868f --- /dev/null +++ b/s/flag/io.svg @@ -0,0 +1,187 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/iq.svg b/s/flag/iq.svg new file mode 100755 index 0000000..74c9fbe --- /dev/null +++ b/s/flag/iq.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ir.svg b/s/flag/ir.svg new file mode 100755 index 0000000..c2b5d19 --- /dev/null +++ b/s/flag/ir.svg @@ -0,0 +1,522 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/is.svg b/s/flag/is.svg new file mode 100755 index 0000000..ceef401 --- /dev/null +++ b/s/flag/is.svg @@ -0,0 +1,22 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/s/flag/it.svg b/s/flag/it.svg new file mode 100755 index 0000000..79c2d9b --- /dev/null +++ b/s/flag/it.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/je.svg b/s/flag/je.svg new file mode 100755 index 0000000..0383e6b --- /dev/null +++ b/s/flag/je.svg @@ -0,0 +1,67 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/jm.svg b/s/flag/jm.svg new file mode 100755 index 0000000..634677c --- /dev/null +++ b/s/flag/jm.svg @@ -0,0 +1,45 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/s/flag/jo.svg b/s/flag/jo.svg new file mode 100755 index 0000000..9a52086 --- /dev/null +++ b/s/flag/jo.svg @@ -0,0 +1,49 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/jp.svg b/s/flag/jp.svg new file mode 100755 index 0000000..cf9e736 --- /dev/null +++ b/s/flag/jp.svg @@ -0,0 +1,21 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/s/flag/ke.svg b/s/flag/ke.svg new file mode 100755 index 0000000..dff11d9 --- /dev/null +++ b/s/flag/ke.svg @@ -0,0 +1,33 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kg.svg b/s/flag/kg.svg new file mode 100755 index 0000000..ef995f0 --- /dev/null +++ b/s/flag/kg.svg @@ -0,0 +1,47 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kh.svg b/s/flag/kh.svg new file mode 100755 index 0000000..ea70d31 --- /dev/null +++ b/s/flag/kh.svg @@ -0,0 +1,156 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ki.svg b/s/flag/ki.svg new file mode 100755 index 0000000..c14f8b7 --- /dev/null +++ b/s/flag/ki.svg @@ -0,0 +1,49 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/km.svg b/s/flag/km.svg new file mode 100755 index 0000000..cf1a208 --- /dev/null +++ b/s/flag/km.svg @@ -0,0 +1,51 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kn.svg b/s/flag/kn.svg new file mode 100755 index 0000000..ad20eb8 --- /dev/null +++ b/s/flag/kn.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kp.svg b/s/flag/kp.svg new file mode 100755 index 0000000..895d2a5 --- /dev/null +++ b/s/flag/kp.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kr.svg b/s/flag/kr.svg new file mode 100755 index 0000000..1a05ac9 --- /dev/null +++ b/s/flag/kr.svg @@ -0,0 +1,42 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kw.svg b/s/flag/kw.svg new file mode 100755 index 0000000..8af85a0 --- /dev/null +++ b/s/flag/kw.svg @@ -0,0 +1,23 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/s/flag/ky.svg b/s/flag/ky.svg new file mode 100755 index 0000000..cb00d50 --- /dev/null +++ b/s/flag/ky.svg @@ -0,0 +1,123 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/kz.svg b/s/flag/kz.svg new file mode 100755 index 0000000..93283f6 --- /dev/null +++ b/s/flag/kz.svg @@ -0,0 +1,67 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/la.svg b/s/flag/la.svg new file mode 100755 index 0000000..7cd8dd7 --- /dev/null +++ b/s/flag/la.svg @@ -0,0 +1,22 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/s/flag/lb.svg b/s/flag/lb.svg new file mode 100755 index 0000000..e913196 --- /dev/null +++ b/s/flag/lb.svg @@ -0,0 +1,45 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/lc.svg b/s/flag/lc.svg new file mode 100755 index 0000000..d7334e7 --- /dev/null +++ b/s/flag/lc.svg @@ -0,0 +1,18 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/s/flag/li.svg b/s/flag/li.svg new file mode 100755 index 0000000..90eac35 --- /dev/null +++ b/s/flag/li.svg @@ -0,0 +1,195 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/lk.svg b/s/flag/lk.svg new file mode 100755 index 0000000..d8b680e --- /dev/null +++ b/s/flag/lk.svg @@ -0,0 +1,44 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/lr.svg b/s/flag/lr.svg new file mode 100755 index 0000000..4df8286 --- /dev/null +++ b/s/flag/lr.svg @@ -0,0 +1,29 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ls.svg b/s/flag/ls.svg new file mode 100755 index 0000000..021e000 --- /dev/null +++ b/s/flag/ls.svg @@ -0,0 +1,173 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/lt.svg b/s/flag/lt.svg new file mode 100755 index 0000000..dabb210 --- /dev/null +++ b/s/flag/lt.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/lu.svg b/s/flag/lu.svg new file mode 100755 index 0000000..1f1f662 --- /dev/null +++ b/s/flag/lu.svg @@ -0,0 +1,36 @@ + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/lv.svg b/s/flag/lv.svg new file mode 100755 index 0000000..e6a1058 --- /dev/null +++ b/s/flag/lv.svg @@ -0,0 +1,37 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/ly.svg b/s/flag/ly.svg new file mode 100755 index 0000000..4a7d630 --- /dev/null +++ b/s/flag/ly.svg @@ -0,0 +1,23 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/s/flag/ma.svg b/s/flag/ma.svg new file mode 100755 index 0000000..59f9277 --- /dev/null +++ b/s/flag/ma.svg @@ -0,0 +1,21 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/s/flag/mc.svg b/s/flag/mc.svg new file mode 100755 index 0000000..c72ef98 --- /dev/null +++ b/s/flag/mc.svg @@ -0,0 +1,16 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/s/flag/md.svg b/s/flag/md.svg new file mode 100755 index 0000000..a064434 --- /dev/null +++ b/s/flag/md.svg @@ -0,0 +1,101 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/me.svg b/s/flag/me.svg new file mode 100755 index 0000000..473f640 --- /dev/null +++ b/s/flag/me.svg @@ -0,0 +1,5 @@ + + +image/svg+xml + + diff --git a/s/flag/mf.svg b/s/flag/mf.svg new file mode 100755 index 0000000..4c47dc8 --- /dev/null +++ b/s/flag/mf.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/mg.svg b/s/flag/mg.svg new file mode 100755 index 0000000..ca41fc2 --- /dev/null +++ b/s/flag/mg.svg @@ -0,0 +1,38 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/mh.svg b/s/flag/mh.svg new file mode 100755 index 0000000..1f37225 --- /dev/null +++ b/s/flag/mh.svg @@ -0,0 +1,42 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/s/flag/mk.svg b/s/flag/mk.svg new file mode 100755 index 0000000..55ae5cb --- /dev/null +++ b/s/flag/mk.svg @@ -0,0 +1,30 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ml.svg b/s/flag/ml.svg new file mode 100755 index 0000000..0c70459 --- /dev/null +++ b/s/flag/ml.svg @@ -0,0 +1,38 @@ + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/mm.svg b/s/flag/mm.svg new file mode 100755 index 0000000..64b8760 --- /dev/null +++ b/s/flag/mm.svg @@ -0,0 +1,146 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mn.svg b/s/flag/mn.svg new file mode 100755 index 0000000..d77048f --- /dev/null +++ b/s/flag/mn.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/s/flag/mo.svg b/s/flag/mo.svg new file mode 100755 index 0000000..7561ced --- /dev/null +++ b/s/flag/mo.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mp.svg b/s/flag/mp.svg new file mode 100755 index 0000000..35cf263 --- /dev/null +++ b/s/flag/mp.svg @@ -0,0 +1,268 @@ + + + + + + + + + + + micronesia + + oceania + flag + sign + + + + + + + + + + + + + + + + + + + image/svg+xml + + + en + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mq.svg b/s/flag/mq.svg new file mode 100755 index 0000000..3b11e74 --- /dev/null +++ b/s/flag/mq.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/mr.svg b/s/flag/mr.svg new file mode 100755 index 0000000..d1a6982 --- /dev/null +++ b/s/flag/mr.svg @@ -0,0 +1,22 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/s/flag/ms.svg b/s/flag/ms.svg new file mode 100755 index 0000000..db84863 --- /dev/null +++ b/s/flag/ms.svg @@ -0,0 +1,76 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mt.svg b/s/flag/mt.svg new file mode 100755 index 0000000..47da4c5 --- /dev/null +++ b/s/flag/mt.svg @@ -0,0 +1,82 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mu.svg b/s/flag/mu.svg new file mode 100755 index 0000000..af3b1a6 --- /dev/null +++ b/s/flag/mu.svg @@ -0,0 +1,40 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/s/flag/mv.svg b/s/flag/mv.svg new file mode 100755 index 0000000..9faba07 --- /dev/null +++ b/s/flag/mv.svg @@ -0,0 +1,20 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/s/flag/mw.svg b/s/flag/mw.svg new file mode 100755 index 0000000..d6891fd --- /dev/null +++ b/s/flag/mw.svg @@ -0,0 +1,55 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mx.svg b/s/flag/mx.svg new file mode 100755 index 0000000..ea4ba18 --- /dev/null +++ b/s/flag/mx.svg @@ -0,0 +1,349 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/my.svg b/s/flag/my.svg new file mode 100755 index 0000000..d0f73fa --- /dev/null +++ b/s/flag/my.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/mz.svg b/s/flag/mz.svg new file mode 100755 index 0000000..2d57e38 --- /dev/null +++ b/s/flag/mz.svg @@ -0,0 +1,34 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/na.svg b/s/flag/na.svg new file mode 100755 index 0000000..878f71f --- /dev/null +++ b/s/flag/na.svg @@ -0,0 +1,30 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/nc.svg b/s/flag/nc.svg new file mode 100755 index 0000000..3b5e684 --- /dev/null +++ b/s/flag/nc.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/ne.svg b/s/flag/ne.svg new file mode 100755 index 0000000..6da6cf8 --- /dev/null +++ b/s/flag/ne.svg @@ -0,0 +1,20 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/s/flag/nf.svg b/s/flag/nf.svg new file mode 100755 index 0000000..87bf348 --- /dev/null +++ b/s/flag/nf.svg @@ -0,0 +1,46 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ng.svg b/s/flag/ng.svg new file mode 100755 index 0000000..95ce7d8 --- /dev/null +++ b/s/flag/ng.svg @@ -0,0 +1,19 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/s/flag/ni.svg b/s/flag/ni.svg new file mode 100755 index 0000000..154acad --- /dev/null +++ b/s/flag/ni.svg @@ -0,0 +1,122 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/nl.svg b/s/flag/nl.svg new file mode 100755 index 0000000..9138430 --- /dev/null +++ b/s/flag/nl.svg @@ -0,0 +1,37 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/no.svg b/s/flag/no.svg new file mode 100755 index 0000000..913b2f7 --- /dev/null +++ b/s/flag/no.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/np.svg b/s/flag/np.svg new file mode 100755 index 0000000..c29900c --- /dev/null +++ b/s/flag/np.svg @@ -0,0 +1,47 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/nr.svg b/s/flag/nr.svg new file mode 100755 index 0000000..881fa3e --- /dev/null +++ b/s/flag/nr.svg @@ -0,0 +1,22 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/s/flag/nu.svg b/s/flag/nu.svg new file mode 100755 index 0000000..10d0dcb --- /dev/null +++ b/s/flag/nu.svg @@ -0,0 +1,40 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/nz.svg b/s/flag/nz.svg new file mode 100755 index 0000000..80f4c3b --- /dev/null +++ b/s/flag/nz.svg @@ -0,0 +1,69 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/om.svg b/s/flag/om.svg new file mode 100755 index 0000000..470b82e --- /dev/null +++ b/s/flag/om.svg @@ -0,0 +1,349 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pa.svg b/s/flag/pa.svg new file mode 100755 index 0000000..0f0e62b --- /dev/null +++ b/s/flag/pa.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pe.svg b/s/flag/pe.svg new file mode 100755 index 0000000..dbc1973 --- /dev/null +++ b/s/flag/pe.svg @@ -0,0 +1,40 @@ + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/pf.svg b/s/flag/pf.svg new file mode 100755 index 0000000..a4c86c3 --- /dev/null +++ b/s/flag/pf.svg @@ -0,0 +1,77 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pg.svg b/s/flag/pg.svg new file mode 100755 index 0000000..57c75d8 --- /dev/null +++ b/s/flag/pg.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ph.svg b/s/flag/ph.svg new file mode 100755 index 0000000..235b1f3 --- /dev/null +++ b/s/flag/ph.svg @@ -0,0 +1,36 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pk.svg b/s/flag/pk.svg new file mode 100755 index 0000000..2b7ee7a --- /dev/null +++ b/s/flag/pk.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pl.svg b/s/flag/pl.svg new file mode 100755 index 0000000..8eafb70 --- /dev/null +++ b/s/flag/pl.svg @@ -0,0 +1,16 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/s/flag/pm.svg b/s/flag/pm.svg new file mode 100755 index 0000000..0df2d55 --- /dev/null +++ b/s/flag/pm.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/pn.svg b/s/flag/pn.svg new file mode 100755 index 0000000..f60dfd7 --- /dev/null +++ b/s/flag/pn.svg @@ -0,0 +1,146 @@ + + + + + + + image/svg+xml + + + + + + + + + + The above line is the ensign field color: #CF142B red and #00247D blue + + + + + + + + + I think the above two lines give the simplest way to make the diagonals + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pr.svg b/s/flag/pr.svg new file mode 100755 index 0000000..06063c9 --- /dev/null +++ b/s/flag/pr.svg @@ -0,0 +1,45 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/s/flag/ps.svg b/s/flag/ps.svg new file mode 100755 index 0000000..a30c26a --- /dev/null +++ b/s/flag/ps.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pt.svg b/s/flag/pt.svg new file mode 100755 index 0000000..b9faca0 --- /dev/null +++ b/s/flag/pt.svg @@ -0,0 +1,526 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/pw.svg b/s/flag/pw.svg new file mode 100755 index 0000000..365f73c --- /dev/null +++ b/s/flag/pw.svg @@ -0,0 +1,21 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/s/flag/py.svg b/s/flag/py.svg new file mode 100755 index 0000000..143f622 --- /dev/null +++ b/s/flag/py.svg @@ -0,0 +1,242 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/qa.svg b/s/flag/qa.svg new file mode 100755 index 0000000..3b27f98 --- /dev/null +++ b/s/flag/qa.svg @@ -0,0 +1,21 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/s/flag/re.svg b/s/flag/re.svg new file mode 100755 index 0000000..011a681 --- /dev/null +++ b/s/flag/re.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/ro.svg b/s/flag/ro.svg new file mode 100755 index 0000000..df8e272 --- /dev/null +++ b/s/flag/ro.svg @@ -0,0 +1,42 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/s/flag/rs.svg b/s/flag/rs.svg new file mode 100755 index 0000000..601d9ce --- /dev/null +++ b/s/flag/rs.svg @@ -0,0 +1,1562 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ru.svg b/s/flag/ru.svg new file mode 100755 index 0000000..7e3dddc --- /dev/null +++ b/s/flag/ru.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/rw.svg b/s/flag/rw.svg new file mode 100755 index 0000000..30f636d --- /dev/null +++ b/s/flag/rw.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sa.svg b/s/flag/sa.svg new file mode 100755 index 0000000..28544ae --- /dev/null +++ b/s/flag/sa.svg @@ -0,0 +1,56 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sb.svg b/s/flag/sb.svg new file mode 100755 index 0000000..da01585 --- /dev/null +++ b/s/flag/sb.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sc.svg b/s/flag/sc.svg new file mode 100755 index 0000000..59d2a4a --- /dev/null +++ b/s/flag/sc.svg @@ -0,0 +1,45 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/s/flag/sd.svg b/s/flag/sd.svg new file mode 100755 index 0000000..e85f2ce --- /dev/null +++ b/s/flag/sd.svg @@ -0,0 +1,23 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/s/flag/se.svg b/s/flag/se.svg new file mode 100755 index 0000000..71c24e6 --- /dev/null +++ b/s/flag/se.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sg.svg b/s/flag/sg.svg new file mode 100755 index 0000000..c791552 --- /dev/null +++ b/s/flag/sg.svg @@ -0,0 +1,29 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sh.svg b/s/flag/sh.svg new file mode 100755 index 0000000..4e08859 --- /dev/null +++ b/s/flag/sh.svg @@ -0,0 +1,795 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/si.svg b/s/flag/si.svg new file mode 100755 index 0000000..3ce6d7d --- /dev/null +++ b/s/flag/si.svg @@ -0,0 +1,30 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sj.svg b/s/flag/sj.svg new file mode 100755 index 0000000..d985ff2 --- /dev/null +++ b/s/flag/sj.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sk.svg b/s/flag/sk.svg new file mode 100755 index 0000000..3f844e5 --- /dev/null +++ b/s/flag/sk.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sl.svg b/s/flag/sl.svg new file mode 100755 index 0000000..426e024 --- /dev/null +++ b/s/flag/sl.svg @@ -0,0 +1,43 @@ + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/sm.svg b/s/flag/sm.svg new file mode 100755 index 0000000..c03f6e1 --- /dev/null +++ b/s/flag/sm.svg @@ -0,0 +1,209 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + L + + + I + + + B + + + E + + + R + + + T + + + A + + + S + + + + + + + + + + + + + diff --git a/s/flag/sn.svg b/s/flag/sn.svg new file mode 100755 index 0000000..e5c5d50 --- /dev/null +++ b/s/flag/sn.svg @@ -0,0 +1,20 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/s/flag/so.svg b/s/flag/so.svg new file mode 100755 index 0000000..207d732 --- /dev/null +++ b/s/flag/so.svg @@ -0,0 +1,21 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/s/flag/sr.svg b/s/flag/sr.svg new file mode 100755 index 0000000..be2bc62 --- /dev/null +++ b/s/flag/sr.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ss.svg b/s/flag/ss.svg new file mode 100755 index 0000000..6039a62 --- /dev/null +++ b/s/flag/ss.svg @@ -0,0 +1,21 @@ + + + + + + image/svg+xml + + Flag of South Sudan + + + + Flag of South Sudan + + + + + + + + + diff --git a/s/flag/st.svg b/s/flag/st.svg new file mode 100755 index 0000000..c00ff8e --- /dev/null +++ b/s/flag/st.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sv.svg b/s/flag/sv.svg new file mode 100755 index 0000000..deba7d3 --- /dev/null +++ b/s/flag/sv.svg @@ -0,0 +1,301 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sx.svg b/s/flag/sx.svg new file mode 100755 index 0000000..4935839 --- /dev/null +++ b/s/flag/sx.svg @@ -0,0 +1,106 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/sy.svg b/s/flag/sy.svg new file mode 100755 index 0000000..21b0fb6 --- /dev/null +++ b/s/flag/sy.svg @@ -0,0 +1,23 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/s/flag/sz.svg b/s/flag/sz.svg new file mode 100755 index 0000000..9bfb3a9 --- /dev/null +++ b/s/flag/sz.svg @@ -0,0 +1,93 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/tc.svg b/s/flag/tc.svg new file mode 100755 index 0000000..1477a7c --- /dev/null +++ b/s/flag/tc.svg @@ -0,0 +1,102 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/td.svg b/s/flag/td.svg new file mode 100755 index 0000000..64e2d6b --- /dev/null +++ b/s/flag/td.svg @@ -0,0 +1,41 @@ + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/tf.svg b/s/flag/tf.svg new file mode 100755 index 0000000..8759ca7 --- /dev/null +++ b/s/flag/tf.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/tg.svg b/s/flag/tg.svg new file mode 100755 index 0000000..d935528 --- /dev/null +++ b/s/flag/tg.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/th.svg b/s/flag/th.svg new file mode 100755 index 0000000..ebc66d6 --- /dev/null +++ b/s/flag/th.svg @@ -0,0 +1,20 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/s/flag/tj.svg b/s/flag/tj.svg new file mode 100755 index 0000000..8111960 --- /dev/null +++ b/s/flag/tj.svg @@ -0,0 +1,37 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/tk.svg b/s/flag/tk.svg new file mode 100755 index 0000000..8def107 --- /dev/null +++ b/s/flag/tk.svg @@ -0,0 +1,42 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/tl.svg b/s/flag/tl.svg new file mode 100755 index 0000000..3068fba --- /dev/null +++ b/s/flag/tl.svg @@ -0,0 +1,23 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/s/flag/tm.svg b/s/flag/tm.svg new file mode 100755 index 0000000..54ce6d9 --- /dev/null +++ b/s/flag/tm.svg @@ -0,0 +1,325 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/tn.svg b/s/flag/tn.svg new file mode 100755 index 0000000..31db073 --- /dev/null +++ b/s/flag/tn.svg @@ -0,0 +1,23 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/s/flag/to.svg b/s/flag/to.svg new file mode 100755 index 0000000..62f19cf --- /dev/null +++ b/s/flag/to.svg @@ -0,0 +1,22 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/s/flag/tr.svg b/s/flag/tr.svg new file mode 100755 index 0000000..20bf2be --- /dev/null +++ b/s/flag/tr.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/s/flag/tt.svg b/s/flag/tt.svg new file mode 100755 index 0000000..0931564 --- /dev/null +++ b/s/flag/tt.svg @@ -0,0 +1,18 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/s/flag/tv.svg b/s/flag/tv.svg new file mode 100755 index 0000000..6e2dc64 --- /dev/null +++ b/s/flag/tv.svg @@ -0,0 +1,49 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/tw.svg b/s/flag/tw.svg new file mode 100755 index 0000000..46c00ce --- /dev/null +++ b/s/flag/tw.svg @@ -0,0 +1,24 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/s/flag/tz.svg b/s/flag/tz.svg new file mode 100755 index 0000000..3f2400f --- /dev/null +++ b/s/flag/tz.svg @@ -0,0 +1,45 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/s/flag/ua.svg b/s/flag/ua.svg new file mode 100755 index 0000000..ce56ea4 --- /dev/null +++ b/s/flag/ua.svg @@ -0,0 +1,16 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/s/flag/ug.svg b/s/flag/ug.svg new file mode 100755 index 0000000..c8652eb --- /dev/null +++ b/s/flag/ug.svg @@ -0,0 +1,42 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/um.svg b/s/flag/um.svg new file mode 100755 index 0000000..ccaca45 --- /dev/null +++ b/s/flag/um.svg @@ -0,0 +1,141 @@ + + + + + + + + + image/svg+xml + + + + + The United States of America flag, produced by Daniel McRae + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/us.svg b/s/flag/us.svg new file mode 100755 index 0000000..631f68e --- /dev/null +++ b/s/flag/us.svg @@ -0,0 +1,141 @@ + + + + + + + + + image/svg+xml + + + + + The United States of America flag, produced by Daniel McRae + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/uy.svg b/s/flag/uy.svg new file mode 100755 index 0000000..0b1409e --- /dev/null +++ b/s/flag/uy.svg @@ -0,0 +1,63 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/uz.svg b/s/flag/uz.svg new file mode 100755 index 0000000..92e1052 --- /dev/null +++ b/s/flag/uz.svg @@ -0,0 +1,37 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/va.svg b/s/flag/va.svg new file mode 100755 index 0000000..309ac48 --- /dev/null +++ b/s/flag/va.svg @@ -0,0 +1,501 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/vc.svg b/s/flag/vc.svg new file mode 100755 index 0000000..5044f0e --- /dev/null +++ b/s/flag/vc.svg @@ -0,0 +1,20 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/s/flag/ve.svg b/s/flag/ve.svg new file mode 100755 index 0000000..f712e95 --- /dev/null +++ b/s/flag/ve.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/vg.svg b/s/flag/vg.svg new file mode 100755 index 0000000..07b6df0 --- /dev/null +++ b/s/flag/vg.svg @@ -0,0 +1,249 @@ + + + + + + + British Virgin Islands + + + + + united_kingdom + flags + caribbean + america + signs_and_symbols + sign + + + + + Tobias Jakobs + + + + + Tobias Jakobs + + + + + Tobias Jakobs + + + + image/svg+xml + + + en + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/vi.svg b/s/flag/vi.svg new file mode 100755 index 0000000..07b6df0 --- /dev/null +++ b/s/flag/vi.svg @@ -0,0 +1,249 @@ + + + + + + + British Virgin Islands + + + + + united_kingdom + flags + caribbean + america + signs_and_symbols + sign + + + + + Tobias Jakobs + + + + + Tobias Jakobs + + + + + Tobias Jakobs + + + + image/svg+xml + + + en + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/vn.svg b/s/flag/vn.svg new file mode 100755 index 0000000..c6a91fd --- /dev/null +++ b/s/flag/vn.svg @@ -0,0 +1,21 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/s/flag/vu.svg b/s/flag/vu.svg new file mode 100755 index 0000000..a201022 --- /dev/null +++ b/s/flag/vu.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/wf.svg b/s/flag/wf.svg new file mode 100755 index 0000000..f3c3b13 --- /dev/null +++ b/s/flag/wf.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/ws.svg b/s/flag/ws.svg new file mode 100755 index 0000000..080d7e8 --- /dev/null +++ b/s/flag/ws.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/s/flag/ye.svg b/s/flag/ye.svg new file mode 100755 index 0000000..3aebffa --- /dev/null +++ b/s/flag/ye.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/yt.svg b/s/flag/yt.svg new file mode 100755 index 0000000..e763317 --- /dev/null +++ b/s/flag/yt.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/s/flag/za.svg b/s/flag/za.svg new file mode 100755 index 0000000..0817e19 --- /dev/null +++ b/s/flag/za.svg @@ -0,0 +1,58 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/zm.svg b/s/flag/zm.svg new file mode 100755 index 0000000..8cf31c9 --- /dev/null +++ b/s/flag/zm.svg @@ -0,0 +1,40 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/flag/zw.svg b/s/flag/zw.svg new file mode 100755 index 0000000..edad30d --- /dev/null +++ b/s/flag/zw.svg @@ -0,0 +1,52 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/s/map/default/333networks.jpg b/s/map/default/333networks.jpg new file mode 100644 index 0000000..6179414 Binary files /dev/null and b/s/map/default/333networks.jpg differ diff --git a/s/map/default/deusex.jpg b/s/map/default/deusex.jpg new file mode 100644 index 0000000..296eab5 Binary files /dev/null and b/s/map/default/deusex.jpg differ diff --git a/s/map/default/jetfighter4.jpg b/s/map/default/jetfighter4.jpg new file mode 100644 index 0000000..dee9c2f Binary files /dev/null and b/s/map/default/jetfighter4.jpg differ diff --git a/s/map/default/postal2.jpg b/s/map/default/postal2.jpg new file mode 100755 index 0000000..d5b7275 Binary files /dev/null and b/s/map/default/postal2.jpg differ diff --git a/s/map/default/rune.jpg b/s/map/default/rune.jpg new file mode 100755 index 0000000..3919ac2 Binary files /dev/null and b/s/map/default/rune.jpg differ diff --git a/s/map/default/ut.jpg b/s/map/default/ut.jpg new file mode 100755 index 0000000..7c5beef Binary files /dev/null and b/s/map/default/ut.jpg differ diff --git a/s/masterinterface.pl b/s/masterinterface.pl new file mode 100755 index 0000000..253ff93 --- /dev/null +++ b/s/masterinterface.pl @@ -0,0 +1,37 @@ +#!/usr/bin/perl +package MasterWebInterface; +use strict; +use warnings; +use Data::Dumper 'Dumper'; +use Cwd 'abs_path'; + +our $ROOT; +BEGIN { ($ROOT = abs_path $0) =~ s{/s/masterinterface.pl$}{}; } +use lib $ROOT.'/lib'; +use TUWF; + +# get settings and add these to the TUWF object +our %S = (root => $ROOT); +require "$ROOT/data/settings.pl"; + + +$TUWF::OBJ->{$_} = $S{$_} for (keys %S); + +# TUWF options +TUWF::set( + logfile => "$ROOT/log/TUWF.log", + mail_from => $S{email}, + db_login => $S{db_login}, + validate_templates => { # input templates + page => { template => 'uint', max => 1000 }, + }, + log_queries => 0, + debug => 1, +); + +#add %S from web-config.pl to OBJ +$TUWF::OBJ->{$_} = $S{$_} for (keys %S); + +TUWF::load_recursive('MasterWebInterface'); +TUWF::run(); + diff --git a/s/masterscript.js b/s/masterscript.js new file mode 100755 index 0000000..ce849bc --- /dev/null +++ b/s/masterscript.js @@ -0,0 +1,37 @@ +//============================================================================== +// 333networks & subs +// Written by Darkelarious. +// +// This script belongs to 333networks. See +// 333networks.com for license and copyright. +// +//============================================================================== + +// advanced search box +function toggleAdvanced () +{ + var box = document.getElementById("advancedsearch"); + box.style.display = (box.style.display == "block" ? "none" : "block" ); +} + +// search box +{ + var qbox = document.getElementById('q'); + qbox.onclick = function () + { + if ( this.value == 'search...' ) + { + this.value = ''; + this.style.fontStyle = 'normal' + } + }; + + qbox.onblur = function () + { + if ( this.value.length < 1 ) + { + this.value = 'search...'; + this.style.fontStyle = 'italic'; + } + }; +} diff --git a/s/robots.txt b/s/robots.txt new file mode 100755 index 0000000..6ffbc30 --- /dev/null +++ b/s/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: / + diff --git a/s/style/default/333networks.png b/s/style/default/333networks.png new file mode 100755 index 0000000..9803dc1 Binary files /dev/null and b/s/style/default/333networks.png differ diff --git a/s/style/default/body.gif b/s/style/default/body.gif new file mode 100755 index 0000000..b34ad3c Binary files /dev/null and b/s/style/default/body.gif differ diff --git a/s/style/default/style.css b/s/style/default/style.css new file mode 100755 index 0000000..d754cb8 --- /dev/null +++ b/s/style/default/style.css @@ -0,0 +1,600 @@ +/* * * * * * * * * * * * * * * * * * *\ +* Master Server Web Interface * +* A website by Darkelarious * +* See COPYING for additional details * +* on re-use. * +\* * * * * * * * * * * * * * * * * * */ + +/* Theme classic written by Darkelarious */ + +/*** Global ***/ +* { + margin: 0; + padding: 0; + border: 0; + outline:0; + } + +body { + text-align: center; + height: 100%; + color: #ccc; + font-family: 'Verdana'; + font-size: 10pt; + background: #222 url(/style/default/body.gif) repeat center top fixed; + } + +p { + margin-bottom:12pt; + } + +a, a:visited { + text-decoration: none; + color: #0af; + } + +a:hover { + color: #ff0; + text-decoration: none; + } + +#body { + text-align: left; + width: 900px; + margin: 0 auto; + min-height: 100%; + padding-top:80px; + background: url(/style/default/333networks.png) no-repeat center 15px fixed; + } + +#footer { + padding: 90px 0 40px 0; + text-align:center; + font-size : x-small; + clear:both + } + +#footer a { + text-decoration: underline; + } + + +/* mainboxes */ +div.mainbox { + border: 1px solid #0af; + margin: 21px 0 -10px 0; + padding: 5px; + background: #333; + } + +div.mainbox h1, +div.mainbox h2, +div.mainbox h3 { + margin: -5px 0 10px 0; + text-decoration: none; + font-family: Tahoma; + font-weight: normal; + font-size: 16pt; + color: #0af; + } + +div.mainbox h2 { + margin: 5px 0 5px 5px; + font-size: 12pt; + } +div.mainbox h3 { +margin: 5px 0 5px 10px; +font-size: 11pt; +} + +div.mainbox p, +div.mainbox ul, +div.mainbox ol { + margin: 5px 16px 0 8px; + padding: 0 5px 5px 25px; + text-align:left; + font-size: 9pt; + } +div.mainbox ul, +div.mainbox ol { + margin-left:20px; + } + + +div.mainbox div.header { + margin: -5px 2px 10px -5px; + padding:10px 0 0 10px; + display:block; + width:100%; + color: #0af; + border-bottom:1px solid #0af; + background: #111; + } + +/* navigation / search box "fieldset.search" */ + +form input { + border: 1px solid #0af; + background: #222; + color: #ccc; +} + +form fieldset.search, +form fieldset#advancedsearch { + display: block; + margin:12px 0 12px 0; + width: 100%; + text-align:center; + height:22px; + } + +form fieldset.search input.text, +form fieldset#advancedsearch input.text { + width: 300px; + margin-left:20px; + padding:1px 1px 1px 5px; + font-style: italic; + } + +form fieldset.search input.submit { + display:none; + } + +form fieldset.search a { + padding: 1px 5px; + border: 1px solid #0af; + margin: 0 6px; + } +form fieldset.search a.sel, +form fieldset.search a:hover { + border: 1px solid #ff0; + color: #ff0; + } + +form div.dropdown a { + display:block; + width:100%; + text-align:center; + font-size: x-small; +} + +form fieldset#advancedsearch { + display:none; +} +form fieldset#advancedsearch input.submit { + padding: 1px; + margin: auto 5px; +} + +/* TODO: advanced search function styling */ + + + +/* browse table tabs */ +ul.maintabs { + display: inline; + margin: 0; + } + +ul.maintabs.notfirst { + display: block; + height: 20px + } + +ul.maintabs li { + display: inline; + list-style-type: none + } + +ul.maintabs li a, +ul.maintabs li b { + float: right; + display: block; + height: 14px; + padding: 1px 7px 5px 7px; + margin: 0 0 0 10px; + } + +ul.maintabs li a { + margin-left: 5px; + border: 1px solid #0af; + border-bottom: none; + background: #333; + } + +ul.maintabs.notfirst li a, +ul.maintabs.notfirst li b { + margin-top: 20px + } + +ul.maintabs.bottom li a, +ul.maintabs.bottom li b { + margin-top: 10px; + padding: 1px 7px 5px 7px + } + +ul.maintabs.bottom li a { + border-bottom: 1px solid #0af; + border-top: none + } + +ul.maintabs li.left a, +ul.maintabs li.left b { + float: left; + margin-left: 0; + margin-right: 10px + } + +ul.maintabs li b { + margin-left: -2px; + margin-right: -7px + } + +ul.maintabs li.left b { + margin-left: -7px; + margin-right: -2px + } + +ul.maintabs li.tabselected a, +ul.maintabs li a:hover { + padding-bottom: 6px + } + +ul.maintabs.bottom li.tabselected a, +ul.maintabs.bottom li a:hover { + padding-top: 2px; + padding-bottom: 5px; + margin-top: 9px + } + +ul.maintabs.browsetabs li a { + margin-left: 5px; + background: #333; + } + +ul.maintabs.browsetabs li.left a { + margin-left: 0; + margin-right: 5px + } + + +/* game/server browse tables */ +div.mainbox.browse { + padding: 0; + } + +div.mainbox.browse table { + width: 100%; + table-layout:fixed; + border-collapse:collapse + } + +div.mainbox.browse table thead td { + font-weight: bold; + } + +div.mainbox.browse table thead tr td { + white-space:nowrap; + overflow:hidden; + text-align:center; + border-top:0; + border-bottom:1px solid #0af; + color: #0af; + padding:3px 10px 3px 5px; + background: #111; + font-weight:bold + } + +div.mainbox.browse table tfoot tr td { + white-space:nowrap; + overflow:hidden; + text-align:center; + border-top:1px solid #0af; + color: #ccc; + padding:3px 10px 3px 5px; + } + +div.mainbox.browse table tr td { + white-space:nowrap; + overflow:hidden; + text-align:center; + padding:1px 10px 1px 5px; + font-size:10pt; + } + +div.mainbox.browse table tr.s td a { + color: #ccc; + } + +div.mainbox.browse table tr.s td a:hover { + color: #ff0; + } + +div.mainbox.browse table tr.odd { + background: #222; + } + +/* specific game list table columns */ +div.mainbox.browse.gamelist table tr td.tc1 { + text-align:left; + padding-left:20px + } + +div.mainbox.browse.gamelist table tr td.tc2 { + width:100px; + background-repeat: no-repeat; + background-position: center center; + background-size: 16px 16px; + } + +div.mainbox.browse.gamelist table tr td.tc3 { + width:200px; + } + +/* specific serverlist table columns */ +div.mainbox.browse.serverlist table tr td.tc1 { + width:10px; + background-size: 20px 15px; + background-position: 50%; + background-repeat: no-repeat; + } + +div.mainbox.browse.serverlist table tr td.tc2 { + text-align:left; + } + +div.mainbox.browse.serverlist table tr td.tc3 { + width:46px; + background-repeat: no-repeat; + background-position: center center; + background-size: 16px 16px; + } +div.mainbox.browse.serverlist table tr td.tc3.icon a { + display:block; + margin:0 auto; + height:16px; + width:16px; +} + +div.mainbox.browse.serverlist table tr td.tc4 { + width:90px;text-align:left + } + +div.mainbox.browse.serverlist table tr td.tc5 { + width:70px; + text-align:center + } + +div.mainbox.browse.serverlist table tr td.tc6 { + width:140px; + text-align:left + } + + +/* serverlist details */ +div.mainbox.detail { + padding:0 0 12px 0; + } +div.mainbox.detail div.header { + margin:0 0 12pt 0; + padding:3px 0 0 0; + display:block; + width:100%; + } + +div.mainbox.detail div.header h1 { + font-weight:normal; + padding: 15px 5px 0 15px; + white-space: nowrap; + overflow:hidden; + display:block; + width:830px; + } +div.mainbox.detail div.header p { + color: #ccc; + padding: 0 0 5px 30px; + } + +div.mainbox.detail table { + margin-bottom: 20px; + table-layout:fixed; + border-collapse:collapse; + text-align:left; + } +div.mainbox.detail table tr th { + font-weight:bold; + padding: 2px 8px; + margin-bottom:12pt; + border-bottom: 1px solid #996 + } +div.mainbox.detail table tr th.wc1 { + width:170px + } +div.mainbox.detail table tr td { + vertical-align:top; + padding:6px 5px 4px 15px; + } +div.mainbox.detail table tr td img.flag { + margin:-4px 2px -4px 0; + height:20px; + width:30px; + } +div.mainbox.detail table tr td input, +div.mainbox.detail table tr td textarea { + background: #222; + color: #ccc; + width:99%; + padding: 3px 1px 2px 5px; + border: 1px solid #0af; + font-family:"Lucida Console"; + font-size: 8pt; + } +div.mainbox.detail table.serverinfo, +div.mainbox.detail table.gameinfo { + width:63%; + } +div.mainbox.detail table.teaminfo, +div.mainbox.detail table.limits, +div.mainbox.detail table.mutators, +div.mainbox.detail table.players, +div.mainbox.detail table.useropts, +div.mainbox.detail table.shareopts { + width:96%; + } +div.mainbox.detail div.container { + float:right; + margin-right:30px; + } +div.mainbox.detail div.container div.thumbnail { + border:1px solid #666; + background: #222; + display:block; + margin-bottom:8px + } +div.mainbox.detail div.container div.thumbnail img { + height:256px; + width:256px; + border:1px solid #996; + display:block; + margin:10px 10px 2px 10px + } +div.mainbox.detail div.container div.thumbnail span { + text-align: right; + font-weight: normal; + padding:0 15px 4px 5px; + display:block; + font-size:x-small + } +div.mainbox.detail div.container table.mapinfo { + width: 280px; + margin-bottom:0; + } +div.mainbox.detail div.container table.mapinfo tr td.wc1{ + width: 80px; + } +div.mainbox.detail table.players tr.odd { + background: #222; + } +div.mainbox.detail table.players tr td { + padding:1px 5px 0px 15px; + overflow:hidden; + white-space: nowrap; + } +div.mainbox.detail table.players tr th.frags {width:50px} +div.mainbox.detail table.players tr th.mesh {width:140px} +div.mainbox.detail table.players tr th.skin {width:140px} +div.mainbox.detail table.players tr th.ping {width:50px} + +div.mainbox.detail table.players tr td.frags, +div.mainbox.detail table.players tr th.frags, +div.mainbox.detail table.players tr td.ping, +div.mainbox.detail table.players tr th.ping {text-align:right;} + +/* warning box */ +div.mainbox.warning { + color:#ccc; + background-color: #411; + border: 1px solid #c00; +} +div.mainbox.warning div.header { + border-bottom:1px solid #c00; + background: #200; + color: #ccc; +} + +div.mainbox.warning div.header h1{ + color: #ccc; +} + +div.mainbox div.description { + display: block; + width: 500px; + margin: 10px auto + } + +div.code.warning { + display:block; + margin:12pt auto; + width:90%; + font-family:"Lucida Console"; + font-size: 8pt; + text-align:left; + padding:5px; + border: 1px solid #c00; + overflow:hidden; + background: #222; + box-shadow: 10px 10px 5px #222; + } + +span.hilit { + background: #111; + font-style: italic; + padding: 1px; +} + +div.mainbox.apidoc table { + table-layout:fixed; + border-collapse:collapse; + margin:0 auto 12pt auto; + width:90%; + box-shadow: 3px 3px 2px #222; + background: #2a2a2a; + border:1px solid #666; + } +div.mainbox.apidoc table tr td { + white-space:nowrap; + overflow:hidden; + text-align:center; + padding:1px 10px 1px 5px; + font-size:10pt; + } +div.mainbox.apidoc table tr th { +font-weight:bold; +color: #ccc; +} +div.mainbox.apidoc table tr th, +div.mainbox.apidoc table tr td { +vertical-align:top; +text-align:left; + padding:3px 6px; + border:1px solid #666; + border-left:0; + border-right:0; + font-size:9pt +} + +div.mainbox.apidoc table .tc1 {width:90px;text-align:left} +div.mainbox.apidoc table .tc2 {width:70px;text-align:center;} + +div.mainbox.apidoc p, +div.mainbox.apidoc ul, +div.mainbox.apidoc ol { + margin-bottom:6pt; +} + +pre.code, +div.code { + display:block; + margin:2px auto 12px auto; + width:90%; + font-family:"Lucida Console"; + font-size: 8pt; + text-align:left; + padding:10px 20px; + border: 1px solid #0af; + overflow:auto; + background: #2a2a2a; + box-shadow: 3px 3px 3px #222; + } +span.code { + font-family:"Lucida Console"; + font-size: 8pt; + text-align:left; + padding:2px; + background: #2a2a2a; +} + +span.ext { + color: #bbb; + font-style: italic; + } -- cgit v1.2.3