| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
<span class="code-comment"> * constants.php |
|---|
| 4 |
* ------------------- |
|---|
| 5 |
* begin : Saturday', Feb 13', 2001 |
|---|
| 6 |
* copyright : ('C) 2001 The phpBB Group |
|---|
| 7 |
* email : support@phpbb.com |
|---|
| 8 |
* |
|---|
| 9 |
* $Id: constants.php,v 1.47.2.6 2005/10/30 15:17:14 acydburn Exp $ |
|---|
| 10 |
* |
|---|
| 11 |
* |
|---|
| 12 |
***************************************************************************/ |
|---|
| 13 |
|
|---|
| 14 |
/*************************************************************************** |
|---|
| 15 |
* |
|---|
| 16 |
* This program is free software; you can redistribute it and/or modify |
|---|
| 17 |
* it under the terms of the GNU General Public License as published by |
|---|
| 18 |
* the Free Software Foundation; either version 2 of the License', or |
|---|
| 19 |
* ('at your option) any later version. |
|---|
| 20 |
* |
|---|
| 21 |
***************************************************************************/ |
|---|
| 22 |
|
|---|
| 23 |
define ('UC_PEASANT', 0); |
|---|
| 24 |
define ('UC_USER', 1); |
|---|
| 25 |
define ('UC_POWER_USER', 2); |
|---|
| 26 |
define ('UC_VIP', 3); |
|---|
| 27 |
define ('UC_UPLOADER', 4); |
|---|
| 28 |
define ('UC_MODERATOR', 5); |
|---|
| 29 |
define ('UC_ADMINISTRATOR', 6); |
|---|
| 30 |
define ('UC_SYSOP', 7); |
|---|
| 31 |
|
|---|
| 32 |
define ('LOG_VIEW_USER', 0); |
|---|
| 33 |
define ('LOG_VIEW_MOD', 5); |
|---|
| 34 |
define ('LOG_VIEW_ADMIN', 6); |
|---|
| 35 |
define ('LOG_VIEW_SYSOP', 7); |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
define('NOTIFY_EMAIL', 0); |
|---|
| 39 |
define('NOTIFY_IM', 1); |
|---|
| 40 |
define('NOTIFY_BOTH', 2); |
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
define('MAIL_LOW_PRIORITY', 4); |
|---|
| 44 |
define('MAIL_NORMAL_PRIORITY', 3); |
|---|
| 45 |
define('MAIL_HIGH_PRIORITY', 2); |
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
define('PM_DELETED',0); |
|---|
| 49 |
define('PM_INBOX',1); |
|---|
| 50 |
define('PM_SENTBOX',-1); |
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
define('DELETED', 0); |
|---|
| 55 |
define('ANONYMOUS', 0); |
|---|
| 56 |
|
|---|
| 57 |
define('USER', 0); |
|---|
| 58 |
define('ADMIN', 1); |
|---|
| 59 |
define('MOD', 2); |
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
define('USER_ACTIVATION_NONE', 0); |
|---|
| 64 |
define('USER_ACTIVATION_SELF', 1); |
|---|
| 65 |
define('USER_ACTIVATION_ADMIN', 2); |
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 |
define('GROUP_OPEN', 0); |
|---|
| 69 |
define('GROUP_CLOSED', 1); |
|---|
| 70 |
define('GROUP_HIDDEN', 2); |
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
define('FORUM_UNLOCKED', 0); |
|---|
| 75 |
define('FORUM_LOCKED', 1); |
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 |
define('TOPIC_UNLOCKED', 0); |
|---|
| 80 |
define('TOPIC_LOCKED', 1); |
|---|
| 81 |
define('TOPIC_MOVED', 2); |
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 |
define('POST_NORMAL', 0); |
|---|
| 85 |
define('POST_STICKY', 1); |
|---|
| 86 |
define('POST_ANNOUNCE', 2); |
|---|
| 87 |
define('POST_GLOBAL_ANNOUNCE', 3); |
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 |
|
|---|
| 91 |
define('GENERAL_MESSAGE', 200); |
|---|
| 92 |
define('GENERAL_ERROR', 202); |
|---|
| 93 |
define('CRITICAL_MESSAGE', 203); |
|---|
| 94 |
define('CRITICAL_ERROR', 204); |
|---|
| 95 |
|
|---|
| 96 |
|
|---|
| 97 |
|
|---|
| 98 |
define('POST_TOPIC_URL', 't'); |
|---|
| 99 |
define('POST_CAT_URL', 'c'); |
|---|
| 100 |
define('POST_FORUM_URL', 'f'); |
|---|
| 101 |
define('POST_USERS_URL', 'u'); |
|---|
| 102 |
define('POST_POST_URL', 'p'); |
|---|
| 103 |
define('POST_GROUPS_URL', 'g'); |
|---|
| 104 |
|
|---|
| 105 |
|
|---|
| 106 |
define('SESSION_METHOD_COOKIE', 100); |
|---|
| 107 |
define('SESSION_METHOD_GET', 101); |
|---|
| 108 |
|
|---|
| 109 |
|
|---|
| 110 |
define('AUTH_LIST_ALL', 0); |
|---|
| 111 |
define('AUTH_ALL', 0); |
|---|
| 112 |
|
|---|
| 113 |
define('AUTH_REG', 1); |
|---|
| 114 |
define('AUTH_ACL', 2); |
|---|
| 115 |
define('AUTH_MOD', 3); |
|---|
| 116 |
define('AUTH_ADMIN', 5); |
|---|
| 117 |
|
|---|
| 118 |
define('AUTH_VIEW', 1); |
|---|
| 119 |
define('AUTH_READ', 2); |
|---|
| 120 |
define('AUTH_POST', 3); |
|---|
| 121 |
define('AUTH_REPLY', 4); |
|---|
| 122 |
define('AUTH_EDIT', 5); |
|---|
| 123 |
define('AUTH_DELETE', 6); |
|---|
| 124 |
define('AUTH_ANNOUNCE', 7); |
|---|
| 125 |
define('AUTH_STICKY', 8); |
|---|
| 126 |
define('AUTH_POLLCREATE', 9); |
|---|
| 127 |
define('AUTH_VOTE', 10); |
|---|
| 128 |
define('AUTH_ATTACH', 11); |
|---|
| 129 |
|
|---|
| 130 |
|
|---|
| 131 |
define('PRIVACY_LEVEL_LOW', 1); |
|---|
| 132 |
define('PRIVACY_LEVEL_NORMAL', 2); |
|---|
| 133 |
define('PRIVACY_LEVEL_HIGH', 3); |
|---|
| 134 |
|
|---|
| 135 |
|
|---|
| 136 |
define('MODERATED_ALL_TORRENTS', 1); |
|---|
| 137 |
define('MODERATED_ONLY_NON_UPLOADERS_TORRENTS', 2); |
|---|
| 138 |
define('MODERATED_NO_ONE_TORRENTS', 3); |
|---|
| 139 |
|
|---|
| 140 |
|
|---|
| 141 |
define('TYPE_TORRENT', 1); |
|---|
| 142 |
define('TYPE_REQUEST', 2); |
|---|
| 143 |
define('TYPE_OFFER', 3); |
|---|
| 144 |
define('TYPE_NEWS', 4); |
|---|
| 145 |
define('TYPE_FORUM_POST', 5); |
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 |
define('NOTIFY_STATUS_NOTIFIED', 1); |
|---|
| 149 |
define('NOTIFY_STATUS_UN_NOTIFIED', 0); |
|---|
| 150 |
define('VIEW_STATUS_VIEWED', 1); |
|---|
| 151 |
define('VIEW_STATUS_NOT_VIEWED', 0); |
|---|
| 152 |
|
|---|
| 153 |
|
|---|
| 154 |
define('SIMPATY_COMMENT', 1); |
|---|
| 155 |
define('SIMPATY_TORRENT', 2); |
|---|
| 156 |
define('SIMPATY_REQUEST', 3); |
|---|
| 157 |
define('SIMPATY_OFFER', 4); |
|---|
| 158 |
define('SIMPATY_FORUM_POST', 5); |
|---|
| 159 |
define('SIMPATY_FILL_REQUEST', 6); |
|---|
| 160 |
define('SIMPATY_WARN', 7); |
|---|
| 161 |
define('SIMPATY_FILL_OFFER', 8); |
|---|
| 162 |
define('SIMPATY_THANKS_TO_UPLOAD', 9); |
|---|
| 163 |
define('SIMPATY_CUSTOM', 0); |
|---|
| 164 |
|
|---|
| 165 |
define('XBTT_HASH_CHANGED', 8); |
|---|
| 166 |
define('XBTT_TORRENT_MODIFIED', 9); |
|---|
| 167 |
|
|---|
| 168 |
define('BAN_GLOBAL', 0); |
|---|
| 169 |
define('BAN_CHAT', 1); |
|---|
| 170 |
define('BAN_COMMENTS', 2); |
|---|
| 171 |
define('BAN_FORUM_POST', 3); |
|---|
| 172 |
|
|---|
| 173 |
|
|---|
| 174 |
define('BANLIST_TABLE', 'banlist'); |
|---|
| 175 |
define('BOOKMARKS_TABLE', 'bookmarks'); |
|---|
| 176 |
define('CATEGORIES_TABLE', 'categories'); |
|---|
| 177 |
define('CHEATERS_TABLE', 'cheaters'); |
|---|
| 178 |
define('COMMENTS_NOTIFY_TABLE', 'checkcomm'); |
|---|
| 179 |
define('COMMENTS_TABLE', 'comments'); |
|---|
| 180 |
define('CONFIG_TABLE', 'config'); |
|---|
| 181 |
define('CONFIRM_TABLE', 'confirm'); |
|---|
| 182 |
define('COUNTRIES_TABLE', 'countries'); |
|---|
| 183 |
define('DISALLOW_TABLE', 'disallow'); |
|---|
| 184 |
define('FILES_TABLE', 'files'); |
|---|
| 185 |
define('AUTH_ACCESS_TABLE', 'forum_auth_access'); |
|---|
| 186 |
define('FORUM_CATEGORIES_TABLE', 'forum_categories'); |
|---|
| 187 |
define('FORUMS_TABLE', 'forum_forums'); |
|---|
| 188 |
define('GROUPS_TABLE', 'forum_groups'); |
|---|
| 189 |
define('POSTS_TABLE', 'forum_posts'); |
|---|
| 190 |
define('POSTS_TEXT_TABLE', 'forum_posts_text'); |
|---|
| 191 |
define('PRUNE_TABLE', 'forum_prune'); |
|---|
| 192 |
define('SEARCH_TABLE', 'forum_search_results'); |
|---|
| 193 |
define('SEARCH_WORD_TABLE', 'forum_search_wordlist'); |
|---|
| 194 |
define('SEARCH_MATCH_TABLE', 'forum_search_wordmatch'); |
|---|
| 195 |
define('TOPICS_TABLE', 'forum_topics'); |
|---|
| 196 |
define('USER_GROUP_TABLE', 'forum_user_group'); |
|---|
| 197 |
define('FRIENDS_TABLE', 'friends'); |
|---|
| 198 |
define('HELPDESK_TABLE', 'helpdesk'); |
|---|
| 199 |
define('INDEXRELEASES_TABLE', 'indexreleases'); |
|---|
| 200 |
define('INVITES_TABLE', 'invites'); |
|---|
| 201 |
define('PRIVATE_MESSAGES_TABLE', 'messages'); |
|---|
| 202 |
define('NEWS_TABLE', 'news'); |
|---|
| 203 |
define('OFFERS_TABLE', 'offers'); |
|---|
| 204 |
define('OFFERS_VOTES_TABLE', 'offers_votes'); |
|---|
| 205 |
define('PEERS_TABLE', 'peers'); |
|---|
| 206 |
define('RANKS_TABLE', 'ranks'); |
|---|
| 207 |
define('RATINGS_TABLE', 'ratings'); |
|---|
| 208 |
define('RELEASE_GROUPS_TABLE', 'release_groups'); |
|---|
| 209 |
define('REPORTS_TABLE', 'reports'); |
|---|
| 210 |
define('REQUESTS_TABLE', 'requests'); |
|---|
| 211 |
define('REQUESTS_VOTES_TABLE', 'requests_votes'); |
|---|
| 212 |
define('SESSIONS_TABLE', 'sessions'); |
|---|
| 213 |
define('SESSIONS_KEYS_TABLE', 'sessions_keys'); |
|---|
| 214 |
define('SIMPATY_TABLE', 'simpaty'); |
|---|
| 215 |
define('SITELOG_TABLE', 'sitelog'); |
|---|
| 216 |
define('SMILIES_TABLE', 'smilies'); |
|---|
| 217 |
define('SNATCHED_TABLE', 'snatched'); |
|---|
| 218 |
define('SOS_TABLE', 'sos'); |
|---|
| 219 |
define('TAGS_TABLE', 'tags'); |
|---|
| 220 |
define('TAGS_USERS_TABLE', 'tags_users'); |
|---|
| 221 |
define('THANKS_TABLE', 'thanks'); |
|---|
| 222 |
define('THEMES_TABLE', 'themes'); |
|---|
| 223 |
define('TORRENTS_TABLE', 'torrents'); |
|---|
| 224 |
define('UPLOADAPP_TABLE', 'uploadapp'); |
|---|
| 225 |
define('USERS_TABLE', 'users'); |
|---|
| 226 |
define('WORDS_TABLE', 'words'); |
|---|
| 227 |
define('VOTE_DESC_TABLE', 'vote_desc'); |
|---|
| 228 |
define('VOTE_RESULTS_TABLE', 'vote_results'); |
|---|
| 229 |
define('VOTE_USERS_TABLE', 'vote_voters'); |
|---|
| 230 |
define('CHAT_MESSAGES_TABLE', 'chat_messages'); |
|---|
| 231 |
define('XBT_DELETED_HASHES', 'xbt_deleted_hashes'); |
|---|
| 232 |
|
|---|
| 233 |
?> |
|---|