fix reports

This commit is contained in:
unknown
2012-05-05 02:32:09 +03:00
parent 5adbc57bc9
commit 6b3e6b9968
3 changed files with 11 additions and 5 deletions
+6
View File
@@ -1507,6 +1507,12 @@
$result = mysql_query($q, $this->connection);
return $this->mysql_fetch_all($result);
}
function getDelNotice($uid) {
$q = "SELECT * FROM " . TB_PREFIX . "ndata where uid = $uid and del = 1 ORDER BY time DESC";
$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'";