From ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 4 Feb 2008 14:03:14 +0000 Subject: - board: add more colors to hot-boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/board.c b/mbbsd/board.c index 4b5a5bd5..7fa74f5c 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1210,7 +1210,17 @@ show_brdlist(int head, int clsflag, int newflag) prints("%2d ", B_BH(ptr)->nuser); else if (B_BH(ptr)->nuser <= 50) prints(ANSI_COLOR(1;33) "%2d" ANSI_RESET " ", B_BH(ptr)->nuser); - +#ifdef EXTRA_HOTBOARD_COLORS + // piaip 2008/02/04: new colors + else if (B_BH(ptr)->nuser >= 100000) + outs(ANSI_COLOR(1;35) "Ăz!" ANSI_RESET); + else if (B_BH(ptr)->nuser >= 60000) + outs(ANSI_COLOR(1;33) "Ăz!" ANSI_RESET); + else if (B_BH(ptr)->nuser >= 30000) + outs(ANSI_COLOR(1;32) "Ăz!" ANSI_RESET); + else if (B_BH(ptr)->nuser >= 10000) + outs(ANSI_COLOR(1;36) "Ăz!" ANSI_RESET); +#endif else if (B_BH(ptr)->nuser >= 5000) outs(ANSI_COLOR(1;34) "Ăz!" ANSI_RESET); else if (B_BH(ptr)->nuser >= 2000) -- cgit v1.2.3