'; for (var i = 0; i < data.d.length; i++) { var cell = String.format(template, data.d[i].ShortName, data.d[i].IdName, data.d[i].CoverImagePath, BaseUrlWithLang + "GameInfo/"+data.d[i].IdName); firstRow.append(cell); } currentSuggestions = data.d; if (ID != '') { ServiceGetGameLikes(ID, GameLikesForSuggestionsCB); } } function GameLikesForSuggestionsCB(data) { var tr = $(""); for (var i = 0; i < currentSuggestions.length; i++) { tr.append(``); } $('#tblSuggestions').append(tr); for (var i = 0; i < currentSuggestions.length; i++) { var ddl = $("#ddlGameLike" + currentSuggestions[i].GameTypeId); for (var j = 0; j < i18next.t("GameLikeValues", { returnObjects: true }).length; j++) { if (j == 3) { $('', { value: j, text: i18next.t("GameLikeValues." + j), selected: true }).appendTo(ddl); } else { $('', { value: j, text: i18next.t("GameLikeValues." + j) }).appendTo(ddl); } } ddl.on("change", function (event) { GameLikeChanged(event); }); ddl.data("gametypeid", currentSuggestions[i].GameTypeId); var result = data.d.find(item => item.GameTypeId === currentSuggestions[i].GameTypeId); if (result) { ddl[0].selectedIndex = result.GameLikeLevel; } } } function GameLikeChanged(event) { const target = $(event.target); const gameTypeId = target.data("gametypeid"); const gameLikeValue = event.target.value; if (gameLikeValue == 0 || gameLikeValue == 4 || gameLikeValue == 5 || gameLikeValue == 6) { ServiceSetGameLike(gameTypeId, gameLikeValue, UpdateSuggestions); } else { ServiceSetGameLike(gameTypeId, gameLikeValue); } } function UpdateSuggestions() { $("#tblSuggestions").empty().append($("")); ServiceGetSugggestions(gameTypeId, 6, SuggestionSuccessCB, SuggestionsErrorCB); } function SuggestionsErrorCB() { $('#divSuggestions').parent().hide(); }
Fearsome Floors -
Fearsome Floors
2-5 , 60 ,
Friedemann Friese (friedemann)
Lars-Arne 'Maura' Kalusky
2F-Spiele
Rio Grande Games
Tilsit
2009-09-26
(Brer Bear)
Boardgamegeek 7805
1,82/5
TrueSkill*
Chaac Riles 1518
Treasurer ikaros78 1499
Ahaucana Alexalia 1315
Itzamna ttseppel 1312
Che-le Philippovic04 1309
Itzamna T-more 1306
Chaac Tonoester 1305
Ix Chel anette 1301
Itzamna abreiten 1301
Ahaucan Cukors 1300
*
*
Baker Sergiojmg 2160
Ix Chel anette 978
Chilan priest timminventor 826
Weaver giles 775
Mayor Jannette 762
Hermit Jumar 736
Chaac Riles 733
Chilan priest Carlo54 730
Treasurer ikaros78 726
Hermit bejeebies 724
*