и главное, что оно делает? зачем оно нужно?

This commit is contained in:
Igor Barkov [iwork] 2019-01-16 17:53:23 +02:00
parent 2050be616e
commit 4c8f6327f2

View File

@ -127,13 +127,18 @@ class Quests
} }
$d = $this->expl($pl['tr_date']); $d = $this->expl($pl['tr_date']);
$r .= "<div><a class='action-start' href='?quid={$pl['id']}'>я берусь</a> за задание {$pl['name']}</div>"; $r .= <<<TASK
$r .= "<div><div>{$pl['info']}<hr style='width: 75%;'></div><div>Награда: <b>{$nagr}</b></div> <div class="taskContainer" style="background: #dff0ff;"><h4>{$pl['name']}</h4>
<div>Время на выполнение: <b>{$pl['time']}</b> ч.</div> <br>{$ts}{$za} <div><a class="action-start" href="?quid={$pl['id']}">Я берусь за задание!</a></div>
<div>Задание для [{$pl['min_lvl']}-{$pl['max_lvl']}] уровней, с задержкой {$pl['heal']} ч.</div></div>"; <div style="font-style: italic;">{$pl['info']}</div>
<div>
$r .= '</div>'; Награда: <b>{$nagr}</b><br>
Время на выполнение: <b>{$pl['time']}</b> ч.<br>
{$ts}{$za}<br>
Задание для [{$pl['min_lvl']}-{$pl['max_lvl']}] уровней, с задержкой {$pl['heal']} ч.
</div>
</div>
TASK;
return $r; return $r;
} }
@ -457,7 +462,6 @@ class Quests
} }
public function expl($d) public function expl($d)
{ {
$i = 0; $i = 0;