This commit is contained in:
Igor Barkov [iwork] 2018-11-01 19:15:08 +02:00
parent 5b34e1e706
commit ca91707466

View File

@ -2675,7 +2675,7 @@ if (isset($_GET['edit'])) {
if (!isset($groupNum[$row['prototype']])) {
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] = '<tr bgcolor="#C7C7C7"><td onclick="$(\'#items_' . ($row['prototype'] ? $row['prototype'] : $row['id']) . '\').slideToggle(\'fast\'); collapse(' . ($row['prototype'] ? $row['prototype'] : $row['id']) . ');" style="cursor: pointer; overflow: hidden; z-index: 0;">';
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '<img src="i/icon/1plus.gif" title=""> <b>' . $row['name'] . ($row['upgrade'] > 0 ? " <font color=blue><b>[" . $row['upgrade'] . "]</b></font>" : "") . ' [' . $itemsCount . ']</b>';
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= ' <b>' . $row['name'] . ($row['upgrade'] > 0 ? " <font color=blue><b>[" . $row['upgrade'] . "]</b></font>" : "") . ' [' . $itemsCount . ']</b>';
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '</td></tr><tr><td style="padding: 0px;">';
$viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '<div id="items_' . ($row['prototype'] ? $row['prototype'] : $row['id']) . '" style="display: none;"><table width="100%">';
}