'Light', 2 => 'Dark', 3 => 'Light-Bronze', 4 => 'Dark-Bronze', 5 => 'Light-Slate', 6 => 'Dark-Slate', 7 => 'Abyss' ]);
define('ORIG_LANG_ARRAY', [2 => 'Japanese', 1 => 'English', 3 => 'Polish', 8 => 'German', 10 => 'French', 12 => 'Vietnamese', 21 => 'Chinese', 27 => 'Indonesian', 28 => 'Korean', 29 => 'Spanish (LATAM)', 32 => 'Thai', 34 => 'Filipino']);
define('STATUS_ARRAY', [1 => 'Ongoing', 2 => 'Completed', 3 => 'Cancelled', 4 => 'Hiatus']);
define('MANGA_EXT_LINKS', ['mu' => 'MangaUpdates ID', 'mal' => 'MyAnimeList ID', 'nu' => 'NovelUpdates slug', 'raw' => 'Raw URL', 'engtl' => 'Official Eng URL', 'cdj' => 'CDJapan URL', 'amz' => 'Amazon.co.jp URL', 'ebj' => 'eBookJapan URL', 'bw' => 'Bookwalker ID', 'al' => 'AniList ID', 'kt' => 'Kitsu ID', 'ap' => 'Anime-Planet slug', 'dj' => 'Doujinshi.org ID']);
define('MANGA_DEMO', ['None', 'Shounen', 'Shoujo', 'Seinen', 'Josei']);
define('MANGA_VIEW_MODE_ICONS', ['th-large', 'th-list', 'bars', 'th']);
define('REPORT_TYPES', [0 => 'invalid', 1 => 'Manga', 2 => 'Chapter', 3 => 'Comment', 4 => 'Group', 5 => 'User']);
define('RESTRICTED_MANGA_IDS', [33691, 35013, 37514, 34291, 37070, 29885, 31106, 20104, 43476, 41743, 42731, 37071, 35251, 42244, 39585, 46603, 46790, 46856, 43140, 46858]);
define('MINIMUM_CHAPTERS_READ_FOR_RESTRICTED_MANGA', 100);
define('MINIMUM_CHAPTERS_READ_FOR_SUPPORT', 20);
define('ALLOWED_CHAPTER_EXT', ['zip', 'cbz']);
define('MAX_IMAGE_FILESIZE', 1048576);
define('ALLOWED_IMG_EXT', ['jpg', 'jpeg', 'png', 'gif']);
define('ALLOWED_MIME_TYPES', ['image/png', 'image/jpeg', 'image/gif']);
define('IMAGE_SERVER', 0);
define('IMG_SERVER_URL', 'https://s2.mangadex.org');
define('LOCAL_SERVER_URL', 'https://cdndex.com/data/');
define('API_V2_URL', 'https://api.mangadex.org/v2/');
//$server_array = ['eu2' => 1, 'na' => 2, 'eu' => 3, 'na2' => 4, 'na3' => 5];
define('IMAGE_SERVER_INFO', [
// European imageservers s1, s3, s6
1 => [
'server_code' => 'eu2',
'continent_code' => 'eu',
'country_code' => 'fr',
],
3 => [
'server_code' => 'eu',
'continent_code' => 'eu',
'country_code' => 'fr',
],
6 => [
'server_code' => 'eu3',
'continent_code' => 'eu',
'country_code' => 'de', // hetzner
],
// Northamerican servers s2, s5
2 => [
'server_code' => 'na',
'continent_code' => 'na',
'country_code' => 'us',
],
5 => [
'server_code' => 'na3',
'continent_code' => 'na',
'country_code' => 'us',
],
// Third northamerican server, used for "rest of world"
4 => [
'server_code' => 'na2',
'continent_code' => '??',
'country_code' => '',
],
]);
define('IMAGE_SERVER_CONTINENT_MAPPING', [
'af' => '??', // Africa
'an' => '??', // Antarctica
'as' => '??', // Asia
'eu' => 'eu', // Europe
'na' => 'na', // Northamerica
'oc' => '??', // Oceania
'sa' => 'na', // Southamerica
]);
define('BBCODE', [
'bold' => 'b',
'italic' => 'i',
'underline' => 'u',
'strikethrough' => 's',
'align-left' => 'left',
'align-center' => 'center',
'align-right' => 'right',
'image' => 'img',
'link' => 'url',
'superscript' => 'sup',
'subscript' => 'sub',
'list-ul' => 'ul',
'list-ol' => 'ol',
'arrows-alt-h' => 'hr',
'eye-slash' => 'spoiler',
'code' => 'code',
'quote-left' => 'quote'
]);
define('EMOJIS', ['😀', '😁', '😂', '🤣', '😃', '😄', '😅', '😆', '😉', '😊', '😋', '😎', '😍', '😘', '😗', '😙', '😚', '🙂', '🤗']);
define('DATE_FORMAT', 'Y-m-d');
define('DATETIME_FORMAT', 'Y-m-d H:i:s \U\T\C');
define('RATINGS', [10 => 'Masterpiece', 9 => 'Great', 8 => 'Very good', 7 => 'Good', 6 => 'Fine', 5 => 'Average', 4 => 'Bad', 3 => 'Very bad', 2 => 'Horrible', 1 => 'Appalling']);
define('SORT_ARRAY_USERS', ['level_id DESC, username ASC', 'username ASC', 'username DESC', 'user_uploads ASC', 'user_uploads DESC', 'user_views ASC', 'user_views DESC', 'level_id ASC', 'level_id DESC', 'level_id DESC, users.user_id ASC']);
define('SORT_ARRAY_GROUPS', ['group_follows DESC, group_last_updated DESC', 'group_name ASC', 'group_name DESC', 'group_likes ASC', 'group_likes DESC', 'group_views ASC', 'group_views DESC', 'group_follows ASC', 'group_follows DESC', 'thread_posts ASC', 'thread_posts DESC', 'group_last_updated ASC', 'group_last_updated DESC']);
define('SORT_ARRAY_MANGA', ['manga_last_updated DESC', 'manga_last_updated ASC', 'manga_name ASC', 'manga_name DESC', 'thread_posts ASC', 'thread_posts DESC', 'manga_bayesian ASC', 'manga_bayesian DESC', 'manga_views ASC', 'manga_views DESC', 'manga_follows ASC', 'manga_follows DESC']);
define('TL_USER_IDS', [1001, 8963, 15294, 1179, 6394, 3816, 15102, 1454, 414, 16364, 9268, 2471, 51914]);
define('SPAM_WORDS', ['vagina', 'v@gina', 'gg.gg', 'merky.de', 'v@g!na', 'b!tch', 'f.u.ck', 's.lu.tt', '@ss']);
define('AUTO_FORUM_IDS', [11, 12, 14]);
define('CATEGORY_FORUM_IDS', [1, 2, 4, 16]);
define('THREAD_LABELS', [':planned:' => " Planned",
':maybe:' => " Maybe",
':rejected:' => " Rejected",
':implemented:' => " Implemented",
':fixed:' => " Fixed",
':will fix:' => " Will fix",
':will investigate:' => " Will investigate",
':not a bug:' => " Not a bug"]);
define('DEFAULT_AVATARS', ['default1.jpg', 'default2.jpg', 'default3.jpg', 'default4.gif', 'default5.gif']);
//define('DEFAULT_AVATARS', ['mdex-sumireko.png']);
define('WALLET_QR', [
'BTC' => [
'17jpfzcnKrBewKpyFeRW5tVCu9zpuNkPrh',
'18WSPrCVbBqE3fcsxmRyX4MHf7huhdkHvG',
'1HeKYAHQfxCGxESBHH96UW6nfk3sWGMBUS',
'1KcTeDQHDV6crBruJb6bF8WRN4oMSsRj3a',
'1KeZFBiKWCitALEQfJWVGbq89Z3Y7epeFE',
'1LjyyRo6jLHKR4dzfGRLyp7pb3MJUCTvbj',
'1MqNnXqvehvNvtQL41MZx1NpCZp2NDhvHk',
'1MxBCG2xks9mfnZKzwUnGKNnjCbh8CtFnE',
'1MZ2uJ2YNokSKCDbdocnzoc4sDt58T7RLt',
'1PUgG3Z1WMuZd1TZi8QZKowHMu2MZifMG8'
],
'ETH' => [
'0x0BB95fE37dc1458aAc692E0E9b44F9852B2Aa6Ec',
'0x0DfF79f78980277963f1Ded0312f03377559de68',
'0x47ef42463B582b78eA89d92A1f1302c7091EC944',
'0x4b17f6451F1684931E0EF70c6A9aA020E86c37B5',
'0xC513BA4E49E57A07c1b1146B81bCb5ce01F9B270'
],
]);