mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-26 06:26:08 +00:00
Fixed some report bugs
+Added the report type 23, which indicates a defence during festive days +Festive reports in the alliance no longer duplicates +Festive reports in the village view no longer duplicates +Fixed a bug that didn't permit to read an allied report General: -Removed the possibility to view an inexistent village +Some minor improovements
This commit is contained in:
@@ -78,11 +78,10 @@ else{
|
||||
<?php include("Templates/header.tpl"); ?>
|
||||
<div id="mid">
|
||||
<?php include("Templates/menu.tpl");
|
||||
if(isset($_GET['d']) && isset($_GET['c'])) {
|
||||
if($generator->getMapCheck($_GET['d']) == $_GET['c']) {
|
||||
include("Templates/Map/vilview.tpl");
|
||||
}
|
||||
else {
|
||||
if(isset($_GET['d']) && !empty($_GET['d']) && isset($_GET['c']) && !empty($_GET['c'])) {
|
||||
if($generator->getMapCheck($_GET['d']) == $_GET['c']) include("Templates/Map/vilview.tpl");
|
||||
else
|
||||
{
|
||||
header("Location: dorf1.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user