mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 07:36:07 +00:00
fix reports: now player can see reports of another player from alliance attacks and from village view and now can watch report in archive without error
This commit is contained in:
@@ -1437,6 +1437,13 @@
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function getNotice2($id, $field) {
|
||||
$q = "SELECT ".$field." FROM " . TB_PREFIX . "ndata where `id` = '$id'";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray[$field];
|
||||
}
|
||||
|
||||
function addBuilding($wid, $field, $type, $loop, $time) {
|
||||
$x = "UPDATE " . TB_PREFIX . "fdata SET f" . $field . "t=" . $type . " WHERE vref=" . $wid;
|
||||
|
||||
Reference in New Issue
Block a user