diff --git a/index.js b/index.js index 107d1d4..6757bd4 100644 --- a/index.js +++ b/index.js @@ -14,6 +14,7 @@ import { generateDB } from './libs/database/generate.js' import { dbInit } from './libs/database/init.js' import { getStats, setStat } from './libs/serverStats.js' import { downloadEssentialData } from './libs/download/dowload.js' +import { ddnssStart } from './libs/ddnss/handler.js' const start = Date.now() const log = initLog("[ MAIN ]") @@ -49,4 +50,6 @@ Server.use('/assets', express.static('static')) const elapsed = Date.now() - start log(`Took ${elapsed/1000} seconds to start the server!`) -Server.listen(process.env.PORT ?? 12345, () => log(`Server started and listening on port ${process.env.PORT}.`)) \ No newline at end of file +Server.listen(process.env.PORT ?? 12345, () => log(`Server started and listening on port ${process.env.PORT}.`)) + +//ddnssStart() \ No newline at end of file diff --git a/libs/database/generate.js b/libs/database/generate.js index 81251d8..2d91b64 100644 --- a/libs/database/generate.js +++ b/libs/database/generate.js @@ -78,7 +78,8 @@ export function generateDB() { `CREATE INDEX IF NOT EXISTS "idx_rankings_rank" ON "rankings" ("rank")`, `CREATE INDEX IF NOT EXISTS "idx_rankings_player" ON "rankings" ("player")`, `CREATE INDEX IF NOT EXISTS "idx_rankings_finishes" ON "rankings" ("finishes")`, - `CREATE INDEX IF NOT EXISTS "idx_rankings_mapRank" ON "rankings" ("map", "rank")` + `CREATE INDEX IF NOT EXISTS "idx_rankings_mapRank" ON "rankings" ("map", "rank")`, + `CREATE INDEX IF NOT EXISTS "idx_rankings_playerServer" ON "rankings" ("player", "server")` ]) log("Generating teamrace index...") @@ -181,4 +182,5 @@ export function generateDB() { "colorFeetHex" varchar(8) NOT NULL ) `) + skinDB.exec(`CREATE INDEX IF NOT EXISTS "idx_player" ON "skindata" ("player")`) } diff --git a/libs/database/tasks.js b/libs/database/tasks.js index 71e6e2f..92c30fa 100644 --- a/libs/database/tasks.js +++ b/libs/database/tasks.js @@ -1,6 +1,7 @@ import decodeMsgpack from './decodeMsgpack.js' import { execMany } from './helper.js' import { sqlite } from './init.js' +import { mapToRegion, playerServer } from './wrapper.js' /** * This generates rankings for each map... @@ -163,6 +164,7 @@ export function processAllPoints() { CREATE TABLE IF NOT EXISTS "points" ( "type" varchar(16) NOT NULL, + "region" varchar(24) NOT NULL, "rank" INTEGER NOT NULL, "player" varchar(16) NOT NULL, "points" INTEGER NOT NULL @@ -178,25 +180,27 @@ export function processAllPoints() { .prepare(` INSERT INTO "points" ( - type, rank, player, points - ) VALUES (?, ?, ?, ?) + type, region, rank, player, points + ) VALUES (?, ?, ?, ?, ?) `) .run( type, + mapToRegion(playerServer(entry[0])), rank, entry[0], entry[1] ) - ++rank } + console.log(`${type} Done...`) } /* Generate indexes */ execMany([ `CREATE INDEX IF NOT EXISTS "idx_points_type" ON "points" ("type")`, - `CREATE INDEX IF NOT EXISTS "Idx_points_rank" on "points" ("rank")`, - `CREATE INDEX IF NOT EXISTS "Idx_points_name" on "points" ("player")` + `CREATE INDEX IF NOT EXISTS "idx_points_rank" on "points" ("rank")`, + `CREATE INDEX IF NOT EXISTS "idx_points_name" on "points" ("player")` + `CREATE INDEX IF NOT EXISTS "idx_points_name" on "points" ("region", "type")` ]) } diff --git a/libs/database/wrapper.js b/libs/database/wrapper.js index 111d82e..f20282d 100644 --- a/libs/database/wrapper.js +++ b/libs/database/wrapper.js @@ -1,4 +1,4 @@ -import { sqlite } from './init.js' +import { sqlite, skinDB } from './init.js' import { simpleSanitize } from './searcher.js' /** * This function checks if a player exists @@ -222,17 +222,32 @@ export function leaderboardRace(map, start, end) { * (points, pointsRank, pointsTeam, pointsThisWeek, pointsThisMonth) * * @param {string} type Which type of points to fetch + * @param {string} region Which region should be included (Global, Europe, Asia, SA, NA, Africa, ME, OLD, Other) * @param {number} start At which rank the leaderboard should begin * @param {number} end At which rank the leaderboard should end * @returns {array} An array containing the leaderboard */ -export function leaderboardPoints(type, start, end) { - const leaderboard = sqlite.prepare(` - SELECT rank, player, points FROM points WHERE type = ? AND rank >= ? AND rank <= ? ORDER BY rank`) - .all(type, start, end) +export function leaderboardPoints(type, region, start, end) { + let output = [] + let leaderboard - return leaderboard + if(region == "Global") { + leaderboard = sqlite.prepare(` + SELECT rank, region, player, points FROM points WHERE type = ? AND rank >= ? AND rank <= ? ORDER BY rank`) + .all(type, start, end) + } + else { + leaderboard = sqlite.prepare(` + SELECT rank, region, player, points FROM points WHERE type = ? AND region = ? ORDER BY rank ASC LIMIT ?, ${end}`) + .all(type, region, start - 1) + } + for (const entry of leaderboard) { + let flag = skinDB.prepare(`SELECT flag FROM skindata WHERE player = ?`).get(entry.player)?.flag ?? "default" + + output.push({ rank: entry.rank, player: entry.player, points: entry.points, region: entry.region, flag: flag }) + } + return output } /** @@ -376,6 +391,80 @@ export function searchMap(query, categories, stars, sortBy, order) { return output } +/* +Europe +/ RUS - Russia +/ GER - Germany +/ NLD - Netherlands +/ TUR - Turkey +/ POL - Poland +/ FRA - France + +Asia +/ IND - INDIA +/ SGP - Singapore +/ CHN - China +/ JAP - Japan +/ KOR - South Korea + +South America +/ COL - Columbia +/ ARG - Argentina +/ CHL - Chile +/ BRA - Brazil + +North America +/ CAN - Cananda +/ USA - USA + +Africa +/ ZAF - South Africa + +Middle east +/ KSA/UAE/IRN + +Others +/ CRI - Costa Rica +/ AUS - Australia +/ OLD ranks (NA/EU) +/ UNK - Some bugged ranks + +*/ +export function mapToRegion(srv) { + if(srv == "RUS" || srv == "GER" || srv == "NLD" || srv == "TUR" || srv == "POL" || srv == "FRA") + return "Europe" + + if(srv == "IND" || srv == "SGP" || srv == "CHN" || srv == "JAP" || srv == "KOR") + return "Asia" + + if(srv == "COL" || srv == "ARG" || srv == "CHL" || srv == "BRA") + return "SA" + + if(srv == "CAN" || srv == "USA") + return "NA" + + if(srv == "ZAF") + return "Africa" + + /* Middle east */ + if(srv == "KSA" || srv == "UAE" || srv == "IRN") + return "ME" + + if(srv == "") + return "OLD" + + return "Other" +} + +export function playerServer(player) { + /* This can be undefined if a player has changed their name */ + const server = sqlite.prepare( + `SELECT server, COUNT(server) as a FROM rankings WHERE player = ? GROUP BY server ORDER BY a DESC`) + .get(player)?.server ?? "" + + return server +} + export default { playerExists, @@ -393,4 +482,7 @@ export default { leaderboardRace, leaderboardTeamrace, categoryExists, + + mapToRegion, + playerServer, } \ No newline at end of file diff --git a/routes/routes.js b/routes/routes.js index 99b97f7..d412109 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -53,11 +53,11 @@ routes.get( '/leaderboards', (req, res) => { const leaderboards = { - points: wrapper.leaderboardPoints("points", 1, 10), - pointsRank: wrapper.leaderboardPoints("pointsRank", 1, 10), - pointsTeam: wrapper.leaderboardPoints("pointsTeam", 1, 10), - pointsThisWeek: wrapper.leaderboardPoints("pointsThisWeek", 1, 10), - pointsThisMonth: wrapper.leaderboardPoints("pointsThisMonth", 1, 10) + points: wrapper.leaderboardPoints("points", "Global", 1, 10), + pointsRank: wrapper.leaderboardPoints("pointsRank", "Global", 1, 10), + pointsTeam: wrapper.leaderboardPoints("pointsTeam", "Global", 1, 10), + pointsThisWeek: wrapper.leaderboardPoints("pointsThisWeek", "Global", 1, 10), + pointsThisMonth: wrapper.leaderboardPoints("pointsThisMonth", "Global", 1, 10) } tx(req, res)('pages/leaderboards.njk', { leaderboards }, true, { currentSection: "leaderboards" }) diff --git a/static/countryflags/AD.png b/static/countryflags/AD.png new file mode 100755 index 0000000..196e58e Binary files /dev/null and b/static/countryflags/AD.png differ diff --git a/static/countryflags/AE.png b/static/countryflags/AE.png new file mode 100755 index 0000000..9ce0e4b Binary files /dev/null and b/static/countryflags/AE.png differ diff --git a/static/countryflags/AF.png b/static/countryflags/AF.png new file mode 100755 index 0000000..7e5aecc Binary files /dev/null and b/static/countryflags/AF.png differ diff --git a/static/countryflags/AG.png b/static/countryflags/AG.png new file mode 100755 index 0000000..d762098 Binary files /dev/null and b/static/countryflags/AG.png differ diff --git a/static/countryflags/AI.png b/static/countryflags/AI.png new file mode 100755 index 0000000..90d60f8 Binary files /dev/null and b/static/countryflags/AI.png differ diff --git a/static/countryflags/AL.png b/static/countryflags/AL.png new file mode 100755 index 0000000..b65a384 Binary files /dev/null and b/static/countryflags/AL.png differ diff --git a/static/countryflags/AM.png b/static/countryflags/AM.png new file mode 100755 index 0000000..bb18fcb Binary files /dev/null and b/static/countryflags/AM.png differ diff --git a/static/countryflags/AO.png b/static/countryflags/AO.png new file mode 100755 index 0000000..a80abe5 Binary files /dev/null and b/static/countryflags/AO.png differ diff --git a/static/countryflags/AR.png b/static/countryflags/AR.png new file mode 100755 index 0000000..6b2fbce Binary files /dev/null and b/static/countryflags/AR.png differ diff --git a/static/countryflags/AS.png b/static/countryflags/AS.png new file mode 100755 index 0000000..37f53b4 Binary files /dev/null and b/static/countryflags/AS.png differ diff --git a/static/countryflags/AT.png b/static/countryflags/AT.png new file mode 100755 index 0000000..01756ad Binary files /dev/null and b/static/countryflags/AT.png differ diff --git a/static/countryflags/AU.png b/static/countryflags/AU.png new file mode 100755 index 0000000..976eb84 Binary files /dev/null and b/static/countryflags/AU.png differ diff --git a/static/countryflags/AW.png b/static/countryflags/AW.png new file mode 100755 index 0000000..3ba1da6 Binary files /dev/null and b/static/countryflags/AW.png differ diff --git a/static/countryflags/AX.png b/static/countryflags/AX.png new file mode 100755 index 0000000..095bd83 Binary files /dev/null and b/static/countryflags/AX.png differ diff --git a/static/countryflags/AZ.png b/static/countryflags/AZ.png new file mode 100755 index 0000000..2490625 Binary files /dev/null and b/static/countryflags/AZ.png differ diff --git a/static/countryflags/BA.png b/static/countryflags/BA.png new file mode 100755 index 0000000..3945aa1 Binary files /dev/null and b/static/countryflags/BA.png differ diff --git a/static/countryflags/BB.png b/static/countryflags/BB.png new file mode 100755 index 0000000..a50083a Binary files /dev/null and b/static/countryflags/BB.png differ diff --git a/static/countryflags/BD.png b/static/countryflags/BD.png new file mode 100755 index 0000000..76fde83 Binary files /dev/null and b/static/countryflags/BD.png differ diff --git a/static/countryflags/BE.png b/static/countryflags/BE.png new file mode 100755 index 0000000..53849e3 Binary files /dev/null and b/static/countryflags/BE.png differ diff --git a/static/countryflags/BF.png b/static/countryflags/BF.png new file mode 100755 index 0000000..06cb5c0 Binary files /dev/null and b/static/countryflags/BF.png differ diff --git a/static/countryflags/BG.png b/static/countryflags/BG.png new file mode 100755 index 0000000..9ccae0a Binary files /dev/null and b/static/countryflags/BG.png differ diff --git a/static/countryflags/BH.png b/static/countryflags/BH.png new file mode 100755 index 0000000..86009f3 Binary files /dev/null and b/static/countryflags/BH.png differ diff --git a/static/countryflags/BI.png b/static/countryflags/BI.png new file mode 100755 index 0000000..ed94ca6 Binary files /dev/null and b/static/countryflags/BI.png differ diff --git a/static/countryflags/BJ.png b/static/countryflags/BJ.png new file mode 100755 index 0000000..fd2423d Binary files /dev/null and b/static/countryflags/BJ.png differ diff --git a/static/countryflags/BL.png b/static/countryflags/BL.png new file mode 100755 index 0000000..a9601f2 Binary files /dev/null and b/static/countryflags/BL.png differ diff --git a/static/countryflags/BM.png b/static/countryflags/BM.png new file mode 100755 index 0000000..7d0b0f8 Binary files /dev/null and b/static/countryflags/BM.png differ diff --git a/static/countryflags/BN.png b/static/countryflags/BN.png new file mode 100755 index 0000000..1170dc1 Binary files /dev/null and b/static/countryflags/BN.png differ diff --git a/static/countryflags/BO.png b/static/countryflags/BO.png new file mode 100755 index 0000000..1c059a0 Binary files /dev/null and b/static/countryflags/BO.png differ diff --git a/static/countryflags/BR.png b/static/countryflags/BR.png new file mode 100755 index 0000000..97d982f Binary files /dev/null and b/static/countryflags/BR.png differ diff --git a/static/countryflags/BS.png b/static/countryflags/BS.png new file mode 100755 index 0000000..1e1da88 Binary files /dev/null and b/static/countryflags/BS.png differ diff --git a/static/countryflags/BT.png b/static/countryflags/BT.png new file mode 100755 index 0000000..4bf2f79 Binary files /dev/null and b/static/countryflags/BT.png differ diff --git a/static/countryflags/BW.png b/static/countryflags/BW.png new file mode 100755 index 0000000..1160e95 Binary files /dev/null and b/static/countryflags/BW.png differ diff --git a/static/countryflags/BY.png b/static/countryflags/BY.png new file mode 100755 index 0000000..40615b3 Binary files /dev/null and b/static/countryflags/BY.png differ diff --git a/static/countryflags/BZ.png b/static/countryflags/BZ.png new file mode 100755 index 0000000..4634b67 Binary files /dev/null and b/static/countryflags/BZ.png differ diff --git a/static/countryflags/CA.png b/static/countryflags/CA.png new file mode 100755 index 0000000..d6d29c5 Binary files /dev/null and b/static/countryflags/CA.png differ diff --git a/static/countryflags/CC.png b/static/countryflags/CC.png new file mode 100755 index 0000000..c601ef9 Binary files /dev/null and b/static/countryflags/CC.png differ diff --git a/static/countryflags/CD.png b/static/countryflags/CD.png new file mode 100755 index 0000000..7c44370 Binary files /dev/null and b/static/countryflags/CD.png differ diff --git a/static/countryflags/CF.png b/static/countryflags/CF.png new file mode 100755 index 0000000..83338b4 Binary files /dev/null and b/static/countryflags/CF.png differ diff --git a/static/countryflags/CG.png b/static/countryflags/CG.png new file mode 100755 index 0000000..67f59cb Binary files /dev/null and b/static/countryflags/CG.png differ diff --git a/static/countryflags/CH.png b/static/countryflags/CH.png new file mode 100755 index 0000000..625e5b0 Binary files /dev/null and b/static/countryflags/CH.png differ diff --git a/static/countryflags/CI.png b/static/countryflags/CI.png new file mode 100755 index 0000000..aca3937 Binary files /dev/null and b/static/countryflags/CI.png differ diff --git a/static/countryflags/CK.png b/static/countryflags/CK.png new file mode 100755 index 0000000..a331b0f Binary files /dev/null and b/static/countryflags/CK.png differ diff --git a/static/countryflags/CL.png b/static/countryflags/CL.png new file mode 100755 index 0000000..edcd075 Binary files /dev/null and b/static/countryflags/CL.png differ diff --git a/static/countryflags/CM.png b/static/countryflags/CM.png new file mode 100755 index 0000000..243c43c Binary files /dev/null and b/static/countryflags/CM.png differ diff --git a/static/countryflags/CN.png b/static/countryflags/CN.png new file mode 100755 index 0000000..7a402cd Binary files /dev/null and b/static/countryflags/CN.png differ diff --git a/static/countryflags/CO.png b/static/countryflags/CO.png new file mode 100755 index 0000000..698e67d Binary files /dev/null and b/static/countryflags/CO.png differ diff --git a/static/countryflags/CR.png b/static/countryflags/CR.png new file mode 100755 index 0000000..b71566a Binary files /dev/null and b/static/countryflags/CR.png differ diff --git a/static/countryflags/CU.png b/static/countryflags/CU.png new file mode 100755 index 0000000..ca24f5c Binary files /dev/null and b/static/countryflags/CU.png differ diff --git a/static/countryflags/CV.png b/static/countryflags/CV.png new file mode 100755 index 0000000..63e2379 Binary files /dev/null and b/static/countryflags/CV.png differ diff --git a/static/countryflags/CW.png b/static/countryflags/CW.png new file mode 100755 index 0000000..115bcb8 Binary files /dev/null and b/static/countryflags/CW.png differ diff --git a/static/countryflags/CX.png b/static/countryflags/CX.png new file mode 100755 index 0000000..6694d15 Binary files /dev/null and b/static/countryflags/CX.png differ diff --git a/static/countryflags/CY.png b/static/countryflags/CY.png new file mode 100755 index 0000000..4851555 Binary files /dev/null and b/static/countryflags/CY.png differ diff --git a/static/countryflags/CZ.png b/static/countryflags/CZ.png new file mode 100755 index 0000000..9828e5a Binary files /dev/null and b/static/countryflags/CZ.png differ diff --git a/static/countryflags/DE.png b/static/countryflags/DE.png new file mode 100755 index 0000000..1ff70ba Binary files /dev/null and b/static/countryflags/DE.png differ diff --git a/static/countryflags/DJ.png b/static/countryflags/DJ.png new file mode 100755 index 0000000..1e0c78e Binary files /dev/null and b/static/countryflags/DJ.png differ diff --git a/static/countryflags/DK.png b/static/countryflags/DK.png new file mode 100755 index 0000000..e8bc24a Binary files /dev/null and b/static/countryflags/DK.png differ diff --git a/static/countryflags/DM.png b/static/countryflags/DM.png new file mode 100755 index 0000000..c394fa7 Binary files /dev/null and b/static/countryflags/DM.png differ diff --git a/static/countryflags/DO.png b/static/countryflags/DO.png new file mode 100755 index 0000000..afad91e Binary files /dev/null and b/static/countryflags/DO.png differ diff --git a/static/countryflags/DZ.png b/static/countryflags/DZ.png new file mode 100755 index 0000000..0c96841 Binary files /dev/null and b/static/countryflags/DZ.png differ diff --git a/static/countryflags/EC.png b/static/countryflags/EC.png new file mode 100755 index 0000000..8673553 Binary files /dev/null and b/static/countryflags/EC.png differ diff --git a/static/countryflags/EE.png b/static/countryflags/EE.png new file mode 100755 index 0000000..04d30a7 Binary files /dev/null and b/static/countryflags/EE.png differ diff --git a/static/countryflags/EG.png b/static/countryflags/EG.png new file mode 100755 index 0000000..f5a6a2e Binary files /dev/null and b/static/countryflags/EG.png differ diff --git a/static/countryflags/EH.png b/static/countryflags/EH.png new file mode 100755 index 0000000..f78d06c Binary files /dev/null and b/static/countryflags/EH.png differ diff --git a/static/countryflags/ER.png b/static/countryflags/ER.png new file mode 100755 index 0000000..a43de80 Binary files /dev/null and b/static/countryflags/ER.png differ diff --git a/static/countryflags/ES.png b/static/countryflags/ES.png new file mode 100755 index 0000000..5734863 Binary files /dev/null and b/static/countryflags/ES.png differ diff --git a/static/countryflags/ET.png b/static/countryflags/ET.png new file mode 100755 index 0000000..108560a Binary files /dev/null and b/static/countryflags/ET.png differ diff --git a/static/countryflags/FI.png b/static/countryflags/FI.png new file mode 100755 index 0000000..980589c Binary files /dev/null and b/static/countryflags/FI.png differ diff --git a/static/countryflags/FJ.png b/static/countryflags/FJ.png new file mode 100755 index 0000000..200ed94 Binary files /dev/null and b/static/countryflags/FJ.png differ diff --git a/static/countryflags/FK.png b/static/countryflags/FK.png new file mode 100755 index 0000000..7f2069a Binary files /dev/null and b/static/countryflags/FK.png differ diff --git a/static/countryflags/FM.png b/static/countryflags/FM.png new file mode 100755 index 0000000..e541523 Binary files /dev/null and b/static/countryflags/FM.png differ diff --git a/static/countryflags/FO.png b/static/countryflags/FO.png new file mode 100755 index 0000000..5941bf3 Binary files /dev/null and b/static/countryflags/FO.png differ diff --git a/static/countryflags/FR.png b/static/countryflags/FR.png new file mode 100755 index 0000000..6da61a1 Binary files /dev/null and b/static/countryflags/FR.png differ diff --git a/static/countryflags/GA.png b/static/countryflags/GA.png new file mode 100755 index 0000000..78fb74c Binary files /dev/null and b/static/countryflags/GA.png differ diff --git a/static/countryflags/GB.png b/static/countryflags/GB.png new file mode 100755 index 0000000..98fb549 Binary files /dev/null and b/static/countryflags/GB.png differ diff --git a/static/countryflags/GD.png b/static/countryflags/GD.png new file mode 100755 index 0000000..0508bbc Binary files /dev/null and b/static/countryflags/GD.png differ diff --git a/static/countryflags/GE.png b/static/countryflags/GE.png new file mode 100755 index 0000000..91a43c6 Binary files /dev/null and b/static/countryflags/GE.png differ diff --git a/static/countryflags/GF.png b/static/countryflags/GF.png new file mode 100755 index 0000000..c653811 Binary files /dev/null and b/static/countryflags/GF.png differ diff --git a/static/countryflags/GG.png b/static/countryflags/GG.png new file mode 100755 index 0000000..18f6bb3 Binary files /dev/null and b/static/countryflags/GG.png differ diff --git a/static/countryflags/GH.png b/static/countryflags/GH.png new file mode 100755 index 0000000..c852c97 Binary files /dev/null and b/static/countryflags/GH.png differ diff --git a/static/countryflags/GI.png b/static/countryflags/GI.png new file mode 100755 index 0000000..6e95899 Binary files /dev/null and b/static/countryflags/GI.png differ diff --git a/static/countryflags/GL.png b/static/countryflags/GL.png new file mode 100755 index 0000000..afc0cdf Binary files /dev/null and b/static/countryflags/GL.png differ diff --git a/static/countryflags/GM.png b/static/countryflags/GM.png new file mode 100755 index 0000000..73862b9 Binary files /dev/null and b/static/countryflags/GM.png differ diff --git a/static/countryflags/GN.png b/static/countryflags/GN.png new file mode 100755 index 0000000..68c8bc2 Binary files /dev/null and b/static/countryflags/GN.png differ diff --git a/static/countryflags/GP.png b/static/countryflags/GP.png new file mode 100755 index 0000000..bcd3c24 Binary files /dev/null and b/static/countryflags/GP.png differ diff --git a/static/countryflags/GQ.png b/static/countryflags/GQ.png new file mode 100755 index 0000000..4d9774f Binary files /dev/null and b/static/countryflags/GQ.png differ diff --git a/static/countryflags/GR.png b/static/countryflags/GR.png new file mode 100755 index 0000000..d614fdc Binary files /dev/null and b/static/countryflags/GR.png differ diff --git a/static/countryflags/GS.png b/static/countryflags/GS.png new file mode 100755 index 0000000..27960a9 Binary files /dev/null and b/static/countryflags/GS.png differ diff --git a/static/countryflags/GT.png b/static/countryflags/GT.png new file mode 100755 index 0000000..3ec4143 Binary files /dev/null and b/static/countryflags/GT.png differ diff --git a/static/countryflags/GU.png b/static/countryflags/GU.png new file mode 100755 index 0000000..c25f5f9 Binary files /dev/null and b/static/countryflags/GU.png differ diff --git a/static/countryflags/GW.png b/static/countryflags/GW.png new file mode 100755 index 0000000..9e1ae28 Binary files /dev/null and b/static/countryflags/GW.png differ diff --git a/static/countryflags/GY.png b/static/countryflags/GY.png new file mode 100755 index 0000000..43a6f83 Binary files /dev/null and b/static/countryflags/GY.png differ diff --git a/static/countryflags/HK.png b/static/countryflags/HK.png new file mode 100755 index 0000000..287dfd1 Binary files /dev/null and b/static/countryflags/HK.png differ diff --git a/static/countryflags/HN.png b/static/countryflags/HN.png new file mode 100755 index 0000000..9e96c57 Binary files /dev/null and b/static/countryflags/HN.png differ diff --git a/static/countryflags/HR.png b/static/countryflags/HR.png new file mode 100755 index 0000000..109498e Binary files /dev/null and b/static/countryflags/HR.png differ diff --git a/static/countryflags/HT.png b/static/countryflags/HT.png new file mode 100755 index 0000000..59a8fef Binary files /dev/null and b/static/countryflags/HT.png differ diff --git a/static/countryflags/HU.png b/static/countryflags/HU.png new file mode 100755 index 0000000..31c207c Binary files /dev/null and b/static/countryflags/HU.png differ diff --git a/static/countryflags/ID.png b/static/countryflags/ID.png new file mode 100755 index 0000000..ac2dcfb Binary files /dev/null and b/static/countryflags/ID.png differ diff --git a/static/countryflags/IE.png b/static/countryflags/IE.png new file mode 100755 index 0000000..a5a2858 Binary files /dev/null and b/static/countryflags/IE.png differ diff --git a/static/countryflags/IL.png b/static/countryflags/IL.png new file mode 100755 index 0000000..2b4af9e Binary files /dev/null and b/static/countryflags/IL.png differ diff --git a/static/countryflags/IM.png b/static/countryflags/IM.png new file mode 100755 index 0000000..9c98068 Binary files /dev/null and b/static/countryflags/IM.png differ diff --git a/static/countryflags/IN.png b/static/countryflags/IN.png new file mode 100755 index 0000000..639a165 Binary files /dev/null and b/static/countryflags/IN.png differ diff --git a/static/countryflags/IO.png b/static/countryflags/IO.png new file mode 100755 index 0000000..e80752e Binary files /dev/null and b/static/countryflags/IO.png differ diff --git a/static/countryflags/IQ.png b/static/countryflags/IQ.png new file mode 100755 index 0000000..88b710c Binary files /dev/null and b/static/countryflags/IQ.png differ diff --git a/static/countryflags/IR.png b/static/countryflags/IR.png new file mode 100755 index 0000000..8d6e782 Binary files /dev/null and b/static/countryflags/IR.png differ diff --git a/static/countryflags/IS.png b/static/countryflags/IS.png new file mode 100755 index 0000000..b4e27be Binary files /dev/null and b/static/countryflags/IS.png differ diff --git a/static/countryflags/IT.png b/static/countryflags/IT.png new file mode 100755 index 0000000..1f10278 Binary files /dev/null and b/static/countryflags/IT.png differ diff --git a/static/countryflags/JE.png b/static/countryflags/JE.png new file mode 100755 index 0000000..d6af299 Binary files /dev/null and b/static/countryflags/JE.png differ diff --git a/static/countryflags/JM.png b/static/countryflags/JM.png new file mode 100755 index 0000000..36ceeba Binary files /dev/null and b/static/countryflags/JM.png differ diff --git a/static/countryflags/JO.png b/static/countryflags/JO.png new file mode 100755 index 0000000..465d06e Binary files /dev/null and b/static/countryflags/JO.png differ diff --git a/static/countryflags/JP.png b/static/countryflags/JP.png new file mode 100755 index 0000000..df8c8c2 Binary files /dev/null and b/static/countryflags/JP.png differ diff --git a/static/countryflags/KE.png b/static/countryflags/KE.png new file mode 100755 index 0000000..7fabb40 Binary files /dev/null and b/static/countryflags/KE.png differ diff --git a/static/countryflags/KG.png b/static/countryflags/KG.png new file mode 100755 index 0000000..71fb929 Binary files /dev/null and b/static/countryflags/KG.png differ diff --git a/static/countryflags/KH.png b/static/countryflags/KH.png new file mode 100755 index 0000000..ca8e71c Binary files /dev/null and b/static/countryflags/KH.png differ diff --git a/static/countryflags/KI.png b/static/countryflags/KI.png new file mode 100755 index 0000000..9b4a63b Binary files /dev/null and b/static/countryflags/KI.png differ diff --git a/static/countryflags/KM.png b/static/countryflags/KM.png new file mode 100755 index 0000000..6dc2e60 Binary files /dev/null and b/static/countryflags/KM.png differ diff --git a/static/countryflags/KN.png b/static/countryflags/KN.png new file mode 100755 index 0000000..aa30723 Binary files /dev/null and b/static/countryflags/KN.png differ diff --git a/static/countryflags/KP.png b/static/countryflags/KP.png new file mode 100755 index 0000000..0c3c361 Binary files /dev/null and b/static/countryflags/KP.png differ diff --git a/static/countryflags/KR.png b/static/countryflags/KR.png new file mode 100755 index 0000000..68eb1bb Binary files /dev/null and b/static/countryflags/KR.png differ diff --git a/static/countryflags/KW.png b/static/countryflags/KW.png new file mode 100755 index 0000000..90e9217 Binary files /dev/null and b/static/countryflags/KW.png differ diff --git a/static/countryflags/KY.png b/static/countryflags/KY.png new file mode 100755 index 0000000..364398d Binary files /dev/null and b/static/countryflags/KY.png differ diff --git a/static/countryflags/KZ.png b/static/countryflags/KZ.png new file mode 100755 index 0000000..0f9f021 Binary files /dev/null and b/static/countryflags/KZ.png differ diff --git a/static/countryflags/LA.png b/static/countryflags/LA.png new file mode 100755 index 0000000..7f69803 Binary files /dev/null and b/static/countryflags/LA.png differ diff --git a/static/countryflags/LB.png b/static/countryflags/LB.png new file mode 100755 index 0000000..a1fbe68 Binary files /dev/null and b/static/countryflags/LB.png differ diff --git a/static/countryflags/LC.png b/static/countryflags/LC.png new file mode 100755 index 0000000..42531c0 Binary files /dev/null and b/static/countryflags/LC.png differ diff --git a/static/countryflags/LI.png b/static/countryflags/LI.png new file mode 100755 index 0000000..7adfb1b Binary files /dev/null and b/static/countryflags/LI.png differ diff --git a/static/countryflags/LK.png b/static/countryflags/LK.png new file mode 100755 index 0000000..e40bff1 Binary files /dev/null and b/static/countryflags/LK.png differ diff --git a/static/countryflags/LR.png b/static/countryflags/LR.png new file mode 100755 index 0000000..a7aa1b7 Binary files /dev/null and b/static/countryflags/LR.png differ diff --git a/static/countryflags/LS.png b/static/countryflags/LS.png new file mode 100755 index 0000000..c22a8cd Binary files /dev/null and b/static/countryflags/LS.png differ diff --git a/static/countryflags/LT.png b/static/countryflags/LT.png new file mode 100755 index 0000000..131e3ed Binary files /dev/null and b/static/countryflags/LT.png differ diff --git a/static/countryflags/LU.png b/static/countryflags/LU.png new file mode 100755 index 0000000..58d819f Binary files /dev/null and b/static/countryflags/LU.png differ diff --git a/static/countryflags/LV.png b/static/countryflags/LV.png new file mode 100755 index 0000000..4e496f5 Binary files /dev/null and b/static/countryflags/LV.png differ diff --git a/static/countryflags/LY.png b/static/countryflags/LY.png new file mode 100755 index 0000000..f07e94d Binary files /dev/null and b/static/countryflags/LY.png differ diff --git a/static/countryflags/MA.png b/static/countryflags/MA.png new file mode 100755 index 0000000..22c4892 Binary files /dev/null and b/static/countryflags/MA.png differ diff --git a/static/countryflags/MC.png b/static/countryflags/MC.png new file mode 100755 index 0000000..21bda02 Binary files /dev/null and b/static/countryflags/MC.png differ diff --git a/static/countryflags/MD.png b/static/countryflags/MD.png new file mode 100755 index 0000000..1ee076a Binary files /dev/null and b/static/countryflags/MD.png differ diff --git a/static/countryflags/ME.png b/static/countryflags/ME.png new file mode 100755 index 0000000..9c4d254 Binary files /dev/null and b/static/countryflags/ME.png differ diff --git a/static/countryflags/MF.png b/static/countryflags/MF.png new file mode 100755 index 0000000..d4073db Binary files /dev/null and b/static/countryflags/MF.png differ diff --git a/static/countryflags/MG.png b/static/countryflags/MG.png new file mode 100755 index 0000000..0eca6b8 Binary files /dev/null and b/static/countryflags/MG.png differ diff --git a/static/countryflags/MH.png b/static/countryflags/MH.png new file mode 100755 index 0000000..e8fc05a Binary files /dev/null and b/static/countryflags/MH.png differ diff --git a/static/countryflags/MK.png b/static/countryflags/MK.png new file mode 100755 index 0000000..0c96114 Binary files /dev/null and b/static/countryflags/MK.png differ diff --git a/static/countryflags/ML.png b/static/countryflags/ML.png new file mode 100755 index 0000000..b56af49 Binary files /dev/null and b/static/countryflags/ML.png differ diff --git a/static/countryflags/MM.png b/static/countryflags/MM.png new file mode 100755 index 0000000..f5c9bfb Binary files /dev/null and b/static/countryflags/MM.png differ diff --git a/static/countryflags/MN.png b/static/countryflags/MN.png new file mode 100755 index 0000000..2ef7210 Binary files /dev/null and b/static/countryflags/MN.png differ diff --git a/static/countryflags/MO.png b/static/countryflags/MO.png new file mode 100755 index 0000000..8c8ebfe Binary files /dev/null and b/static/countryflags/MO.png differ diff --git a/static/countryflags/MP.png b/static/countryflags/MP.png new file mode 100755 index 0000000..2b021ea Binary files /dev/null and b/static/countryflags/MP.png differ diff --git a/static/countryflags/MQ.png b/static/countryflags/MQ.png new file mode 100755 index 0000000..fbab048 Binary files /dev/null and b/static/countryflags/MQ.png differ diff --git a/static/countryflags/MR.png b/static/countryflags/MR.png new file mode 100755 index 0000000..3de7c94 Binary files /dev/null and b/static/countryflags/MR.png differ diff --git a/static/countryflags/MS.png b/static/countryflags/MS.png new file mode 100755 index 0000000..9396c31 Binary files /dev/null and b/static/countryflags/MS.png differ diff --git a/static/countryflags/MT.png b/static/countryflags/MT.png new file mode 100755 index 0000000..d2e4e37 Binary files /dev/null and b/static/countryflags/MT.png differ diff --git a/static/countryflags/MU.png b/static/countryflags/MU.png new file mode 100755 index 0000000..7df5c53 Binary files /dev/null and b/static/countryflags/MU.png differ diff --git a/static/countryflags/MV.png b/static/countryflags/MV.png new file mode 100755 index 0000000..ab6c1f3 Binary files /dev/null and b/static/countryflags/MV.png differ diff --git a/static/countryflags/MW.png b/static/countryflags/MW.png new file mode 100755 index 0000000..3694622 Binary files /dev/null and b/static/countryflags/MW.png differ diff --git a/static/countryflags/MX.png b/static/countryflags/MX.png new file mode 100755 index 0000000..441bafb Binary files /dev/null and b/static/countryflags/MX.png differ diff --git a/static/countryflags/MY.png b/static/countryflags/MY.png new file mode 100755 index 0000000..ea77e64 Binary files /dev/null and b/static/countryflags/MY.png differ diff --git a/static/countryflags/MZ.png b/static/countryflags/MZ.png new file mode 100755 index 0000000..31b4798 Binary files /dev/null and b/static/countryflags/MZ.png differ diff --git a/static/countryflags/NA.png b/static/countryflags/NA.png new file mode 100755 index 0000000..3c146d0 Binary files /dev/null and b/static/countryflags/NA.png differ diff --git a/static/countryflags/NC.png b/static/countryflags/NC.png new file mode 100755 index 0000000..b356c0b Binary files /dev/null and b/static/countryflags/NC.png differ diff --git a/static/countryflags/NE.png b/static/countryflags/NE.png new file mode 100755 index 0000000..0e3509c Binary files /dev/null and b/static/countryflags/NE.png differ diff --git a/static/countryflags/NF.png b/static/countryflags/NF.png new file mode 100755 index 0000000..0bc6480 Binary files /dev/null and b/static/countryflags/NF.png differ diff --git a/static/countryflags/NG.png b/static/countryflags/NG.png new file mode 100755 index 0000000..02a8b4c Binary files /dev/null and b/static/countryflags/NG.png differ diff --git a/static/countryflags/NI.png b/static/countryflags/NI.png new file mode 100755 index 0000000..c0a835a Binary files /dev/null and b/static/countryflags/NI.png differ diff --git a/static/countryflags/NL.png b/static/countryflags/NL.png new file mode 100755 index 0000000..f151f2b Binary files /dev/null and b/static/countryflags/NL.png differ diff --git a/static/countryflags/NO.png b/static/countryflags/NO.png new file mode 100755 index 0000000..0a90a7e Binary files /dev/null and b/static/countryflags/NO.png differ diff --git a/static/countryflags/NP.png b/static/countryflags/NP.png new file mode 100755 index 0000000..fe382bb Binary files /dev/null and b/static/countryflags/NP.png differ diff --git a/static/countryflags/NR.png b/static/countryflags/NR.png new file mode 100755 index 0000000..777f477 Binary files /dev/null and b/static/countryflags/NR.png differ diff --git a/static/countryflags/NU.png b/static/countryflags/NU.png new file mode 100755 index 0000000..78668c7 Binary files /dev/null and b/static/countryflags/NU.png differ diff --git a/static/countryflags/NZ.png b/static/countryflags/NZ.png new file mode 100755 index 0000000..e3a5db8 Binary files /dev/null and b/static/countryflags/NZ.png differ diff --git a/static/countryflags/OM.png b/static/countryflags/OM.png new file mode 100755 index 0000000..d3d6483 Binary files /dev/null and b/static/countryflags/OM.png differ diff --git a/static/countryflags/PA.png b/static/countryflags/PA.png new file mode 100755 index 0000000..6489ddd Binary files /dev/null and b/static/countryflags/PA.png differ diff --git a/static/countryflags/PE.png b/static/countryflags/PE.png new file mode 100755 index 0000000..2066135 Binary files /dev/null and b/static/countryflags/PE.png differ diff --git a/static/countryflags/PF.png b/static/countryflags/PF.png new file mode 100755 index 0000000..e16894c Binary files /dev/null and b/static/countryflags/PF.png differ diff --git a/static/countryflags/PG.png b/static/countryflags/PG.png new file mode 100755 index 0000000..0226ea3 Binary files /dev/null and b/static/countryflags/PG.png differ diff --git a/static/countryflags/PH.png b/static/countryflags/PH.png new file mode 100755 index 0000000..928e743 Binary files /dev/null and b/static/countryflags/PH.png differ diff --git a/static/countryflags/PK.png b/static/countryflags/PK.png new file mode 100755 index 0000000..835ecc5 Binary files /dev/null and b/static/countryflags/PK.png differ diff --git a/static/countryflags/PL.png b/static/countryflags/PL.png new file mode 100755 index 0000000..9ffc682 Binary files /dev/null and b/static/countryflags/PL.png differ diff --git a/static/countryflags/PM.png b/static/countryflags/PM.png new file mode 100755 index 0000000..57d7355 Binary files /dev/null and b/static/countryflags/PM.png differ diff --git a/static/countryflags/PN.png b/static/countryflags/PN.png new file mode 100755 index 0000000..1f21ef1 Binary files /dev/null and b/static/countryflags/PN.png differ diff --git a/static/countryflags/PR.png b/static/countryflags/PR.png new file mode 100755 index 0000000..e28f1cd Binary files /dev/null and b/static/countryflags/PR.png differ diff --git a/static/countryflags/PS.png b/static/countryflags/PS.png new file mode 100755 index 0000000..f8d8160 Binary files /dev/null and b/static/countryflags/PS.png differ diff --git a/static/countryflags/PT.png b/static/countryflags/PT.png new file mode 100755 index 0000000..4fd5a40 Binary files /dev/null and b/static/countryflags/PT.png differ diff --git a/static/countryflags/PW.png b/static/countryflags/PW.png new file mode 100755 index 0000000..3a0cbc4 Binary files /dev/null and b/static/countryflags/PW.png differ diff --git a/static/countryflags/PY.png b/static/countryflags/PY.png new file mode 100755 index 0000000..7e34caa Binary files /dev/null and b/static/countryflags/PY.png differ diff --git a/static/countryflags/QA.png b/static/countryflags/QA.png new file mode 100755 index 0000000..2dcccd0 Binary files /dev/null and b/static/countryflags/QA.png differ diff --git a/static/countryflags/RE.png b/static/countryflags/RE.png new file mode 100755 index 0000000..eccf14f Binary files /dev/null and b/static/countryflags/RE.png differ diff --git a/static/countryflags/RO.png b/static/countryflags/RO.png new file mode 100755 index 0000000..10c1344 Binary files /dev/null and b/static/countryflags/RO.png differ diff --git a/static/countryflags/RS.png b/static/countryflags/RS.png new file mode 100755 index 0000000..7ebdd68 Binary files /dev/null and b/static/countryflags/RS.png differ diff --git a/static/countryflags/RU.png b/static/countryflags/RU.png new file mode 100755 index 0000000..ddf0095 Binary files /dev/null and b/static/countryflags/RU.png differ diff --git a/static/countryflags/RW.png b/static/countryflags/RW.png new file mode 100755 index 0000000..59111ba Binary files /dev/null and b/static/countryflags/RW.png differ diff --git a/static/countryflags/SA.png b/static/countryflags/SA.png new file mode 100755 index 0000000..94dc179 Binary files /dev/null and b/static/countryflags/SA.png differ diff --git a/static/countryflags/SB.png b/static/countryflags/SB.png new file mode 100755 index 0000000..e016f57 Binary files /dev/null and b/static/countryflags/SB.png differ diff --git a/static/countryflags/SC.png b/static/countryflags/SC.png new file mode 100755 index 0000000..7eb232b Binary files /dev/null and b/static/countryflags/SC.png differ diff --git a/static/countryflags/SD.png b/static/countryflags/SD.png new file mode 100755 index 0000000..ffc43f0 Binary files /dev/null and b/static/countryflags/SD.png differ diff --git a/static/countryflags/SE.png b/static/countryflags/SE.png new file mode 100755 index 0000000..9a07190 Binary files /dev/null and b/static/countryflags/SE.png differ diff --git a/static/countryflags/SG.png b/static/countryflags/SG.png new file mode 100755 index 0000000..99f3b01 Binary files /dev/null and b/static/countryflags/SG.png differ diff --git a/static/countryflags/SH.png b/static/countryflags/SH.png new file mode 100755 index 0000000..a38aea3 Binary files /dev/null and b/static/countryflags/SH.png differ diff --git a/static/countryflags/SI.png b/static/countryflags/SI.png new file mode 100755 index 0000000..350a3af Binary files /dev/null and b/static/countryflags/SI.png differ diff --git a/static/countryflags/SK.png b/static/countryflags/SK.png new file mode 100755 index 0000000..20e67b3 Binary files /dev/null and b/static/countryflags/SK.png differ diff --git a/static/countryflags/SL.png b/static/countryflags/SL.png new file mode 100755 index 0000000..9babb01 Binary files /dev/null and b/static/countryflags/SL.png differ diff --git a/static/countryflags/SM.png b/static/countryflags/SM.png new file mode 100755 index 0000000..3aaea35 Binary files /dev/null and b/static/countryflags/SM.png differ diff --git a/static/countryflags/SN.png b/static/countryflags/SN.png new file mode 100755 index 0000000..9c86b93 Binary files /dev/null and b/static/countryflags/SN.png differ diff --git a/static/countryflags/SO.png b/static/countryflags/SO.png new file mode 100755 index 0000000..a26bc0c Binary files /dev/null and b/static/countryflags/SO.png differ diff --git a/static/countryflags/SR.png b/static/countryflags/SR.png new file mode 100755 index 0000000..106c785 Binary files /dev/null and b/static/countryflags/SR.png differ diff --git a/static/countryflags/SS.png b/static/countryflags/SS.png new file mode 100755 index 0000000..3cc2cbe Binary files /dev/null and b/static/countryflags/SS.png differ diff --git a/static/countryflags/ST.png b/static/countryflags/ST.png new file mode 100755 index 0000000..ee46fe2 Binary files /dev/null and b/static/countryflags/ST.png differ diff --git a/static/countryflags/SV.png b/static/countryflags/SV.png new file mode 100755 index 0000000..4e03d3a Binary files /dev/null and b/static/countryflags/SV.png differ diff --git a/static/countryflags/SX.png b/static/countryflags/SX.png new file mode 100755 index 0000000..560e19c Binary files /dev/null and b/static/countryflags/SX.png differ diff --git a/static/countryflags/SY.png b/static/countryflags/SY.png new file mode 100755 index 0000000..06bc504 Binary files /dev/null and b/static/countryflags/SY.png differ diff --git a/static/countryflags/SZ.png b/static/countryflags/SZ.png new file mode 100755 index 0000000..87cdcf7 Binary files /dev/null and b/static/countryflags/SZ.png differ diff --git a/static/countryflags/TC.png b/static/countryflags/TC.png new file mode 100755 index 0000000..e85d21a Binary files /dev/null and b/static/countryflags/TC.png differ diff --git a/static/countryflags/TD.png b/static/countryflags/TD.png new file mode 100755 index 0000000..dd9f7a1 Binary files /dev/null and b/static/countryflags/TD.png differ diff --git a/static/countryflags/TF.png b/static/countryflags/TF.png new file mode 100755 index 0000000..f14df56 Binary files /dev/null and b/static/countryflags/TF.png differ diff --git a/static/countryflags/TG.png b/static/countryflags/TG.png new file mode 100755 index 0000000..c08f9b9 Binary files /dev/null and b/static/countryflags/TG.png differ diff --git a/static/countryflags/TH.png b/static/countryflags/TH.png new file mode 100755 index 0000000..5894a81 Binary files /dev/null and b/static/countryflags/TH.png differ diff --git a/static/countryflags/TJ.png b/static/countryflags/TJ.png new file mode 100755 index 0000000..b5d7862 Binary files /dev/null and b/static/countryflags/TJ.png differ diff --git a/static/countryflags/TK.png b/static/countryflags/TK.png new file mode 100755 index 0000000..53d1ea1 Binary files /dev/null and b/static/countryflags/TK.png differ diff --git a/static/countryflags/TL.png b/static/countryflags/TL.png new file mode 100755 index 0000000..df63f75 Binary files /dev/null and b/static/countryflags/TL.png differ diff --git a/static/countryflags/TM.png b/static/countryflags/TM.png new file mode 100755 index 0000000..cacfff5 Binary files /dev/null and b/static/countryflags/TM.png differ diff --git a/static/countryflags/TN.png b/static/countryflags/TN.png new file mode 100755 index 0000000..5f90155 Binary files /dev/null and b/static/countryflags/TN.png differ diff --git a/static/countryflags/TO.png b/static/countryflags/TO.png new file mode 100755 index 0000000..4af9d09 Binary files /dev/null and b/static/countryflags/TO.png differ diff --git a/static/countryflags/TR.png b/static/countryflags/TR.png new file mode 100755 index 0000000..7e4a3d8 Binary files /dev/null and b/static/countryflags/TR.png differ diff --git a/static/countryflags/TT.png b/static/countryflags/TT.png new file mode 100755 index 0000000..22b8d10 Binary files /dev/null and b/static/countryflags/TT.png differ diff --git a/static/countryflags/TV.png b/static/countryflags/TV.png new file mode 100755 index 0000000..221d9d8 Binary files /dev/null and b/static/countryflags/TV.png differ diff --git a/static/countryflags/TW.png b/static/countryflags/TW.png new file mode 100755 index 0000000..40ba3a2 Binary files /dev/null and b/static/countryflags/TW.png differ diff --git a/static/countryflags/TZ.png b/static/countryflags/TZ.png new file mode 100755 index 0000000..c12f407 Binary files /dev/null and b/static/countryflags/TZ.png differ diff --git a/static/countryflags/UA.png b/static/countryflags/UA.png new file mode 100755 index 0000000..0555bdc Binary files /dev/null and b/static/countryflags/UA.png differ diff --git a/static/countryflags/UG.png b/static/countryflags/UG.png new file mode 100755 index 0000000..28a3b49 Binary files /dev/null and b/static/countryflags/UG.png differ diff --git a/static/countryflags/US.png b/static/countryflags/US.png new file mode 100755 index 0000000..a232621 Binary files /dev/null and b/static/countryflags/US.png differ diff --git a/static/countryflags/UY.png b/static/countryflags/UY.png new file mode 100755 index 0000000..4edfb06 Binary files /dev/null and b/static/countryflags/UY.png differ diff --git a/static/countryflags/UZ.png b/static/countryflags/UZ.png new file mode 100755 index 0000000..a8db7a7 Binary files /dev/null and b/static/countryflags/UZ.png differ diff --git a/static/countryflags/VA.png b/static/countryflags/VA.png new file mode 100755 index 0000000..7adfc74 Binary files /dev/null and b/static/countryflags/VA.png differ diff --git a/static/countryflags/VC.png b/static/countryflags/VC.png new file mode 100755 index 0000000..bd553bf Binary files /dev/null and b/static/countryflags/VC.png differ diff --git a/static/countryflags/VE.png b/static/countryflags/VE.png new file mode 100755 index 0000000..70d2726 Binary files /dev/null and b/static/countryflags/VE.png differ diff --git a/static/countryflags/VG.png b/static/countryflags/VG.png new file mode 100755 index 0000000..9fac794 Binary files /dev/null and b/static/countryflags/VG.png differ diff --git a/static/countryflags/VI.png b/static/countryflags/VI.png new file mode 100755 index 0000000..65402ef Binary files /dev/null and b/static/countryflags/VI.png differ diff --git a/static/countryflags/VN.png b/static/countryflags/VN.png new file mode 100755 index 0000000..d034ce3 Binary files /dev/null and b/static/countryflags/VN.png differ diff --git a/static/countryflags/VU.png b/static/countryflags/VU.png new file mode 100755 index 0000000..ed2b6ce Binary files /dev/null and b/static/countryflags/VU.png differ diff --git a/static/countryflags/WF.png b/static/countryflags/WF.png new file mode 100755 index 0000000..519b5d6 Binary files /dev/null and b/static/countryflags/WF.png differ diff --git a/static/countryflags/WS.png b/static/countryflags/WS.png new file mode 100755 index 0000000..84a18d6 Binary files /dev/null and b/static/countryflags/WS.png differ diff --git a/static/countryflags/XCA.png b/static/countryflags/XCA.png new file mode 100755 index 0000000..72a116d Binary files /dev/null and b/static/countryflags/XCA.png differ diff --git a/static/countryflags/XEN.png b/static/countryflags/XEN.png new file mode 100755 index 0000000..6f886aa Binary files /dev/null and b/static/countryflags/XEN.png differ diff --git a/static/countryflags/XEU.png b/static/countryflags/XEU.png new file mode 100755 index 0000000..5896d2b Binary files /dev/null and b/static/countryflags/XEU.png differ diff --git a/static/countryflags/XNI.png b/static/countryflags/XNI.png new file mode 100755 index 0000000..7852698 Binary files /dev/null and b/static/countryflags/XNI.png differ diff --git a/static/countryflags/XSC.png b/static/countryflags/XSC.png new file mode 100755 index 0000000..1159602 Binary files /dev/null and b/static/countryflags/XSC.png differ diff --git a/static/countryflags/XWA.png b/static/countryflags/XWA.png new file mode 100755 index 0000000..c255846 Binary files /dev/null and b/static/countryflags/XWA.png differ diff --git a/static/countryflags/YE.png b/static/countryflags/YE.png new file mode 100755 index 0000000..e29fb14 Binary files /dev/null and b/static/countryflags/YE.png differ diff --git a/static/countryflags/ZA.png b/static/countryflags/ZA.png new file mode 100755 index 0000000..3d9b820 Binary files /dev/null and b/static/countryflags/ZA.png differ diff --git a/static/countryflags/ZM.png b/static/countryflags/ZM.png new file mode 100755 index 0000000..1b94471 Binary files /dev/null and b/static/countryflags/ZM.png differ diff --git a/static/countryflags/ZW.png b/static/countryflags/ZW.png new file mode 100755 index 0000000..99ab2dd Binary files /dev/null and b/static/countryflags/ZW.png differ diff --git a/static/countryflags/default.png b/static/countryflags/default.png new file mode 100755 index 0000000..b26f2a3 Binary files /dev/null and b/static/countryflags/default.png differ diff --git a/static/countryflags/index.txt b/static/countryflags/index.txt new file mode 100755 index 0000000..f4b6df3 --- /dev/null +++ b/static/countryflags/index.txt @@ -0,0 +1,775 @@ + +##### country codes ##### + +##### custom ##### + +default +== -1 + +XEN +== 901 + +XNI +== 902 + +XSC +== 903 + +XWA +== 904 + +XEU +== 905 + +XCA +== 906 + +#south sudan, non official code# +SS +== 737 + +##### ISO 3166-1 based ##### + +AF +== 4 + +AX +== 248 + +AL +== 8 + +DZ +== 12 + +AS +== 16 + +AD +== 20 + +AO +== 24 + +AI +== 660 + +#AQ +#== 10 + +AG +== 28 + +AR +== 32 + +AM +== 51 + +AW +== 533 + +AU +== 36 + +AT +== 40 + +AZ +== 31 + +BS +== 44 + +BH +== 48 + +BD +== 50 + +BB +== 52 + +BY +== 112 + +BE +== 56 + +BZ +== 84 + +BJ +== 204 + +BM +== 60 + +BT +== 64 + +BO +== 68 + +#BQ +#== 535 + +BA +== 70 + +BW +== 72 + +#BV +#== 74 + +BR +== 76 + +IO +== 86 + +BN +== 96 + +BG +== 100 + +BF +== 854 + +BI +== 108 + +KH +== 116 + +CM +== 120 + +CA +== 124 + +CV +== 132 + +KY +== 136 + +CF +== 140 + +TD +== 148 + +CL +== 152 + +CN +== 156 + +CX +== 162 + +CC +== 166 + +CO +== 170 + +KM +== 174 + +CG +== 178 + +CD +== 180 + +CK +== 184 + +CR +== 188 + +CI +== 384 + +HR +== 191 + +CU +== 192 + +CW +== 531 + +CY +== 196 + +CZ +== 203 + +DK +== 208 + +DJ +== 262 + +DM +== 212 + +DO +== 214 + +EC +== 218 + +EG +== 818 + +SV +== 222 + +GQ +== 226 + +ER +== 232 + +EE +== 233 + +ET +== 231 + +FK +== 238 + +FO +== 234 + +FJ +== 242 + +FI +== 246 + +FR +== 250 + +GF +== 254 + +PF +== 258 + +TF +== 260 + +GA +== 266 + +GM +== 270 + +GE +== 268 + +DE +== 276 + +GH +== 288 + +GI +== 292 + +GR +== 300 + +GL +== 304 + +GD +== 308 + +GP +== 312 + +GU +== 316 + +GT +== 320 + +GG +== 831 + +GN +== 324 + +GW +== 624 + +GY +== 328 + +HT +== 332 + +#HM +#== 334 + +VA +== 336 + +HN +== 340 + +HK +== 344 + +HU +== 348 + +IS +== 352 + +IN +== 356 + +ID +== 360 + +IR +== 364 + +IQ +== 368 + +IE +== 372 + +IM +== 833 + +IL +== 376 + +IT +== 380 + +JM +== 388 + +JP +== 392 + +JE +== 832 + +JO +== 400 + +KZ +== 398 + +KE +== 404 + +KI +== 296 + +KP +== 408 + +KR +== 410 + +KW +== 414 + +KG +== 417 + +LA +== 418 + +LV +== 428 + +LB +== 422 + +LS +== 426 + +LR +== 430 + +LY +== 434 + +LI +== 438 + +LT +== 440 + +LU +== 442 + +MO +== 446 + +MK +== 807 + +MG +== 450 + +MW +== 454 + +MY +== 458 + +MV +== 462 + +ML +== 466 + +MT +== 470 + +MH +== 584 + +MQ +== 474 + +MR +== 478 + +MU +== 480 + +#YT +#== 175 + +MX +== 484 + +FM +== 583 + +MD +== 498 + +MC +== 492 + +MN +== 496 + +ME +== 499 + +MS +== 500 + +MA +== 504 + +MZ +== 508 + +MM +== 104 + +NA +== 516 + +NR +== 520 + +NP +== 524 + +NL +== 528 + +NC +== 540 + +NZ +== 554 + +NI +== 558 + +NE +== 562 + +NG +== 566 + +NU +== 570 + +NF +== 574 + +MP +== 580 + +NO +== 578 + +OM +== 512 + +PK +== 586 + +PW +== 585 + +PA +== 591 + +PG +== 598 + +PY +== 600 + +PE +== 604 + +PH +== 608 + +PN +== 612 + +PL +== 616 + +PT +== 620 + +PR +== 630 + +PS +== 275 + +QA +== 634 + +RE +== 638 + +RO +== 642 + +RU +== 643 + +RW +== 646 + +BL +== 652 + +SH +== 654 + +KN +== 659 + +LC +== 662 + +MF +== 663 + +PM +== 666 + +VC +== 670 + +WS +== 882 + +SM +== 674 + +ST +== 678 + +SA +== 682 + +SN +== 686 + +RS +== 688 + +SC +== 690 + +SL +== 694 + +SG +== 702 + +SX +== 534 + +SK +== 703 + +SI +== 705 + +SB +== 90 + +SO +== 706 + +ZA +== 710 + +GS +== 239 + +ES +== 724 + +LK +== 144 + +SD +== 736 + +SR +== 740 + +#SJ +#== 744 + +SZ +== 748 + +SE +== 752 + +CH +== 756 + +SY +== 760 + +TW +== 158 + +TJ +== 762 + +TZ +== 834 + +TH +== 764 + +TL +== 626 + +TG +== 768 + +TK +== 772 + +TO +== 776 + +TT +== 780 + +TN +== 788 + +TR +== 792 + +TM +== 795 + +TC +== 796 + +TV +== 798 + +UG +== 800 + +UA +== 804 + +AE +== 784 + +GB +== 826 + +US +== 840 + +#UM +#== 581 + +UY +== 858 + +UZ +== 860 + +VU +== 548 + +VE +== 862 + +VN +== 704 + +VG +== 92 + +VI +== 850 + +WF +== 876 + +EH +== 732 + +YE +== 887 + +ZM +== 894 + +ZW +== 716 diff --git a/views/pages/leaderboards.njk b/views/pages/leaderboards.njk index e019a3a..1ab45e6 100644 --- a/views/pages/leaderboards.njk +++ b/views/pages/leaderboards.njk @@ -22,10 +22,11 @@
{{ rank.rank }}.
{{ rank.player }}
{{ rank.points }} pts
+{{ rank.region }} pts