{block name=body}
	<section class="section_question text-center">
		<div class="ct">
			<div class="ct_l"></div>
			<div class="ct_c">
				{if $rankExists}
					<div class="font_150 font_weight_700 color_222">{if $statistics.replyCorrect}Brawo!{else}Ups!{/if}</div>
					<div class="quiz_result_user_rank font_120">{if $statistics.replyCorrect}Odpowiedź poprawna{else}Odpowiedź niepoprawna{/if}</div>
					<div class="space space_5 clear"></div>
					<div class="quiz_result_user_time">Czas udzielenia odpowiedzi: <span>{round($rankPerson.time/1000, 1)}s</span></div>
					<div class="space space_10 clear"></div>
					{if $statistics.stepMax > 1}
						<div class="space space_10 clear"></div>
						<div class="font_120 font_weight_700 color_222">Po {$statistics.step} z {$statistics.stepMax} etapów</div>
					{/if}
					<div class="quiz_result_user_rank font_120">Uzyskałeś/aś <span>{$rankPerson.rank}</span> miejsce</div>
					{if $rankPerson.rank <= 3}
						{assign var="awardClass" value=""}
						{if $rankPerson.rank == 1}
							{assign var="awardClass" value="award_gold"}
						{elseif $rankPerson.rank == 2}
							{assign var="awardClass" value="award_silver"}
						{elseif $rankPerson.rank == 3}
							{assign var="awardClass" value="award_bronze"}
						{/if}
						<div class="space space_10 clear"></div>
						<div class="quiz_result_user_award {$awardClass}">
							<svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-slide-type-2-7"></use></svg>
						</div>
					{/if}
					<div class="space space_10 clear"></div>
					<div class="quiz_result_user_points">Zdobyłeś/aś: <span>{$rankPerson.points}</span> punktów</div>
					
					{if 1==2}
						{if $rankPerson.rank <= 3}
							<div class="font_150 font_weight_700 color_222">Brawo!</div>
						{/if}
						<div class="quiz_result_user_rank font_120">Uzyskałeś/aś <span>{$rankPerson.rank}</span> miejsce</div>
						{if $rankPerson.rank <= 3}
							{assign var="awardClass" value=""}
							{if $rankPerson.rank == 1}
								{assign var="awardClass" value="award_gold"}
							{elseif $rankPerson.rank == 2}
								{assign var="awardClass" value="award_silver"}
							{elseif $rankPerson.rank == 3}
								{assign var="awardClass" value="award_bronze"}
							{/if}
							<div class="space space_10 clear"></div>
							<div class="quiz_result_user_award {$awardClass}">
								<svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-slide-type-2-7"></use></svg>
							</div>
						{/if}
						<div class="space space_10 clear"></div>
						<div class="quiz_result_user_time">Czas udzielenia odpowiedzi: <span>{round($rankPerson.time/1000, 1)}s</span></div>
						<div class="space space_5 clear"></div>
						<div class="quiz_result_user_points">Zdobyłeś: <span>{$rankPerson.points}</span> punktów</div>
						{*<div class="space space_25"></div>
						<div class="btn btn-primary full-width btn-next">
							<span>Dalej</span>
							<div class="icon"><svg><use xlink:href="{url mode="root"}theme/dobry-start/images/icons/svg/sprite.svg#shape-chevron-right"></use></svg></div>
						</div>*}
					{/if}
				{else}
					<div class="quiz_result_user_rank font_120">Nie udzieliłeś/aś odpowiedzi na pytanie</div>
				{/if}
			</div>
			<div class="ct_r"></div>
		</div>
	</section>
{/block}