Commit Graph

29 Commits

Author SHA1 Message Date
iopietro f0b9f32826 General fixes
+Moved "isWinner()" method from Automation.php to Session.php, it's now
triggered when activating plus function or entering in
plus1.php/build.php
+General clean-up and better indentation
+The tournament square bonus is now displayed correctly
2018-05-22 00:33:09 +02:00
iopietro 9e44c1cd6d Some replacements
+Replaced all $GLOBALS['link'] with $database->dblink
-Removed Templates/links.tpl from build.php (it's already in
Templates/menu.tpl)
2018-04-08 19:55:28 +02:00
iopietro 6ea4430372 Fixed some bugs
+If you conquer a village with an artifact inside, the new owner will be
changed correctly
+Moved plus links under the menu
+Renewed the "debug" function in Logging.php
+Fixed some errors that could have shown in Ranking.php
2018-04-08 18:28:24 +02:00
Martin Ambrus 317e92f2f4 fix: enable scrolling in reports to see all attack / spy results data 2017-12-26 18:30:57 +01:00
Martin Ambrus 818701c63a fix: Internet Explorer redirects to homepage instead of page reload
#403
2017-12-04 11:25:33 +01:00
Martin Ambrus 2f9d134ec9 feat: indicator for fields under construction
Also, all line separators are now Linux-style :-P

Closes #321
2017-11-22 15:32:35 +01:00
Martin Ambrus 997c143634 refactor: page generation time considers real time
Because in environments with $_SERVER["REQUEST_TIME_FLOAT"] unavailable
the time actually only started after Village.php got loaded (which was
AFTER Automation.php kicked in and everything was already DB-loaded),
the start timer was moved more towards the top of each template.
2017-11-18 18:48:48 +01:00
Martin Ambrus bec487cad5 fix: only including village file once 2017-11-17 12:36:45 +01:00
Vladyslav 918c12bace fix: The same location of the list of villages on all pages in the sidebar (#347)
On some page the list went up. Now he is on the same level.
2017-11-13 22:00:02 +01:00
Martin Ambrus 6b63b0bc63 fix: manual description scrolls when space is too short 2017-11-08 11:12:01 +01:00
Martin Ambrus 4de3f8e26b fix: new JS needs new cachebusting suffix 2017-11-06 20:12:52 +01:00
Martin Ambrus 82202c5089 fix: Calculated In time sometimes invalid due to $start variable reuse 2017-10-30 09:31:56 +01:00
Martin Ambrus f5c3e029b5 feat: access log config setting and a real get-post-cookie logger
This is a very naive and primitive logger of user requests to the game.
To be used on systems where access to webserver's log data is not
available (especially if the webserver doesn't store POST data as well).
2017-10-28 18:59:16 +02:00
Martin Ambrus b906e94dcc fix: large map vertical position fix 2017-10-28 00:38:28 +02:00
Martin Ambrus 93fbba445e fix: big map not centered on screen in high resolutions
Closes #239
2017-10-26 21:07:27 +02:00
Martin Ambrus 6f5b464160 fix: quest 1 reloads page to show wood 1 once finished and dialog closes 2017-10-22 17:08:34 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambrus 9391553dcb feat: front-end page names 2017-10-20 18:17:42 +02:00
Martin Ambrus ac5d3538f8 fix: mysqli_error needs MySQLi connection as parameter 2017-10-17 13:05:13 +02:00
Martin Ambrus c92ee3262f fix: billing address from config 2017-10-04 10:10:38 +02:00
Martin Ambrus 68619ac892 fix: big map centered on page + closeable
This commit also updates the hardcoded cache booster ID, as CSS+JS 
changed to accomplish the map fix.
2017-09-11 21:11:44 +02:00
Martin Ambrus 1c51f2eec0 chore: HTML fixes from Eclipse 2017-08-28 17:31:55 +02:00
Martin Ambrus 9261a4a4b2 Merge branch 'master' of https://github.com/evader1337/TravianZ into evader1337-master
# Conflicts:
#	GameEngine/Database/db_MYSQL.php
#	Templates/Build/avaliable.tpl
#	Templates/Message/inbox.tpl
2017-08-28 14:18:24 +02:00
Martin Ambrus c7c01dd424 conflict from resolution from TPLinux 2017-08-28 13:54:46 +02:00
TPLinux 5f0af8bf1f Convert '<?' To '<?php' 2017-06-30 00:41:13 +00:00
tatarysh 05fff48c9e remove short tag php 2017-04-25 21:11:44 +02:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
Shadow ddd8945a3c fix package 2016-02-05 10:19:43 +02:00
Novgorodschi Catalin ee2cca1f19 updates 2013-11-20 08:01:14 +02:00