moving to imgclass
This commit is contained in:
parent
a90dc2f2a9
commit
cb29429a2a
9
post.php
9
post.php
@ -56,7 +56,14 @@ if ($_SESSION['receiverName']) {
|
|||||||
db::c()->query('INSERT INTO `telegraph` (`receiver`,`text`) VALUES (?i,"?s")', $receiverId, 'Почтовый перевод: '. $res['name'] .' от персонажа ' .$user['login']. '.');
|
db::c()->query('INSERT INTO `telegraph` (`receiver`,`text`) VALUES (?i,"?s")', $receiverId, 'Почтовый перевод: '. $res['name'] .' от персонажа ' .$user['login']. '.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$queryItems = db::c()->query('SELECT * FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `setsale` = 0 AND `present` = "?s" AND `artefact` = 0 ORDER BY `update` DESC', $_SESSION['uid'], null);
|
$queryItems = db::c()->query('SELECT `inventory`.*,
|
||||||
|
`magic`.`name` AS `magic_name`,
|
||||||
|
`magic`.`chanse` AS `magic_chanse`,
|
||||||
|
`magic`.`time` AS `magic_time`,
|
||||||
|
`magic`.`file` AS `magic_file`,
|
||||||
|
`magic`.`targeted` AS `magic_targeted`,
|
||||||
|
`magic`.`needcharge` AS `magic_needcharge`,
|
||||||
|
`magic`.`img` AS `magic_img` FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `owner` = ?i AND `dressed` = 0 AND `setsale` = 0 AND `present` = "?s" AND `artefact` = 0 ORDER BY `update` DESC', $_SESSION['uid'], null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user