sory my english dont good
open to game.php and search
after add
Open to includes/pages/game ShowBuildingsPage.class.php
search
change to
Display All
open to game.php and search
after add
search
change to
Source Code
- $page = HTTP::_GP( 'page', '' );
- if ($page != 'resources' && $page != 'station') {
- $page = 'resources';
- }
- // check the current page and the allowed elements
- // resources page
- if ($page == 'resources') {
- $allowed['1'] = array(1, 2, 3, 4, 4, 12, 22, 23, 24);
- $allowed['3'] = array(12, 22, 23, 24);
- }
- // station page
- if ($page == 'station') {
- $allowed['1'] = array(6, 14, 15, 21, 31, 33, 34, 44);
- $allowed['3'] = array(14, 21, 41, 42, 43);
- }
- $Elements = $allowed[$PLANET['planet_type']];