OwlCyberSecurity - MANAGER
Edit File: 06300ef3f2f8c82a9543f2e2b11a50041336abb3.php
<?php $__env->startSection('title'); ?> BETLOADED | ALL PREDICTIONS <?php $__env->stopSection(); ?> <?php $__env->startSection('page'); ?> <?php echo e($key); ?> Predictions <?php /*<button class="btn btn-sm btn-success pull-right" id="exportbtn"><span class="fa fa-download"></span> DOWNLOAD AS SPREADSHEET</button>*/ ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="accordion" id="accordion" role="tablist" aria-multiselectable="true"> <?php foreach($theDates as $i => $date): ?> <div class="panel"> <a class="panel-heading" role="tab" id="heading<?php echo e($i+1); ?>" data-toggle="collapse" data-parent="#accordion" href="#collapse<?php echo e($i+1); ?>" aria-expanded="true" aria-controls="collapse<?php echo e($i+1); ?>"> <h4 class="panel-title"><?php echo e(\Carbon\Carbon::parse($date->gameDate)->format('d M, Y')); ?></h4> </a> <div id="collapse<?php echo e($i+1); ?>" class="panel-collapse <?php if($i=='0'): ?> in <?php endif; ?> collapse" role="tabpanel" aria-labelledby="heading<?php echo e($i+1); ?>"> <div class="panel-body" style="background-color: white!important;"> <table id="" class="table datatable table-striped table-bordered nowrap" cellspacing="0" width="100%"> <thead> <tr> <th>REL</th> <th>Match Date</th> <th>League</th> <th></th> <th class="red" style="background: #b1f10c; text-align: center"></th> <th></th> <?php /*<th>Draw Odd</th>*/ ?> <th>Tip</th> <th>Odd</th> <th>Result</th> <th>Details</th> <th>Controls</th> </tr> </thead> <tbody> <?php $sn = 0; ?> <?php foreach($date->getGames($date->gameDate, $key) as $ii => $prediction): ?> <?php $sn++; $tips = $key.'Value'; $odds = $key.'Odd'; ?> <tr id="pred<?php echo e($prediction->id); ?>" <?php if($prediction->teamOneWon!=''): ?> style="background: lightgreen; color: darkgreen" <?php endif; ?>> <td class="red"><?php echo e($sn); ?></td> <td> <?php echo e($prediction->gameDate); ?> <br> <?php echo e($prediction->gameTime); ?> </td> <td><?php echo e($prediction->league); ?></td> <td><?php echo e($prediction->teamOne); ?></td> <td class="red" style="background: #b1f10c; text-align: center; font-weight: bold">VS</td> <td><?php echo e($prediction->teamTwo); ?></td> <td><?php echo e($prediction->$tips); ?></td> <td><?php echo e($prediction->$odds); ?></td> <td><?php if($prediction->teamOneWon): ?> <?php echo e($prediction->teamOneScore); ?> : <?php echo e($prediction->teamTwoScore); ?> <?php endif; ?></td> <td><a class="gameview" href="" data-url="<?php echo e(route('/gamedetails')); ?>/<?php echo e($prediction->id); ?>/Prediction" data-target="#gamedetail" data-toggle="modal"><span style="color: green;"><span class="fa fa-eye"></span> VIEW</span></a></td> <td> <div class="btn-group"> <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"> Actions <span class="caret"></span> </button> <ul class="dropdown-menu pull-right" role="menu" style="background: whitesmoke; -webkit-box-shadow: inset 0px 0px 10px grey;-moz-box-shadow: inset 0px 0px 10px grey;box-shadow: inset 0px 0px 10px grey;"> <?php /*<li style="cursor: pointer;"><a style="color: red;" class="archiveGame" data-id="<?php echo e($prediction->id); ?>">ARCHIVE THIS</a>*/ ?> <li style="cursor: pointer;"><a class="updategame" data-in="Prediction" href="" data-url="<?php echo e(route('/updateVIPprediction')); ?>/<?php echo e($prediction->id); ?>/Prediction" data-target="#updategame" data-toggle="modal">EDIT/UPDATE</a> <li style="cursor: pointer;"><a class="addresult" href="" data-url="<?php echo e(route('/addresult')); ?>/<?php echo e($prediction->id); ?>" data-target="#addresult" data-toggle="modal">ADD RESULT & TESTIMONIAL</a> <?php if($prediction->display=='0'): ?> <li style="cursor: pointer;"><a class="hided" data-in="Prediction" href="" data-url="<?php echo e(route('/ajaxhide')); ?>/<?php echo e($prediction->id); ?>/Prediction" id="h<?php echo e($prediction->id); ?>">UNPUBLISH</a> <?php else: ?> <li style="cursor: pointer;"><a class="unhide" data-in="Prediction" href="<?php echo e($prediction->id); ?>" id="h<?php echo e($prediction->id); ?>"><span style="color: green;">PUBLISH</span></a> <?php endif; ?> <li style="cursor: pointer;"><a class="gamedelete" data-in="Prediction" data-url="<?php echo e(route('/ajaxgamedelete')); ?>/<?php echo e($prediction->id); ?>/Prediction" data-id="" href="">DELETE</a> </li> </ul> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> <?php endforeach; ?> </div> <div class="col" style="min-height: 323px;;"> <br><br> <?php /* <?php echo e($allprediction->render()); ?>*/ ?> <?php /*<?php echo e($allprediction->render()); ?>*/ ?> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>