From aa90a74145067c1bf789e595d087f3823bf9b6e4 Mon Sep 17 00:00:00 2001 From: slawkens1 Date: Fri, 5 May 2017 04:08:20 +0200 Subject: [PATCH] Update to version 0.0.5 --- CHANGELOG | 13 +++++++++++++ common.php | 4 ++-- config.php | 2 +- index.php | 2 +- system/compat_pages.php | 2 +- system/counter.php | 2 +- system/countries.conf.php | 2 +- system/events.php | 2 +- system/functions.php | 2 +- system/init.php | 2 +- system/item.php | 2 +- system/libs/cache.php | 2 +- system/libs/cache_apc.php | 2 +- system/libs/cache_eaccelerator.php | 2 +- system/libs/cache_file.php | 2 +- system/libs/cache_xcache.php | 2 +- system/libs/data.php | 2 +- system/libs/items.php | 2 +- system/libs/timer.php | 2 +- system/libs/validator.php | 2 +- system/libs/visitors.php | 2 +- system/login.php | 2 +- system/pages/404.php | 2 +- system/pages/account.php | 2 +- system/pages/accountmanagement.php | 27 +++++++++++---------------- system/pages/admin/changelog.php | 2 +- system/pages/admin/dashboard.php | 2 +- system/pages/admin/login.php | 2 +- system/pages/admin/logs.php | 2 +- system/pages/admin/mailer.php | 2 +- system/pages/admin/notepad.php | 2 +- system/pages/admin/pages.php | 2 +- system/pages/admin/phpinfo.php | 2 +- system/pages/admin/players.php | 2 +- system/pages/admin/plugins.php | 2 +- system/pages/admin/statistics.php | 2 +- system/pages/admin/tools.php | 2 +- system/pages/admin/version.php | 2 +- system/pages/admin/visitors.php | 2 +- system/pages/bans.php | 2 +- system/pages/bugtracker.php | 2 +- system/pages/changelog.php | 2 +- system/pages/characters.php | 2 +- system/pages/commands.php | 2 +- system/pages/createaccount.php | 2 +- system/pages/creatures.php | 2 +- system/pages/custom.php | 2 +- system/pages/downloads.php | 2 +- system/pages/experiencestages.php | 2 +- system/pages/experiencetable.php | 2 +- system/pages/faq.php | 2 +- system/pages/forum.php | 2 +- system/pages/guilds.php | 2 +- system/pages/highscores.php | 2 +- system/pages/houses.php | 2 +- system/pages/lastkills.php | 2 +- system/pages/lostaccount.php | 2 +- system/pages/movies.php | 2 +- system/pages/news.php | 2 +- system/pages/newsarchive.php | 2 +- system/pages/online.php | 2 +- system/pages/polls.php | 2 +- system/pages/records.php | 2 +- system/pages/rules.php | 2 +- system/pages/screenshots.php | 2 +- system/pages/serverinfo.php | 2 +- system/pages/spells.php | 2 +- system/pages/team.php | 2 +- system/status.php | 2 +- system/template.php | 2 +- tools/validate.php | 2 +- 71 files changed, 94 insertions(+), 86 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 804facde..3fba1fd8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,16 @@ +[0.0.5 - 05.05.2017] + - fixed bug when creating character (not showing errors) + - Fixed characters loading with names that has been created with other AAC + - fixed links to shop in default template + - fixed some weird PHP 7.1 warnings/notices + - Fixed config loading with some weird comments + - fixed bug with status info utf8 encoding (https://otland.net/threads/myaac-v0-0-1.251454/page-2#post-2440259) + - fixed when ip in log_action is NULL (https://otland.net/threads/myaac-v0-0-1.251454/page-2#post-2440357) + - fixed bug when guild doesn't exist on characters page (https://otland.net/threads/myaac-v0-0-1.251454/page-2#post-2440320) + - disabled friendly_urls by default + - fixes when $config['database_*'] is set + - added CHANGELOG + [0.0.3 - 03.05.2017] - Full support for OTHire 0.0.3 - added support for otservers that doesn't use account.name field, instead just account number will be used diff --git a/common.php b/common.php index 57872eb2..e83fc743 100644 --- a/common.php +++ b/common.php @@ -21,13 +21,13 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ session_start(); define('MYAAC', true); -define('MYAAC_VERSION', '0.0.3'); +define('MYAAC_VERSION', '0.0.5'); define('TABLE_PREFIX', 'myaac_'); define('START_TIME', microtime(true)); define('MYAAC_OS', (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') ? 'WINDOWS' : 'LINUX'); diff --git a/config.php b/config.php index 12403142..942d65f0 100644 --- a/config.php +++ b/config.php @@ -13,7 +13,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ diff --git a/index.php b/index.php index 66e831fe..8c310a6b 100644 --- a/index.php +++ b/index.php @@ -1 +1 @@ - * @copyright 2017 MyAAC * @version 0.0.3 * @link http://my-aac.org */ require_once('common.php'); require_once(BASE . 'config.local.php'); if(file_exists(BASE . 'install') && (!isset($config['installed']) || !$config['installed'])) { header('Location: ' . BASE_DIR . '/install/'); die('Setup detected that install/ directory exists. Please visit this url to start MyAAC Installation.
Delete install/ directory if you already installed MyAAC.
Remember to REFRESH this page when you\'re done!'); } // define page visited, so it can be used within events system $page = isset($_REQUEST['subtopic']) ? $_REQUEST['subtopic'] : (isset($_GET['p']) ? $_GET['p'] : ''); if(empty($page) || preg_match('/[^A-z0-9_\-]/', $page)) $page = 'news'; $page = strtolower($page); define('PAGE', $page); $template_place_holders = array(); // event system require_once(SYSTEM . 'events.php'); $events = new Events(); $events->trigger('STARTUP'); require_once(SYSTEM . 'functions.php'); require_once(SYSTEM . 'init.php'); require_once(SYSTEM . 'login.php'); require_once(SYSTEM . 'status.php'); require_once(SYSTEM . 'template.php'); if($config['views_counter']) require_once(SYSTEM . 'counter.php'); if($config['visitors_counter']) { require_once(SYSTEM . 'libs/visitors.php'); $visitors = new Visitors($config['visitors_counter_ttl']); } // page content loading if(!isset($content[0])) $content = ''; $load_it = true; // check if site has been closed if($config['site_closed']) { if(!admin()) { $title = $config['site_closed_title']; $content .= $config['site_closed_message']; $load_it = false; } if(!$logged) { ob_start(); require(SYSTEM . 'pages/accountmanagement.php'); $content .= ob_get_contents(); ob_end_clean(); $load_it = false; } } // backward support for gesior if($config['backward_support']) { define('INITIALIZED', true); $SQL = $db; $layout_header = template_header(); $layout_name = $template_path; $config['access_admin_panel'] = 2; $group_id_of_acc_logged = 0; if($logged && $account_logged) $group_id_of_acc_logged = $account_logged->getGroupId(); $config['site'] = &$config; $config['server'] = &$config['lua']; $config['site']['shop_system'] = $config['gifts_system']; $config['serverinfo_page'] = 1; $config['download_page'] = 1; if($config['forum'] != '') $config['forum_link'] = (strtolower($config['forum']) == 'site' ? internalLayoutLink('forum') : $config['forum']); foreach($status as $key => $value) $config['status']['serverStatus_' . $key] = $value; } if($load_it) { if($config['site_closed'] && admin()) $content .= '

