foreach ($fbattle->t1 as $k => $v) {
if (in_array($v, array_keys($fbattle->battle))) {
++$i;
if ($i > 1) {
$cc = ', ';
} else {
$cc = '';
}
$ffs .= $cc . nick4($v, "B1");
$zz .= "private [" . nick7($v) . "] ";
}
}
$i = 0;
?>
= $ffs ?>
против
$ffs = '';
$zz = '';
foreach ($fbattle->t2 as $k => $v) {
if (in_array($v, array_keys($fbattle->battle))) {
++$i;
if ($i > 1) {
$cc = ', ';
} else {
$cc = '';
}
$ffs .= $cc . nick4($v, "B2");
$zz .= "private [" . nick7($v) . "] ";
}
}
$i = 0;
?>
= $ffs ?>
На данный момент вами нанесено урона:
= (int)$fbattle->damage[$user['id']] ?> HP.
if (!$user['in_tower']) { ?>
(Бой идет с
таймаутом = $fbattle->battle_data['timeout'] ?> мин.)
} ?>
} else {
echo "