Удаление неиспользуемого to[paladins\tarmans].
This commit is contained in:
parent
0163cb5be6
commit
a073a02176
@ -626,35 +626,31 @@ var chat = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Собираем массив кому адресовано сообщение
|
//Собираем массив кому адресовано сообщение
|
||||||
if (data[2] == 6) {
|
if (parseInt(data[2]) === 6) {
|
||||||
//личная системка, внимание
|
//личная системка, внимание
|
||||||
msg += ' <span style="color:red">Внимание!</span> ';
|
msg += ' <span style="color:red">Внимание!</span> ';
|
||||||
} else if (data[2] == 2) {
|
} else if (parseInt(data[2]) === 2) {
|
||||||
if (forYou > 0) {
|
if (forYou > 0) {
|
||||||
msg += ` <span style="color:${data[6]}"><b>to [${to2}]</b></span>`;
|
msg += ` <span style="color:${data[6]}"><b>to [${to2}]</b></span>`;
|
||||||
} else {
|
} else {
|
||||||
msg += ` <span style="color:${data[6]}">to [${to2}]</span>`;
|
msg += ` <span style="color:${data[6]}">to [${to2}]</span>`;
|
||||||
}
|
}
|
||||||
} else if (data[2] == 3) {
|
} else if (parseInt(data[2]) === 3) {
|
||||||
if (this.trim(data[3].toLowerCase()) == c.login.toLowerCase()) {
|
if (this.trim(data[3].toLowerCase()) === c.login.toLowerCase()) {
|
||||||
forYou++;
|
forYou++;
|
||||||
}
|
}
|
||||||
if (data[3] != '') {
|
if (data[3] !== '') {
|
||||||
if (data[4] == 'klan' && data[2] == 3) {
|
if (data[4] === 'klan' && parseInt(data[2]) === 3) {
|
||||||
msg += ' <span class="klan"><span style="cursor:pointer" onclick="chat.multiaddto(\'klan\',\'private\');">private [klan]</span></span>';
|
msg += ' <span class="klan"><span style="cursor:pointer" onclick="chat.multiaddto(\'klan\',\'private\');">private [klan]</span></span>';
|
||||||
} else if (data[4] == 'paladins' && data[2] == 3) {
|
} else {
|
||||||
msg += ' <span class="klan"><span style="cursor:pointer" onclick="chat.multiaddto(\'paladins\',\'private\');">private [paladins]</span></span>';
|
msg += ` <span class="private"><span style="cursor:pointer" onclick="chat.multiaddto(\'${to2}\',\'private\');">private [ </span>${to}<span style="cursor:pointer" onclick="chat.multiAddto(\'${to2}\',\'private\');"> ]</span></span>`;
|
||||||
} else if (data[4] == 'tarmans' && data[2] == 3) {
|
}
|
||||||
msg += ' <span class="klan"><span style="cursor:pointer" onclick="chat.multiaddto(\'tarmans\',\'private\');">private [tarmans]</span></span>';
|
}
|
||||||
} else {
|
}
|
||||||
msg += ` <span class="private"><span style="cursor:pointer" onclick="chat.multiaddto(\'${to2}\',\'private\');">private [ </span>${to}<span style="cursor:pointer" onclick="chat.multiAddto(\'${to2}\',\'private\');"> ]</span></span>`;
|
}
|
||||||
}
|
msg += ' ';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
msg += ' ';
|
|
||||||
}
|
|
||||||
|
|
||||||
data[5] = this.replaceAll(data[5],"[s1;]",'"');
|
data[5] = this.replaceAll(data[5],"[s1;]",'"');
|
||||||
data[5] = this.replaceAll(data[5],"[s2;]",'\'');
|
data[5] = this.replaceAll(data[5],"[s2;]",'\'');
|
||||||
|
@ -123,14 +123,6 @@ if(floor($u->info['align'])==1) {
|
|||||||
|
|
||||||
<TABLE cellspacing=0 cellpadding=2 width="300"><TR><TD>
|
<TABLE cellspacing=0 cellpadding=2 width="300"><TR><TD>
|
||||||
<center>
|
<center>
|
||||||
<?php
|
|
||||||
$ckln = '';
|
|
||||||
if(floor($u->info['align'])==1) {
|
|
||||||
$ckln = 'paladins';
|
|
||||||
}else{
|
|
||||||
$ckln = 'tarmans';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<h4><a href="javascript:void(0)" onClick="top.chat.addto('<?=$ckln?>','private')"><IMG border=0 SRC=//img.new-combats.tech/i/lock.gif WIDTH=20 HEIGHT=15 ALT="Приватно"></a> Соклановцы</H4>
|
<h4><a href="javascript:void(0)" onClick="top.chat.addto('<?=$ckln?>','private')"><IMG border=0 SRC=//img.new-combats.tech/i/lock.gif WIDTH=20 HEIGHT=15 ALT="Приватно"></a> Соклановцы</H4>
|
||||||
<table bgcolor=#eeeeee>
|
<table bgcolor=#eeeeee>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -72,7 +72,7 @@ document.write(s+'<BR>');
|
|||||||
<tr>
|
<tr>
|
||||||
<td valign=top>
|
<td valign=top>
|
||||||
<center>
|
<center>
|
||||||
<h3><A HREF="javascript:void(0)" onClick="top.chat.addto('paladins','private')"><img src="//img.new-combats.tech/i/lock.gif" width=20 height=15></A> Орден Света</h3>
|
<h3>Орден Света</h3>
|
||||||
<table>
|
<table>
|
||||||
<? $data=mysql_query("SELECT `id`,`login`,`level`,`align`,`room`,`online`,`city`, `battle`,
|
<? $data=mysql_query("SELECT `id`,`login`,`level`,`align`,`room`,`online`,`city`, `battle`,
|
||||||
(select `name` from `room` WHERE `id` = users.`room`) as `room`
|
(select `name` from `room` WHERE `id` = users.`room`) as `room`
|
||||||
|
@ -123,14 +123,6 @@ if(floor($u->info['align'])==1) {
|
|||||||
|
|
||||||
<TABLE cellspacing=0 cellpadding=2 width="300"><TR><TD>
|
<TABLE cellspacing=0 cellpadding=2 width="300"><TR><TD>
|
||||||
<center>
|
<center>
|
||||||
<?php
|
|
||||||
$ckln = '';
|
|
||||||
if(floor($u->info['align'])==1) {
|
|
||||||
$ckln = 'paladins';
|
|
||||||
}else{
|
|
||||||
$ckln = 'tarmans';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<h4><a href="javascript:void(0)" onClick="top.chat.addto('<?=$ckln?>','private')"><IMG border=0 SRC=//img.new-combats.tech/i/lock.gif WIDTH=20 HEIGHT=15 ALT="Приватно"></a> Соклановцы</H4>
|
<h4><a href="javascript:void(0)" onClick="top.chat.addto('<?=$ckln?>','private')"><IMG border=0 SRC=//img.new-combats.tech/i/lock.gif WIDTH=20 HEIGHT=15 ALT="Приватно"></a> Соклановцы</H4>
|
||||||
<table bgcolor=#eeeeee>
|
<table bgcolor=#eeeeee>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -80,7 +80,7 @@ function mod1() {
|
|||||||
</script>
|
</script>
|
||||||
<table width="100%" height="10" border="0" cellspacing="0" cellpadding="0">
|
<table width="100%" height="10" border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding-left:55px; padding-bottom:5px; padding-top:6px; border:1px solid #a4a6a3;" bgcolor="#c7c7c7" align="left"><h3 style="text-align:left;margin:0;padding:0;"><img class="cp" src="//img.new-combats.tech/i/lock.gif" title="Написать" width="20" height="15" onClick="top.chat.addto('paladins','private');"> Орден Модераторов</h3></td>
|
<td style="padding-left:55px; padding-bottom:5px; padding-top:6px; border:1px solid #a4a6a3;" bgcolor="#c7c7c7" align="left"><h3 style="text-align:left;margin:0;padding:0;">Орден Модераторов</h3></td>
|
||||||
<td width="200" align="right">
|
<td width="200" align="right">
|
||||||
<input class="btn" onClick="location.href='/main.php?<?=$url?>';" type="button" value="Обновить">
|
<input class="btn" onClick="location.href='/main.php?<?=$url?>';" type="button" value="Обновить">
|
||||||
<input class="btn" onClick="location.href='/main.php';" type="button" value="Вернуться">
|
<input class="btn" onClick="location.href='/main.php';" type="button" value="Вернуться">
|
||||||
|
Loading…
Reference in New Issue
Block a user