This commit is contained in:
Igor Barkov [iwork]
2018-12-11 18:23:21 +02:00
parent 2403e4a57b
commit 6a463392d8
3 changed files with 116 additions and 154 deletions
+4 -8
View File
@@ -1892,20 +1892,17 @@ if (input::get('edit')) {
$user['boots'], $user['plaw'], $user['rune_1'], $user['rune_2'], $user['rune_3']);
while ($res = $q2->fetch_assoc()) $items[] = $res['id'];
$t_items = implode(";", $items);
db::c()->query('INSERT INTO `komplekt` (`name`, `owner`, `items`) VALUES ("?s",?i,"?s")',input::get('savecomplect'),$_SESSION['uid'],$t_items);
db::c()->query('INSERT INTO `komplekt` (`name`, `owner`, `items`) VALUES ("?s",?i,"?s")', input::get('savecomplect'), $_SESSION['uid'], $t_items);
err('Комплект ' . $name . ' сохранён.');
} else err('Ошибка: такое название комплекта уже используется!');
} else err('Ошибка: запрещённые символы!');
}
if (!in_array(input::get('mZeAjax'), array('mZeInventory', 'mZeFilter'))):
?>
if (!in_array(input::get('mZeAjax'), array('mZeInventory', 'mZeFilter'))): ?>
<HTML>
<HEAD>
<meta charset="utf-8">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/newstyle18.css"
">
<link rel="stylesheet" href="css/tooltip.css"/>
<link rel="stylesheet" href="css/bkstyle.css?101"/>
<link rel="stylesheet" href="css/mi.css"/>
@@ -2024,10 +2021,10 @@ if (input::get('edit')) {
<table border=0 width=100% cellspacing="0" cellpadding="0">
<TR>
<td valign=top align=left width=250><? showpersinv($user['id']) ?>
<center>
<div align="center">
<a href='main.php?edit=1&undress=all'>Снять все</a><BR>
<a href="javascript: void(0);" onclick="saveComplect(); return false;">Запомнить комплект</a><br/>
</center>
</div>
<BR>
<table>
<tr>
@@ -2897,7 +2894,6 @@ if ($user['room'] == 666) {
<HTML>
<HEAD>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/newstyle18.css">
<link rel="stylesheet" href="css/btn.css">
<meta charset="utf-8">
<link rel="stylesheet" href="css/tooltip.css">