%PDF- %PDF-
Direktori : /home/nginx/.vscode-server/data/User/History/44ac1317/ |
Current File : //home/nginx/.vscode-server/data/User/History/44ac1317/v2wF.php |
<html> <head> <title></title> </head> <body> <!-- @php print_r($divisions) @endphp --> <h1>{{ $name }} - {{ $date->format("d.m.Y") }}</h1> <div> @foreach($divisions as $division) @if($division->name == "All") @continue @endif <h2>{{ __("contest." . $division->name) }}</h2> <table style="border: 1px solid black; width: 100%;"> <thead> <tr> <td rowspan="2"><span class="fa-solid fa-trophy"></span></td> <td rowspan="2">{{ __("Name") }}</td> <td rowspan="2">{{ __("Total %") }}</td> @for($i = 1; $i <= $numStages; $i++) @php $stageDetailClass = "stage-detail-{$stages[$i]->id}"; $resOddEven = ($i % 2 == 0) ? "result-even" : "result-odd"; @endphp <td colspan="{{ $stages[$i]->span }}" class="{{ $stageDetailClass }} {{ $resOddEven }}" style="text-align: center; display: table-cell; font-weight: bold;"> <span style="cursor:pointer">Stage {{ $i }}</span> </td> <td style="width: 10px;"></td> @endfor </tr> <tr> @for($i = 1; $i <= $numStages; $i++) @php $stageDetailClass = "stage-detail-{$stages[$i]->id}"; $resOddEven = ($i % 2 == 0) ? "result-even" : "result-odd"; @endphp <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;"><span class="fa-solid fa-stopwatch"></span></td> @if($stages[$i]->strings > 1) @for($j = 1; $j <= $stages[$i]->strings; $j++) <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">T{{ $j }}</td> @endfor @endif <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">PP</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">A</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">C</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">D</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">M-T</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">M-P</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">N-T</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">proc</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;"><span class="fa-solid fa-stopwatch"></span></td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}" style="text-align: center; font-weight: bold;">%</td> <td style="width: 10px;"></td> @endfor </tr> </thead> <tbody> @foreach($division->shooters as $sh) <tr id="shooter-{{ $sh->registrationId }}" onmouseover="rowHighlight(this);" onmouseout="rowHighlight(this);" onclick="rowMark(this);"> <td class="text-center result-header">{{ !$sh->notcomp ? $loop->iteration : __("NC") }}</td> @if($division->name == "All") <td class="result-header">{{ $sh->origDivision }}</td> @endif <td :class="pin ? 'sticky left-0' : ''" class="whitespace-nowrap result-header">{{ $sh->name }}</td> <td class="text-center result-header">{{ $sh->percent }}%</td> @for($i = 1; $i <= $numStages; $i++) @php $stageDetailClass = "stage-detail-{$stages[$i]->id}"; $resOddEven = ($i % 2) ? "result-odd" : "result-even"; @endphp <td class="{{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->time }}</td> @if($stages[$i]->strings > 1) @for($j = 1; $j <= $stages[$i]->strings; $j++) <td class="{{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stageStrings[$i][$j] }}</td> @endfor @endif <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->popper }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->alpha }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->charlie }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->delta }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->miss }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->misspopper }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->noshoot }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->proc }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ $sh->stages[$i]->total_time }}</td> <td class="text-center {{ $resOddEven }} {{ $stageDetailClass }}">{{ number_format($sh->stages[$i]->stage_percent, 2) }}</td> <td class="{{ $resOddEven }} {{ $stageDetailClass }}-collapsed text-center" style="display: none;"><span title="{{ $sh->stages[$i]->total_time }} s">{{ number_format($sh->stages[$i]->stage_percent, 2) }}</span></td> <td style="width: 10px;"></td> @endfor </tr> @endforeach </tbody> </table> @endforeach </div> </body> </html>