more fixes

This commit is contained in:
unknown
2012-06-22 18:46:04 +03:00
parent ecd0da7daf
commit 6bdb081f3d
13 changed files with 425 additions and 36 deletions
+2 -2
View File
@@ -1480,9 +1480,9 @@ class MYSQL_DB {
return mysql_query($q, $this->connection);
}
function sendMessage($client, $owner, $topic, $message, $send) {
function sendMessage($client, $owner, $topic, $message, $send, $alliance, $player, $coor, $report) {
$time = time();
$q = "INSERT INTO " . TB_PREFIX . "mdata values (0,$client,$owner,'$topic',\"$message\",0,0,$send,$time,0,0)";
$q = "INSERT INTO " . TB_PREFIX . "mdata values (0,$client,$owner,'$topic',\"$message\",0,0,$send,$time,0,0,$alliance,$player,$coor,$report)";
return mysql_query($q, $this->connection);
}