fix BBCode (works 100%)

This commit is contained in:
unknown
2012-06-09 12:30:38 +03:00
parent 2b3381ae3a
commit d55f8b7c31
5 changed files with 16 additions and 14 deletions
File diff suppressed because one or more lines are too long
+13
View File
@@ -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);