├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── codestyle.xml ├── composer.json ├── core ├── LoggedPDO.php ├── autoload.php ├── classes │ ├── data │ │ ├── building.php │ │ ├── defense.php │ │ ├── fleet.php │ │ ├── galaxy.php │ │ ├── planet.php │ │ ├── tech.php │ │ ├── units.php │ │ └── user.php │ ├── database.php │ ├── debug.php │ ├── loader.php │ ├── topbar.php │ └── units │ │ ├── building.php │ │ ├── defense.php │ │ ├── fleet.php │ │ ├── planet.php │ │ ├── tech.php │ │ └── unit.php ├── config.sample.php ├── controllers │ ├── admin │ │ ├── dashboard.php │ │ └── users.php │ ├── building.php │ ├── changelog.php │ ├── defense.php │ ├── fleet.php │ ├── galaxy.php │ ├── login.php │ ├── overview.php │ ├── register.php │ ├── research.php │ ├── resources.php │ ├── settings.php │ └── shipyard.php ├── interfaces │ ├── controller.php │ ├── model.php │ └── view.php ├── language │ └── en │ │ ├── admin │ │ ├── dashboard.php │ │ └── users.php │ │ ├── buildings.php │ │ ├── changelog.php │ │ ├── defense.php │ │ ├── fleet.php │ │ ├── galaxy.php │ │ ├── login.php │ │ ├── menu.php │ │ ├── overview.php │ │ ├── register.php │ │ ├── research.php │ │ ├── resources.php │ │ ├── settings.php │ │ ├── shipyard.php │ │ └── units.php ├── models │ ├── admin │ │ ├── dashboard.php │ │ └── users.php │ ├── building.php │ ├── changelog.php │ ├── defense.php │ ├── fleet.php │ ├── galaxy.php │ ├── login.php │ ├── overview.php │ ├── register.php │ ├── research.php │ ├── resources.php │ ├── settings.php │ └── shipyard.php ├── templates │ ├── admin │ │ ├── dashboard.php │ │ ├── menu.php │ │ ├── topbar.php │ │ └── users.php │ ├── buildings.php │ ├── buildings_row.php │ ├── changelog.php │ ├── changelog_row.php │ ├── defense.php │ ├── defense_row.php │ ├── fleet.php │ ├── fleet_sent.php │ ├── fleet_set_destination.php │ ├── footer.php │ ├── galaxy.php │ ├── galaxy_row.php │ ├── header.php │ ├── header_login.php │ ├── login.php │ ├── menu.php │ ├── overview.php │ ├── overview_planetlist_row.php │ ├── overview_renameplanet.php │ ├── register.php │ ├── research.php │ ├── research_row.php │ ├── resources.php │ ├── resources_row.php │ ├── ressources.php │ ├── ressources.php.old │ ├── settings.php │ ├── shipyard.php │ ├── shipyard_row.php │ └── topbar.php └── views │ ├── admin │ ├── dashboard.php │ └── users.php │ ├── building.php │ ├── changelog.php │ ├── defense.php │ ├── fleet.php │ ├── galaxy.php │ ├── login.php │ ├── overview.php │ ├── register.php │ ├── research.php │ ├── resources.php │ ├── settings.php │ ├── shipyard.php │ └── view.php ├── css ├── admin.css ├── bootstrap.css ├── bootstrap.min.css ├── login.css └── register.css ├── game.php ├── images ├── bg.jpg ├── favicon.png └── logo.png ├── index.php ├── install └── ugamela.sql ├── login.php ├── logout.php ├── phpunit.xml ├── register.php ├── robots.txt ├── scripts ├── countdown.js ├── fleet.js ├── functions.js └── shipyard.js ├── skins └── Maya │ ├── formate.css │ ├── gebaeude │ ├── 1.png │ ├── 10.png │ ├── 101.png │ ├── 102.png │ ├── 103.png │ ├── 104.png │ ├── 105.png │ ├── 106.png │ ├── 107.png │ ├── 108.png │ ├── 109.png │ ├── 11.png │ ├── 110.png │ ├── 111.png │ ├── 112.png │ ├── 113.png │ ├── 114.png │ ├── 115.png │ ├── 117.png │ ├── 118.png │ ├── 12.png │ ├── 120.png │ ├── 121.png │ ├── 122.png │ ├── 123.png │ ├── 13.png │ ├── 14.png │ ├── 15.png │ ├── 199.png │ ├── 2.png │ ├── 201.png │ ├── 202.png │ ├── 203.png │ ├── 204.png │ ├── 205.png │ ├── 206.png │ ├── 207.png │ ├── 208.png │ ├── 209.png │ ├── 21.png │ ├── 210.png │ ├── 211.png │ ├── 212.png │ ├── 213.png │ ├── 214.png │ ├── 22.png │ ├── 23.png │ ├── 24.png │ ├── 3.png │ ├── 31.png │ ├── 33.png │ ├── 34.png │ ├── 4.png │ ├── 401.png │ ├── 402.png │ ├── 403.png │ ├── 404.png │ ├── 405.png │ ├── 406.png │ ├── 407.png │ ├── 408.png │ ├── 41.png │ ├── 42.png │ ├── 43.png │ ├── 44.png │ ├── 5.png │ ├── 501.png │ ├── 502.png │ ├── 503.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ └── 9.png │ ├── gfx │ ├── info-help.png │ ├── ogame-produktion.png │ └── user-menu.png │ ├── images │ ├── b.png │ ├── crystal.png │ ├── debris.png │ ├── deuterium.png │ ├── e.png │ ├── energy.png │ ├── m.png │ ├── metal.png │ └── r.png │ ├── img │ └── bg.png │ ├── pic │ ├── abort.gif │ ├── appwiz.gif │ └── key.gif │ ├── planeten │ ├── dschjungelplanet01.png │ ├── dschjungelplanet02.png │ ├── dschjungelplanet03.png │ ├── dschjungelplanet04.png │ ├── dschjungelplanet05.png │ ├── dschjungelplanet06.png │ ├── dschjungelplanet07.png │ ├── dschjungelplanet08.png │ ├── dschjungelplanet09.png │ ├── dschjungelplanet10.png │ ├── eisplanet01.png │ ├── eisplanet02.png │ ├── eisplanet03.png │ ├── eisplanet04.png │ ├── eisplanet05.png │ ├── eisplanet06.png │ ├── eisplanet07.png │ ├── eisplanet08.png │ ├── eisplanet09.png │ ├── eisplanet10.png │ ├── eisplanet11.png │ ├── gasplanet01.png │ ├── gasplanet02.png │ ├── gasplanet03.png │ ├── gasplanet04.png │ ├── gasplanet05.png │ ├── gasplanet06.png │ ├── gasplanet07.png │ ├── mond.png │ ├── normaltempplanet01.png │ ├── normaltempplanet02.png │ ├── normaltempplanet03.png │ ├── normaltempplanet04.png │ ├── normaltempplanet05.png │ ├── normaltempplanet06.png │ ├── normaltempplanet07.png │ ├── small │ │ ├── s_dschjungelplanet01.png │ │ ├── s_dschjungelplanet02.png │ │ ├── s_dschjungelplanet03.png │ │ ├── s_dschjungelplanet04.png │ │ ├── s_dschjungelplanet05.png │ │ ├── s_dschjungelplanet06.png │ │ ├── s_dschjungelplanet07.png │ │ ├── s_dschjungelplanet08.png │ │ ├── s_dschjungelplanet09.png │ │ ├── s_dschjungelplanet10.png │ │ ├── s_eisplanet01.png │ │ ├── s_eisplanet02.png │ │ ├── s_eisplanet03.png │ │ ├── s_eisplanet04.png │ │ ├── s_eisplanet05.png │ │ ├── s_eisplanet06.png │ │ ├── s_eisplanet07.png │ │ ├── s_eisplanet08.png │ │ ├── s_eisplanet09.png │ │ ├── s_eisplanet10.png │ │ ├── s_eisplanet11.png │ │ ├── s_gasplanet01.png │ │ ├── s_gasplanet02.png │ │ ├── s_gasplanet03.png │ │ ├── s_gasplanet04.png │ │ ├── s_gasplanet05.png │ │ ├── s_gasplanet06.png │ │ ├── s_gasplanet07.png │ │ ├── s_gasplanet08.png │ │ ├── s_mond.png │ │ ├── s_normaltempplanet01.png │ │ ├── s_normaltempplanet02.png │ │ ├── s_normaltempplanet03.png │ │ ├── s_normaltempplanet04.png │ │ ├── s_normaltempplanet05.png │ │ ├── s_normaltempplanet06.png │ │ ├── s_normaltempplanet07.png │ │ ├── s_trockenplanet01.png │ │ ├── s_trockenplanet02.png │ │ ├── s_trockenplanet03.png │ │ ├── s_trockenplanet04.png │ │ ├── s_trockenplanet05.png │ │ ├── s_trockenplanet06.png │ │ ├── s_trockenplanet07.png │ │ ├── s_trockenplanet08.png │ │ ├── s_trockenplanet09.png │ │ ├── s_trockenplanet10.png │ │ ├── s_wasserplanet01.png │ │ ├── s_wasserplanet02.png │ │ ├── s_wasserplanet03.png │ │ ├── s_wasserplanet04.png │ │ ├── s_wasserplanet05.png │ │ ├── s_wasserplanet06.png │ │ ├── s_wasserplanet07.png │ │ ├── s_wasserplanet08.png │ │ ├── s_wasserplanet09.png │ │ ├── s_wuestenplanet01.png │ │ ├── s_wuestenplanet02.png │ │ ├── s_wuestenplanet03.png │ │ └── s_wuestenplanet04.png │ ├── trockenplanet01.png │ ├── trockenplanet02.png │ ├── trockenplanet03.png │ ├── trockenplanet04.png │ ├── trockenplanet05.png │ ├── trockenplanet06.png │ ├── trockenplanet07.png │ ├── trockenplanet08.png │ ├── trockenplanet09.png │ ├── trockenplanet10.png │ ├── wasserplanet01.png │ ├── wasserplanet02.png │ ├── wasserplanet03.png │ ├── wasserplanet04.png │ ├── wasserplanet05.png │ ├── wasserplanet06.png │ ├── wasserplanet07.png │ ├── wasserplanet08.png │ ├── wasserplanet09.png │ ├── wuestenplanet01.png │ ├── wuestenplanet02.png │ ├── wuestenplanet03.png │ └── wuestenplanet04.png │ └── style.css └── tests ├── bootstrap.php ├── config.php ├── core └── classes │ ├── DebugTest.php │ ├── data │ ├── DataBuildingTest.php │ ├── DataDefenseTest.php │ ├── DataFleetTest.php │ ├── DataGalaxyTest.php │ ├── DataPlanetTest.php │ ├── DataTechTest.php │ ├── DataUnitsTest.php │ └── DataUserTest.php │ └── units │ ├── UnitBuildingTest.php │ ├── UnitDefenseTest.php │ ├── UnitFleetTest.php │ ├── UnitPlanetTest.php │ ├── UnitResearchTest.php │ └── UnitUnitTest.php └── database.sql /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | build/ 3 | vendor/ 4 | 5 | core/config.php 6 | test*.php 7 | *todo.* 8 | 9 | robots.txt 10 | 11 | *.phar 12 | 13 | .DS_Store 14 | 15 | composer.lock 16 | composer.phar 17 | 18 | vendor/* 19 | 20 | createDocumentation.sh 21 | createUsers.py 22 | docs/ 23 | 24 | test.php 25 | scp 26 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | php: 3 | - '7.1' 4 | - '7.2' 5 | 6 | addons: 7 | mariadb: '10.0' 8 | 9 | before_install: 10 | - mysql -e 'CREATE DATABASE IF NOT EXISTS ugamela_testing;' 11 | - mysql -u root --default-character-set=utf8 ugamela_testing < ./tests/database.sql 12 | 13 | script: 14 | # - composer self-update 15 | - composer install 16 | - ./vendor/bin/phpunit --coverage-clover ./build/coverage/xml 17 | 18 | after_script: 19 | - php vendor/bin/codacycoverage clover ./build/coverage/xml 20 | 21 | notifications: 22 | email: false -------------------------------------------------------------------------------- /codestyle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 58 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require-dev": { 3 | "phpunit/phpunit": "^7", 4 | "phpunit/dbunit": "^4", 5 | "phpdocumentor/phpdocumentor": "2.*", 6 | "codacy/coverage": "dev-master" 7 | }, 8 | "autoload": { 9 | "psr-0": { 10 | "ugamela": "./" 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /core/autoload.php: -------------------------------------------------------------------------------- 1 | debris_metal = $gdebris_metal; 25 | $this->debris_crystal = $gdebris_crystal; 26 | } 27 | 28 | /** 29 | * Prints the object to the page 30 | * @codeCoverageIgnore 31 | */ 32 | public function print() : void { 33 | echo '
';
34 |             print_r($this);
35 |             echo '
'; 36 | } 37 | 38 | /** 39 | * Returns the amount of metal in the debris 40 | * @return int the current amont 41 | */ 42 | public function getDebrisMetal() : int { 43 | 44 | return $this->debris_metal; 45 | } 46 | 47 | /** 48 | * Sets the amount of metal in the debris 49 | * @param int metal in the debris 50 | */ 51 | public function setDebrisMetal(int $debris_metal) : void { 52 | 53 | if ($debris_metal >= 0) { 54 | $this->debris_metal = $debris_metal; 55 | } 56 | } 57 | 58 | /** 59 | * Returns the amount of crystal in the debris 60 | * @return int crystal in the debris 61 | */ 62 | public function getDebrisCrystal() : int { 63 | 64 | return $this->debris_crystal; 65 | } 66 | 67 | /** 68 | * * Sets the amount of crystal in the debris 69 | * @param int crystal in the debris 70 | */ 71 | public function setDebrisCrystal(int $debris_crystal) : void { 72 | 73 | if ($debris_crystal >= 0) { 74 | $this->debris_crystal = $debris_crystal; 75 | } 76 | } 77 | 78 | } 79 | -------------------------------------------------------------------------------- /core/classes/database.php: -------------------------------------------------------------------------------- 1 | dbConnection != null) { 19 | return $this->dbConnection; 20 | } 21 | 22 | $this->dbConnection = new PDO('mysql:host=' . Config::$dbConfig['host'] . ';dbname=' . Config::$dbConfig['dbname'] . ';port=' . Config::$dbConfig['port'], 23 | Config::$dbConfig['user'], Config::$dbConfig['pass']); 24 | 25 | $this->dbConnection->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ); 26 | $this->dbConnection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 27 | 28 | return $this->dbConnection; 29 | } 30 | 31 | /** 32 | * Prepares the given query 33 | * @param $query the query 34 | * @return PDOStatement a prepared PDO-query 35 | */ 36 | function prepare($query) : PDOStatement { 37 | return $this->dbConnection->prepare($query); 38 | } 39 | 40 | /** 41 | * prints the debug-log 42 | * @codeCoverageIgnore 43 | */ 44 | function printLog() { 45 | if (get_class($this->dbConnection) === "LoggedPDO") { 46 | $this->dbConnection->printLog(); 47 | } 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /core/classes/debug.php: -------------------------------------------------------------------------------- 1 | count = 0; 15 | $this->log = '
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | '; 29 | 30 | } 31 | 32 | function getCount() : int { 33 | return $this->count; 34 | } 35 | 36 | /** 37 | * adds a row to the debug-log 38 | * @param $class 39 | * @param $method 40 | * @param $line 41 | * @param $exception 42 | * @param $descr 43 | */ 44 | function addLog($class, $method, $line, $exception, $descr) { 45 | 46 | $this->count++; 47 | $this->log .= ''; 48 | } 49 | 50 | /** 51 | * stores the error in the database 52 | * @param $class 53 | * @param $method 54 | * @param $line 55 | * @param $exception 56 | * @param $descr 57 | */ 58 | function saveError($class, $method, $line, $exception, $descr) { 59 | 60 | $dbConnection = new Database(); 61 | 62 | $stmt = $dbConnection->prepare('INSERT INTO errors (id, class, method, line, exception, description, time) VALUES (NULL, :class, :method, :line, :exception, :description, \'' . date('Y-m-d H:i:s') . '\')'); 63 | 64 | $stmt->bindParam(':class', $class); 65 | $stmt->bindParam(':method', $method); 66 | $stmt->bindParam(':line', $line); 67 | $stmt->bindParam(':exception', $exception); 68 | $stmt->bindParam(':description', $descr); 69 | 70 | $stmt->execute(); 71 | 72 | } 73 | 74 | /** 75 | * prints the debug-log on the current page 76 | * @codeCoverageIgnore 77 | */ 78 | function printDebugLog() { 79 | 80 | $this->log .= ' 81 |
Error-Log
#ClassMethodLineExceptionDescriptionTime
' . $this->count . '' . $class . '' . $method . '' . $line . '' . $exception . '' . $descr . '' . time() . '
82 |
83 |
'; 84 | echo "
" . $this->log; 85 | } 86 | 87 | } 88 | -------------------------------------------------------------------------------- /core/classes/topbar.php: -------------------------------------------------------------------------------- 1 | lang['planet_galaxy'] = Loader::getPlanet()->getGalaxy(); 5 | $this->lang['planet_system'] = Loader::getPlanet()->getSystem(); 6 | $this->lang['planet_planet'] = Loader::getPlanet()->getPlanet(); 7 | $this->lang['planet_name'] = Loader::getPlanet()->getName(); 8 | $this->lang['planet_diameter'] = number_format(Loader::getPlanet()->getDiameter(), 0); 9 | $this->lang['planet_fields_current'] = Loader::getPlanet()->getFieldsCurrent(); 10 | $this->lang['planet_fields_max'] = Loader::getPlanet()->getFieldsMax(); 11 | $this->lang['planet_temp_min'] = Loader::getPlanet()->getTempMin(); 12 | $this->lang['planet_temp_max'] = Loader::getPlanet()->getTempMax(); 13 | $this->lang['planet_metal'] = Loader::getPlanet()->getMetal(); 14 | $this->lang['planet_crystal'] = Loader::getPlanet()->getCrystal(); 15 | $this->lang['planet_deuterium'] = Loader::getPlanet()->getDeuterium(); 16 | 17 | $this->lang['planet_metal_max'] = D_Units::getStorageCapacity(Loader::getBuildingData()->getMetalStorage()); 18 | $this->lang['planet_crystal_max'] = D_Units::getStorageCapacity(Loader::getBuildingData()->getCrystalStorage()); 19 | $this->lang['planet_deuterium_max'] = D_Units::getStorageCapacity(Loader::getBuildingData()->getDeuteriumStorage()); 20 | 21 | $this->lang['planet_energy_used'] = number_format(Loader::getPlanet()->getEnergyUsed(), 0); 22 | $this->lang['planet_energy_max'] = number_format(Loader::getPlanet()->getEnergyMax(), 0); 23 | // $this->lang['planet_image_small'] = ; 24 | 25 | $planetList = Loader::getUser()->getPlanetList(); 26 | 27 | for ($i = 0; $i < sizeof($planetList); $i++) { 28 | $current = ""; 29 | 30 | if ($planetList[$i]->getPlanetID() == Loader::getUser()->getCurrentPlanet()) { 31 | $current = " selected"; 32 | } 33 | $this->lang['planet_dropdown'] .= "getPlanetID() . "\">" . $planetList[$i]->getName() . " [" . $planetList[$i]->getGalaxy() . ":" . $planetList[$i]->getSystem() . ":" . $planetList[$i]->getPlanet() . "]"; 34 | } 35 | -------------------------------------------------------------------------------- /core/classes/units/defense.php: -------------------------------------------------------------------------------- 1 | amount = $uAmount; 31 | } 32 | 33 | public function getCostMetal() : float { 34 | // TODO: Implement getCostMetal() method. 35 | return 0.0; 36 | } 37 | 38 | public function getCostCrystal() : float { 39 | // TODO: Implement getCostCrystal() method. 40 | return 0.0; 41 | } 42 | 43 | public function getCostDeuterium() : float { 44 | // TODO: Implement getCostDeuterium() method. 45 | return 0.0; 46 | } 47 | 48 | public function getCostEnergy() : float { 49 | // TODO: Implement getCostEnergy() method. 50 | return 0.0; 51 | } 52 | 53 | public function getAmount() : int { 54 | return $this->amount; 55 | } 56 | } -------------------------------------------------------------------------------- /core/classes/units/fleet.php: -------------------------------------------------------------------------------- 1 | amount = $uAmount; 27 | } 28 | 29 | /** 30 | * @return float the metal-costs for the given level 31 | */ 32 | public function getCostMetal() : float { 33 | return floor(parent::getCostMetal()); 34 | } 35 | 36 | /** 37 | * @return float the crystal-costs for the given level 38 | */ 39 | public function getCostCrystal() : float { 40 | return floor(parent::getCostCrystal()); 41 | } 42 | 43 | /** 44 | * @return float the deuterium-costs for the given level 45 | */ 46 | public function getCostDeuterium() : float { 47 | return floor(parent::getCostDeuterium()); 48 | } 49 | 50 | public function getAmount() : int { 51 | return $this->amount; 52 | } 53 | 54 | public function setAmount($amt) { 55 | $this->amount = $amt; 56 | } 57 | } -------------------------------------------------------------------------------- /core/classes/units/tech.php: -------------------------------------------------------------------------------- 1 | level = $uLevel; 28 | $this->costFactor = $uCostFactor; 29 | } 30 | 31 | /** 32 | * Returns the metal-costs for the next level 33 | * @return float the metal-costs for the next level 34 | */ 35 | public function getCostMetal() : float { 36 | return floor(parent::getCostMetal() * (parent::getFactor() ** $this->level)); 37 | } 38 | 39 | /** 40 | * Returns the metal-costs for the next level 41 | * @return float the metal-costs for the next level 42 | */ 43 | public function getCostCrystal() : float { 44 | return floor(parent::getCostCrystal() * pow(parent::getFactor(), $this->level)); 45 | } 46 | 47 | /** 48 | * Returns the deuterium-costs for the next level 49 | * @return float the deuterium-costs for the next level 50 | */ 51 | public function getCostDeuterium() : float { 52 | return floor(parent::getCostDeuterium() * pow(parent::getFactor(), $this->level)); 53 | } 54 | 55 | public function getCostEnergy() : float { 56 | // TODO: Implement getCostEnergy() method. 57 | return 0.0; 58 | } 59 | 60 | /** 61 | * @return int 62 | */ 63 | public function getLevel() : int { 64 | return $this->level; 65 | } 66 | } -------------------------------------------------------------------------------- /core/classes/units/unit.php: -------------------------------------------------------------------------------- 1 | unitID = $uUnitID; 39 | $this->costMetal = $uCostMetal; 40 | $this->costCrystal = $uCostCrystal; 41 | $this->costDeuterium = $uCostDeuterium; 42 | $this->costEnergy = $uCostEnergy; 43 | $this->costFactor = $uCostFactor; 44 | } 45 | 46 | /** 47 | * @return int the unit-id 48 | */ 49 | public function getUnitId() : int { 50 | return $this->unitID; 51 | } 52 | 53 | /** 54 | * @return float the cost for one unit / first level 55 | */ 56 | public function getCostMetal() : float { 57 | return $this->costMetal; 58 | } 59 | 60 | /** 61 | * @return float the cost for one unit / first level 62 | */ 63 | public function getCostCrystal() : float { 64 | return $this->costCrystal; 65 | } 66 | 67 | /** 68 | * @return float the cost for one unit / first level 69 | */ 70 | public function getCostDeuterium() : float { 71 | return $this->costDeuterium; 72 | } 73 | 74 | /** 75 | * @return float the cost for one unit / first level 76 | */ 77 | public function getCostEnergy() : float { 78 | return $this->costEnergy; 79 | } 80 | 81 | /** 82 | * @return float the cost-factor 83 | */ 84 | public function getFactor() : float { 85 | return $this->costFactor; 86 | } 87 | 88 | } -------------------------------------------------------------------------------- /core/config.sample.php: -------------------------------------------------------------------------------- 1 | 'ugamela', 36 | 'ugamela_version' => "0.1.0", 37 | 'copyright' => 'Copyright by ugamela © 2017', 38 | 'language' => 'en', 39 | 'max_galaxy' => 9, 40 | 'max_system' => 100, 41 | 'max_planet' => 15, 42 | 'base_income_metal' => 500, 43 | 'base_income_crystal' => 250, 44 | 'base_income_deuterium' => 0, 45 | 'base_income_energy' => 0, 46 | 'skinpath' => 'skins/Maya/' 47 | ]; 48 | 49 | self::$dbConfig = [ 50 | 'host' => '172.25.0.100', 51 | 'port' => '3306', 52 | 'dbname' => 'ugamela', 53 | 'user' => 'root', 54 | 'pass' => 'root' 55 | ]; 56 | 57 | self::$pathConfig = [ 58 | 'core' => self::$basepath . 'core/', 59 | 'interfaces' => self::$basepath . 'core/interfaces/', 60 | 'controllers' => self::$basepath . 'core/controllers/', 61 | 'models' => self::$basepath . 'core/models/', 62 | 'views' => self::$basepath . 'core/views/', 63 | 'classes' => self::$basepath . 'core/classes/', 64 | 'data' => self::$basepath . 'core/classes/data/', 65 | 'units' => self::$basepath . 'core/classes/units/', 66 | 'language' => self::$basepath . 'core/language/', 67 | 'templates' => self::$basepath . 'core/templates/' 68 | ]; 69 | 70 | 71 | } 72 | } -------------------------------------------------------------------------------- /core/controllers/admin/dashboard.php: -------------------------------------------------------------------------------- 1 | get = $get; 16 | $this->post = $post; 17 | 18 | if (!empty($get)) { 19 | self::handleGET(); 20 | } 21 | 22 | if (!empty($post)) { 23 | self::handlePOST(); 24 | } 25 | 26 | } 27 | 28 | function handleGET() { 29 | 30 | } 31 | 32 | function handlePOST() { 33 | 34 | } 35 | 36 | function display() { 37 | 38 | 39 | $view = new V_Dashboard(); 40 | 41 | $view->assign('lang', M_Dashboard::loadLanguage()); 42 | $view->assign('title', Config::$gameConfig['game_name']); 43 | $view->assign('skinpath', $this->skin); 44 | $view->assign('copyright', Config::$gameConfig['copyright']); 45 | $view->assign('language', Config::$pathConfig['language']); 46 | 47 | echo $view->loadTemplate(); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /core/controllers/admin/users.php: -------------------------------------------------------------------------------- 1 | get = $get; 18 | $this->post = $post; 19 | 20 | if (!empty($get)) { 21 | self::handleGET(); 22 | } 23 | 24 | if (!empty($post)) { 25 | self::handlePOST(); 26 | } 27 | 28 | $users = M_Users::loadUsers(); 29 | 30 | $this->lang['userlist'] = ''; 31 | 32 | 33 | foreach ($users as $key => $value) { 34 | $this->lang['userlist'] .= '' . $value->user_userID . '' . $value->user_username . '' . $value->user_onlinetime . '' . $value->user_currentplanet . ''; 35 | } 36 | 37 | } 38 | 39 | function handleGET() { 40 | 41 | } 42 | 43 | function handlePOST() { 44 | 45 | } 46 | 47 | function display() { 48 | 49 | 50 | $view = new V_Users(); 51 | 52 | $this->lang = array_merge($this->lang, M_Users::loadLanguage()); 53 | 54 | $view->assign('lang', $this->lang); 55 | $view->assign('title', Config::$gameConfig['game_name']); 56 | $view->assign('skinpath', $this->skin); 57 | $view->assign('copyright', Config::$gameConfig['copyright']); 58 | $view->assign('language', Config::$pathConfig['language']); 59 | 60 | echo $view->loadTemplate(); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /core/controllers/changelog.php: -------------------------------------------------------------------------------- 1 | get = $get; 26 | $this->post = $post; 27 | 28 | if (!empty($this->get)) { 29 | self::handleGET(); 30 | } 31 | 32 | if (!empty($post)) { 33 | self::handlePOST(); 34 | } 35 | 36 | require_once(Config::$pathConfig['classes'] . "topbar.php"); 37 | 38 | } catch (Exception $e) { 39 | if (DEBUG) { 40 | $debug->addLog(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 41 | } else { 42 | $debug->saveError(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 43 | } 44 | } 45 | } 46 | 47 | /** 48 | * handles get-requests 49 | */ 50 | function handleGET() : void { 51 | 52 | 53 | if (!empty($this->get['cp'])) { 54 | Loader::getUser()->setCurrentPlanet(intval($this->get['cp'])); 55 | } 56 | } 57 | 58 | /** 59 | * handles post-requests 60 | */ 61 | function handlePOST() : void { 62 | 63 | } 64 | 65 | /** 66 | * display the page 67 | * @throws FileNotFoundException 68 | */ 69 | function display() : void { 70 | 71 | // load view 72 | $view = new V_Changelog(); 73 | 74 | $this->lang = M_Changelog::loadLanguage(); 75 | 76 | $this->lang['changelog_list'] = $view->loadChangelogRows(); 77 | 78 | 79 | $view->assign('lang', $this->lang); 80 | 81 | 82 | if (!empty($this->get['mode'])) { 83 | echo $view->loadTemplate($this->get['mode']); 84 | } else { 85 | echo $view->loadTemplate(); 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /core/controllers/defense.php: -------------------------------------------------------------------------------- 1 | model = new M_Defense(); 31 | $this->view = new V_Defense(); 32 | 33 | $this->get = $get; 34 | $this->post = $post; 35 | 36 | if (!empty($this->get)) { 37 | self::handleGET(); 38 | } 39 | 40 | if (!empty($post)) { 41 | self::handlePOST(); 42 | } 43 | 44 | require_once(Config::$pathConfig['classes'] . "topbar.php"); 45 | 46 | } catch (Exception $e) { 47 | if (DEBUG) { 48 | $debug->addLog(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 49 | } else { 50 | $debug->saveError(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 51 | } 52 | } 53 | } 54 | 55 | /** 56 | * handles get-requests 57 | */ 58 | function handleGET() : void { 59 | 60 | } 61 | 62 | /** 63 | * handles post-requests 64 | */ 65 | function handlePOST() : void { 66 | 67 | } 68 | 69 | /** 70 | * display the page 71 | * @throws FileNotFoundException 72 | */ 73 | function display() : void { 74 | 75 | $v_lang = $this->model->loadLanguage(); 76 | 77 | // load the individual rows for each building 78 | 79 | $this->lang['building_list'] = $this->view->loadBuildingRows(Loader::getDefenseList(), 80 | D_Units::getDefense(), Loader::getPlanet()); 81 | 82 | if (is_array($this->lang) && is_array($v_lang)) { 83 | $this->lang = array_merge($this->lang, $v_lang); 84 | } else { 85 | if (!isset($this->lang) && empty($this->lang) && isset($v_lang) && !empty($v_lang)) { 86 | $this->lang = $v_lang; 87 | } 88 | } 89 | 90 | 91 | $this->view->assign('lang', $this->lang); 92 | 93 | 94 | echo $this->view->loadTemplate(); 95 | 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /core/controllers/login.php: -------------------------------------------------------------------------------- 1 | get = $get; 22 | $this->post = $post; 23 | 24 | $this->view = new V_Login(); 25 | $this->model = new M_Login(); 26 | 27 | 28 | if (!empty($get)) { 29 | $this->handleGET(); 30 | } 31 | 32 | if (!empty($post)) { 33 | $this->handlePOST(); 34 | } 35 | 36 | } 37 | 38 | function handleGET() : void { 39 | 40 | } 41 | 42 | function handlePOST() : void { 43 | 44 | if ($_POST) { 45 | $user = $this->model->getUserInfo($_POST['username']); 46 | if ($user) { 47 | if (password_verify($_POST['password'], $user->password)) { 48 | if (session_status() == PHP_SESSION_NONE) { 49 | session_start(); 50 | } 51 | $_SESSION['userID'] = $user->userID; 52 | 53 | header('Location: game.php'); 54 | } else { 55 | echo 'wrong password'; 56 | } 57 | } else { 58 | echo 'user not found'; 59 | } 60 | } 61 | } 62 | 63 | function display() : void { 64 | 65 | 66 | $this->view->assign('lang', $this->model->loadLanguage()); 67 | $this->view->assign('title', Config::$gameConfig['game_name']); 68 | $this->view->assign('skinpath', $this->skin); 69 | $this->view->assign('copyright', Config::$gameConfig['copyright']); 70 | $this->view->assign('language', Config::$pathConfig['language']); 71 | 72 | echo $this->view->loadTemplate(); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /core/controllers/register.php: -------------------------------------------------------------------------------- 1 | get = $get; 27 | $this->post = $post; 28 | 29 | $this->view = new V_Register(); 30 | $this->model = new M_Register(); 31 | 32 | if (!empty($get)) { 33 | self::handleGET(); 34 | } 35 | 36 | if (!empty($post)) { 37 | self::handlePOST(); 38 | } 39 | 40 | } 41 | 42 | /** 43 | * handles get-requests 44 | */ 45 | function handleGET() : void { 46 | 47 | } 48 | 49 | /** 50 | * handles post-requests 51 | */ 52 | function handlePOST() : void { 53 | 54 | $validPost = true; 55 | 56 | $username = filter_var($_POST['username'], FILTER_SANITIZE_STRING); 57 | 58 | if (strlen($username) == 0) { 59 | echo 'please enter a username.'; 60 | $validPost = false; 61 | } 62 | 63 | // if (empty($_POST['planetname'])) { 64 | // echo 'please enter a name for your planet. '; 65 | // $validPost = false; 66 | // } 67 | 68 | if (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { 69 | echo 'please enter a email-address. '; 70 | $validPost = false; 71 | } 72 | 73 | $email = $_POST['email']; 74 | 75 | 76 | $password = filter_var($_POST['password'], FILTER_SANITIZE_STRING); 77 | 78 | if (strlen($password) == 0) { 79 | echo 'please enter a password. '; 80 | $validPost = false; 81 | 82 | } 83 | 84 | // if (empty($_POST['agb'])) { 85 | // echo 'you have to accept the T&C.'; 86 | // $validPost = false; 87 | // } 88 | 89 | if ($validPost) { 90 | $return = $this->model->createNewUser($username, $_POST['planetname'], $email, $password); 91 | 92 | if ($return == 0) { 93 | // TODO: display success-message 94 | $this->view->assign('success', true); 95 | } 96 | } 97 | } 98 | 99 | /** 100 | * display the page 101 | */ 102 | function display() : void { 103 | 104 | 105 | $this->view->assign('lang', $this->model->loadLanguage()); 106 | $this->view->assign('title', Config::$gameConfig['game_name']); 107 | $this->view->assign('stylesheet', $this->skin); 108 | $this->view->assign('copyright', Config::$gameConfig['copyright']); 109 | $this->view->assign('language', Config::$pathConfig['language']); 110 | 111 | echo $this->view->loadTemplate(); 112 | } 113 | } -------------------------------------------------------------------------------- /core/controllers/settings.php: -------------------------------------------------------------------------------- 1 | get = $get; 23 | $this->post = $post; 24 | 25 | $this->model = new M_Settings(); 26 | 27 | if (!empty($this->get)) { 28 | self::handleGET(); 29 | } 30 | 31 | if (!empty($post)) { 32 | self::handlePOST(); 33 | } 34 | 35 | require_once(Config::$pathConfig['classes'] . "topbar.php"); 36 | 37 | } catch (Exception $e) { 38 | if (DEBUG) { 39 | $debug->addLog(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 40 | } else { 41 | $debug->saveError(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 42 | } 43 | } 44 | } 45 | 46 | function handleGET() : void { 47 | 48 | if (!empty($this->get['cp'])) { 49 | Loader::getUser()->setCurrentPlanet(intval($this->get['cp'])); 50 | } 51 | } 52 | 53 | function handlePOST() : void { 54 | 55 | } 56 | 57 | function display() : void { 58 | 59 | 60 | // load view 61 | $view = new V_Settings(); 62 | 63 | $v_lang = $this->model->loadLanguage(); 64 | 65 | if (is_array($this->lang) && is_array($v_lang)) { 66 | $this->lang = array_merge($this->lang, $v_lang); 67 | } else { 68 | if (!isset($this->lang) && empty($this->lang) && isset($v_lang) && !empty($v_lang)) { 69 | $this->lang = $v_lang; 70 | } 71 | } 72 | 73 | 74 | $view->assign('lang', $this->lang); 75 | 76 | 77 | if (!empty($this->get['mode'])) { 78 | echo $view->loadTemplate($this->get['mode']); 79 | } else { 80 | echo $view->loadTemplate(); 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /core/interfaces/controller.php: -------------------------------------------------------------------------------- 1 | login...'; 12 | $lang['Please_Wait'] = 'Please wait'; 13 | $lang['Remember_me'] = 'Remember me'; 14 | $lang['Register'] = 'Register'; 15 | $lang['Board'] = 'Board'; 16 | -------------------------------------------------------------------------------- /core/language/en/menu.php: -------------------------------------------------------------------------------- 1 | setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ); 20 | $dbConnection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 21 | 22 | $query = 'SELECT 23 | userID AS user_userID, 24 | username AS user_username, 25 | onlinetime AS user_onlinetime, 26 | currentplanet AS user_currentplanet 27 | FROM users 28 | ORDER BY user_userID;'; 29 | 30 | $stmt = $dbConnection->prepare($query); 31 | 32 | $stmt->execute(); 33 | 34 | return $stmt->fetchAll(); 35 | 36 | 37 | } 38 | 39 | /** 40 | * loads the required language files 41 | * @return array the loaded language-array 42 | * @throws FileNotFoundException 43 | */ 44 | public function loadLanguage() { 45 | 46 | global $lang; 47 | 48 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/admin/dashboard.php'; 49 | if (file_exists($file)) { 50 | require $file; 51 | } else { 52 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 53 | } 54 | 55 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/menu.php'; 56 | if (file_exists($file)) { 57 | require $file; 58 | } else { 59 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 60 | } 61 | 62 | return $lang; 63 | } 64 | 65 | } 66 | -------------------------------------------------------------------------------- /core/models/changelog.php: -------------------------------------------------------------------------------- 1 | $galaxy, 16 | ':system' => $system 17 | ); 18 | 19 | $stmt = $dbConnection->prepare('SELECT p.planetID, p.name, p.image, p.planet, u.userID, u.username, u.onlinetime, 20 | g.debris_metal, g.debris_crystal, m.planetID AS moonID FROM planets AS p 21 | LEFT JOIN users AS u ON u.userID = p.ownerID 22 | LEFT JOIN galaxy AS g ON g.planetID = p.planetID 23 | LEFT JOIN planets AS m ON m.galaxy = p.galaxy AND m.system = p.system AND m.planet = p.planet AND m.planet_type = 1 24 | WHERE p.galaxy = :galaxy AND p.system = :system AND p.planet_type = 0 ORDER BY p.planet ASC'); 25 | 26 | 27 | $stmt->execute($params); 28 | 29 | $rows = []; 30 | 31 | while (($data = $stmt->fetch()) != null) { 32 | $rows[$data->planet] = $data; 33 | } 34 | 35 | return $rows; 36 | 37 | } catch (PDOException $e) { 38 | if (DEBUG) { 39 | $debug->addLog(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 40 | } else { 41 | $debug->saveError(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 42 | } 43 | } 44 | } 45 | 46 | /** 47 | * loads the required language files 48 | * @return array the loaded language-array 49 | * @throws FileNotFoundException 50 | */ 51 | public function loadLanguage() { 52 | 53 | global $lang; 54 | 55 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/galaxy.php'; 56 | if (file_exists($file)) { 57 | require $file; 58 | } else { 59 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 60 | } 61 | 62 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/units.php'; 63 | if (file_exists($file)) { 64 | require $file; 65 | } else { 66 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 67 | } 68 | 69 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/menu.php'; 70 | if (file_exists($file)) { 71 | require $file; 72 | } else { 73 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 74 | } 75 | 76 | return $lang; 77 | } 78 | 79 | } 80 | -------------------------------------------------------------------------------- /core/models/login.php: -------------------------------------------------------------------------------- 1 | $username); 22 | 23 | $stmt = $dbConnection->prepare('SELECT userID, password FROM users WHERE username = :username;'); 24 | 25 | $stmt->execute($params); 26 | 27 | return $stmt->fetch(); 28 | } catch (PDOException $e) { 29 | if (DEBUG) { 30 | $debug->addLog(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 31 | } else { 32 | $debug->saveError(self::class, __FUNCTION__, __LINE__, get_class($e), $e->getMessage()); 33 | } 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /core/models/overview.php: -------------------------------------------------------------------------------- 1 | prepare($query); 50 | 51 | $stmt->execute(); 52 | 53 | return $stmt->fetchColumn(0); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /core/models/resources.php: -------------------------------------------------------------------------------- 1 | $v) { 17 | // illegal values 18 | if ($v > 100 || $v < 0 || $v == null || !is_numeric($v) || $v % 10 != 0) { 19 | throw new InvalidArgumentException('updateProductionLevels only accepts integers'); 20 | } else { 21 | $query_values .= $k . '_percent = \'' . $v . '\', '; 22 | } 23 | } 24 | 25 | // update the planet 26 | $dbConnection = connectToDB(); 27 | 28 | $dbConnection->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ); 29 | $dbConnection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 30 | 31 | $stmt = $dbConnection->prepare('UPDATE planets SET ' . rtrim($query_values, 32 | ', ') . ' WHERE planetID = :planetid'); 33 | 34 | $stmt->bindParam(':planetid', $planetID); 35 | 36 | $stmt->execute(); 37 | } 38 | 39 | /** 40 | * loads the required language files 41 | * @return array the loaded language-array 42 | * @throws FileNotFoundException 43 | */ 44 | public function loadLanguage() { 45 | 46 | global $lang; 47 | 48 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/resources.php'; 49 | if (file_exists($file)) { 50 | require $file; 51 | } else { 52 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 53 | } 54 | 55 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/units.php'; 56 | if (file_exists($file)) { 57 | require $file; 58 | } else { 59 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 60 | } 61 | 62 | $file = Config::$pathConfig['language'] . Config::$gameConfig['language'] . '/menu.php'; 63 | if (file_exists($file)) { 64 | require $file; 65 | } else { 66 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 67 | } 68 | 69 | return $lang; 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /core/models/settings.php: -------------------------------------------------------------------------------- 1 | 2 |

Dashboard

3 |
4 |
5 | asdf 6 |
7 | 8 |
9 | asdf 10 |
11 | 12 |
13 | asdf 14 |
15 |
16 | asdf 17 |
18 | 19 |
20 | asdf 21 |
22 | 23 |
24 | asdf 25 |
26 |
27 | asdf 28 |
29 | 30 |
31 | asdf 32 |
33 | 34 |
35 | asdf 36 |
37 |
38 | asdf 39 |
40 | 41 |
42 | asdf 43 |
44 | 45 |
46 | asdf 47 |
48 |
49 | asdf 50 |
51 | 52 |
53 | asdf 54 |
55 | 56 |
57 | asdf 58 |
59 |
60 | asdf 61 |
62 | 63 |
64 | asdf 65 |
66 | 67 |
68 | asdf 69 |
70 |
71 | -------------------------------------------------------------------------------- /core/templates/admin/menu.php: -------------------------------------------------------------------------------- 1 | 6 | 14 | 15 | 25 | -------------------------------------------------------------------------------- /core/templates/admin/topbar.php: -------------------------------------------------------------------------------- 1 | 2 | .box { 3 | width: 90%; 4 | margin-right: 1em; 5 | } 6 | 7 | table { 8 | width: 100%; 9 | } 10 | 11 | th { 12 | padding-bottom: 0.2em; 13 | font-size: 1.2em; 14 | border-bottom: 1px solid #333; 15 | } 16 | 17 | tr:nth-child(2n) { 18 | background-color: #eee; 19 | } 20 | 21 | td { 22 | padding: 0.5em 0em; 23 | } 24 | 25 | th, td { 26 | text-align: center; 27 | } 28 | 29 | 30 |
31 |

Users

32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | {userlist} 42 |
IDUsernameOnlinetimePlanetid
43 |
44 |
45 | -------------------------------------------------------------------------------- /core/templates/buildings.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 | {page} 8 |
9 |
10 | {building_list} 11 |
12 |
13 |
14 |
15 | -------------------------------------------------------------------------------- /core/templates/buildings_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | {b_name} 5 |
6 |
7 |
8 |
9 | {b_name} ({level} {b_level})
10 | {b_description}
11 | {required_ressources} - {b_time} 12 |
13 |
14 |
15 |
16 | {b_build} 17 |
18 |
19 |
20 | -------------------------------------------------------------------------------- /core/templates/changelog.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 | {page} 8 |
9 |
10 | {changelog_list} 11 |
12 |
13 |
14 |
15 | -------------------------------------------------------------------------------- /core/templates/changelog_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | {b_name} 5 |
6 |
7 |
8 |
9 | {b_name} (Level {b_level})
10 | {b_description}
11 | Benötigt: Metall: {b_metal} Kristall: {b_crystal} Deuterium: {b_deuterium}
12 | Produktionsdauer: {b_time} 13 |
14 |
15 |
16 |
17 | {b_build} 18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /core/templates/defense.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 | {page} 8 |
9 |
10 | {building_list} 11 |
12 |
13 |
14 |
15 | -------------------------------------------------------------------------------- /core/templates/defense_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | {b_name} 5 |
6 |
7 |
8 |
9 | {b_name} ({level} {b_level})
10 | {b_description}
11 | {required_ressources} - {b_time} 12 |
13 |
14 |
15 |
16 | {b_build} 17 |
18 |
19 |
20 | -------------------------------------------------------------------------------- /core/templates/fleet.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | {missions} ({max} 12) 6 |
7 |
8 |
9 |
10 |
{num}
11 |
12 |
13 |
{missions}
14 |
15 |
16 |
{ships}
17 |
18 |
19 |
{start}
20 |
21 |
22 |
{start_time}
23 |
24 |
25 |
{destination_short}
26 |
27 |
28 |
{arrival_time}
29 |
30 |
31 |
{actions}
32 |
33 |
34 | {fleet_current_missions} 35 |
36 |
37 |
38 |
39 | {new_mission} 40 |
41 |
42 |
43 |
44 |
{ship_name}
45 |
46 |
47 |
{ships_available}
48 |
49 |
50 |
 
51 |
52 |
53 |
54 | {fleet_available_list} 55 |
56 |
57 |
58 | 59 |   60 | 61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | -------------------------------------------------------------------------------- /core/templates/fleet_sent.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | {fleet_sent_heading} 6 |
7 | 8 |
9 |
10 |
11 |
{fleet_sent_text}
12 |
13 |
14 |
15 |
16 | 17 |
18 |
19 | 20 | -------------------------------------------------------------------------------- /core/templates/footer.php: -------------------------------------------------------------------------------- 1 | [ DEBUG ]"; 7 | // 8 | // $debug->printDebugLog(); 9 | // 10 | // 11 | // $dbConnection->printLog(); 12 | // 13 | // printf("

Page created in %.6f seconds.

", (microtime(true) - RENDERING_STARTTIME)); 14 | // } 15 | 16 | ?> 17 | 18 |
19 | 20 | 21 | 22 | printDebugLog(); 26 | 27 | printf("

Page created in %.6f seconds.

", (microtime(true) - RENDERING_STARTTIME)); 28 | } 29 | 30 | ?> 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | 43 | 48 | 49 | 59 | 60 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /core/templates/galaxy_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | {galaxy_pos} 5 |
6 |
7 |
8 |
9 | {galaxy_planetimg} 10 |
11 |
12 |
13 |
14 | {galaxy_name} 15 |
16 |
17 |
18 |
19 | {galaxy_moon} 20 |
21 |
22 |
23 |
24 | {galaxy_debris} 25 |
26 |
27 |
28 |
29 | {galaxy_player} 30 |
31 |
32 |
33 |
34 | {galaxy_alliance} 35 |
36 |
37 |
38 |
39 | {galaxy_actions} 40 |
41 |
42 |
-------------------------------------------------------------------------------- /core/templates/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {game_name} :: {page} 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | -------------------------------------------------------------------------------- /core/templates/header_login.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ugamela 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /core/templates/login.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 6 |
7 | PUBLIC 8 | ALPHA 9 |
10 |
11 |
12 |
13 | 14 |
15 |
16 | -------------------------------------------------------------------------------- /core/templates/menu.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 51 |
52 | -------------------------------------------------------------------------------- /core/templates/overview.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 |
7 |
8 |
9 | {planet} "{planet_name}" ({edit}) 10 |
11 |
12 |
13 |
14 |
{server_time}
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | {events} 23 |
24 |
25 |
26 |
27 |
{moon_image}
28 |
29 |
30 |
31 | Planet
32 | {building} 33 |
34 | 35 |
36 |
37 |
38 | {planetlist_row} 39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
{diameter}
47 |
48 |
49 |
{planet_diameter} km ({planet_fields_current} / {planet_fields_max} {fields})
50 |
51 |
52 |
53 |
54 |
{temperature}
55 |
56 |
57 |
{approx} {planet_temp_min}°C {to} {planet_temp_max}°C
58 |
59 |
60 |
61 |
62 |
{position}
63 |
64 | 68 |
69 |
70 |
71 |
{points}
72 |
73 |
74 |
{user_points} ({rank} {user_rank} {of} 75 | {num_users}) 76 |
77 |
78 |
79 |
80 |
81 |
82 |
-------------------------------------------------------------------------------- /core/templates/overview_planetlist_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | Planet 1 5 |
6 |
7 | Planet 8 |
9 |
10 | {free} 11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /core/templates/overview_renameplanet.php: -------------------------------------------------------------------------------- 1 |
2 |

{rename_or_abandon_planet}

3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
{name}{coordinates}
{planet_name}[{planet_galaxy}:{planet_system}:{planet_planet}]
{new_name}:
24 |
25 |
26 | -------------------------------------------------------------------------------- /core/templates/register.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 6 | 7 | _['success']) { 10 | ?> 11 |

12 |

{register_success}

13 |
14 | {go_to_login} 15 | 19 |
20 | OPEN 21 | ALPHA 22 |
23 |
24 | 25 | 26 |
27 |
28 | 29 | 30 |
31 |
32 | Back to login 33 | 37 | 38 |
-------------------------------------------------------------------------------- /core/templates/research.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 | {page} 8 |
9 |
10 | {research_list} 11 |
12 |
13 |
14 |
15 | -------------------------------------------------------------------------------- /core/templates/research_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | {r_name} 5 |
6 |
7 |
8 |
9 | {r_name} (Level {r_level})
10 | {r_description}
11 | {requirements}: {metal}: {r_metal} {crystal}: {r_crystal} {deuterium}: {r_deuterium}
12 | {construction_time}: {r_time} 13 |
14 |
15 |
16 |
17 | {r_build} 18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /core/templates/resources_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{building_name} ({level} {building_level})
4 |
5 |
6 |
{building_production_metal}
7 |
8 |
9 |
{building_production_crystal}
10 |
11 |
12 |
{building_production_deuterium}
13 |
14 |
15 |
{building_production_energy}
16 |
17 |
18 |
21 |
22 |
23 | -------------------------------------------------------------------------------- /core/templates/settings.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 | {page} 8 |
9 |
10 |
11 |
12 |
{username}
13 |
14 |
15 |
16 | 17 |
18 |
19 |
20 |
21 |
22 |
{old_password}
23 |
24 |
25 |
26 | 27 |
28 |
29 |
30 |
31 |
32 |
{new_password}
33 |
34 |
35 |
36 | 37 |
38 |
39 |
40 |
41 |
42 |
{new_password_repeat}
43 |
44 |
45 |
46 | 47 |
48 |
49 |
50 |
51 |
52 |
{email}
53 |
54 |
55 |
56 | 57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 | -------------------------------------------------------------------------------- /core/templates/shipyard_row.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 |
6 |
7 |
8 |
9 | {s_name} ({s_level} {available})
10 | {s_description}
11 | {requirements}: {metal}: {s_metal} {crystal}: {s_crystal} {deuterium}: {s_deuterium}
12 | {construction_time}: {s_time} 13 |
14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /core/views/admin/dashboard.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 20 | } 21 | 22 | /** 23 | * sets the name of the template which will be used 24 | * 25 | * @param String $template Name des Templates. 26 | */ 27 | public function setTemplate($template = 'resources') { 28 | 29 | $this->template = $template; 30 | } 31 | 32 | /** 33 | * this loads the template file 34 | * 35 | * @param string $mode the subtemplate (e.g. resources_row.php) 36 | * @return string the template 37 | * @throws FileNotFoundException 38 | */ 39 | public function loadTemplate($mode = null) { 40 | 41 | 42 | if ($mode != null) { 43 | $this->template .= '_' . $mode; 44 | } 45 | 46 | // write the output into a buffer 47 | ob_start(); 48 | 49 | $file = Config::$pathConfig['templates'] . 'header.php'; 50 | if (file_exists($file)) { 51 | include $file; 52 | } else { 53 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 54 | } 55 | 56 | $file = Config::$pathConfig['templates'] . 'admin/topbar.php'; 57 | if (file_exists($file)) { 58 | include $file; 59 | } else { 60 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 61 | } 62 | 63 | $file = Config::$pathConfig['templates'] . 'admin/menu.php'; 64 | if (file_exists($file)) { 65 | include $file; 66 | } else { 67 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 68 | } 69 | 70 | $file = Config::$pathConfig['templates'] . 'admin/' . $this->template . '.php'; 71 | if (file_exists($file)) { 72 | include $file; 73 | } else { 74 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 75 | } 76 | 77 | $file = Config::$pathConfig['templates'] . 'footer.php'; 78 | if (file_exists($file)) { 79 | include $file; 80 | } else { 81 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 82 | } 83 | 84 | $output = ob_get_contents(); 85 | 86 | ob_end_clean(); 87 | 88 | // parse the language 89 | foreach ($this->_['lang'] as $a => $b) { 90 | $output = str_replace("{{$a}}", $b, $output); 91 | } 92 | 93 | return $output; 94 | } 95 | } 96 | 97 | -------------------------------------------------------------------------------- /core/views/admin/users.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 20 | } 21 | 22 | /** 23 | * sets the name of the template which will be used 24 | * 25 | * @param String $template Name des Templates. 26 | */ 27 | public function setTemplate($template = 'resources') { 28 | 29 | $this->template = $template; 30 | } 31 | 32 | /** 33 | * this loads the template file 34 | * 35 | * @param string $mode the subtemplate (e.g. resources_row.php) 36 | * @return string the template 37 | * @throws FileNotFoundException 38 | */ 39 | public function loadTemplate($mode = null) { 40 | 41 | 42 | if ($mode != null) { 43 | $this->template .= '_' . $mode; 44 | } 45 | 46 | // write the output into a buffer 47 | ob_start(); 48 | 49 | $file = Config::$pathConfig['templates'] . 'header.php'; 50 | if (file_exists($file)) { 51 | include $file; 52 | } else { 53 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 54 | } 55 | 56 | $file = Config::$pathConfig['templates'] . 'admin/topbar.php'; 57 | if (file_exists($file)) { 58 | include $file; 59 | } else { 60 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 61 | } 62 | 63 | $file = Config::$pathConfig['templates'] . 'admin/menu.php'; 64 | if (file_exists($file)) { 65 | include $file; 66 | } else { 67 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 68 | } 69 | 70 | $file = Config::$pathConfig['templates'] . 'admin/' . $this->template . '.php'; 71 | if (file_exists($file)) { 72 | include $file; 73 | } else { 74 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 75 | } 76 | 77 | $file = Config::$pathConfig['templates'] . 'footer.php'; 78 | if (file_exists($file)) { 79 | include $file; 80 | } else { 81 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 82 | } 83 | 84 | $output = ob_get_contents(); 85 | 86 | ob_end_clean(); 87 | 88 | // parse the language 89 | foreach ($this->_['lang'] as $a => $b) { 90 | $output = str_replace("{{$a}}", $b, $output); 91 | } 92 | 93 | return $output; 94 | } 95 | } 96 | 97 | -------------------------------------------------------------------------------- /core/views/changelog.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 22 | } 23 | 24 | /** 25 | * sets the name of the template which will be used 26 | * 27 | * @param String $template Name des Templates. 28 | */ 29 | public function setTemplate($template) { 30 | 31 | $this->template = $template; 32 | } 33 | 34 | /** 35 | * this loads the template file 36 | * 37 | * @param string $mode the subtemplate (e.g. resources_row.php) 38 | * @return string the template 39 | * @throws FileNotFoundException 40 | */ 41 | public function loadTemplate($mode = null) { 42 | 43 | if ($mode != null) { 44 | $this->template .= '_' . $mode; 45 | } 46 | 47 | return parent::mergeTemplates($this->template, $this->_); 48 | } 49 | 50 | function loadChangelogRows() { 51 | 52 | } 53 | } 54 | 55 | -------------------------------------------------------------------------------- /core/views/login.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 25 | } 26 | 27 | /** 28 | * Setzt den Namen des Templates. 29 | * 30 | * @param String $template Name des Templates. 31 | */ 32 | public function setTemplate($template = 'default') { 33 | 34 | $this->template = $template; 35 | } 36 | 37 | /** 38 | * Das Template-File laden und zurückgeben 39 | * 40 | * @param string $tpl Der Name des Template-Files (falls es nicht vorher 41 | * über steTemplate() zugewiesen wurde). 42 | * @return string Der Output des Templates. 43 | */ 44 | public function loadTemplate($mode = null) { 45 | 46 | // Pfad zum Template erstellen & überprüfen ob das Template existiert. 47 | $file = Config::$pathConfig['templates'] . DIRECTORY_SEPARATOR . $this->template . '.php'; 48 | 49 | $exists = file_exists($file); 50 | 51 | if ($exists) { 52 | // Der Output des Scripts wird n einen Buffer gespeichert, d.h. 53 | // nicht gleich ausgegeben. 54 | ob_start(); 55 | 56 | include Config::$pathConfig['templates'] . DIRECTORY_SEPARATOR . 'header_login.php'; 57 | include $file; 58 | include Config::$pathConfig['templates'] . DIRECTORY_SEPARATOR . 'footer.php'; 59 | 60 | $output = ob_get_contents(); 61 | 62 | ob_end_clean(); 63 | 64 | $this->_['lang']['ugamela_version'] = Config::$gameConfig['ugamela_version']; 65 | 66 | foreach ($this->_['lang'] as $a => $b) { 67 | $output = str_replace("{{$a}}", $b, $output); 68 | } 69 | 70 | return $output; 71 | } 72 | 73 | // template-dile does not exist 74 | return 'could not find template'; 75 | 76 | } 77 | } 78 | 79 | -------------------------------------------------------------------------------- /core/views/overview.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 20 | } 21 | 22 | /** 23 | * sets the name of the template which will be used 24 | * 25 | * @param String $template Name des Templates. 26 | */ 27 | public function setTemplate($template) { 28 | 29 | $this->template = $template; 30 | } 31 | 32 | /** 33 | * this loads the template file 34 | * 35 | * @param string $mode the subtemplate (e.g. resources_row.php) 36 | * @return string the template 37 | * @throws FileNotFoundException 38 | */ 39 | public function loadTemplate($mode = null) { 40 | 41 | if ($mode != null) { 42 | $this->template .= '_' . $mode; 43 | } 44 | 45 | return parent::mergeTemplates($this->template, $this->_); 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /core/views/register.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 25 | } 26 | 27 | /** 28 | * Setzt den Namen des Templates. 29 | * 30 | * @param String $template Name des Templates. 31 | */ 32 | public function setTemplate($template = 'default') { 33 | 34 | $this->template = $template; 35 | } 36 | 37 | /** 38 | * Das Template-File laden und zurückgeben 39 | * 40 | * @param string $tpl Der Name des Template-Files (falls es nicht vorher 41 | * über steTemplate() zugewiesen wurde). 42 | * @return string Der Output des Templates. 43 | */ 44 | public function loadTemplate($mode = null) { 45 | 46 | // Pfad zum Template erstellen & überprüfen ob das Template existiert. 47 | $file = Config::$pathConfig['templates'] . DIRECTORY_SEPARATOR . $this->template . '.php'; 48 | 49 | $exists = file_exists($file); 50 | 51 | if ($exists) { 52 | // Der Output des Scripts wird n einen Buffer gespeichert, d.h. 53 | // nicht gleich ausgegeben. 54 | ob_start(); 55 | 56 | $this->_['lang']['ugamela_version'] = Config::$gameConfig['ugamela_version']; 57 | 58 | include Config::$pathConfig['templates'] . DIRECTORY_SEPARATOR . 'header_login.php'; 59 | include $file; 60 | include Config::$pathConfig['templates'] . DIRECTORY_SEPARATOR . 'footer.php'; 61 | 62 | $output = ob_get_contents(); 63 | 64 | ob_end_clean(); 65 | 66 | foreach ($this->_['lang'] as $a => $b) { 67 | $output = str_replace("{{$a}}", $b, $output); 68 | } 69 | 70 | return $output; 71 | } else { 72 | // Template-File existiert nicht-> Fehlermeldung. 73 | return 'could not find template'; 74 | } 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /core/views/resources.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 20 | } 21 | 22 | /** 23 | * sets the name of the template which will be used 24 | * 25 | * @param String $template Name des Templates. 26 | */ 27 | public function setTemplate($template = 'resources') { 28 | 29 | $this->template = $template; 30 | } 31 | 32 | /** 33 | * this loads the template file 34 | * 35 | * @param string $mode the subtemplate (e.g. resources_row.php) 36 | * @return string the template 37 | * @throws FileNotFoundException 38 | */ 39 | public function loadTemplate($mode = null) { 40 | 41 | if ($mode != null) { 42 | $this->template .= '_' . $mode; 43 | } 44 | 45 | return parent::mergeTemplates($this->template, $this->_); 46 | } 47 | 48 | /** 49 | * loads a row for a resource-producing unit 50 | * @return mixed|string a new row 51 | * @throws FileNotFoundException 52 | */ 53 | public function loadResourceRow() { 54 | 55 | 56 | ob_start(); 57 | 58 | $file = Config::$pathConfig['templates'] . $this->template . '_row.php'; 59 | if (file_exists($file)) { 60 | include $file; 61 | } else { 62 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 63 | } 64 | 65 | $output = ob_get_contents(); 66 | ob_end_clean(); 67 | 68 | foreach ($this->_['lang'] as $a => $b) { 69 | $output = str_replace("{{$a}}", $b, $output); 70 | } 71 | 72 | return $output; 73 | 74 | } 75 | } 76 | 77 | -------------------------------------------------------------------------------- /core/views/settings.php: -------------------------------------------------------------------------------- 1 | _[$key] = $value; 20 | } 21 | 22 | /** 23 | * sets the name of the template which will be used 24 | * 25 | * @param String $template Name des Templates. 26 | */ 27 | public function setTemplate($template) { 28 | 29 | $this->template = $template; 30 | } 31 | 32 | /** 33 | * this loads the template file 34 | * 35 | * @param string $mode the subtemplate (e.g. resources_row.php) 36 | * @return string the template 37 | * @throws FileNotFoundException 38 | */ 39 | public function loadTemplate($mode = null) { 40 | 41 | if ($mode != null) { 42 | $this->template .= '_' . $mode; 43 | } 44 | 45 | return parent::mergeTemplates($this->template, $this->_); 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /core/views/view.php: -------------------------------------------------------------------------------- 1 | _ = $fields; 19 | 20 | // write the output into a buffer 21 | ob_start(); 22 | 23 | $file = Config::$pathConfig['templates'] . 'header.php'; 24 | if (file_exists($file)) { 25 | require_once $file; 26 | } else { 27 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 28 | } 29 | 30 | $file = Config::$pathConfig['templates'] . 'menu.php'; 31 | if (file_exists($file)) { 32 | require_once $file; 33 | } else { 34 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 35 | } 36 | 37 | $file = Config::$pathConfig['templates'] . 'topbar.php'; 38 | if (file_exists($file)) { 39 | require_once $file; 40 | } else { 41 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 42 | } 43 | 44 | $file = Config::$pathConfig['templates'] . $class . '.php'; 45 | if (file_exists($file)) { 46 | require_once $file; 47 | } else { 48 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 49 | } 50 | 51 | $file = Config::$pathConfig['templates'] . 'footer.php'; 52 | if (file_exists($file)) { 53 | require_once $file; 54 | } else { 55 | throw new FileNotFoundException('File \'' . $file . '\' not found'); 56 | } 57 | 58 | $output = ob_get_contents(); 59 | 60 | ob_end_clean(); 61 | 62 | // parse the language 63 | foreach ($this->_['lang'] as $a => $b) { 64 | $output = str_replace("{{$a}}", $b, $output); 65 | } 66 | 67 | return $output; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /css/admin.css: -------------------------------------------------------------------------------- 1 | /*@import url('https://fonts.googleapis.com/css?family=Amiko|Ramabhadra');*/ 2 | 3 | body { 4 | background-color: #FFF; 5 | color: #333; 6 | font-family: 'Amiko', sans-serif; 7 | width: 100%; 8 | height: 100%; 9 | } 10 | 11 | .page { 12 | margin-left: 6em; 13 | margin-right: 1em; 14 | padding-top: 1em; 15 | } 16 | 17 | footer { 18 | margin-top: 1em; 19 | margin-left: 6em; 20 | } 21 | 22 | h1 { 23 | border-bottom: 0.05em solid #333; 24 | font-size: 1.5em; 25 | margin-bottom: 1em; 26 | } 27 | 28 | .row:after { 29 | content: "."; 30 | clear: both; 31 | display: block; 32 | visibility: hidden; 33 | height: 0px; 34 | } 35 | 36 | .box { 37 | padding: 1em; 38 | margin-bottom: 1em; 39 | margin-right: 0.5em; 40 | background: #f5f5f5; 41 | border: 1px solid #FFF; 42 | border-radius: 5px; 43 | -moz-border-radius: 5px; 44 | -webkit-border-radius: 5px; 45 | box-shadow: 1px 2px 4px rgba(0, 0, 0, .4); 46 | float: left; 47 | 48 | } 49 | 50 | .box:first-child { 51 | margin-left: 0; 52 | } 53 | 54 | /* menu */ 55 | 56 | @import url("//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css"); 57 | .menu, .menu-bar { 58 | position: fixed; 59 | top: 0; 60 | left: 0; 61 | height: 100%; 62 | list-style-type: none; 63 | margin: 0; 64 | padding: 0; 65 | background: #f7f7f7; 66 | z-index: 10; 67 | overflow: hidden; 68 | box-shadow: 2px 0 18px rgba(0, 0, 0, 0.26); 69 | } 70 | 71 | .menu li a { 72 | display: block; 73 | text-indent: -500em; 74 | height: 5em; 75 | width: 5em; 76 | line-height: 5em; 77 | text-align: center; 78 | color: #333; 79 | position: relative; 80 | border-bottom: 1px solid rgba(0, 0, 0, 0.05); 81 | transition: background 0.1s ease-in-out; 82 | } 83 | 84 | .menu li a:before { 85 | font-family: FontAwesome; 86 | speak: none; 87 | text-indent: 0em; 88 | position: absolute; 89 | top: 0; 90 | left: 0; 91 | width: 100%; 92 | height: 100%; 93 | font-size: 1.4em; 94 | } 95 | 96 | .menu li a.dashboard:before { 97 | content: "\f0e4"; 98 | } 99 | 100 | .menu li a.users:before { 101 | content: "\f0c0"; 102 | } 103 | 104 | .menu li a.planets:before { 105 | content: "\f0ac"; 106 | } 107 | 108 | .menu li a.reports:before { 109 | content: "\f024"; 110 | } 111 | 112 | .menu li a.errors:before { 113 | content: "\f188"; 114 | } 115 | 116 | .menu li a.logout:before { 117 | content: "\f08b"; 118 | } 119 | 120 | .menu li a:hover, 121 | .menu li a.active { 122 | background: #267fdd; 123 | color: #fff; 124 | } 125 | 126 | .menu-bar { 127 | overflow: hidden; 128 | left: 5em; 129 | z-index: 5; 130 | width: 0; 131 | height: 0; 132 | transition: all 0.1s ease-in-out; 133 | } 134 | 135 | .menu-bar li a { 136 | display: block; 137 | height: 4em; 138 | line-height: 4em; 139 | text-align: center; 140 | color: #72739f; 141 | text-decoration: none; 142 | position: relative; 143 | font-family: verdana; 144 | border-bottom: 1px solid rgba(0, 0, 0, 0.05); 145 | transition: background 0.1s ease-in-out; 146 | } -------------------------------------------------------------------------------- /css/register.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css?family=Amiko|Ramabhadra'); 2 | 3 | body { 4 | background: url("../images/bg.jpg") #000 no-repeat fixed center; 5 | color: #fff; 6 | font-family: 'Amiko', sans-serif; 7 | font-size: 1em; 8 | width: 100%; 9 | height: 100%; 10 | } 11 | 12 | h1, h2, h3, h4, h5, h6 { 13 | font-family: 'Ramabhadra', sans-serif; 14 | } 15 | 16 | input { 17 | font-size: 1em; 18 | } 19 | 20 | input[type=text], input[type=password] { 21 | border: 0.1em solid rgb(74, 91, 97); 22 | background-color: rgb(47, 61, 66); 23 | color: rgb(193, 204, 207); 24 | padding: 1em; 25 | margin: 1em 0; 26 | width: 90%; 27 | box-sizing: border-box; 28 | -moz-box-sizing: border-box; 29 | -webkit-box-sizing: border-box; 30 | } 31 | 32 | input[type=button], input[type=submit] { 33 | border: 0.1em solid rgb(74, 91, 97); 34 | background-color: rgb(47, 61, 66); 35 | color: rgb(255, 255, 255); 36 | padding: 1em; 37 | margin: 1em 0; 38 | width: 90%; 39 | box-sizing: border-box; 40 | -moz-box-sizing: border-box; 41 | -webkit-box-sizing: border-box; 42 | } 43 | 44 | input[type=button]:hover, input[type=submit]:hover { 45 | border: 0.1em solid rgb(255, 255, 255); 46 | background-color: rgb(36, 47, 51); 47 | color: rgb(255, 255, 255); 48 | padding: 1em; 49 | margin: 1em 0; 50 | width: 90%; 51 | box-sizing: border-box; 52 | -moz-box-sizing: border-box; 53 | -webkit-box-sizing: border-box; 54 | } 55 | 56 | .container { 57 | display: -webkit-flex; 58 | display: flex; 59 | -webkit-flex-direction: column; 60 | flex-direction: column; 61 | justify-content: center; 62 | align-items: center; 63 | width: 40%; 64 | height: 100%; 65 | margin: 0 auto; 66 | } 67 | 68 | #loginBox { 69 | background-color: rgb(35, 43, 46); 70 | border: 0.1em solid rgb(67, 82, 88); 71 | width: 70%; 72 | text-align: center; 73 | } 74 | 75 | #loginBox form { 76 | width: inherit; 77 | width: 100%; 78 | } 79 | 80 | #logo { 81 | margin-top: 10em; 82 | text-align: center; 83 | } 84 | 85 | #logo img { 86 | width: 70%; 87 | max-width: 625px; 88 | max-height: 143px; 89 | } 90 | 91 | a, a:link, a:visited, a:active { 92 | font-family: 'Ramabhadra', sans-serif; 93 | text-decoration: none; 94 | color: rgb(43, 151, 178); 95 | } 96 | 97 | a:hover { 98 | font-family: 'Ramabhadra', sans-serif; 99 | text-decoration: none; 100 | color: rgb(64, 217, 255); 101 | } 102 | 103 | footer { 104 | position: fixed; 105 | left: 0px; 106 | bottom: 0px; 107 | } -------------------------------------------------------------------------------- /game.php: -------------------------------------------------------------------------------- 1 | 1800)) { 19 | // last request was more than 30 minutes ago 20 | session_unset(); // unset $_SESSION variable for the run-time 21 | session_destroy(); // destroy session data in storage 22 | } 23 | 24 | // ---- user is logged in at this point ---- 25 | 26 | // the user is logged in, so we allow 27 | // script-access within the game 28 | 29 | /* @var INSIDE boolean constant, to track if the request comes from within the game */ 30 | define('INSIDE', true); 31 | 32 | // update last activity time stamp 33 | $_SESSION['LAST_ACTIVITY'] = time(); 34 | 35 | // register autoloader 36 | require_once 'core/autoload.php'; 37 | 38 | // initialize static objects 39 | Config::init(); 40 | D_Units::init(); 41 | Loader::init($userID); 42 | 43 | 44 | 45 | if (DEBUG) { 46 | /* @var RENDERING_STARTTIME time of start for the page-rendering */ 47 | define("RENDERING_STARTTIME", microtime(true)); 48 | 49 | $debug = new Debug(); 50 | } 51 | 52 | $lang['title'] = Config::$gameConfig['game_name']; 53 | $lang['skinpath'] = Config::$gameConfig['skinpath']; 54 | $lang['copyright'] = Config::$gameConfig['copyright']; 55 | $lang['language'] = Config::$gameConfig['language']; 56 | 57 | 58 | // load the database-class 59 | $dbConnection = new Database(); 60 | 61 | // update the planet (ressources etc.) 62 | Loader::getPlanet()->update(Loader::getBuildingData(), Loader::getTechData(), Loader::getFleetData()); 63 | 64 | // default value 65 | $page = 'overview'; 66 | 67 | // check if a page was requested and if there is 68 | // a controller to the request 69 | if (isset($_GET['page']) && file_exists(Config::$pathConfig['controllers'] . $_GET['page'] . '.php')) { 70 | $page = $_GET['page']; 71 | 72 | // delete the element, because the controller 73 | // does not need the page-value 74 | unset($_GET['page']); 75 | } 76 | 77 | 78 | // load the controller 79 | $className = 'C_' . ucfirst($page); 80 | 81 | $controller = new $className($_GET, $_POST); 82 | 83 | 84 | $lang['admin_link'] = ($userID == 1) ? '
  • Admin
  • ' : 'x'; 85 | 86 | // get coords for galaxy menu-link 87 | $lang["g"] = Loader::getPlanet()->getGalaxy(); 88 | $lang["s"] = Loader::getPlanet()->getSystem(); 89 | 90 | $lang["ugamela_version"] = Config::$gameConfig['ugamela_version']; 91 | $lang["game_name"] = Config::$gameConfig['game_name']; 92 | 93 | // display the page 94 | $controller->display(); -------------------------------------------------------------------------------- /images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/images/bg.jpg -------------------------------------------------------------------------------- /images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/images/favicon.png -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/images/logo.png -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | display(); 15 | 16 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ./tests/ 6 | 7 | 8 | 9 | 10 | 11 | ./ 12 | 13 | ./tests/ 14 | ./vendor/ 15 | ./core/interfaces/ 16 | ./core/language/ 17 | ./core/templates/ 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /register.php: -------------------------------------------------------------------------------- 1 | display(); -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / -------------------------------------------------------------------------------- /scripts/countdown.js: -------------------------------------------------------------------------------- 1 | function timer(page, duration, containerClass, buildingID, langCancel) { 2 | var timer = duration, hours, minutes, seconds; 3 | 4 | var countdown = function () { 5 | 6 | // console.log(page); 7 | 8 | var container; 9 | 10 | if (page === "overview") { 11 | container = document.getElementsByClassName(containerClass)[0]; 12 | } else { 13 | container = document.getElementsByClassName(containerClass)[0].querySelector("div"); 14 | } 15 | 16 | hours = parseInt(timer / 3600, 10); 17 | minutes = parseInt(timer / 60, 10) - (60 * hours); 18 | seconds = parseInt(timer % 60, 10); 19 | 20 | 21 | hours = hours < 10 ? "0" + hours : hours; 22 | minutes = minutes < 10 ? "0" + minutes : minutes; 23 | seconds = seconds < 10 ? "0" + seconds : seconds; 24 | 25 | 26 | var pageLink; 27 | if (buildingID > 100) { 28 | pageLink = "research"; 29 | } else { 30 | pageLink = "building"; 31 | } 32 | 33 | if (page === "overview") { 34 | container.innerHTML = hours + ":" + minutes + ":" + seconds; 35 | } else { 36 | container.innerHTML = "
    " + hours + ":" + minutes + ":" + seconds + "
    "; 37 | } 38 | 39 | if (--timer <= 0) { 40 | container.textContent = "done"; 41 | window.setTimeout(function () { 42 | window.location.href = "game.php?page=" + page; 43 | }, 2000); 44 | } 45 | setTimeout(countdown, 1000); 46 | }; 47 | countdown(); 48 | } -------------------------------------------------------------------------------- /scripts/fleet.js: -------------------------------------------------------------------------------- 1 | function calculateDistance(startGalaxy, startSystem, startPlanet) { 2 | var endGalaxy = document.getElementsByName("fleet_dest_galaxy")[0].value; 3 | var endSystem = document.getElementsByName("fleet_dest_system")[0].value; 4 | var endPlanet = document.getElementsByName("fleet_dest_planet")[0].value; 5 | 6 | var distance = 0; 7 | 8 | if(startGalaxy !== endGalaxy) { 9 | distance += 20000 * Math.abs(startGalaxy - endGalaxy); 10 | } 11 | 12 | if(startGalaxy !== endGalaxy) { 13 | distance += 2700 + 95 * Math.abs(startSystem - endSystem); 14 | } 15 | 16 | if(startPlanet !== endPlanet) { 17 | distance += 1000 + 5 * Math.abs(startPlanet - endPlanet); 18 | } 19 | 20 | document.getElementById("distance").innerText = distance; 21 | 22 | } 23 | 24 | function setMax(element) { 25 | // TOOD 26 | 27 | var maxValue = element.nextElementSibling.max; 28 | 29 | element.nextElementSibling.value = maxValue; 30 | 31 | if(element.nextElementSibling.getAttribute("name").match("fleet_metal|fleet_crystal|fleet_deuterium")) { 32 | var maxStorage = parseInt(document.getElementById("storage").innerText.replace(".", "")); 33 | 34 | if(maxValue > maxStorage) { 35 | element.nextElementSibling.value = maxStorage; 36 | } 37 | } 38 | 39 | 40 | } -------------------------------------------------------------------------------- /scripts/functions.js: -------------------------------------------------------------------------------- 1 | function cpChange(cpID) { 2 | 3 | var location = window.location.href.split("&")[0]; 4 | 5 | // if there is a page set 6 | if (location.indexOf("?page=") !== -1) { 7 | location += "&cp=" + cpID; 8 | } else { 9 | // already a new cp set -> remove the old one 10 | if (location.indexOf("?cp=") !== -1) { 11 | location = location.split("?")[0]; 12 | } 13 | location += "?cp=" + cpID; 14 | } 15 | 16 | // load the new page 17 | window.location = location; 18 | 19 | } 20 | 21 | function showGalaxyLegend() { 22 | console.log("IMPLEMENT ME!!!! showGalaxyLegend() @ function.js"); 23 | } -------------------------------------------------------------------------------- /scripts/shipyard.js: -------------------------------------------------------------------------------- 1 | function timer(timeLeft, timeForOneUnit, totalTimeLeft, amount, unitName, page) { 2 | 3 | var countdown = function () { 4 | 5 | var hours = parseInt(timeLeft / 3600, 10); 6 | var minutes = parseInt(timeLeft / 60, 10) - (60 * hours); 7 | var seconds = parseInt(timeLeft % 60, 10); 8 | 9 | hours = hours < 10 ? "0" + hours : hours; 10 | minutes = minutes < 10 ? "0" + minutes : minutes; 11 | seconds = seconds < 10 ? "0" + seconds : seconds; 12 | 13 | document.getElementById("shipyard_timeleft").innerText = hours + ":" + minutes + ":" + seconds; 14 | 15 | totalTimeLeft--; 16 | 17 | var totalHours = parseInt(totalTimeLeft / 3600, 10); 18 | var totalMinutes = parseInt(totalTimeLeft / 60, 10) - (60 * totalHours); 19 | var totalSeconds = parseInt(totalTimeLeft % 60, 10); 20 | 21 | totalHours = totalHours < 10 ? "0" + totalHours : totalHours; 22 | totalMinutes = totalMinutes < 10 ? "0" + totalMinutes : totalMinutes; 23 | totalSeconds = totalSeconds < 10 ? "0" + totalSeconds : totalSeconds; 24 | 25 | document.getElementById("shipyard_total_timeleft").innerText = totalHours + ":" + totalMinutes + ":" + totalSeconds; 26 | 27 | if (--timeLeft <= 0) { 28 | 29 | amount--; 30 | // restart timer ? 31 | if(amount > 0) { 32 | timeLeft = timeForOneUnit; 33 | 34 | document.getElementById("shipyard_queue").firstElementChild.innerHTML = amount + " " + unitName; 35 | } else { 36 | window.setTimeout(function () { 37 | window.location.href ="game.php?page=" + page; 38 | }, 500); 39 | } 40 | } 41 | setTimeout(countdown, 1000); 42 | }; 43 | countdown(); 44 | } -------------------------------------------------------------------------------- /skins/Maya/gebaeude/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/1.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/10.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/101.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/101.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/102.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/102.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/103.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/103.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/104.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/104.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/105.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/105.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/106.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/106.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/107.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/107.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/108.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/108.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/109.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/109.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/11.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/110.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/110.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/111.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/111.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/112.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/112.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/113.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/113.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/114.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/115.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/115.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/117.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/117.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/118.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/118.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/12.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/120.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/121.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/121.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/122.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/122.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/123.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/123.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/13.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/14.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/15.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/199.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/199.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/2.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/201.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/201.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/202.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/202.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/203.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/203.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/204.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/204.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/205.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/205.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/206.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/206.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/207.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/207.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/208.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/208.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/209.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/209.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/21.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/210.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/210.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/211.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/211.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/212.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/212.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/213.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/213.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/214.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/214.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/22.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/23.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/24.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/3.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/31.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/33.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/34.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/4.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/401.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/402.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/402.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/403.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/403.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/404.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/405.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/405.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/406.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/406.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/407.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/407.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/408.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/408.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/41.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/42.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/43.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/44.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/5.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/501.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/501.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/502.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/502.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/503.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/503.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/6.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/7.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/8.png -------------------------------------------------------------------------------- /skins/Maya/gebaeude/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gebaeude/9.png -------------------------------------------------------------------------------- /skins/Maya/gfx/info-help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gfx/info-help.png -------------------------------------------------------------------------------- /skins/Maya/gfx/ogame-produktion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gfx/ogame-produktion.png -------------------------------------------------------------------------------- /skins/Maya/gfx/user-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/gfx/user-menu.png -------------------------------------------------------------------------------- /skins/Maya/images/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/b.png -------------------------------------------------------------------------------- /skins/Maya/images/crystal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/crystal.png -------------------------------------------------------------------------------- /skins/Maya/images/debris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/debris.png -------------------------------------------------------------------------------- /skins/Maya/images/deuterium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/deuterium.png -------------------------------------------------------------------------------- /skins/Maya/images/e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/e.png -------------------------------------------------------------------------------- /skins/Maya/images/energy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/energy.png -------------------------------------------------------------------------------- /skins/Maya/images/m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/m.png -------------------------------------------------------------------------------- /skins/Maya/images/metal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/metal.png -------------------------------------------------------------------------------- /skins/Maya/images/r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/images/r.png -------------------------------------------------------------------------------- /skins/Maya/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/img/bg.png -------------------------------------------------------------------------------- /skins/Maya/pic/abort.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/pic/abort.gif -------------------------------------------------------------------------------- /skins/Maya/pic/appwiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/pic/appwiz.gif -------------------------------------------------------------------------------- /skins/Maya/pic/key.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/pic/key.gif -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/dschjungelplanet10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/dschjungelplanet10.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet10.png -------------------------------------------------------------------------------- /skins/Maya/planeten/eisplanet11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/eisplanet11.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/gasplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/gasplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/mond.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/mond.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/normaltempplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/normaltempplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_dschjungelplanet10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_dschjungelplanet10.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet10.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_eisplanet11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_eisplanet11.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_gasplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_gasplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_mond.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_mond.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_normaltempplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_normaltempplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_trockenplanet10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_trockenplanet10.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wasserplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wasserplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wuestenplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wuestenplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wuestenplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wuestenplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wuestenplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wuestenplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/small/s_wuestenplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/small/s_wuestenplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/trockenplanet10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/trockenplanet10.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet04.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet05.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet06.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet07.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet08.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wasserplanet09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wasserplanet09.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wuestenplanet01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wuestenplanet01.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wuestenplanet02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wuestenplanet02.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wuestenplanet03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wuestenplanet03.png -------------------------------------------------------------------------------- /skins/Maya/planeten/wuestenplanet04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ugml/php-client/acb7ae51c04cbebdd65d321633f4f71c910e4ba1/skins/Maya/planeten/wuestenplanet04.png -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 'ugamela', 36 | 'copyright' => 'Copyright by ugamela © 2017', 37 | 'language' => 'en', 38 | 'max_galaxy' => 9, 39 | 'max_system' => 100, 40 | 'max_planet' => 15, 41 | 'base_income_metal' => 500, 42 | 'base_income_crystal' => 250, 43 | 'base_income_deuterium' => 0, 44 | 'base_income_energy' => 0, 45 | 'skinpath' => 'skins/Maya/' 46 | ]; 47 | 48 | self::$dbConfig = [ 49 | 'host' => '127.0.0.1', 50 | 'port' => '3306', 51 | 'dbname' => 'ugamela_testing', 52 | 'user' => 'root', 53 | 'pass' => '' 54 | ]; 55 | 56 | 57 | self::$pathConfig = [ 58 | 'core' => self::$basepath . 'core/', 59 | 'interfaces' => self::$basepath . 'core/interfaces/', 60 | 'controllers' => self::$basepath . 'core/controllers/', 61 | 'models' => self::$basepath . 'core/models/', 62 | 'views' => self::$basepath . 'core/views/', 63 | 'classes' => self::$basepath . 'core/classes/', 64 | 'data' => self::$basepath . 'core/classes/data/', 65 | 'units' => self::$basepath . 'core/classes/units/', 66 | 'language' => self::$basepath . 'core/language/', 67 | 'templates' => self::$basepath . 'core/templates/' 68 | ]; 69 | 70 | } 71 | } -------------------------------------------------------------------------------- /tests/core/classes/DebugTest.php: -------------------------------------------------------------------------------- 1 | debug = new Debug(); 21 | $this->assertSame(0, $this->debug->getCount()); 22 | } 23 | 24 | /** 25 | * @covers Debug::getCount 26 | */ 27 | public function testLogCount() : void { 28 | $this->assertSame(0, $this->debug->getCount()); 29 | } 30 | 31 | /** 32 | * @covers Debug::addLog 33 | */ 34 | public function testAddLog() { 35 | 36 | $this->assertSame(0, $this->debug->getCount()); 37 | 38 | //$class, $method, $line, $exception, $descr 39 | $this->debug->addLog("Debug", "sampleMethod", "12", "NoException", "NoDescription"); 40 | 41 | $this->assertSame(1, $this->debug->getCount()); 42 | } 43 | 44 | /** 45 | * @covers Debug::saveError 46 | */ 47 | public function testSaveError() { 48 | 49 | $dbConnection = new Database(); 50 | 51 | $stmt = $dbConnection->prepare('SELECT count(id) FROM errors'); 52 | 53 | $stmt->execute(); 54 | 55 | $countOld = $stmt->fetchColumn(0); 56 | 57 | $this->assertSame(0, intval($countOld)); 58 | 59 | $this->debug->saveError(self::class, "", "", "", ""); 60 | 61 | $stmt = $dbConnection->prepare('SELECT count(id) FROM errors'); 62 | 63 | $stmt->execute(); 64 | 65 | $countNew = $stmt->fetchColumn(0); 66 | 67 | $this->assertSame(1, intval($countNew)); 68 | 69 | } 70 | 71 | protected function tearDown() 72 | { 73 | $dbConnection = new Database(); 74 | 75 | $stmt = $dbConnection->prepare('TRUNCATE errors;'); 76 | 77 | $stmt->execute(); 78 | 79 | $this->debug = null; 80 | } 81 | 82 | } 83 | -------------------------------------------------------------------------------- /tests/core/classes/data/DataGalaxyTest.php: -------------------------------------------------------------------------------- 1 | galaxyData->setDebrisMetal(500); 22 | $this->assertSame(500, $this->galaxyData->getDebrisMetal()); 23 | } 24 | 25 | /** 26 | * @covers D_Galaxy::setDebrisCrystal 27 | * @covers D_Galaxy::getDebrisCrystal 28 | */ 29 | public function testGetSetCrystalMine() : void { 30 | $this->galaxyData->setDebrisCrystal(3356); 31 | $this->assertSame(3356, $this->galaxyData->getDebrisCrystal()); 32 | } 33 | 34 | protected function setUp() : void { 35 | $this->galaxyData = new D_Galaxy(1, 1); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /tests/core/classes/units/UnitDefenseTest.php: -------------------------------------------------------------------------------- 1 | assertSame(0.0, $building->getCostMetal()); 26 | 27 | } 28 | 29 | /** 30 | * @covers U_Unit::getCostCrystal 31 | * @covers U_Defense::getCostCrystal 32 | */ 33 | public function testGetCostCrystal() : void { 34 | $level = 1; 35 | 36 | $building = new U_Defense(302, $level, 60, 15, 0, 0, 1.5); 37 | 38 | $this->assertSame(0.0, $building->getCostCrystal()); 39 | } 40 | 41 | /** 42 | * @covers U_Unit::getCostDeuterium 43 | * @covers U_Defense::getCostDeuterium 44 | */ 45 | public function testGetCostDeuterium() : void { 46 | $building = new U_Defense(303, 1, 60, 40, 0, 0, 1.5); 47 | $this->assertSame(0.0, $building->getCostDeuterium()); 48 | } 49 | 50 | /** 51 | * @covers U_Unit::getCostEnergy 52 | * @covers U_Defense::getCostEnergy 53 | */ 54 | public function testGetCostEnergy() : void { 55 | $building = new U_Defense(301, 1, 60, 40, 0, 0, 1.5); 56 | $this->assertSame(0.0, $building->getCostEnergy()); 57 | } 58 | 59 | /** 60 | * @covers U_Defense::getAmount 61 | */ 62 | public function testGetAmount() : void { 63 | $building = new U_Defense(305, 105, 60, 40, 0, 0, 1.5); 64 | $this->assertSame(105, $building->getAmount()); 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /tests/core/classes/units/UnitFleetTest.php: -------------------------------------------------------------------------------- 1 | assertSame(60.0, $fleet->getCostMetal()); 26 | 27 | } 28 | 29 | /** 30 | * @covers U_Unit::getCostCrystal 31 | * @covers U_Fleet::getCostCrystal 32 | */ 33 | public function testGetCostCrystal() : void { 34 | $level = 1; 35 | 36 | $fleet = new U_Fleet(1, $level, 60, 15, 0, 0, 1.5); 37 | 38 | $this->assertSame(15.0, $fleet->getCostCrystal()); 39 | } 40 | 41 | /** 42 | * @covers U_Unit::getCostDeuterium 43 | * @covers U_Fleet::getCostDeuterium 44 | */ 45 | public function testGetCostDeuterium() : void { 46 | $fleet = new U_Fleet(1, 1, 60, 40, 0, 0, 1.5); 47 | $this->assertSame(0.0, $fleet->getCostDeuterium()); 48 | } 49 | 50 | /** 51 | * @covers U_Unit::getCostEnergy 52 | * @covers U_Fleet::getCostEnergy 53 | */ 54 | public function testGetCostEnergy() : void { 55 | $fleet = new U_Fleet(1, 1, 60, 40, 0, 0, 1.5); 56 | $this->assertSame(0.0, $fleet->getCostEnergy()); 57 | } 58 | 59 | /** 60 | * @covers U_Fleet::setAmount 61 | * @covers U_Fleet::getAmount 62 | */ 63 | public function testGetSetAmount() : void { 64 | $fleet = new U_Fleet(1, 105, 60, 40, 0, 0, 1.5); 65 | $this->assertSame(105, $fleet->getAmount()); 66 | 67 | $this->assertSame(null, $fleet->setAmount(99)); 68 | 69 | $this->assertSame(99, $fleet->getAmount()); 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /tests/core/classes/units/UnitResearchTest.php: -------------------------------------------------------------------------------- 1 | assertSame(90.0, $tech->getCostMetal()); 26 | 27 | } 28 | 29 | /** 30 | * @covers U_Unit::getCostCrystal() 31 | * @covers U_Tech::getCostCrystal 32 | */ 33 | public function testGetCostCrystal() : void { 34 | $level = 1; 35 | 36 | $tech = new U_Tech(102, $level, 60, 15, 0, 0, 1.5); 37 | 38 | $this->assertSame(22.0, $tech->getCostCrystal()); 39 | } 40 | 41 | /** 42 | * @covers U_Unit::getCostDeuterium 43 | * @covers U_Tech::getCostDeuterium 44 | */ 45 | public function testGetCostDeuterium() : void { 46 | $tech = new U_Tech(103, 1, 60, 40, 0, 0, 1.5); 47 | $this->assertSame(0.0, $tech->getCostDeuterium()); 48 | } 49 | 50 | /** 51 | * @covers U_Unit::getCostEnergy 52 | * @covers U_Tech::getCostEnergy 53 | */ 54 | public function testGetCostEnergy() : void { 55 | $tech = new U_Tech(104, 1, 60, 40, 0, 0, 1.5); 56 | $this->assertSame(0.0, $tech->getCostEnergy()); 57 | } 58 | 59 | /** 60 | * @covers U_Tech::getLevel 61 | */ 62 | public function testGetSetAmount() : void { 63 | $tech = new U_Tech(105, 10, 60, 40, 0, 0, 1.5); 64 | $this->assertSame(10, $tech->getLevel()); 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /tests/core/classes/units/UnitUnitTest.php: -------------------------------------------------------------------------------- 1 | assertSame(13, $unit->getUnitId()); 26 | $this->assertSame(1.8, $unit->getFactor()); 27 | 28 | 29 | } 30 | 31 | } 32 | --------------------------------------------------------------------------------