Fix: add player css, error_message css

This commit is contained in:
jisangs committed 2018-07-13 20:14:51 +09:00
1 parent ab8ebb9ca1
commit 4edd637b05
10 files changed
+157 -444

No files matched your search

@@ -22,7 +22,7 @@ exit;
function getPlayerCount($maestroID, $playerName) {
global $db_conn;
$query = "SELECT COUNT(PlayerID) FROM moty_player WHERE MaestroID = ? AND Name = ?";
$query = "SELECT COUNT(PlayerID) FROM moty_player WHERE MaestroID = ? AND Name LIKE CONCAT('%', ?, '%')";
$stmt = $db_conn->prepare($query);
$stmt->bind_param("is", $maestroID, $playerName);
$stmt->execute();
+1 -1
View File
@@ -27,7 +27,7 @@ function get_player_list_page($maestroID, $playerName, $startNo, $endNo) {
$query = "
SELECT PlayerID, Name, EnterCode FROM moty_player
WHERE MaestroID=? AND Name=?
WHERE MaestroID = ? AND Name LIKE CONCAT('%', ?, '%')
ORDER BY PlayerID DESC
LIMIT ?, 10;
";