Searched refs:gameNum (Results 1 – 4 of 4) sorted by relevance
/plugin/pgn4web/pgn4web/ |
H A D | gotd.php | 35 $gameNum = get_param("gameNum", "gn", ""); variable 38 if ($gameNum == "random") { $gameNum = rand(1, $numGames); } variable 39 else if (!preg_match("/^\d+$/", $gameNum)) { 42 …if (!preg_match("/^[ +-]\d+$/", $gameNum)) { $gameNum = 0; } // space is needed since + is urldeco… variable 43 $gameNum = floor(($gameNum + ($timeNow / (60 * 60 * 24))) % $numGames) + 1; variable 45 else if ($gameNum < 1) { $gameNum = 1; } variable 46 else if ($gameNum > $numGames) { $gameNum = $numGames; } variable 47 $gameNum -= 1; 54 print $games[0][$gameNum];
|
H A D | puzzler.php | 69 $gameNum = get_param("gameNum", "gn", ""); variable 72 if ($gameNum == "random") { $gameNum = rand(1, $numGames); } variable 73 else if (!preg_match("/^\d+$/", $gameNum)) { 76 …if (!preg_match("/^[ +-]\d+$/", $gameNum)) { $gameNum = 0; } // space is needed since + is urldeco… variable 77 $gameNum = floor(($gameNum + ($timeNow / (60 * 60 * 24))) % $numGames) + 1; variable 79 else if ($gameNum < 1) { $gameNum = 1; } variable 80 else if ($gameNum > $numGames) { $gameNum = $numGames; } variable 81 $debugInfo .= "#" . ($gameNum ^ $numGames) . "." . $numGames . "\n"; 82 $gameNum -= 1; 84 $pgnGame = $games[0][$gameNum]; [all …]
|
H A D | pgn4web.js | 34 function customPgnHeaderTag(customTag, htmlElementId, gameNum) { argument 37 if (gameNum === undefined) { gameNum = currentGame; } 38 …if ((pgnHeader[gameNum]) && (matches = pgnHeader[gameNum].match('\\[\\s*' + customTag + '\\s*\"([^… 1586 function fullPgnGame(gameNum) { argument 1587 var res = pgnHeader[gameNum] ? pgnHeader[gameNum].replace(/^[^[]*/g, "") : ""; 1590 res += pgnGame[gameNum] ? pgnGame[gameNum].replace(/(^[\s]*|[\s]*$)/g, "") : "";
|
H A D | analysis.css | 86 .gameNum {
|