2023-03-31 18:42:06 +00:00
|
|
|
|
<?php
|
2022-06-06 21:30:34 +00:00
|
|
|
|
if(!defined('GAME'))
|
|
|
|
|
{
|
|
|
|
|
die();
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<style>
|
|
|
|
|
.row {
|
|
|
|
|
cursor:pointer;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<SCRIPT>
|
|
|
|
|
var nlevel=0;
|
|
|
|
|
var from = Array('+', ' ', '#');
|
|
|
|
|
var to = Array('%2B', '+', '%23');
|
|
|
|
|
|
|
|
|
|
function w(login,id,align,klan,level,online, city, battle){
|
|
|
|
|
var s='';
|
|
|
|
|
if (online!="") {
|
|
|
|
|
if (city!="") {
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+='<IMG style="filter:gray()" SRC=//img.new-combats.tech/i/lock.gif WIDTH=20 HEIGHT=15 ALT="В другом городе">';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
} else {
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+='<a href="javascript:void(0)" onclick="top.chat.addto(\''+login+'\',\'private\')"><IMG SRC=//img.new-combats.tech/i/lock.gif WIDTH=20 HEIGHT=15 ALT="Приватно"'+(battle!=0?' style="filter: invert()"':'')+'></a>';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
if (city!="") {
|
|
|
|
|
s+='<img src="https://forum.img.new-combats.com/city/'+city+'.gif" width=17 height=15>';
|
|
|
|
|
}
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+=' <IMG SRC=//img.new-combats.tech/i/align/align'+align+'.gif WIDTH=12 HEIGHT=15>';
|
|
|
|
|
if (klan!='') {s+='<A HREF="/encicl/klan/'+klan+'.html" target=_blank><IMG SRC="//img.new-combats.tech/i/clan/'+klan+'.gif" WIDTH=24 HEIGHT=15 ALT=""></A>'}
|
|
|
|
|
s+='<a href="javascript:void(0)" onclick="top.chat.addto(\''+login+'\',\'to\')">'+login+'</a>['+level+']<a href=/info/'+id+' target=_blank><IMG SRC=//img.new-combats.tech/i/inf.gif WIDTH=12 HEIGHT=11 ALT="Информация о персонаже"></a>';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
s+='</td><td bgcolor=efeded nowrap>';
|
|
|
|
|
if (city!="") {
|
2023-01-10 16:29:32 +00:00
|
|
|
|
s+="нет в этом городе";
|
2022-06-06 21:30:34 +00:00
|
|
|
|
} else {
|
|
|
|
|
s+=online;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+='<IMG SRC="//img.new-combats.tech/i/offline.gif" WIDTH=20 HEIGHT=15 BORDER=0 ALT="Нет в клубе">';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
if (city!="") {
|
|
|
|
|
s+='<img src="https://forum.img.new-combats.com/city/'+city+'.gif" width=17 height=15>';
|
|
|
|
|
}
|
|
|
|
|
if (align == "") align="0";
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+=' <IMG SRC=//img.new-combats.tech/i/align/align'+align+'.gif WIDTH=12 HEIGHT=15>';
|
|
|
|
|
if (klan!='') {s+='<A HREF="/encicl/klan/'+klan+'.html" target=_blank><IMG SRC="//img.new-combats.tech/i/clan/'+klan+'.gif" WIDTH=24 HEIGHT=15 ALT=""></A>'}
|
2022-06-06 21:30:34 +00:00
|
|
|
|
if (level) {
|
|
|
|
|
if (nlevel==0) {
|
|
|
|
|
nlevel=1; //s="<BR>"+s;
|
|
|
|
|
}
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+='<FONT color=gray><b>'+login+'</b>['+level+']<a href=/info/'+id+' target=_blank><IMG SRC=//img.new-combats.tech/i/inf.gif WIDTH=12 HEIGHT=11 ALT="Информация о персонаже"></a></td><td bgcolor=efeded nowrap>Нет в клубе';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
} else {
|
|
|
|
|
if (nlevel==1) {
|
|
|
|
|
nlevel=2; //s="<BR>"+s;
|
|
|
|
|
}
|
|
|
|
|
mlogin = login;
|
|
|
|
|
for(var i=0;i<from.length;++i) while(mlogin.indexOf(from[i])>=0) mlogin= mlogin.replace(from[i],to[i]);
|
2023-03-31 18:30:14 +00:00
|
|
|
|
s+='<FONT color=gray><i>'+login+'</i> <a href=/info/'+mlogin+' target=_blank><IMG SRC=//img.new-combats.tech/i/inf_dis.gif WIDTH=12 HEIGHT=11 ALT="Информация о персонаже"></a></td><td bgcolor=efeded nowrap>нет в этом городе';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
s+='</FONT>';
|
|
|
|
|
}
|
|
|
|
|
document.write(s+'<BR>');
|
|
|
|
|
}
|
|
|
|
|
</SCRIPT>
|
|
|
|
|
</HEAD>
|
|
|
|
|
<body leftmargin=5 topmargin=5 marginwidth=0 marginheight=0 bgcolor=#e2e0e0><div id=hint4 class=ahint></div>
|
|
|
|
|
<table width=100%>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align=right>
|
2023-01-10 16:29:32 +00:00
|
|
|
|
<INPUT TYPE="button" onClick="location.href='main.php';" value="Вернуться" title="Вернуться">
|
2022-06-06 21:30:34 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign=top>
|
|
|
|
|
<center>
|
2023-03-31 18:30:14 +00:00
|
|
|
|
<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>
|
2022-06-06 21:30:34 +00:00
|
|
|
|
<table>
|
|
|
|
|
<? $data=mysql_query("SELECT `id`,`login`,`level`,`align`,`room`,`online`,`city`, `battle`,
|
|
|
|
|
(select `name` from `room` WHERE `id` = users.`room`) as `room`
|
|
|
|
|
FROM `users` WHERE `align`>1 AND `align`<2 AND `real` = 1 ORDER BY `align` DESC, `online` DESC;");
|
|
|
|
|
while ($us = mysql_fetch_array($data)) {
|
|
|
|
|
if($u->info['city']==$us['city']){$us['city']='';}
|
|
|
|
|
if ($us['online']>(time()-120)) {
|
|
|
|
|
$rrm = $us['room'];
|
|
|
|
|
}else{
|
|
|
|
|
$rrm = '';
|
|
|
|
|
}
|
|
|
|
|
echo"<TR valign=\"top\">
|
|
|
|
|
<TD bgcolor=efeded nowrap>
|
|
|
|
|
<SCRIPT>w('".$us['login']."','".$us['id']."','".$us['align']."','','".$us['level']."','".$rrm."','".$us['city']."','".$us['battle']."');</SCRIPT></TD></TR>";
|
|
|
|
|
}?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
</center>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|