{$protocol.tournament|link:"tournament"}
{$protocol.play_area.name} ({$protocol.play_city}), {$protocol.play_date|date_format:"%d.%m.%Y"} {$protocol.play_time|date_format:"%H:%M"} {if $protocol.completed == true}Игра завершена{/if}
Температура: {$protocol.play_temp} C, Количество зрителей: {$protocol.play_spectators_cnt}, Погодные условия: {$protocol.play_weather.name}
{$teams=['_a','_b']}
{foreach $teams as $t}
{if $protocol["team$t"]["image"] !== null}
{/if}
{$protocol["team$t"]|link:"team"}
{$protocol["team$t"].city}
Тренер:{$protocol["coach$t"]|link:"person"}
{if $t == "_a"}
{if $protocol.completed == true && $protocol.score_a !== null && $protocol.score_b !== null}
{$protocol.score_a}:{$protocol.score_b}
{else}
Не окончена
{/if}
{/if}
{/foreach}
Голы
{foreach $goals as $goal}
{foreach $teams as $team}
{$goal.game_time|seconds2minutes:"ceil"}' {$goal.player|link:"player":"trim_surname"}
{if $goal.assistant.name != null}
({$goal.assistant|link:"player":"trim_surname"})
{/if}
[{$goal.form|form}]
{if $team == "_a"}
{$goal.team_a_score}:{$goal.team_b_score}
{/if}
{/foreach}
{/foreach}
Составы команд
{foreach $teams as $team}
{foreach $protocol.players as $player}
{if $player.team._ID == $protocol["team$team"]._ID}
{if $player.num == 12}{/if}
{/if}
{/foreach}
{if $team == "_a"}
{/if}
{/foreach}
Удаления
{foreach $teams as $team}
{foreach $deletes as $d}
{if $d.team._ID == $protocol["team$team"]._ID}
{$d.delete_time|seconds2minutes}' {$d.player|link:"player":"trim_surname"} - {$d.delete_seconds|seconds2minutes:"ceil"} мин. {if $d.delete_form!=0}[{$d.delete_form|delete}]{/if}
{/if}
{/foreach}
{if $team == "_a"}
{/if}
{/foreach}
Судейская бригада
{if $protocol.primary_judge.name != null}- {$protocol.primary_judge|link:"judge"} ({if $protocol.judgement=="Двойное"}судья в поле{else}главный судья{/if})
{/if}
{if $protocol.judge_assistant_1.name != null}- {$protocol.judge_assistant_1|link:"judge"} ({if $protocol.judgement=="Двойное"}судья в поле{else}помощник{/if})
{/if}
{if $protocol.judge_assistant_2.name != null}- {$protocol.judge_assistant_2|link:"judge"} ({if $protocol.judgement=="Двойное"}судья у ворот{else}помощник{/if})
{/if}
{if $protocol.secondary_judge.name != null}- {$protocol.secondary_judge|link:"judge"} ({if $protocol.judgement=="Двойное"}судья у ворот{else}резервный судья{/if})
{/if}
{if $protocol.play_inspector.name != null}- {$protocol.play_inspector|link:"judge"} (инспектор матча)
{/if}
{if $protocol.judge_secretary_1.name != null}- {$protocol.judge_secretary_1|link:"judge"} (секретарь ЭП)
{/if}
{if $protocol.judge_secretary_2.name != null}- {$protocol.judge_secretary_2|link:"judge"} (секретарь)
{/if}
{if $protocol.judge_informator.name != null}- {$protocol.judge_informator|link:"judge"} (судья информатор)
{/if}
Дополнительная информация
{$comments}
{if count($events) == 0}
Событий нет
{/if}
{foreach $events as $ev}{/foreach}