$(document).ready(function() { $.fn.dataTable.ext.order['sortMln'] = function ( settings, col ) { return this.api().column( col, {order:'index'} ).nodes().map( function ( td ) { return 1*$(td).text().replace(' mln.', ''); } ); }; $.fn.dataTable.ext.order['sortCountryFlag'] = function ( settings, col ) { return this.api().column( col, {order:'index'} ).nodes().map( function ( td ) { return $('i', td).attr('title'); } ); }; $.fn.dataTable.ext.order['sortMostPopular'] = function ( settings, col ) { return this.api().column( col, {order:'index'} ).nodes().map( function ( td ) { return 1*$(td).text().substr(0,$(td).text().indexOf("x")-1); } ); }; }); var countries = {"61":{"id":"61","country":"Netherlands","countryCode":"NL","countryTr":"Nederland"},"14":{"id":"14","country":"Germany","countryCode":"DE","countryTr":"Duitsland"},"36":{"id":"36","country":"Canada","countryCode":"CA","countryTr":"Canada"},"3":{"id":"3","country":"United States","countryCode":"US","countryTr":"Verenigde Staten"},"78":{"id":"78","country":"Czech Republic","countryCode":"CZ","countryTr":"Tsjechi\u00eb"},"117":{"id":"117","country":"Norway","countryCode":"NO","countryTr":"Noorwegen"},"25":{"id":"25","country":"South Korea","countryCode":"KR","countryTr":"Zuid-Korea"},"23":{"id":"23","country":"Italy","countryCode":"IT","countryTr":"Itali\u00eb"},"112":{"id":"112","country":"Finland","countryCode":"FI","countryTr":"Finland"},"1":{"id":"1","country":"China","countryCode":"CN","countryTr":"China"},"9":{"id":"9","country":"Russia","countryCode":"RU","countryTr":"Rusland"},"10":{"id":"10","country":"Japan","countryCode":"JP","countryTr":"Japan"},"33":{"id":"33","country":"Poland","countryCode":"PL","countryTr":"Polen"},"93":{"id":"93","country":"Austria","countryCode":"AT","countryTr":"Oostenrijk"},"62":{"id":"62","country":"Kazakhstan","countryCode":"KZ","countryTr":"Kazachstan"},"84":{"id":"84","country":"Belarus","countryCode":"BY","countryTr":"Wit-Rusland"},"19":{"id":"19","country":"France","countryCode":"FR","countryTr":"Frankrijk"},"109":{"id":"109","country":"Denmark","countryCode":"DK","countryTr":"Denemarken"},"88":{"id":"88","country":"Sweden","countryCode":"SE","countryTr":"Zweden"},"52":{"id":"52","country":"Romania","countryCode":"RO","countryTr":"Roemeni\u00eb"},"":{"id":null,"country":null,"countryCode":null,"countryTr":"Project-Id-Version: Zweeler\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2023-08-16 19:29+0000\nPO-Revision-Date: 2023-08-16 11:01+0200\nLast-Translator: Jurek \nLanguage-Team: \nLanguage: nl\nMIME-Version: 1.0\nContent-Type: text\/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=2; plural=(n != 1);\nX-Generator: Poedit 3.3.2\nX-Poedit-SourceCharset: utf-8\nX-Poedit-Basepath: \/home\/roland\/www\/zweeler.com\/html\nX-Poedit-KeywordsList: _;t;translate\nX-Poedit-SearchPath-0: _super11\/application\nX-Poedit-SearchPath-1: _soccerpoule\/application\nX-Poedit-SearchPath-2: main\/main\n"},"76":{"id":"76","country":"Belgium","countryCode":"BE","countryTr":"Belgi\u00eb"},"94":{"id":"94","country":"Swiss","countryCode":"CH","countryTr":"Zwitserland"},"22":{"id":"22","country":"United Kingdom","countryCode":"GB","countryTr":"Verenigd Koninkrijk"},"28":{"id":"28","country":"Spain","countryCode":"ES","countryTr":"Spanje"},"27":{"id":"27","country":"Ukraine","countryCode":"UA","countryTr":"Oekra\u00efne"},"80":{"id":"80","country":"Hungary","countryCode":"HU","countryTr":"Hongarije"},"124":{"id":"124","country":"New Zealand","countryCode":"NZ","countryTr":"Nieuw-Zeeland"},"31":{"id":"31","country":"Argentina","countryCode":"AR","countryTr":"Argentini\u00eb"},"47":{"id":"47","country":"North Korea","countryCode":"KP","countryTr":"Noord-Korea"},"51":{"id":"51","country":"Australia","countryCode":"AU","countryTr":"Australi\u00eb"},"74":{"id":"74","country":"Greece","countryCode":"GR","countryTr":"Griekenland"},"142":{"id":"142","country":"Latvia","countryCode":"LV","countryTr":"Letland"},"29":{"id":"29","country":"Colombia","countryCode":"CO","countryTr":"Colombia"},"140":{"id":"140","country":"Mongolia","countryCode":"MN","countryTr":"Mongoli\u00eb"},"49":{"id":"49","country":"Taiwan","countryCode":"TW","countryTr":"Taiwan"},"150":{"id":"150","country":"Estonia","countryCode":"EE","countryTr":"Estland"},"2":{"id":"2","country":"India","countryCode":"IN","countryTr":"India"},"96":{"id":"96","country":"Israel","countryCode":"IL","countryTr":"Isra\u00ebl"},"77":{"id":"77","country":"Portugal","countryCode":"PT","countryTr":"Portugal"},"5":{"id":"5","country":"Brasil","countryCode":"BR","countryTr":"Brazili\u00eb"}}; var teams = {"0":{"id":0,"name":""},"513":{"id":"513","name":"Team Clafis","nameTranslated":"Team Clafis"}}; var sportsmen = [{"id":"1","tem":"0","ctr":"61","nam":"Kramer, Sven ","namorig":"Kramer, Sven ","cat":"","pri":"25 mln.","rat":0,"mw":"M","link":"Kramer, Sven <\/a>","confirmed_b":1},{"id":"2","tem":"0","ctr":"61","nam":"W\u00fcst, Ireen ","namorig":"W\u00fcst, Ireen ","cat":"","pri":"24,5 mln.","rat":0,"mw":"V","link":"W\u00fcst, Ireen <\/a>","confirmed_b":1},{"id":"4764","tem":"0","ctr":"61","nam":"Rijpma-de Jong, Antoinette ","namorig":"Rijpma-de Jong, Antoinette ","cat":"","pri":"20,9 mln.","rat":0,"mw":"V","link":"Rijpma-de Jong, Antoinette <\/a>","confirmed_b":1},{"id":"2300","tem":"0","ctr":"10","nam":"Takagi, Miho ","namorig":"Takagi, Miho ","cat":"","pri":"20,2 mln.","rat":0,"mw":"V","link":"Takagi, Miho <\/a>","confirmed_b":1},{"id":"1710","tem":"0","ctr":"117","nam":"Pedersen, Sverre Lunde ","namorig":"Pedersen, Sverre Lunde ","cat":"","pri":"18,7 mln.","rat":0,"mw":"M","link":"Pedersen, Sverre Lunde <\/a>","confirmed_b":1},{"id":"7590","tem":"0","ctr":"61","nam":"Roest, Patrick ","namorig":"Roest, Patrick ","cat":"","pri":"17,6 mln.","rat":0,"mw":"M","link":"Roest, Patrick <\/a>","confirmed_b":1},{"id":"9","tem":"0","ctr":"78","nam":"Sabl\u00edkov\u00e1, Martina ","namorig":"Sabl\u00edkov\u00e1, Martina ","cat":"","pri":"16,2 mln.","rat":0,"mw":"V","link":"Sabl\u00edkov\u00e1, Martina <\/a>","confirmed_b":1},{"id":"84","tem":"0","ctr":"36","nam":"Bloemen, Ted-Jan ","namorig":"Bloemen, Ted-Jan ","cat":"","pri":"14,1 mln.","rat":0,"mw":"M","link":"Bloemen, Ted-Jan <\/a>","confirmed_b":1},{"id":"11029","tem":"0","ctr":"61","nam":"Bosker, Marcel ","namorig":"Bosker, Marcel ","cat":"","pri":"13,8 mln.","rat":0,"mw":"M","link":"Bosker, Marcel <\/a>","confirmed_b":1},{"id":"2972","tem":"0","ctr":"76","nam":"Swings, Bart ","namorig":"Swings, Bart ","cat":"","pri":"12,9 mln.","rat":0,"mw":"M","link":"Swings, Bart <\/a>","confirmed_b":1},{"id":"1739","tem":"0","ctr":"61","nam":"Weijden, Annouk van der","namorig":"Weijden, Annouk van der","cat":"","pri":"12,3 mln.","rat":0,"mw":"V","link":"Weijden, Annouk van der<\/a>","confirmed_b":1},{"id":"2601","tem":"0","ctr":"36","nam":"Blondin, Ivanie ","namorig":"Blondin, Ivanie ","cat":"","pri":"11,5 mln.","rat":0,"mw":"V","link":"Blondin, Ivanie <\/a>","confirmed_b":1},{"id":"4725","tem":"0","ctr":"117","nam":"Nilsen, Simen Spieler ","namorig":"Nilsen, Simen Spieler ","cat":"","pri":"9,7 mln.","rat":0,"mw":"M","link":"Nilsen, Simen Spieler <\/a>","confirmed_b":1},{"id":"13842","tem":"0","ctr":"9","nam":"Trofimov, Sergey ","namorig":"Trofimov, Sergey ","cat":"","pri":"8,6 mln.","rat":0,"mw":"M","link":"Trofimov, Sergey <\/a>","confirmed_b":1},{"id":"73","tem":"0","ctr":"33","nam":"Nied\u017awiedzki, Konrad ","namorig":"Nied\u017awiedzki, Konrad ","cat":"","pri":"8,1 mln.","rat":0,"mw":"M","link":"Nied\u017awiedzki, Konrad <\/a>","confirmed_b":1},{"id":"279","tem":"0","ctr":"14","nam":"Hirschbichler, Gabriele ","namorig":"Hirschbichler, Gabriele ","cat":"","pri":"8 mln.","rat":0,"mw":"V","link":"Hirschbichler, Gabriele <\/a>","confirmed_b":1},{"id":"2577","tem":"0","ctr":"10","nam":"Kikuchi, Ayaka ","namorig":"Kikuchi, Ayaka ","cat":"","pri":"7,7 mln.","rat":0,"mw":"V","link":"Kikuchi, Ayaka <\/a>","confirmed_b":1},{"id":"8136","tem":"0","ctr":"23","nam":"Giovannini, Andrea ","namorig":"Giovannini, Andrea ","cat":"","pri":"7,3 mln.","rat":0,"mw":"M","link":"Giovannini, Andrea <\/a>","confirmed_b":1},{"id":"16","tem":"0","ctr":"14","nam":"Pechstein, Claudia ","namorig":"Pechstein, Claudia ","cat":"","pri":"6,8 mln.","rat":0,"mw":"V","link":"Pechstein, Claudia <\/a>","confirmed_b":1},{"id":"2573","tem":"0","ctr":"23","nam":"Lollobrigida, Francesca ","namorig":"Lollobrigida, Francesca ","cat":"","pri":"6,2 mln.","rat":0,"mw":"V","link":"Lollobrigida, Francesca <\/a>","confirmed_b":1},{"id":"142","tem":"0","ctr":"33","nam":"Czerwonka, Natalia ","namorig":"Czerwonka, Natalia ","cat":"","pri":"6,1 mln.","rat":0,"mw":"V","link":"Czerwonka, Natalia <\/a>","confirmed_b":1},{"id":"8152","tem":"0","ctr":"78","nam":"Zdr\u00e1halova, Nikola ","namorig":"Zdr\u00e1halova, Nikola ","cat":"","pri":"5,9 mln.","rat":0,"mw":"V","link":"Zdr\u00e1halova, Nikola <\/a>","confirmed_b":1},{"id":"2358","tem":"0","ctr":"142","nam":"Silovs, Haralds ","namorig":"Silovs, Haralds ","cat":"","pri":"5,8 mln.","rat":0,"mw":"M","link":"Silovs, Haralds <\/a>","confirmed_b":1},{"id":"10","tem":"0","ctr":"36","nam":"Morrison, Denny ","namorig":"Morrison, Denny ","cat":"","pri":"5,7 mln.","rat":0,"mw":"M","link":"Morrison, Denny <\/a>","confirmed_b":1},{"id":"301","tem":"0","ctr":"14","nam":"Geisreiter, Moritz ","namorig":"Geisreiter, Moritz ","cat":"","pri":"5,5 mln.","rat":0,"mw":"M","link":"Geisreiter, Moritz <\/a>","confirmed_b":1},{"id":"1653","tem":"0","ctr":"9","nam":"Gryaztsov, Sergey ","namorig":"Gryaztsov, Sergey ","cat":"","pri":"5,4 mln.","rat":0,"mw":"M","link":"Gryaztsov, Sergey <\/a>","confirmed_b":1},{"id":"2294","tem":"0","ctr":"9","nam":"Lalenkova, Evgeniia ","namorig":"Lalenkova, Evgeniia ","cat":"","pri":"5,3 mln.","rat":0,"mw":"V","link":"Lalenkova, Evgeniia <\/a>","confirmed_b":1},{"id":"1730","tem":"0","ctr":"33","nam":"Szyma\u0144ski, Jan ","namorig":"Szyma\u0144ski, Jan ","cat":"","pri":"4,8 mln.","rat":0,"mw":"M","link":"Szyma\u0144ski, Jan <\/a>","confirmed_b":1},{"id":"147","tem":"0","ctr":"9","nam":"Skokova, Yuliya ","namorig":"Skokova, Yuliya ","cat":"","pri":"4,5 mln.","rat":0,"mw":"V","link":"Skokova, Yuliya <\/a>","confirmed_b":1},{"id":"16683","tem":"0","ctr":"36","nam":"Gelinas-Beaulieu, Antoine ","namorig":"Gelinas-Beaulieu, Antoine ","cat":"","pri":"4 mln.","rat":0,"mw":"M","link":"Gelinas-Beaulieu, Antoine <\/a>","confirmed_b":1},{"id":"11237","tem":"0","ctr":"9","nam":"Semerikov, Danila ","namorig":"Semerikov, Danila ","cat":"","pri":"3,9 mln.","rat":0,"mw":"M","link":"Semerikov, Danila <\/a>","confirmed_b":1},{"id":"11028","tem":"0","ctr":"1","nam":"Hao, Jiachen ","namorig":"Hao, Jiachen ","cat":"","pri":"3,6 mln.","rat":0,"mw":"V","link":"Hao, Jiachen <\/a>","confirmed_b":1},{"id":"292","tem":"0","ctr":"33","nam":"Z\u0142otkowska, Luiza ","namorig":"Z\u0142otkowska, Luiza ","cat":"","pri":"3,4 mln.","rat":0,"mw":"V","link":"Z\u0142otkowska, Luiza <\/a>","confirmed_b":1},{"id":"2605","tem":"0","ctr":"10","nam":"Nakamura, Shota ","namorig":"Nakamura, Shota ","cat":"","pri":"3,3 mln.","rat":0,"mw":"M","link":"Nakamura, Shota <\/a>","confirmed_b":1},{"id":"4861","tem":"0","ctr":"117","nam":"Haugen, Sofie Karoline ","namorig":"Haugen, Sofie Karoline ","cat":"","pri":"3,2 mln.","rat":0,"mw":"V","link":"Haugen, Sofie Karoline <\/a>","confirmed_b":1},{"id":"9878","tem":"0","ctr":"88","nam":"Poel, Nils van der","namorig":"Poel, Nils van der","cat":"","pri":"3,1 mln.","rat":0,"mw":"M","link":"Poel, Nils van der<\/a>","confirmed_b":1},{"id":"16798","tem":"0","ctr":"23","nam":"Ghiotto, Davide ","namorig":"Ghiotto, Davide ","cat":"","pri":"3 mln.","rat":0,"mw":"M","link":"Ghiotto, Davide <\/a>","confirmed_b":1},{"id":"293","tem":"0","ctr":"33","nam":"Wo\u017aniak, Katarzyna ","namorig":"Wo\u017aniak, Katarzyna ","cat":"","pri":"2,6 mln.","rat":0,"mw":"V","link":"Wo\u017aniak, Katarzyna <\/a>","confirmed_b":1},{"id":"8157","tem":"0","ctr":"93","nam":"Heidegger, Linus ","namorig":"Heidegger, Linus ","cat":"","pri":"2,5 mln.","rat":0,"mw":"M","link":"Heidegger, Linus <\/a>","confirmed_b":1},{"id":"4779","tem":"0","ctr":"76","nam":"Peeters, Jelena ","namorig":"Peeters, Jelena ","cat":"","pri":"2,3 mln.","rat":0,"mw":"V","link":"Peeters, Jelena <\/a>","confirmed_b":1},{"id":"2725","tem":"0","ctr":"1","nam":"Li (94), Dan ","namorig":"Li (94), Dan ","cat":"","pri":"2 mln.","rat":0,"mw":"V","link":"Li (94), Dan <\/a>","confirmed_b":1},{"id":"8159","tem":"0","ctr":"109","nam":"Thorup, Viktor Hald ","namorig":"Thorup, Viktor Hald ","cat":"","pri":"1,9 mln.","rat":0,"mw":"M","link":"Thorup, Viktor Hald <\/a>","confirmed_b":1},{"id":"1633","tem":"0","ctr":"78","nam":"Druszkiewicz, Sebastian ","namorig":"Druszkiewicz, Sebastian ","cat":"","pri":"1,3 mln.","rat":0,"mw":"M","link":"Druszkiewicz, Sebastian <\/a>","confirmed_b":1},{"id":"11239","tem":"0","ctr":"93","nam":"Kerschbaummayr, Nat\u00e1lie ","namorig":"Kerschbaummayr, Nat\u00e1lie ","cat":"","pri":"1,2 mln.","rat":0,"mw":"V","link":"Kerschbaummayr, Nat\u00e1lie <\/a>","confirmed_b":1}]; var sportsmenTeams = []; var showTeams = 0; //*********************** //SPORTSMEN TABLE HEADERS //*********************** var headersTableSportsmen = [ { 'sTitle': 'Nr.' }, { 'sTitle': 'Groep' , 'bSearchable': false, 'bVisible': false }, { 'sTitle': 'Land', 'sSortDataType': 'sortCountryFlag', sType : "text" }, { 'sTitle': 'Schaatser'}, { 'sTitle': 'Waarde', 'sSortDataType': 'sortMln', 'sType': 'numeric' }, { 'sTitle': 'Team' , 'bSearchable': false, 'bVisible': false }, { 'sTitle': 'M/V' } ]; //*********************** //TEAMS TABLE HEADERS //*********************** var headersTableTeams = [ {'sTitle': 'Nr.'}, {'sTitle': '' , 'bSearchable': false, 'bVisible': false }, {'sTitle': 'Land' , 'sSortDataType': 'sortCountryFlag', sType : 'text' }, { 'sTitle': ''}, { 'sTitle': 'Waarde', 'sSortDataType': 'sortMln', 'sType': 'numeric' } ]; //*********************** //SPORTSMEN TABLE CONTENT //*********************** var contentTableSportsmen = []; $.each(sportsmen, function(k, v) { contentTableSportsmen.push([ k + 1, v['cat'], getFlag(v['ctr']), v['link'], v['pri'], isset(teams[v['tem']])? teams[v['tem']]['name']:'', v['mw'] ]); }); //*********************** //TEAMS TABLE CONTENT //*********************** var contentTableTeams = []; $.each(sportsmenTeams, function(k, v) { contentTableTeams.push([ k + 1, "", getFlag(v['ctr']), v['nam'], v['pri'] ]); }); function isset (va) { return typeof va != 'undefined'; } $(document).ready(function() { $.fn.dataTable.ext.order['sortMln'] = function (settings, col) { return this.api().column(col, {order: 'index'}).nodes().map(function (td) { return parseFloat($(td).text().replace(' mln.', '').replace(',', '.')); } ); }; if (sportsmen.length) { var sportsmenTable = $('#tblSportsmen').dataTable( { "bPaginate": false, "bFilter": true, "bInfo": false, "bAutoWidth": true, "aoColumns" : headersTableSportsmen, "aaData": contentTableSportsmen, "bAutoWidth": false } ); } if (sportsmenTeams.length) { var sportsmenTeamsTable = $('#tblTeams').dataTable( { "bPaginate": false, "bFilter": true, "bInfo": false, "bAutoWidth": true, "aoColumns" : headersTableTeams, "aaData": contentTableTeams, "bAutoWidth": false } ); $('#teamsOverview').show(); } } ); function getFlag(id, margin) { if (!id || typeof countries[id] === "undefined" ) return ""; if (typeof margin == 'undefined') margin = true; return ""; }