%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nginx/.vscode-server/data/User/History/44ac1317/
Upload File :
Create Path :
Current File : //home/nginx/.vscode-server/data/User/History/44ac1317/Sdy7.php

<html>
<head>
    <title>{{ $name }} - {{ $date->format("d.m.Y") }}</title>
</head>

<body style="font-family: DejaVu Sans, sans-serif;">
    <h1>{{ $name }} - {{ $date->format("d.m.Y") }}</h1>
    <div style="overflow: visible;">
    @php
        $padding = "padding-left: 4pt; padding-right: 4pt;";
    @endphp
    <table style="width: 100%;">
    @foreach($divisions as $division)
        @if($division->name == "All")
            @continue
        @endif
        <tr>
            <td colspan="{{ ($numStages + 1) }}" style="font-weight: bold; font-size: 250%">{{ __("contest." . $division->name) }}</td>
        </tr>
        <tr>
            <td>
                <table style="width: 100%; border-collapse: collapse;">
                    <thead>
                        <tr style="height: 30pt;">
                            <td style="border: 1px solid black; {{ $padding }}"><span class="fa-solid fa-trophy"></span></td>
                            <td style="border: 1px solid black; {{ $padding }}">{{ __("Name") }}</td>
                            <td style="border: 1px solid black; {{ $padding }}">{{ __("Total %") }}</td>
                            <!-- <td rowspan="2" style="width: 8pt; border: none;"></td> -->
                        </tr>
                    </thead>
                    <tbody>
                        @foreach($division->shooters as $sh)
                            @php
                                $rowbg = $loop->iteration % 2 ? "#ffffff" : "#e6e6e6";
                            @endphp
                            <tr style="background-color: {{ $rowbg }};">
                                <td style="border: 1px solid black; {{ $padding }}">{{ !$sh->notcomp ? $loop->iteration : __("NC") }}</td>
                                <td style="border: 1px solid black; {{ $padding }}">{{ $sh->name }}</td>
                                <td style="border: 1px solid black; {{ $padding }}">{{ $sh->percent }}%</td>
                            </tr>
                        @endforeach
                    </tbody>
                </table>
            </td>

            @for($i = 1; $i <= $numStages; $i++)
                <table style="width: 100%; border-collapse: collapse;">
                    <thead>
                        <tr>
                            <td colspan="{{ $stages[$i]->span }}" class="{{ $stageDetailClass }} {{ $resOddEven }}" style="text-align: center; display: table-cell; font-weight: bold; border: 1px solid black;">Stage {{ $i }}</td>
                        </tr>
                        <tr>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">T</td>
                            @if($stages[$i]->strings > 1)
                                @for($j = 1; $j <= $stages[$i]->strings; $j++)
                                    <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">T{{ $j }}</td>
                                @endfor
                            @endif
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">PP</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">A</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">C</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">D</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">M-T</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">M-P</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">N-T</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">proc</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">{{ __('Time') }}</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">%</td> 
                        </tr>
                    </thead>
                    <tbody>
                    @foreach($division->shooters as $sh)
                        @php
                            $rowbg = $loop->iteration % 2 ? "#ffffff" : "#e6e6e6";
                        @endphp
                        <tr style="background-color: {{ $rowbg }};">
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->time }}</td>
                            @if($stages[$i]->strings > 1)
                                @for($j = 1; $j <= $stages[$i]->strings; $j++)
                                    <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stageStrings[$i][$j] }}</td>
                                @endfor
                            @endif
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->popper }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->alpha }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->charlie }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->delta }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->miss }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->misspopper }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->noshoot }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->proc }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->total_time }}</td>
                            <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ number_format($sh->stages[$i]->stage_percent, 2) }}</td>
                        </tr>
                    @endforeach
                    </tbody>
                </table>
            @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 style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">T</td>
                            @if($stages[$i]->strings > 1)
                                @for($j = 1; $j <= $stages[$i]->strings; $j++)
                                    <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">T{{ $j }}</td>
                                @endfor
                            @endif
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">PP</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">A</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">C</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">D</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">M-T</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">M-P</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">N-T</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">proc</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">{{ __('Time') }}</td>
                            <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">%</td>

                            <td style="width: 8pt; border: none;"></td>
                        @endfor
                    </tr>
                </thead>
                <tbody>
                    @foreach($division->shooters as $sh)
                        @php
                            $rowbg = $loop->iteration % 2 ? "#ffffff" : "#e6e6e6";
                        @endphp
                        <tr style="background-color: {{ $rowbg }};">
                            <td style="border: 1px solid black; {{ $padding }}">{{ !$sh->notcomp ? $loop->iteration : __("NC") }}</td>
                            <td style="border: 1px solid black; {{ $padding }}">{{ $sh->name }}</td>
                            <td style="border: 1px solid black; {{ $padding }}">{{ $sh->percent }}%</td>
                            <td style="width: 8pt; border: none;"></td>
                            @for($i = 1; $i <= $numStages; $i++)
                                @php
                                    $stageDetailClass = "stage-detail-{$stages[$i]->id}";
                                    $resOddEven = ($i % 2) ? "result-odd" : "result-even";
                                @endphp
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->time }}</td>
                                @if($stages[$i]->strings > 1)
                                    @for($j = 1; $j <= $stages[$i]->strings; $j++)
                                        <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stageStrings[$i][$j] }}</td>
                                    @endfor
                                @endif
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->popper }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->alpha }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->charlie }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->delta }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->miss }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->misspopper }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->noshoot }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->proc }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->total_time }}</td>
                                <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ number_format($sh->stages[$i]->stage_percent, 2) }}</td>

                                <td style="width: 9pt; border: none; background-color: #ffffff;"></td>
                            @endfor
                        </tr>
                    @endforeach
                </tbody>
            </table>
        </tr>
    @endforeach
</table>
    </div>
</body>
</html>

Zerion Mini Shell 1.0