mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 23:56:08 +00:00
fix BBCode (works 100%)
This commit is contained in:
@@ -930,6 +930,13 @@
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray['oasistype'];
|
||||
}
|
||||
|
||||
function getVillageType3($wref) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "wdata where id = $wref";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
$dbarray = mysql_fetch_array($result);
|
||||
return $dbarray;
|
||||
}
|
||||
|
||||
function getFLData($id) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "farmlist where id = $id";
|
||||
@@ -1609,6 +1616,12 @@
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function getNotice4($id) {
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "ndata where id = $id ORDER BY time DESC";
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return $this->mysql_fetch_all($result);
|
||||
}
|
||||
|
||||
function createTradeRoute($uid,$wid,$from,$r1,$r2,$r3,$r4,$start,$deliveries,$merchant,$time) {
|
||||
$x = "UPDATE " . TB_PREFIX . "users SET gold = gold - 2 WHERE id = ".$uid."";
|
||||
mysql_query($x, $this->connection);
|
||||
|
||||
Reference in New Issue
Block a user