Css classes 'redalert', 'greenalert' removed. Removed old unused styles. Overall optimisations.

This commit is contained in:
Igor Barkov (iwork)
2020-06-23 12:24:37 +03:00
parent 6a4dd6d17b
commit def341adf9
5 changed files with 7 additions and 795 deletions
+3 -3
View File
@@ -1404,7 +1404,7 @@ function dropitem($slot)
$wear_raw = db::c()->query('SELECT * FROM `inventory` where `owner` = ?i AND `dressed` = 1', $user['id']);
while ($wear_list = $wear_raw->fetch_assoc()) {
$wear_arr[] = $wear_list['prototype'];
};
}
$item['id'] = $user[$slot1];
@@ -1428,7 +1428,7 @@ function dropitem($slot)
if ($check_proto != $get_pro['prototype']) {
if (!in_array($check_proto, $wear_arr)) {
$checker = 0;
};
}
// echo("Checker=".$checker." at set #".$set_id." item #".$check_proto." Compare=".$get_pro['prototype']."<BR>");
}
//echo("Checker=".$checker." at set #".$set_id);
@@ -1749,7 +1749,7 @@ function AddChatSystem($msg)
function err($t)
{
echo '<span class="redalert">' . $t . '</span>';
echo '<span class="error">' . $t . '</span>';
return true;
}