Чистка устаревшего.
This commit is contained in:
parent
fdcc2eed4e
commit
83cdb3e24c
44
main.php
44
main.php
@ -240,6 +240,9 @@ function dressitem($id)
|
||||
case 23:
|
||||
$slot1 = 'plaw';
|
||||
break;
|
||||
default:
|
||||
$slot1 = '';
|
||||
break;
|
||||
}
|
||||
|
||||
if ($item['type'] == 5) {
|
||||
@ -465,7 +468,7 @@ function showpersinv($id)
|
||||
<TR>
|
||||
<TD><?php
|
||||
if ($user['bron'] > 0 || $user['rybax'] > 0 || $user['plaw'] > 0) {
|
||||
$d = $n = [];
|
||||
$d = $n = 0;
|
||||
if ($user['plaw']) {
|
||||
$d = $user['plaw'];
|
||||
$n = 23;
|
||||
@ -859,13 +862,13 @@ if (input::get('edit')) {
|
||||
errkom = 'Такой комплект уже существует<br>';
|
||||
com = coma
|
||||
}
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
document.getElementById("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
'<form action="' + script + '" method=POST><table width=100% cellspacing=0 cellpadding=2 bgcolor=FFF6DD><tr><INPUT TYPE=hidden name=sd4 value="6"><td colspan=2><font color=red>' +
|
||||
errkom + '</font>введите название предмета</TD></TR><TR><TD width=50% align=right><INPUT TYPE=text NAME="' + name + '" value="' + com + '"></TD><TD width=50%><INPUT TYPE="submit" value=" »» "></TD></TR></TABLE></FORM></td></tr></table>';
|
||||
document.all("hint3").style.visibility = "visible";
|
||||
document.all("hint3").style.left = 100;
|
||||
document.all("hint3").style.top = 100;
|
||||
document.all(name).focus();
|
||||
document.getElementById("hint3").style.visibility = "visible";
|
||||
document.getElementById("hint3").style.left = '100';
|
||||
document.getElementById("hint3").style.top = '100';
|
||||
document.getElementById(name).focus();
|
||||
Hint3Name = name;
|
||||
}
|
||||
|
||||
@ -1367,32 +1370,31 @@ if (input::get('edit')) {
|
||||
|
||||
// Заголовок, название скрипта, имя поля с логином
|
||||
function findlogin(title, script, name) {
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
document.getElementById("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
'<form action="' + script + '" method=POST><table width=100% cellspacing=0 cellpadding=2 bgcolor=FFF6DD><tr><INPUT TYPE=hidden name=sd4 value="6"><td colspan=2>' +
|
||||
'Укажите логин персонажа:<small><BR>(можно щелкнуть по логину в чате)</TD></TR><TR><TD width=50% align=right><INPUT TYPE=text NAME="' + name + '"></TD><TD width=50%><INPUT TYPE="submit" value=" »» "></TD></TR></TABLE></FORM></td></tr></table>';
|
||||
document.all("hint3").style.visibility = "visible";
|
||||
document.all("hint3").style.left = 100;
|
||||
document.all("hint3").style.top = 100;
|
||||
document.all(name).focus();
|
||||
document.getElementById("hint3").style.visibility = "visible";
|
||||
document.getElementById("hint3").style.left = '100';
|
||||
document.getElementById("hint3").style.top = '100';
|
||||
document.getElementById(name).focus();
|
||||
Hint3Name = name;
|
||||
}
|
||||
|
||||
// Заголовок, название скрипта, имя поля с шмоткой
|
||||
function okno(title, script, name, coma) {
|
||||
function okno(title, script, name) {
|
||||
var errkom = '';
|
||||
//if (coma!='') errkom='Нельзя использовать символы: /\:*?"<>|<br>';
|
||||
document.all("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
document.getElementById("hint3").innerHTML = '<table width=100% cellspacing=1 cellpadding=0 bgcolor=CCC3AA><tr><td align=center><B>' + title + '</td><td width=20 align=right valign=top style="cursor: pointer" onclick="closehint3();"><BIG><B>x</td></tr><tr><td colspan=2>' +
|
||||
'<form action="' + script + '" method=POST><table width=100% cellspacing=0 cellpadding=2 bgcolor=FFF6DD><tr><INPUT TYPE=hidden name=sd4 value="6"><td colspan=2><font color=red>' +
|
||||
errkom + '</font>введите название предмета</TD></TR><TR><TD width=50% align=right><INPUT TYPE=text NAME="' + name + '"></TD><TD width=50%><INPUT TYPE="submit" value=" »» "></TD></TR></TABLE></FORM></td></tr></table>';
|
||||
document.all("hint3").style.visibility = "visible";
|
||||
document.all("hint3").style.left = 100;
|
||||
document.all("hint3").style.top = 100;
|
||||
document.all(name).focus();
|
||||
document.getElementById("hint3").style.visibility = "visible";
|
||||
document.getElementById("hint3").style.left = '100';
|
||||
document.getElementById("hint3").style.top = '100';
|
||||
document.getElementById(name).focus();
|
||||
Hint3Name = name;
|
||||
}
|
||||
|
||||
function closehint3() {
|
||||
document.all("hint3").style.visibility = "hidden";
|
||||
document.getElementById("hint3").style.visibility = "hidden";
|
||||
Hint3Name = '';
|
||||
}
|
||||
|
||||
@ -1436,13 +1438,13 @@ if (input::get('edit')) {
|
||||
<div class="hint-text">Сейчас в игре: <strong><?= $online->getNumRows() ?></strong> чел.</div>
|
||||
<button onclick="gotohref('zayavka.php')">Поединки</button><br>
|
||||
<button onclick="gotohref('main.php?edit=1')">Инвентарь</button><br>
|
||||
<button onclick="gotohref'module_quest.php')">Активные задания</button><br>
|
||||
<button onclick="gotohref('module_quest.php')">Активные задания</button><br>
|
||||
<?php if ($user['room'] === 20): ?>
|
||||
<button onclick="gotohref('main.php?goto=arena')">Войти внутрь</button><br>
|
||||
<?php else: ?>
|
||||
<button onclick="gotohref('main.php?goto=plo')">Выйти на улицу</button><br>
|
||||
<?php endif;?>
|
||||
<button onclick="gotohref(\'main.php\')">Обновить страницу</button>
|
||||
<button onclick="gotohref('main.php')">Обновить страницу</button>
|
||||
</TD>
|
||||
</tr>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user