Отображение параметров и модификаторов. Отладка 1.
This commit is contained in:
parent
235a2dad8d
commit
91ba616de4
6
main.php
6
main.php
@ -1856,9 +1856,9 @@ if (input::get('edit')) {
|
|||||||
<?
|
<?
|
||||||
$mf = countmf();
|
$mf = countmf();
|
||||||
|
|
||||||
$item_mf = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_mf` > 0'));
|
$item_mf = db::c()->query('SELECT `id` FROM `inventory` WHERE `owner` = ?i AND `dressed` = 1 AND `add_proc_mf` > 0',$_SESSION['uid'])->fetch_assoc();
|
||||||
$item_damage = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_uron` > 0'));
|
$item_damage = db::c()->query('SELECT `id` FROM `inventory` WHERE `owner` = ?i AND `dressed` = 1 AND `add_proc_uron` > 0',$_SESSION['uid'])->fetch_assoc();
|
||||||
$item_bron = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_bron` > 0'));
|
$item_bron = db::c()->query('SELECT `id` FROM `inventory` WHERE `owner` = ?i AND `dressed` = 1 AND `add_proc_bron` > 0',$_SESSION['uid'])->fetch_assoc();
|
||||||
|
|
||||||
if (isset($item_mf['id'])) {
|
if (isset($item_mf['id'])) {
|
||||||
$max_mf = max_mf();
|
$max_mf = max_mf();
|
||||||
|
Loading…
Reference in New Issue
Block a user