X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fplacing.phh;h=07953dc7bb0f87cdc36739652198bdf94d20de02;hb=d082228294a1bfbb6b88f869d51449cb46e3e89e;hp=36d2950aca199cfa3edf111b6347d12a78124026;hpb=0458589e4e0691b0e5678c7a86e1c0e2bdef3ff3;p=brisk.git diff --git a/web/briskin5/Obj/placing.phh b/web/briskin5/Obj/placing.phh index 36d2950..07953dc 100644 --- a/web/briskin5/Obj/placing.phh +++ b/web/briskin5/Obj/placing.phh @@ -27,13 +27,13 @@ define(TOP_NUM, 10); define(TRI_LIMIT, (90 * 24 * 60 * 60)); -define(TRI_FEW_GAMES, 60); +define(TRI_FEW_GAMES, 140); define(MON_LIMIT, (30 * 24 * 60 * 60)); -define(MON_FEW_GAMES, 20); +define(MON_FEW_GAMES, 70); define(WEE_LIMIT, (7 * 24 * 60 * 60)); -define(WEE_FEW_GAMES, 10); +define(WEE_FEW_GAMES, 35); class Ptsgam { @@ -135,7 +135,7 @@ function placing_show(&$user, $suff) ($pg->username == $user->name ? "" : ""), $pg->username, ($pg->username == $user->name ? "" : ""), $pg->snormpts(), $pg->pts, $pg->gam); } if ($user != FALSE) { - if ($pg->username == $user->name && $i >= TOP_NUM) { + if (strcasecmp($pg->username, $user->name) == 0 && $i >= TOP_NUM) { $tail = sprintf(" . . . . . . . . . . "); $tail .= sprintf("%d%s%s%s%s(%d/%d)", $i+1, ($pg->username == $user->name ? "" : ""), $pg->username, ($pg->username == $user->name ? "" : ""), $pg->snormpts(), $pg->pts, $pg->gam);