Убрал вызов User->timeOut.
This commit is contained in:
+6
-4
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
//const GAME = true;
|
||||
use Helper\Conversion;
|
||||
|
||||
if (!defined('GAME_VERSION')) {
|
||||
require_once '_incl_data/autoload.php';
|
||||
}
|
||||
@@ -62,9 +64,9 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
if ($pl['arand'] > 0) {
|
||||
$html .= '<img src="//img.new-combats.tech/arand.gif" title="Команды делятся на две равные команды (равные по количеству, но не по мощности)">';
|
||||
}
|
||||
$html .= '<font color="grey">Бой начнется через <b>' . $u->timeOut(
|
||||
$html .= '<font color="grey">Бой начнется через <b>' . Conversion::secondsToTimeout(
|
||||
$pl['time'] + $pl['time_start'] - time()
|
||||
) . '</b>, таймаут ' . $u->timeOut($pl['timeout']) . '</font>';
|
||||
) . '</b>, таймаут ' . Conversion::secondsToTimeout($pl['timeout']) . '</font>';
|
||||
if ($pl['priz'] > 0) {
|
||||
$html .= '<a href="/n/567/" target="_blank"><span style="color:#e65700;" title="Победители имеют 5% шанс на получение Жетона Успеха "><b>(Героическое Сражение)</b></span></a></font></i>';
|
||||
}
|
||||
@@ -122,7 +124,7 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
if ($pl['arand'] > 0) {
|
||||
$html .= '<img src="//img.new-combats.tech/arand.gif" title="Команды делятся на две равные команды (равные по количеству, но не по мощности)">';
|
||||
}
|
||||
$html .= '<font color="grey">, таймаут ' . $u->timeOut($pl['timeout']) . '</font>';
|
||||
$html .= '<font color="grey">, таймаут ' . Conversion::secondsToTimeout($pl['timeout']) . '</font>';
|
||||
if ($pl['priz'] > 0) {
|
||||
$html .= '<a href="/n/567/" target="_blank"><span style="color:#e65700;" title="Та сторона которая победила получит 5% шанс на получение дополнительно Жетона Успеха "><b>(Героическое Сражение)</b></span></a></font></i>';
|
||||
}
|
||||
@@ -151,7 +153,7 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
//Ожидаем начала нового турнира
|
||||
$html .= ' Начало турнира в "Башне Смерти" : <span class="date">' . date(
|
||||
'd.m.Y H:i', $pl['time_start']
|
||||
) . '</span> (<small> <font color=grey>Начнется через <b>' . $u->timeOut(
|
||||
) . '</span> (<small> <font color=grey>Начнется через <b>' . Conversion::secondsToTimeout(
|
||||
$pl['time_start'] - time()
|
||||
) . '</b></font></small>) Призовой фонд на текущий момент: <b>' . round(
|
||||
($pl['money'] / 100 * 85), 2
|
||||
|
||||
Reference in New Issue
Block a user