tests
This commit is contained in:
parent
745f461d64
commit
1ea0a9defb
@ -1036,49 +1036,8 @@ HTML;
|
||||
$r .= item('i/1x1.gif');
|
||||
}
|
||||
|
||||
$r .= '</td></tr><tr><td><table cellspacing=0 cellpadding=0><tr><td>';
|
||||
|
||||
if ($user['r1'] > 0) {
|
||||
$dress = db::c()->query('SELECT `name`, `img`, `duration`, `maxdur`, `ghp`, `text`, `includemagicdex` FROM `inventory` WHERE `id` = ?i', $user['r1'])->fetch_assoc();
|
||||
if ($dress['includemagicdex'] && ($battle && $me)) {
|
||||
$r .= showhrefmagic($dress);
|
||||
} else {
|
||||
$r .= '<img class="tooltip" src="i/sh/' . $dress['img'] . '" width=20 height=20 title="<b>' . $dress['name'] . "</b>" . ((!empty($dress['text'])) ? "<br><i>{$dress['text']}</i>" : "") . '" />';
|
||||
}
|
||||
} else {
|
||||
#$r .= '<img class=\'tooltip\' src="i/w6.gif" width=20 height=20 title="Пустой слот Кольцо" />';
|
||||
$r .= item('i/1x1.gif');
|
||||
}
|
||||
|
||||
$r .= '</td><td>';
|
||||
|
||||
if ($user['r2'] > 0) {
|
||||
$dress = db::c()->query('SELECT `name`, `img`, `duration`, `maxdur`, `ghp`, `text`, `includemagicdex` FROM `inventory` WHERE `id` = ?i', $user['r2'])->fetch_assoc();
|
||||
if ($dress['includemagicdex'] && ($battle && $me)) {
|
||||
$r .= showhrefmagic($dress);
|
||||
} else {
|
||||
$r .= '<img class="tooltip" src="i/sh/' . $dress['img'] . '" width=20 height=20 title="<b>' . $dress['name'] . "</b>" . ((!empty($dress['text'])) ? "<br><i>{$dress['text']}</i>" : "") . '" />';
|
||||
}
|
||||
} else {
|
||||
#$r .= '<img class=\'tooltip\' src="i/w6.gif" width=20 height=20 title="Пустой слот Кольцо" />';
|
||||
$r .= item('i/1x1.gif');
|
||||
}
|
||||
|
||||
$r .= '</td><td>';
|
||||
|
||||
if ($user['r3'] > 0) {
|
||||
$dress = db::c()->query('SELECT `name`, `img`, `duration`, `maxdur`, `ghp`, `text`, `includemagicdex` FROM `inventory` WHERE `id` = ?i', $user['r3'])->fetch_assoc();
|
||||
if ($dress['includemagicdex'] && ($battle && $me)) {
|
||||
$r .= showhrefmagic($dress);
|
||||
} else {
|
||||
$r .= '<img class="tooltip" src="i/sh/' . $dress['img'] . '" width=20 height=20 title="<b>' . $dress['name'] . "</b>" . ((!empty($dress['text'])) ? "<br><i>{$dress['text']}</i>" : "") . '" />';
|
||||
}
|
||||
} else {
|
||||
#$r .= '<img class=\'tooltip\' src="i/w6.gif" width=20 height=20 title="Пустой слот Кольцо" />';
|
||||
$r .= item('i/1x1.gif');
|
||||
}
|
||||
|
||||
$r .= '</td></tr></table></td></tr></table></td>';
|
||||
$r .= '</td></tr>';
|
||||
$r .= '</table></td>';
|
||||
|
||||
|
||||
$r .= '<td valign=top><img src="i/shadow/' . $user['shadow'] . '" width="76" height="209" /></td><td width="62" valign=top><table width=100% cellspacing=0 cellpadding=0><tr><td>';
|
||||
|
Loading…
Reference in New Issue
Block a user