Site is under maintenance (closed mode). Only privileged users can see it.

'; if($config['backward_support']) require(SYSTEM . 'compat_pages.php'); $ignore = false; $file = SYSTEM . 'pages/' . $page . '.php'; if(!@file_exists($file)) { $logged_access = 0; if($logged && $account_logged && $account_logged->isLoaded()) { $logged_access = $account_logged->getAccess(); } $query = $db->query( 'SELECT `title`, `body`, `php`' . ' FROM `' . TABLE_PREFIX . 'pages`' . ' WHERE `name` LIKE ' . $db->quote($page) . ' AND `hidden` != 1 AND `access` <= ' . $db->quote($logged_access)); if($query->rowCount() > 0) // found page { $ignore = true; $query = $query->fetch(); $title = $query['title']; if($query['php'] == '1') // execute it as php code { $tmp = substr($query['body'], 0, 10); if(($pos = strpos($tmp, ' $errno, 'errstr' => $errstr); } set_error_handler('error_handler'); ob_start(); eval($tmp); $content .= ob_get_contents(); ob_end_clean(); restore_error_handler(); if(isset($php_errors[0]) && superAdmin()) { var_dump($php_errors); } } else $content .= $query['body']; // plain html } else { $page = '404'; $file = SYSTEM . 'pages/404.php'; } } ob_start(); if($events->trigger('BEFORE_PAGE')) { if(!$ignore) require($file); } if($config['backward_support'] && isset($main_content)) $content .= $main_content; $content .= ob_get_contents(); ob_end_clean(); $events->trigger('AFTER_PAGE'); } if($config['backward_support']) { $main_content = $content; if(!isset($title)) $title = ucfirst($page); } $title_full = (isset($title) ? $title . $config['title_separator'] : '') . $config['lua']['serverName']; if(file_exists($template_path . '/index.php')) require($template_path . '/index.php'); else if(file_exists($template_path . '/template.php')) // deprecated require($template_path . '/template.php'); else if($config['backward_support'] && file_exists($template_path . '/layout.php')) { require($template_path . '/layout.php'); } else { // TODO: save more info to log file die('ERROR: Cannot load template.'); } echo '' . "\n"; if(($config['debug_level'] & 1) == 1) echo ''; if(($config['debug_level'] & 2) == 2) echo "\n" . ''; if(($config['debug_level'] & 4) == 4 && function_exists('memory_get_peak_usage')) echo "\n" . ''; $events->trigger('FINISH'); ?> \ No newline at end of file + * @copyright 2017 MyAAC * @version 0.0.5 * @link http://my-aac.org */ require_once('common.php'); require_once(BASE . 'config.local.php'); if(file_exists(BASE . 'install') && (!isset($config['installed']) || !$config['installed'])) { header('Location: ' . BASE_DIR . '/install/'); die('Setup detected that install/ directory exists. Please visit this url to start MyAAC Installation.
Delete install/ directory if you already installed MyAAC.
Remember to REFRESH this page when you\'re done!'); } // define page visited, so it can be used within events system $page = isset($_REQUEST['subtopic']) ? $_REQUEST['subtopic'] : (isset($_GET['p']) ? $_GET['p'] : ''); if(empty($page) || preg_match('/[^A-z0-9_\-]/', $page)) $page = 'news'; $page = strtolower($page); define('PAGE', $page); $template_place_holders = array(); // event system require_once(SYSTEM . 'events.php'); $events = new Events(); $events->trigger('STARTUP'); require_once(SYSTEM . 'functions.php'); require_once(SYSTEM . 'init.php'); require_once(SYSTEM . 'login.php'); require_once(SYSTEM . 'status.php'); require_once(SYSTEM . 'template.php'); if($config['views_counter']) require_once(SYSTEM . 'counter.php'); if($config['visitors_counter']) { require_once(SYSTEM . 'libs/visitors.php'); $visitors = new Visitors($config['visitors_counter_ttl']); } // page content loading if(!isset($content[0])) $content = ''; $load_it = true; // check if site has been closed if($config['site_closed']) { if(!admin()) { $title = $config['site_closed_title']; $content .= $config['site_closed_message']; $load_it = false; } if(!$logged) { ob_start(); require(SYSTEM . 'pages/accountmanagement.php'); $content .= ob_get_contents(); ob_end_clean(); $load_it = false; } } // backward support for gesior if($config['backward_support']) { define('INITIALIZED', true); $SQL = $db; $layout_header = template_header(); $layout_name = $template_path; $config['access_admin_panel'] = 2; $group_id_of_acc_logged = 0; if($logged && $account_logged) $group_id_of_acc_logged = $account_logged->getGroupId(); $config['site'] = &$config; $config['server'] = &$config['lua']; $config['site']['shop_system'] = $config['gifts_system']; $config['serverinfo_page'] = 1; $config['download_page'] = 1; if($config['forum'] != '') $config['forum_link'] = (strtolower($config['forum']) == 'site' ? internalLayoutLink('forum') : $config['forum']); foreach($status as $key => $value) $config['status']['serverStatus_' . $key] = $value; } if($load_it) { if($config['site_closed'] && admin()) $content .= '

