{<includes/global.inc}

{{c.w_theme=1}?
{<includes/reallite.inc}
:
{<includes/head_unofficial.inc}
}

<center>

{{c.w_theme=1}?<br>}
{v.refreshtimer:300} {##=Время, через которое страница автоматически обновится. Вставьте <span id="timer">{v.refreshtimer}</span> там, где Вы хотите, чтобы отображалось время}
{<includes/countdown.inc}
<script language="javascript">document.write("<a href='javascript:location.reload()'>Обновление</a> <a href='javascript:setrefresh();'><span id='timer'>{v.refreshtimer}</span></a>");</script>
{{c.w_theme=2}?{{{@file_exists:{W.moddir}/cstrike.wad}=0}?&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="steam\: &quot;-applaunch 10 -game cstrike +connect {c.ip}\:{c.port}&quot;">Зайти на этот сервер</a>}}
<br>
{{c.w_theme=1}?
<table align="center" style="border-width\: 0">
<tr>
<td align="center">

<TABLE cellSpacing=0 cellPadding=0 width="920" border=0>
<TBODY>
<TR>
<TD><IMG height=30 alt="" src="reallite/1/tlc(1).gif" width=10 border=0 name=tlc></TD>
<TD width="100%" background="reallite/1/tm(1).gif"><IMG height=1 alt="" src="reallite/1/spacer(1).gif" width=1 border=0 name=tm><center><b>Игроки и результаты</b></center></TD>
<TD><IMG height=30 alt="" src="reallite/1/trc(1).gif" width=10 border=0 name=trc></TD>
</TR>
<TR>
<TD background="reallite/1/left(1).gif"><IMG height=1 alt="" src="reallite/1/spacer(1).gif" width=1 border=0 name=left></TD>
<TD vAlign=top bgColor=#777777>
:
<br><b>Игроки и результаты</b><br><br>
}

<table width="900" align="center" cellspacing="1" cellpadding="2">
<tr>
<td class="{<includes/normcell.inc}" width="45" align="center"><b>Статус</b></td>
<td class="{<includes/normcell.inc}" width="240" align="center"><b>Имя игрока</b><br>(Nickname)</td>
<td class="{<includes/normcell.inc}" width="60" align="center"><b>Убийства</b><br>(Score)</td>
<td class="{<includes/normcell.inc}" width="60" align="center"><b>Смерти</b><br>(Deaths)</td>
<td class="{<includes/normcell.inc}" width="50" align="center"><b>Играет</b><br>(Here)</td>
<td class="{<includes/normcell.inc}" width="130" align="center"><b>AuthID</b></td>
<td class="{<includes/normcell.inc}" width="60" align="center"><b>Задержка</b><br>(Ping)</td>
<td class="{<includes/normcell.inc}" width="105" align="center"><b>Потеря пакетов</b><br>(Network loss)</td>
<td class="{<includes/normcell.inc}" width="100" align="center"><b>IP адрес</b></td>
<td class="{<includes/normcell.inc}" width="50" align="center"><b>Админ</b></td>
</tr>
{W.players?
{L.l:v.whichteam:CT,TERRORIST,SPECTATOR,UNASSIGNED:
	{v.total_ping:0}{v.total_loss:0}{v.team_usercount:0}
	{L.u:{{p.team=v.whichteam}?
		{v.total_ping:{v.total_ping+p.ping}}{v.total_loss:{v.total_loss+p.loss}}{v.team_usercount:{v.team_usercount+1}}
	}}
	{{{{v.whichteam=SPECTATOR}|{v.whichteam=UNASSIGNED}}&{v.team_usercount=0}}?
	:
	<tr>
	<td class="team{v.whichteam}" colspan="2"><font size="4">{{v.whichteam=CT}?СПЕЦНАЗ}{{v.whichteam=TERRORIST}?ТЕРРОРИСТЫ}{{v.whichteam=SPECTATOR}?НАБЛЮДАТЕЛИ}{{v.whichteam=UNASSIGNED}?Неподключенные}</font></td>
	<td class="team{v.whichteam}" colspan="2" align="center"><font size="4">{{v.whichteam=CT}?{@teamscore:CT}:{{v.whichteam=TERRORIST}?{@teamscore:TERRORIST}}}</font></td>
	<td class="team{v.whichteam}"></td>
	<td class="team{v.whichteam}" align="center">{v.team_usercount} Игрок{{v.team_usercount!1}?ов}</td>
	{{v.team_usercount=0}?{v.team_usercount:1}}
	<td class="team{v.whichteam}" align="center">{v.total_ping/v.team_usercount}</td>
	<td class="team{v.whichteam}" align="center">{v.total_loss/v.team_usercount}</td>
	<td class="team{v.whichteam}"></td>
	<td class="team{v.whichteam}"></td>
	</tr>
	}
{L.p:
{{p.team=v.whichteam}?
{v.celltype:{p.team?team{p.team}:{<includes/normcell.inc}}}
<tr>
<td class="{v.celltype}" align="center">{{{p.dead}&{p.team!SPECTATOR}&{p.team!UNASSIGNED}}?<img src="images/death.gif" border="0" width=19 height=16>}{v.authed?{{p.bomb}?<img src="images/c4.gif" border="0" width=30 height=17>}}{{p.vip}?<img src="images/vip.gif" border="0" width=24 height=12>}</td>
<td class="{v.celltype}">{v.authed?<a href="player.w?uid={p.uid}">{p.name}</a>:{v.admin?<a href="player_message.w?uid={p.uid}">{p.name}</a>:{p.name}}}</td>
<td class="{v.celltype}" align="center">{p.frags}</td>
<td class="{v.celltype}" align="center">{p.deaths}</td>
<td class="{v.celltype}" align="center">{p.ctime}</td>
<td class="{v.celltype}" align="center">{p.authid}</td>
<td class="{v.celltype}" align="center">{p.ping}</td>
<td class="{v.celltype}" align="center">{p.loss}{v.total_loss:{v.total_loss+p.loss}}</td>
<td class="{v.celltype}" align="center">{{v.admin|v.authed}?{p.ip}:Скрыт}</td>
<td class="{v.celltype}" align="center">{{{{c.amx_userflags{p.id}}=z}|{{c.amx_userflags{p.id}}=}}?Нет:Да}</td></tr>
{v.team_usercount:{v.team_usercount+1}}
}
}
}
:
<tr><td class="{<includes/normcell.inc}" colspan="10" align="center"><i>Нет активных игроков</i>{W.users?<br>(Подключаются {W.users})}</td></tr>
}
</table>

<table  width="900" align="center" cellspacing="0" cellpadding="0">
<tr><td class="teamCT" width="448"><center>Спецназ: &nbsp; <b>{@teamscore:CT}</b></center></td>
<td class="normcell2" width="2" align="center"></td>
<td class="teamTERRORIST" width="450"><center>Террористы: &nbsp; <b>{@teamscore:TERRORIST}</b></center></td></tr>
</table>

{{c.w_theme=1}?
{<includes/table_down.inc}
</tr>
</td>
</table>
}
</center>

{{c.w_theme=1}?
{<includes/tail.inc}
:
{<includes/tail_unofficial.inc}
}