summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-02-04 22:03:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-02-04 22:03:14 +0800
commitef1f740d2fa5674b59b4a503a6b8c7e2b19edc99 (patch)
tree8a01eaf8440c194d668b6e7fc1b2802ddccdda0b
parentc2f38e91d221f96b7877c95becd9c5fbccbde03f (diff)
downloadpttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.tar
pttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.tar.gz
pttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.tar.bz2
pttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.tar.lz
pttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.tar.xz
pttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.tar.zst
pttbbs-ef1f740d2fa5674b59b4a503a6b8c7e2b19edc99.zip
- board: add more colors to hot-boards
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c12
1 files changed, 11 insertions, 1 deletions
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)