Site is under maintenance (closed mode). Only privileged users can see it.

'; if($config['backward_support']) require(SYSTEM . 'compat_pages.php'); $ignore = false; $file = SYSTEM . 'pages/' . $page . '.php'; if(!@file_exists($file)) { $logged_access = 0; if($logged && $account_logged && $account_logged->isLoaded()) { $logged_access = $account_logged->getAccess(); } $query = $db->query( 'SELECT `title`, `body`, `php`' . ' FROM `' . TABLE_PREFIX . 'pages`' . ' WHERE `name` LIKE ' . $db->quote($page) . ' AND `hidden` != 1 AND `access` <= ' . $db->quote($logged_access)); if($query->rowCount() > 0) // found page { $ignore = true; $query = $query->fetch(); $title = $query['title']; if($query['php'] == '1') // execute it as php code { $tmp = substr($query['body'], 0, 10); if(($pos = strpos($tmp, ' $errno, 'errstr' => $errstr); } set_error_handler('error_handler'); ob_start(); eval($tmp); $content .= ob_get_contents(); ob_end_clean(); restore_error_handler(); if(isset($php_errors[0]) && superAdmin()) { var_dump($php_errors); } } else $content .= $query['body']; // plain html } else { $page = '404'; $file = SYSTEM . 'pages/404.php'; } } ob_start(); if($events->trigger('BEFORE_PAGE')) { if(!$ignore) require($file); } if($config['backward_support'] && isset($main_content)) $content .= $main_content; $content .= ob_get_contents(); ob_end_clean(); $events->trigger('AFTER_PAGE'); } if($config['backward_support']) { $main_content = $content; if(!isset($title)) $title = ucfirst($page); } $title_full = (isset($title) ? $title . $config['title_separator'] : '') . $config['lua']['serverName']; if(file_exists($template_path . '/index.php')) require($template_path . '/index.php'); else if(file_exists($template_path . '/template.php')) // deprecated require($template_path . '/template.php'); else if($config['backward_support'] && file_exists($template_path . '/layout.php')) { require($template_path . '/layout.php'); } else { // TODO: save more info to log file die('ERROR: Cannot load template.'); } echo '' . "\n"; if(($config['debug_level'] & 1) == 1) echo ''; if(($config['debug_level'] & 2) == 2) echo "\n" . ''; if(($config['debug_level'] & 4) == 4 && function_exists('memory_get_peak_usage')) echo "\n" . ''; $events->trigger('FINISH'); ?> \ No newline at end of file diff --git a/system/compat_pages.php b/system/compat_pages.php index ad03ea6f..ceddf404 100644 --- a/system/compat_pages.php +++ b/system/compat_pages.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/counter.php b/system/counter.php index e390fbe0..7a1152b9 100644 --- a/system/counter.php +++ b/system/counter.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/countries.conf.php b/system/countries.conf.php index 6904ee65..9fc8bce4 100644 --- a/system/countries.conf.php +++ b/system/countries.conf.php @@ -1 +1 @@ - * @copyright 2017 MyAAC * @version 0.0.3 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); $config['countries'] = array ( 'af' => 'Afghanistan', 'al' => 'Albania', 'dz' => 'Algeria', 'as' => 'American Samoa', 'ad' => 'Andorra', 'ao' => 'Angola', 'ai' => 'Anguilla', 'aq' => 'Antarctica', 'ag' => 'Antigua and Barbuda', 'ar' => 'Argentina', 'am' => 'Armenia', 'aw' => 'Aruba', 'au' => 'Australia', 'at' => 'Austria', 'az' => 'Azerbaijan', 'bs' => 'Bahamas', 'bh' => 'Bahrain', 'bd' => 'Bangladesh', 'bb' => 'Barbados', 'by' => 'Belarus', 'be' => 'Belgium', 'bz' => 'Belize', 'bj' => 'Benin', 'bm' => 'Bermuda', 'bt' => 'Bhutan', 'bo' => 'Bolivia', 'ba' => 'Bosnia and Herzegovina', 'bw' => 'Botswana', 'bv' => 'Bouvet Island', 'br' => 'Brazil', 'io' => 'British Indian Ocean Territory', 'bn' => 'Brunei Darussalam', 'bg' => 'Bulgaria', 'bf' => 'Burkina Faso', 'bi' => 'Burundi', 'kh' => 'Cambodia', 'cm' => 'Cameroon', 'ca' => 'Canada', 'cv' => 'Cape Verde', 'ky' => 'Cayman Islands', 'cf' => 'Central African Republic', 'td' => 'Chad', 'cl' => 'Chile', 'cn' => 'China', 'cx' => 'Christmas Island', 'cc' => 'Cocos (Keeling) Islands', 'co' => 'Colombia', 'km' => 'Comoros', 'cg' => 'Congo', 'cd' => 'Congo, the Democratic Republic of the', 'ck' => 'Cook Islands', 'cr' => 'Costa Rica', 'ci' => 'Cote D\'Ivoire', 'hr' => 'Croatia', 'cu' => 'Cuba', 'cy' => 'Cyprus', 'cz' => 'Czech Republic', 'dk' => 'Denmark', 'dj' => 'Djibouti', 'dm' => 'Dominica', 'do' => 'Dominican Republic', 'ec' => 'Ecuador', 'eg' => 'Egypt', 'sv' => 'El Salvador', 'gq' => 'Equatorial Guinea', 'er' => 'Eritrea', 'ee' => 'Estonia', 'et' => 'Ethiopia', 'fk' => 'Falkland Islands (Malvinas)', 'fo' => 'Faroe Islands', 'fj' => 'Fiji', 'fi' => 'Finland', 'fr' => 'France', 'gf' => 'French Guiana', 'pf' => 'French Polynesia', 'tf' => 'French Southern Territories', 'ga' => 'Gabon', 'gm' => 'Gambia', 'ge' => 'Georgia', 'de' => 'Germany', 'gh' => 'Ghana', 'gi' => 'Gibraltar', 'gr' => 'Greece', 'gl' => 'Greenland', 'gd' => 'Grenada', 'gp' => 'Guadeloupe', 'gu' => 'Guam', 'gt' => 'Guatemala', 'gn' => 'Guinea', 'gw' => 'Guinea-Bissau', 'gy' => 'Guyana', 'ht' => 'Haiti', 'hm' => 'Heard Island and Mcdonald Islands', 'va' => 'Holy See (Vatican City State)', 'hn' => 'Honduras', 'hk' => 'Hong Kong', 'hu' => 'Hungary', 'is' => 'Iceland', 'in' => 'India', 'id' => 'Indonesia', 'ir' => 'Iran, Islamic Republic of', 'iq' => 'Iraq', 'ie' => 'Ireland', 'il' => 'Israel', 'it' => 'Italy', 'jm' => 'Jamaica', 'jp' => 'Japan', 'jo' => 'Jordan', 'kz' => 'Kazakhstan', 'ke' => 'Kenya', 'ki' => 'Kiribati', 'kp' => 'Korea, Democratic People\'s Republic of', 'kr' => 'Korea, Republic of', 'kw' => 'Kuwait', 'kg' => 'Kyrgyzstan', 'la' => 'Lao People\'s Democratic Republic', 'lv' => 'Latvia', 'lb' => 'Lebanon', 'ls' => 'Lesotho', 'lr' => 'Liberia', 'ly' => 'Libyan Arab Jamahiriya', 'li' => 'Liechtenstein', 'lt' => 'Lithuania', 'lu' => 'Luxembourg', 'mo' => 'Macao', 'mk' => 'Macedonia, the Former Yugoslav Republic of', 'mg' => 'Madagascar', 'mw' => 'Malawi', 'my' => 'Malaysia', 'mv' => 'Maldives', 'ml' => 'Mali', 'mt' => 'Malta', 'mh' => 'Marshall Islands', 'mq' => 'Martinique', 'mr' => 'Mauritania', 'mu' => 'Mauritius', 'yt' => 'Mayotte', 'mx' => 'Mexico', 'fm' => 'Micronesia, Federated States of', 'md' => 'Moldova, Republic of', 'mc' => 'Monaco', 'mn' => 'Mongolia', 'ms' => 'Montserrat', 'ma' => 'Morocco', 'mz' => 'Mozambique', 'mm' => 'Myanmar', 'na' => 'Namibia', 'nr' => 'Nauru', 'np' => 'Nepal', 'nl' => 'Netherlands', 'an' => 'Netherlands Antilles', 'nc' => 'New Caledonia', 'nz' => 'New Zealand', 'ni' => 'Nicaragua', 'ne' => 'Niger', 'ng' => 'Nigeria', 'nu' => 'Niue', 'nf' => 'Norfolk Island', 'mp' => 'Northern Mariana Islands', 'no' => 'Norway', 'om' => 'Oman', 'pk' => 'Pakistan', 'pw' => 'Palau', 'ps' => 'Palestinian Territory, Occupied', 'pa' => 'Panama', 'pg' => 'Papua New Guinea', 'py' => 'Paraguay', 'pe' => 'Peru', 'ph' => 'Philippines', 'pn' => 'Pitcairn', 'pl' => 'Poland', 'pt' => 'Portugal', 'pr' => 'Puerto Rico', 'qa' => 'Qatar', 're' => 'Reunion', 'ro' => 'Romania', 'ru' => 'Russian Federation', 'rw' => 'Rwanda', 'sh' => 'Saint Helena', 'kn' => 'Saint Kitts and Nevis', 'lc' => 'Saint Lucia', 'pm' => 'Saint Pierre and Miquelon', 'vc' => 'Saint Vincent and the Grenadines', 'ws' => 'Samoa', 'sm' => 'San Marino', 'st' => 'Sao Tome and Principe', 'sa' => 'Saudi Arabia', 'sn' => 'Senegal', 'cs' => 'Serbia and Montenegro', 'sc' => 'Seychelles', 'sl' => 'Sierra Leone', 'sg' => 'Singapore', 'sk' => 'Slovakia', 'si' => 'Slovenia', 'sb' => 'Solomon Islands', 'so' => 'Somalia', 'za' => 'South Africa', 'gs' => 'South Georgia and the South Sandwich Islands', 'es' => 'Spain', 'lk' => 'Sri Lanka', 'sd' => 'Sudan', 'sr' => 'Suriname', 'sj' => 'Svalbard and Jan Mayen', 'sz' => 'Swaziland', 'se' => 'Sweden', 'ch' => 'Switzerland', 'sy' => 'Syrian Arab Republic', 'tw' => 'Taiwan, Province of China', 'tj' => 'Tajikistan', 'tz' => 'Tanzania, United Republic of', 'th' => 'Thailand', 'tl' => 'Timor-Leste', 'tg' => 'Togo', 'tk' => 'Tokelau', 'to' => 'Tonga', 'tt' => 'Trinidad and Tobago', 'tn' => 'Tunisia', 'tr' => 'Turkey', 'tm' => 'Turkmenistan', 'tc' => 'Turks and Caicos Islands', 'tv' => 'Tuvalu', 'ug' => 'Uganda', 'ua' => 'Ukraine', 'ae' => 'United Arab Emirates', 'gb' => 'United Kingdom', 'us' => 'United States', 'um' => 'United States Minor Outlying Islands', 'uy' => 'Uruguay', 'uz' => 'Uzbekistan', 'vu' => 'Vanuatu', 've' => 'Venezuela', 'vn' => 'Viet Nam', 'vg' => 'Virgin Islands, British', 'vi' => 'Virgin Islands, U.s.', 'wf' => 'Wallis and Futuna', 'eh' => 'Western Sahara', 'ye' => 'Yemen', 'zm' => 'Zambia', 'zw' => 'Zimbabwe' ); ?> \ No newline at end of file + * @copyright 2017 MyAAC * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); $config['countries'] = array ( 'af' => 'Afghanistan', 'al' => 'Albania', 'dz' => 'Algeria', 'as' => 'American Samoa', 'ad' => 'Andorra', 'ao' => 'Angola', 'ai' => 'Anguilla', 'aq' => 'Antarctica', 'ag' => 'Antigua and Barbuda', 'ar' => 'Argentina', 'am' => 'Armenia', 'aw' => 'Aruba', 'au' => 'Australia', 'at' => 'Austria', 'az' => 'Azerbaijan', 'bs' => 'Bahamas', 'bh' => 'Bahrain', 'bd' => 'Bangladesh', 'bb' => 'Barbados', 'by' => 'Belarus', 'be' => 'Belgium', 'bz' => 'Belize', 'bj' => 'Benin', 'bm' => 'Bermuda', 'bt' => 'Bhutan', 'bo' => 'Bolivia', 'ba' => 'Bosnia and Herzegovina', 'bw' => 'Botswana', 'bv' => 'Bouvet Island', 'br' => 'Brazil', 'io' => 'British Indian Ocean Territory', 'bn' => 'Brunei Darussalam', 'bg' => 'Bulgaria', 'bf' => 'Burkina Faso', 'bi' => 'Burundi', 'kh' => 'Cambodia', 'cm' => 'Cameroon', 'ca' => 'Canada', 'cv' => 'Cape Verde', 'ky' => 'Cayman Islands', 'cf' => 'Central African Republic', 'td' => 'Chad', 'cl' => 'Chile', 'cn' => 'China', 'cx' => 'Christmas Island', 'cc' => 'Cocos (Keeling) Islands', 'co' => 'Colombia', 'km' => 'Comoros', 'cg' => 'Congo', 'cd' => 'Congo, the Democratic Republic of the', 'ck' => 'Cook Islands', 'cr' => 'Costa Rica', 'ci' => 'Cote D\'Ivoire', 'hr' => 'Croatia', 'cu' => 'Cuba', 'cy' => 'Cyprus', 'cz' => 'Czech Republic', 'dk' => 'Denmark', 'dj' => 'Djibouti', 'dm' => 'Dominica', 'do' => 'Dominican Republic', 'ec' => 'Ecuador', 'eg' => 'Egypt', 'sv' => 'El Salvador', 'gq' => 'Equatorial Guinea', 'er' => 'Eritrea', 'ee' => 'Estonia', 'et' => 'Ethiopia', 'fk' => 'Falkland Islands (Malvinas)', 'fo' => 'Faroe Islands', 'fj' => 'Fiji', 'fi' => 'Finland', 'fr' => 'France', 'gf' => 'French Guiana', 'pf' => 'French Polynesia', 'tf' => 'French Southern Territories', 'ga' => 'Gabon', 'gm' => 'Gambia', 'ge' => 'Georgia', 'de' => 'Germany', 'gh' => 'Ghana', 'gi' => 'Gibraltar', 'gr' => 'Greece', 'gl' => 'Greenland', 'gd' => 'Grenada', 'gp' => 'Guadeloupe', 'gu' => 'Guam', 'gt' => 'Guatemala', 'gn' => 'Guinea', 'gw' => 'Guinea-Bissau', 'gy' => 'Guyana', 'ht' => 'Haiti', 'hm' => 'Heard Island and Mcdonald Islands', 'va' => 'Holy See (Vatican City State)', 'hn' => 'Honduras', 'hk' => 'Hong Kong', 'hu' => 'Hungary', 'is' => 'Iceland', 'in' => 'India', 'id' => 'Indonesia', 'ir' => 'Iran, Islamic Republic of', 'iq' => 'Iraq', 'ie' => 'Ireland', 'il' => 'Israel', 'it' => 'Italy', 'jm' => 'Jamaica', 'jp' => 'Japan', 'jo' => 'Jordan', 'kz' => 'Kazakhstan', 'ke' => 'Kenya', 'ki' => 'Kiribati', 'kp' => 'Korea, Democratic People\'s Republic of', 'kr' => 'Korea, Republic of', 'kw' => 'Kuwait', 'kg' => 'Kyrgyzstan', 'la' => 'Lao People\'s Democratic Republic', 'lv' => 'Latvia', 'lb' => 'Lebanon', 'ls' => 'Lesotho', 'lr' => 'Liberia', 'ly' => 'Libyan Arab Jamahiriya', 'li' => 'Liechtenstein', 'lt' => 'Lithuania', 'lu' => 'Luxembourg', 'mo' => 'Macao', 'mk' => 'Macedonia, the Former Yugoslav Republic of', 'mg' => 'Madagascar', 'mw' => 'Malawi', 'my' => 'Malaysia', 'mv' => 'Maldives', 'ml' => 'Mali', 'mt' => 'Malta', 'mh' => 'Marshall Islands', 'mq' => 'Martinique', 'mr' => 'Mauritania', 'mu' => 'Mauritius', 'yt' => 'Mayotte', 'mx' => 'Mexico', 'fm' => 'Micronesia, Federated States of', 'md' => 'Moldova, Republic of', 'mc' => 'Monaco', 'mn' => 'Mongolia', 'ms' => 'Montserrat', 'ma' => 'Morocco', 'mz' => 'Mozambique', 'mm' => 'Myanmar', 'na' => 'Namibia', 'nr' => 'Nauru', 'np' => 'Nepal', 'nl' => 'Netherlands', 'an' => 'Netherlands Antilles', 'nc' => 'New Caledonia', 'nz' => 'New Zealand', 'ni' => 'Nicaragua', 'ne' => 'Niger', 'ng' => 'Nigeria', 'nu' => 'Niue', 'nf' => 'Norfolk Island', 'mp' => 'Northern Mariana Islands', 'no' => 'Norway', 'om' => 'Oman', 'pk' => 'Pakistan', 'pw' => 'Palau', 'ps' => 'Palestinian Territory, Occupied', 'pa' => 'Panama', 'pg' => 'Papua New Guinea', 'py' => 'Paraguay', 'pe' => 'Peru', 'ph' => 'Philippines', 'pn' => 'Pitcairn', 'pl' => 'Poland', 'pt' => 'Portugal', 'pr' => 'Puerto Rico', 'qa' => 'Qatar', 're' => 'Reunion', 'ro' => 'Romania', 'ru' => 'Russian Federation', 'rw' => 'Rwanda', 'sh' => 'Saint Helena', 'kn' => 'Saint Kitts and Nevis', 'lc' => 'Saint Lucia', 'pm' => 'Saint Pierre and Miquelon', 'vc' => 'Saint Vincent and the Grenadines', 'ws' => 'Samoa', 'sm' => 'San Marino', 'st' => 'Sao Tome and Principe', 'sa' => 'Saudi Arabia', 'sn' => 'Senegal', 'cs' => 'Serbia and Montenegro', 'sc' => 'Seychelles', 'sl' => 'Sierra Leone', 'sg' => 'Singapore', 'sk' => 'Slovakia', 'si' => 'Slovenia', 'sb' => 'Solomon Islands', 'so' => 'Somalia', 'za' => 'South Africa', 'gs' => 'South Georgia and the South Sandwich Islands', 'es' => 'Spain', 'lk' => 'Sri Lanka', 'sd' => 'Sudan', 'sr' => 'Suriname', 'sj' => 'Svalbard and Jan Mayen', 'sz' => 'Swaziland', 'se' => 'Sweden', 'ch' => 'Switzerland', 'sy' => 'Syrian Arab Republic', 'tw' => 'Taiwan, Province of China', 'tj' => 'Tajikistan', 'tz' => 'Tanzania, United Republic of', 'th' => 'Thailand', 'tl' => 'Timor-Leste', 'tg' => 'Togo', 'tk' => 'Tokelau', 'to' => 'Tonga', 'tt' => 'Trinidad and Tobago', 'tn' => 'Tunisia', 'tr' => 'Turkey', 'tm' => 'Turkmenistan', 'tc' => 'Turks and Caicos Islands', 'tv' => 'Tuvalu', 'ug' => 'Uganda', 'ua' => 'Ukraine', 'ae' => 'United Arab Emirates', 'gb' => 'United Kingdom', 'us' => 'United States', 'um' => 'United States Minor Outlying Islands', 'uy' => 'Uruguay', 'uz' => 'Uzbekistan', 'vu' => 'Vanuatu', 've' => 'Venezuela', 'vn' => 'Viet Nam', 'vg' => 'Virgin Islands, British', 'vi' => 'Virgin Islands, U.s.', 'wf' => 'Wallis and Futuna', 'eh' => 'Western Sahara', 'ye' => 'Yemen', 'zm' => 'Zambia', 'zw' => 'Zimbabwe' ); ?> \ No newline at end of file diff --git a/system/events.php b/system/events.php index f65e67a2..58617e4d 100644 --- a/system/events.php +++ b/system/events.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/functions.php b/system/functions.php index 8aa4b4bd..e76432e2 100644 --- a/system/functions.php +++ b/system/functions.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/init.php b/system/init.php index 27de14f0..84a445c1 100644 --- a/system/init.php +++ b/system/init.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/item.php b/system/item.php index 28e19d4c..d74537b2 100644 --- a/system/item.php +++ b/system/item.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/cache.php b/system/libs/cache.php index 2ba170bc..b9fa9aa7 100644 --- a/system/libs/cache.php +++ b/system/libs/cache.php @@ -6,7 +6,7 @@ * @author Slawkens * @author Mark Samman (Talaturen) * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/cache_apc.php b/system/libs/cache_apc.php index f30c2723..2e9aa349 100644 --- a/system/libs/cache_apc.php +++ b/system/libs/cache_apc.php @@ -6,7 +6,7 @@ * @author Slawkens * @author Mark Samman (Talaturen) * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/cache_eaccelerator.php b/system/libs/cache_eaccelerator.php index ef13d767..c75a54c2 100644 --- a/system/libs/cache_eaccelerator.php +++ b/system/libs/cache_eaccelerator.php @@ -6,7 +6,7 @@ * @author Slawkens * @author Mark Samman (Talaturen) * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/cache_file.php b/system/libs/cache_file.php index dccc3049..568ce38a 100644 --- a/system/libs/cache_file.php +++ b/system/libs/cache_file.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/cache_xcache.php b/system/libs/cache_xcache.php index 604c6893..7c4c8764 100644 --- a/system/libs/cache_xcache.php +++ b/system/libs/cache_xcache.php @@ -6,7 +6,7 @@ * @author Slawkens * @author Mark Samman (Talaturen) * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/data.php b/system/libs/data.php index 8384cca5..66788d3f 100644 --- a/system/libs/data.php +++ b/system/libs/data.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/items.php b/system/libs/items.php index 990ff3ec..32e4e461 100644 --- a/system/libs/items.php +++ b/system/libs/items.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/timer.php b/system/libs/timer.php index ab3270c1..9de0241e 100644 --- a/system/libs/timer.php +++ b/system/libs/timer.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/validator.php b/system/libs/validator.php index c3acdfcb..34c50c23 100644 --- a/system/libs/validator.php +++ b/system/libs/validator.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/libs/visitors.php b/system/libs/visitors.php index fe4f72fc..f531a1d6 100644 --- a/system/libs/visitors.php +++ b/system/libs/visitors.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/login.php b/system/login.php index 3312246a..e1fa64b2 100644 --- a/system/login.php +++ b/system/login.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/404.php b/system/pages/404.php index a4275387..7549f4f1 100644 --- a/system/pages/404.php +++ b/system/pages/404.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/account.php b/system/pages/account.php index cff6a696..5178320d 100644 --- a/system/pages/account.php +++ b/system/pages/account.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/accountmanagement.php b/system/pages/accountmanagement.php index b35a086b..7767d007 100644 --- a/system/pages/accountmanagement.php +++ b/system/pages/accountmanagement.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); @@ -796,8 +796,6 @@ function checkName() $newchar_vocation = isset($_POST['newcharvocation']) ? $_POST['newcharvocation'] : NULL; $newchar_town = isset($_POST['newchartown']) ? $_POST['newchartown'] : NULL; $newchar_errors = array(); - - $newchar_created = false; if(isset($_POST['savecharacter']) && $_POST['savecharacter'] == 1) { if(empty($newchar_name)) $newchar_errors[] = 'Please enter a name for your character!'; @@ -899,7 +897,7 @@ function checkName() } if(fieldExist('lookaddons', 'players')) - $player->setLookAddons($char_to_copy->getLookAddons()); + $player->setLookAddons($char_to_copy->getLookAddons()); $player->setTownId($newchar_town); $player->setExperience($char_to_copy->getExperience()); @@ -931,8 +929,6 @@ function checkName() } $player->save(); $player->setCustomField("created", time()); - - $newchar_created = true; $account_logged->logAction('Created character ' . $player->getName() . '.'); unset($player); $player = $ots->createObject('Player'); @@ -962,16 +958,15 @@ function checkName() } } } - - if(count($newchar_errors) > 0) { - echo '
'; - echo 'The Following Errors Have Occurred:
'; - foreach($newchar_errors as $newchar_error) - echo '
  • '.$newchar_error . '
  • '; - echo '

    '; - } - - if(!$newchar_created) { + else + { + if(count($newchar_errors) > 0) { + echo '
    '; + echo 'The Following Errors Have Occurred:
    '; + foreach($newchar_errors as $newchar_error) + echo '
  • '.$newchar_error . '
  • '; + echo '

    '; + } echo 'Please choose a name'; if(count($config['character_samples']) > 1) echo ', vocation'; diff --git a/system/pages/admin/changelog.php b/system/pages/admin/changelog.php index c6f2b88e..71643d17 100644 --- a/system/pages/admin/changelog.php +++ b/system/pages/admin/changelog.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/dashboard.php b/system/pages/admin/dashboard.php index 1af63ee7..2b816453 100644 --- a/system/pages/admin/dashboard.php +++ b/system/pages/admin/dashboard.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/login.php b/system/pages/admin/login.php index 8d5f62b3..bb4b3fec 100644 --- a/system/pages/admin/login.php +++ b/system/pages/admin/login.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/logs.php b/system/pages/admin/logs.php index b12b0c74..d08e2ea5 100644 --- a/system/pages/admin/logs.php +++ b/system/pages/admin/logs.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/mailer.php b/system/pages/admin/mailer.php index ad8668d0..5102d261 100644 --- a/system/pages/admin/mailer.php +++ b/system/pages/admin/mailer.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/notepad.php b/system/pages/admin/notepad.php index a990a635..10a2dc5c 100644 --- a/system/pages/admin/notepad.php +++ b/system/pages/admin/notepad.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/pages.php b/system/pages/admin/pages.php index a41ff8ad..1376b712 100644 --- a/system/pages/admin/pages.php +++ b/system/pages/admin/pages.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/phpinfo.php b/system/pages/admin/phpinfo.php index c84834f3..212acc3b 100644 --- a/system/pages/admin/phpinfo.php +++ b/system/pages/admin/phpinfo.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/players.php b/system/pages/admin/players.php index 39a1767c..6075b1fe 100644 --- a/system/pages/admin/players.php +++ b/system/pages/admin/players.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/plugins.php b/system/pages/admin/plugins.php index 7fa03152..f880189e 100644 --- a/system/pages/admin/plugins.php +++ b/system/pages/admin/plugins.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/statistics.php b/system/pages/admin/statistics.php index e79fec01..8258eeee 100644 --- a/system/pages/admin/statistics.php +++ b/system/pages/admin/statistics.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/tools.php b/system/pages/admin/tools.php index 3d5c340f..a2f7d896 100644 --- a/system/pages/admin/tools.php +++ b/system/pages/admin/tools.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/version.php b/system/pages/admin/version.php index de15291f..69fa1d3c 100644 --- a/system/pages/admin/version.php +++ b/system/pages/admin/version.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/admin/visitors.php b/system/pages/admin/visitors.php index 6a4aed65..7d780a09 100644 --- a/system/pages/admin/visitors.php +++ b/system/pages/admin/visitors.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/bans.php b/system/pages/bans.php index 24c66cf4..6cf7e002 100644 --- a/system/pages/bans.php +++ b/system/pages/bans.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/bugtracker.php b/system/pages/bugtracker.php index 78ec4e21..de37609b 100644 --- a/system/pages/bugtracker.php +++ b/system/pages/bugtracker.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/changelog.php b/system/pages/changelog.php index 4451e39f..0090cd15 100644 --- a/system/pages/changelog.php +++ b/system/pages/changelog.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/characters.php b/system/pages/characters.php index ea6db47d..b1635197 100644 --- a/system/pages/characters.php +++ b/system/pages/characters.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/commands.php b/system/pages/commands.php index 8fd86a40..280fbd4f 100644 --- a/system/pages/commands.php +++ b/system/pages/commands.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/createaccount.php b/system/pages/createaccount.php index 9678e8bb..f6ba9df3 100644 --- a/system/pages/createaccount.php +++ b/system/pages/createaccount.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/creatures.php b/system/pages/creatures.php index 9c89626f..6cbc5e63 100644 --- a/system/pages/creatures.php +++ b/system/pages/creatures.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/custom.php b/system/pages/custom.php index bec26b62..15465de9 100644 --- a/system/pages/custom.php +++ b/system/pages/custom.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/downloads.php b/system/pages/downloads.php index 1c1797e2..4e82a2ae 100644 --- a/system/pages/downloads.php +++ b/system/pages/downloads.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ $title = 'Downloads'; diff --git a/system/pages/experiencestages.php b/system/pages/experiencestages.php index a1e66769..2d698e16 100644 --- a/system/pages/experiencestages.php +++ b/system/pages/experiencestages.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/experiencetable.php b/system/pages/experiencetable.php index e0b20e2c..6784b989 100644 --- a/system/pages/experiencetable.php +++ b/system/pages/experiencetable.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/faq.php b/system/pages/faq.php index af345fbd..52c4ade6 100644 --- a/system/pages/faq.php +++ b/system/pages/faq.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/forum.php b/system/pages/forum.php index bae01310..8eb7a55f 100644 --- a/system/pages/forum.php +++ b/system/pages/forum.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/guilds.php b/system/pages/guilds.php index 15397e2a..42dfd2dc 100644 --- a/system/pages/guilds.php +++ b/system/pages/guilds.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/highscores.php b/system/pages/highscores.php index 56d48514..95bdf4f3 100644 --- a/system/pages/highscores.php +++ b/system/pages/highscores.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/houses.php b/system/pages/houses.php index 21adfb81..71046ae2 100644 --- a/system/pages/houses.php +++ b/system/pages/houses.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/lastkills.php b/system/pages/lastkills.php index a570d378..8a89ec6c 100644 --- a/system/pages/lastkills.php +++ b/system/pages/lastkills.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/lostaccount.php b/system/pages/lostaccount.php index 1cdc7704..4094c881 100644 --- a/system/pages/lostaccount.php +++ b/system/pages/lostaccount.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/movies.php b/system/pages/movies.php index a360cac0..85484d0e 100644 --- a/system/pages/movies.php +++ b/system/pages/movies.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/news.php b/system/pages/news.php index 24ea082c..e061f288 100644 --- a/system/pages/news.php +++ b/system/pages/news.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/newsarchive.php b/system/pages/newsarchive.php index fc364203..68af57c2 100644 --- a/system/pages/newsarchive.php +++ b/system/pages/newsarchive.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ $_GET['archive'] = true; diff --git a/system/pages/online.php b/system/pages/online.php index c30dc1ce..65b91fd3 100644 --- a/system/pages/online.php +++ b/system/pages/online.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/polls.php b/system/pages/polls.php index 896dcd1b..36e67e7f 100644 --- a/system/pages/polls.php +++ b/system/pages/polls.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/records.php b/system/pages/records.php index 334714c5..715f54c1 100644 --- a/system/pages/records.php +++ b/system/pages/records.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/rules.php b/system/pages/rules.php index c2b4d106..191d3542 100644 --- a/system/pages/rules.php +++ b/system/pages/rules.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/screenshots.php b/system/pages/screenshots.php index 4b21cd44..c6eb1513 100644 --- a/system/pages/screenshots.php +++ b/system/pages/screenshots.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/serverinfo.php b/system/pages/serverinfo.php index 6cd7b022..af669cd6 100644 --- a/system/pages/serverinfo.php +++ b/system/pages/serverinfo.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/spells.php b/system/pages/spells.php index f04f1c53..09b4ac74 100644 --- a/system/pages/spells.php +++ b/system/pages/spells.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/pages/team.php b/system/pages/team.php index bfef661c..04e933c5 100644 --- a/system/pages/team.php +++ b/system/pages/team.php @@ -6,7 +6,7 @@ * @author Gesior * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/status.php b/system/status.php index e10808c4..a4acfb1f 100644 --- a/system/status.php +++ b/system/status.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/system/template.php b/system/template.php index 12c569a0..e24e6403 100644 --- a/system/template.php +++ b/system/template.php @@ -5,7 +5,7 @@ * @package MyAAC * @author Slawkens * @copyright 2017 MyAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); diff --git a/tools/validate.php b/tools/validate.php index 03c8d5de..e0844d11 100644 --- a/tools/validate.php +++ b/tools/validate.php @@ -6,7 +6,7 @@ * @package MyAAC * @author Slawkens * @copyright 2016 WodzAAC - * @version 0.0.3 + * @version 0.0.5 * @link http://myaac.info */