2017-06-22 21:22:07 +02:00
|
|
|
@extends('layouts.layout')
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
2017-08-21 16:55:26 +02:00
|
|
|
<div style="float:left;position:relative;">
|
2017-06-26 17:21:30 +02:00
|
|
|
|
2017-06-27 08:22:25 +02:00
|
|
|
@foreach($all_rounds as $r)
|
|
|
|
|
@if (App\Round::hasLockedGame($r->id) )
|
|
|
|
|
<div>
|
|
|
|
|
@if ($r->id == $round->id)
|
|
|
|
|
<label>{{$r->name}}</label>
|
|
|
|
|
@else
|
2017-08-31 07:36:27 +02:00
|
|
|
<a href="/users/ranking/roundid_{{$r->id}}#playerid_{{Auth::user()->id}}">{{$r->name}}</a>
|
2017-06-27 08:22:25 +02:00
|
|
|
@endif
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
@endforeach
|
2017-06-26 17:21:30 +02:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2017-08-17 17:41:11 +02:00
|
|
|
|
2017-08-21 16:55:26 +02:00
|
|
|
<div style="float:left; position:relative; left:5%;">
|
|
|
|
|
<div style="float:left;">
|
2017-08-17 17:41:11 +02:00
|
|
|
|
|
|
|
|
<h3>{{ App\Season::getCurrent()->name }}</h3>
|
|
|
|
|
<h4>{{ $round->name }}</h4>
|
|
|
|
|
<h4>Rangliste und Tippübersicht</h4>
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width:50px;background-color:grey"></td>
|
|
|
|
|
<td style="width:250px;">=richtige Tendenz</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width:50px;background-color:orange"></td>
|
|
|
|
|
<td style="width:250px;">=richtiges Ergebnis</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width:50px;background-color:red"></td>
|
|
|
|
|
<td style="width:250px;">=richtiges Ergebnis mit Joker</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2017-06-22 21:22:07 +02:00
|
|
|
<p> </p>
|
|
|
|
|
|
2017-06-26 17:21:30 +02:00
|
|
|
|
2017-08-17 17:41:11 +02:00
|
|
|
<table>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;width:50px;">Rang</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
2017-08-29 15:52:12 +02:00
|
|
|
<!--
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(315deg);width:30px;">
|
2017-08-29 15:52:12 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;width:50px;">dayScoreWithRankScore</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
-->
|
2017-08-17 17:41:11 +02:00
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;width:50px;">Tagessieg</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2018-01-12 08:40:42 +01:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;width:50px;">Grünes Trikot</span>
|
2017-08-17 17:41:11 +02:00
|
|
|
</div>
|
|
|
|
|
</th>
|
2018-01-12 08:40:42 +01:00
|
|
|
|
2017-08-17 17:41:11 +02:00
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2018-01-12 08:40:42 +01:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;width:150px;">Spieler</span>
|
2017-08-17 17:41:11 +02:00
|
|
|
</div>
|
|
|
|
|
</th>
|
2017-12-11 08:47:56 +01:00
|
|
|
<th style="height:140px;white-space: nowrap;">
|
|
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2018-01-12 08:40:42 +01:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Punkte Gesamt</span>
|
2017-12-11 08:47:56 +01:00
|
|
|
</div>
|
|
|
|
|
</th>
|
2017-12-04 10:20:12 +01:00
|
|
|
<th style="height:140px;white-space: nowrap;">
|
|
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2018-01-12 08:40:42 +01:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Punkte Tag</span>
|
2017-12-04 10:20:12 +01:00
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
|
2017-08-19 16:53:39 +02:00
|
|
|
<th> </th><!-- Spacer Column -->
|
2017-08-17 17:41:11 +02:00
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[0]->team1}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[0]->team2}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Joker</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[1]->team1}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[1]->team2}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Joker</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[2]->team1}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[2]->team2}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Joker</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[3]->team1}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">{{$games[3]->team2}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2017-08-17 17:41:11 +02:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Joker</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
2017-08-19 16:53:39 +02:00
|
|
|
<th> </th><!-- Spacer Column -->
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2018-02-04 08:20:40 +01:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld Tagessieg</span>
|
2017-08-19 16:53:39 +02:00
|
|
|
</div>
|
|
|
|
|
</th>
|
2017-09-05 11:49:39 +02:00
|
|
|
@if($isFinalRound)
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
2017-11-30 11:07:27 +01:00
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
2018-02-04 08:20:40 +01:00
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld Platzierung</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
|
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
|
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld grünes Trikot</span>
|
2017-09-05 11:49:39 +02:00
|
|
|
</div>
|
|
|
|
|
</th>
|
2018-02-05 09:51:16 +01:00
|
|
|
<th style="height:140px;white-space: nowrap;">
|
|
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
|
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld Pokal</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
<th style="height:140px;white-space: nowrap;">
|
|
|
|
|
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
|
|
|
|
|
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld Playoff</span>
|
|
|
|
|
</div>
|
|
|
|
|
</th>
|
|
|
|
|
@endif
|
2017-08-17 17:41:11 +02:00
|
|
|
@foreach($rankingDisplay as $entry)
|
|
|
|
|
<tr>
|
2017-08-30 14:52:21 +02:00
|
|
|
<td class="table-bordered" > <span class="text list-unstyled" href="#" > {{ $entry["rank"] }} </span></td>
|
2017-08-29 15:52:12 +02:00
|
|
|
<!-- <td class="table-bordered" align="center"> $entry["dayScoreWithRankScore"] </td> -->
|
2017-08-17 17:41:11 +02:00
|
|
|
<td class="table-bordered"><div style="margin: 0 auto; width: 32px;"><img src="/img/crown.png" style="{{ ($entry["is_dayscorewinner"] ? 'float:left;width:32px;height:32px' : 'display: none;') }}"></div></td>
|
2018-01-12 08:40:42 +01:00
|
|
|
<!-- <td class="table-bordered" align="center" style=""> <img src="/img/green_shirt.png"/> </td>-->
|
2018-01-15 08:58:52 +01:00
|
|
|
<td class="table-bordered" align="center"> <img src="/img/green_shirt.png" style="{{ ($entry["gshirt_leader"]==1 ? 'width:32px;height:32px' : 'display: none;') }}"/> </td>
|
2017-08-30 14:52:21 +02:00
|
|
|
<td class="table-bordered"> <a class="text list-unstyled {{ $entry['user_id']==Auth::user()->id ? 'blink_text' : '' }}" name="playerid_{{$entry['user_id']}}" href="#" style="vertical-align: middle;">{{ $entry["user_name"] }} </a></td>
|
2017-08-29 15:52:12 +02:00
|
|
|
<td class="table-bordered" align="center"> {{ $entry["totalRankScore"] }} </td>
|
2017-08-17 17:41:11 +02:00
|
|
|
<td class="table-bordered" align="center"> {{ $entry["rankscore"] }} </td>
|
2017-08-19 16:53:39 +02:00
|
|
|
<td class="table-bordered" align="center" style="border: 0px"> </td> <!-- Spacer column -->
|
2017-08-17 17:41:11 +02:00
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol1"]}}"> {{ str_replace("-1","x",$entry["tipp_score1"]) }} </td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol1"]}}"> {{ str_replace("-1","x",$entry["tipp_score2"]) }} </td>
|
|
|
|
|
<td class="table-bordered"><div style="margin: 0 auto; width: 32px;"><img src="/img/joker.png" style="{{ ($entry["joker1"] ? 'float:left;width:32px;height:32px' : 'display: none;') }}"></div></td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol2"]}}"> {{ str_replace("-1","x",$entry["tipp_score3"]) }} </td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol2"]}}"> {{ str_replace("-1","x",$entry["tipp_score4"]) }} </td>
|
|
|
|
|
<td class="table-bordered"><div style="margin: 0 auto; width: 32px;"><img src="/img/joker.png" style="{{ ($entry["joker2"]? 'float:left;width:32px;height:32px' : 'display: none;') }}"></div></td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol3"]}}"> {{ str_replace("-1","x",$entry["tipp_score5"]) }} </td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol3"]}}"> {{ str_replace("-1","x",$entry["tipp_score6"]) }} </td>
|
|
|
|
|
<td class="table-bordered"><div style="margin: 0 auto; width: 32px;"><img src="/img/joker.png" style="{{ ($entry["joker3"] ? 'float:left;width:32px;height:32px' : 'display: none;') }}"></div></td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol4"]}}"> {{ str_replace("-1","x",$entry["tipp_score7"]) }} </td>
|
|
|
|
|
<td class="table-bordered" align="center" style="{{$entry["trendCol4"]}}"> {{ str_replace("-1","x",$entry["tipp_score8"]) }} </td>
|
|
|
|
|
<td class="table-bordered"><div style="margin: 0 auto; width: 32px;"><img src="/img/joker.png" style="{{ ($entry["joker4"] ? 'float:left;width:32px;height:32px' : 'display: none;') }}"></div></td>
|
2017-08-19 16:53:39 +02:00
|
|
|
<td class="table-bordered" align="center" style="border: 0px"> </td> <!-- Spacer column -->
|
|
|
|
|
<td class="table-bordered" align="center" > {{ $entry["payout"] }} {{ $entry["payout"]>0 ? '€': '' }}</td>
|
2017-09-05 11:49:39 +02:00
|
|
|
@if($isFinalRound)
|
|
|
|
|
<td class="table-bordered" align="center" > {{ $entry["ranking_payout"]>0 ? $entry["ranking_payout"].'€': '' }} </td>
|
2018-02-04 08:20:40 +01:00
|
|
|
<td class="table-bordered" align="center" > {{ $entry["gshirt_payout"]>0 ? $entry["gshirt_payout"].'€': '' }} </td>
|
2018-02-05 09:51:16 +01:00
|
|
|
<td class="table-bordered" align="center" > {{ $entry["pokal"]>0 ? $entry["pokal"].'€': '' }} </td>
|
|
|
|
|
<td class="table-bordered" align="center" > {{ $entry["playoff"]>0 ? $entry["playoff"].'€': '' }} </td>
|
2017-09-05 11:49:39 +02:00
|
|
|
@endif
|
2017-06-28 18:05:52 +02:00
|
|
|
</tr>
|
2017-08-17 17:41:11 +02:00
|
|
|
@endforeach
|
2017-08-18 16:44:11 +02:00
|
|
|
|
|
|
|
|
<!-- Spielergebnis als letzte Zeile -->
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td>Spiel-Ergebnis</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td></td>
|
2018-01-15 08:58:52 +01:00
|
|
|
<td></td>
|
2017-08-19 16:53:39 +02:00
|
|
|
<td> </td> <!-- Spacer Column -->
|
2017-08-18 16:44:11 +02:00
|
|
|
<td align="center">{{ ($game_results[0]==-1? "" : $game_results[0]) }}</td>
|
|
|
|
|
<td align="center">{{ ($game_results[1]==-1? "" : $game_results[1]) }}</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td align="center">{{ ($game_results[2]==-1? "" : $game_results[2]) }}</td>
|
|
|
|
|
<td align="center">{{ ($game_results[3]==-1? "" : $game_results[3]) }}</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td align="center">{{ ($game_results[4]==-1? "" : $game_results[4]) }}</td>
|
|
|
|
|
<td align="center">{{ ($game_results[5]==-1? "" : $game_results[5]) }}</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
<td align="center">{{ ($game_results[6]==-1? "" : $game_results[6]) }}</td>
|
|
|
|
|
<td align="center">{{ ($game_results[7]==-1? "" : $game_results[7]) }}</td>
|
|
|
|
|
<td></td>
|
2017-08-19 16:53:39 +02:00
|
|
|
<td></td>
|
2017-08-18 16:44:11 +02:00
|
|
|
</tr>
|
|
|
|
|
|
2017-08-17 17:41:11 +02:00
|
|
|
<!-- Control Cell width -->
|
|
|
|
|
<tr>
|
|
|
|
|
<td> <div></div></td>
|
|
|
|
|
<td> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
2017-08-19 16:53:39 +02:00
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
2017-09-05 11:49:39 +02:00
|
|
|
@if($isFinalRound)
|
|
|
|
|
<td style="width:50px;"> <div></div></td>
|
|
|
|
|
@endif
|
2017-08-17 17:41:11 +02:00
|
|
|
</tr>
|
|
|
|
|
</table>
|
2017-06-22 21:22:07 +02:00
|
|
|
|
2017-08-17 17:41:11 +02:00
|
|
|
<p> </p>
|
2017-06-22 21:22:07 +02:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2017-08-17 17:41:11 +02:00
|
|
|
</div>
|
|
|
|
|
|
2017-06-22 21:22:07 +02:00
|
|
|
|
2017-06-26 17:21:30 +02:00
|
|
|
|
2017-06-22 21:22:07 +02:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|