/[LeafOK_CVS]/fenglin/lib/common.inc.php
ViewVC logotype

Annotation of /fenglin/lib/common.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.29 - (hide annotations)
Mon Mar 24 06:19:43 2025 UTC (11 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.28: +38 -0 lines
Refact user_level

1 sysadm 1.1 <?
2     //Definition of const
3     $BBS_sys_uid = 600;
4     $BBS_notice_sid = 39;
5     $BBS_default_cid = 1;
6     $BBS_default_sid = 4;
7 sysadm 1.28 $BBS_name = "枫林在线论坛";
8 sysadm 1.3 $BBS_host_name = "www.fenglin.info";
9 sysadm 1.27 $BBS_license_dt = strtotime("2025-03-02 10:00:00");
10 sysadm 1.25 $BBS_license_file = date("Ymd",$BBS_license_dt) . ".txt";
11 sysadm 1.4
12     $BBS_max_login_per_user = 2;
13 sysadm 1.16 $BBS_max_login_per_ip = 5;
14     $BBS_max_session_per_ip = 10;
15 sysadm 1.4 $BBS_no_limit_users = array(
16 sysadm 1.26 1, //Admin 系统管理员
17     600, //diliver 自动发信系统
18     2333, //cn.bbs 转信系统帐号
19     5758, //SYSOP 站务委员会
20     5755, //Arbitrator 仲裁委员会
21     7595 //BMS 版主管理员
22 sysadm 1.4 );
23    
24     $BBS_user_off_line = 60*15;
25     $BBS_session_time_out = 60*60*2;
26 sysadm 1.8
27 sysadm 1.28 $BBS_rpp_options = array (10, 20, 30, 50);
28    
29 sysadm 1.29 static $BBS_exp = array(
30     0 => 50,
31     1 => 200,
32     2 => 500,
33     3 => 1000,
34     4 => 2000,
35     5 => 5000,
36     6 => 10000,
37     7 => 20000,
38     8 => 30000,
39     9 => 50000,
40     10 => 60000,
41     11 => 70000,
42     12 => 80000,
43     13 => 90000,
44     14 => 100000,
45     15 => PHP_INT_MAX, //unlimited value
46     );
47    
48     static $BBS_level = array(
49     0 => "新手上路",
50     1 => "初来乍练",
51     2 => "白手起家",
52     3 => "略懂一二",
53     4 => "小有作为",
54     5 => "对答如流",
55     6 => "精于此道",
56     7 => "博大精深",
57     8 => "登峰造极",
58     9 => "论坛砥柱",
59     10 => "☆☆☆☆☆",
60     11 => "★☆☆☆☆",
61     12 => "★★☆☆☆",
62     13 => "★★★☆☆",
63     14 => "★★★★☆",
64     15 => "★★★★★",
65     );
66    
67 sysadm 1.24 $PHP_bin = "php";
68 sysadm 1.1 ?>

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1