OwlCyberSecurity - MANAGER
Edit File: 342fa5e54dfc876a097cdb7699882e2a8b6db352.php
<?php $__env->startSection('title'); ?> SPORTPESA | Testimonials <?php $__env->stopSection(); ?> <?php $__env->startSection('page'); ?> All Testimonials <?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="col" style="min-height: 323px;;"> <br><br> <?php $date = new dateTime(); $d = $date->format('j F, Y'); ?> <table id="datatable" class="table table-striped table-bordered nowrap" cellspacing="0" width="100%"> <thead> <tr> <th>REL</th> <th>Match Date</th> <?php /*<th>Match Time</th>*/ ?> <th>League</th> <th></th> <th class="red" style="background: #b1f10c; text-align: center"></th> <th></th> <th>Testimonial</th> <th>Result</th> <th>Details</th> <th>Controls</th> </tr> </thead> <tbody> <?php $sn = 0; ?> <?php foreach($alltestimonials->all() as $prediction): ?> <?php $sn++; $creator = App\System::find($prediction->creator); ?> <tr id="<?php echo e($prediction->id); ?>"> <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> <?php /*<td><a class="creatorview" href="<?php echo e($creator['id']); ?>" data-target="#creator" data-toggle="modal"><span style="color: brown;"><?php echo e($creator['name']); ?></span></a></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->testimonialValue); ?></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 class="updategame" data-in="Prediction" href="" data-url="<?php echo e(route('/updateprediction')); ?>/<?php echo e($prediction->id); ?>/Prediction" data-target="#updategame" data-toggle="modal">EDIT/UPDATE</a>*/ ?> <?php if($prediction->testimonial=='0'): ?> <li style="cursor: pointer;"><a class="flag" data-in="Prediction" href="<?php echo e($prediction->id); ?>" id="f<?php echo e($prediction->id); ?>" data-target="#marktest" data-toggle="modal">MARK TESTIMONIAL</a> <?php else: ?> <li style="cursor: pointer;"><a class="unflag" data-in="Prediction" href="<?php echo e($prediction->id); ?>" id="f<?php echo e($prediction->id); ?>"><span style="color: red;">UNMARK TESTIMONIAL</span></a> <?php endif; ?> <?php if($prediction->display=='0'): ?> <li style="cursor: pointer;"><a class="hided" data-in="Prediction" href="<?php echo e($prediction->id); ?>" 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" href="<?php echo e($prediction->id); ?>" data-target="#gamedelete" data-toggle="modal">DELETE</a> </li> </ul> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php /*<div class="row" id="excon">*/ ?> <?php /*<table class="table" id="exportthis">*/ ?> <?php /*<thead>*/ ?> <?php /*<tr>*/ ?> <?php /*<th>S/N</th>*/ ?> <?php /*<th>DATE CREATED</th>*/ ?> <?php /*<th>MATCH DATE</th>*/ ?> <?php /*<th>MATCH TIME</th>*/ ?> <?php /*<th>TEAM ONE</th>*/ ?> <?php /*<th>TEAM ONE FORM</th>*/ ?> <?php /*<th>TEAM ONE ODDS</th>*/ ?> <?php /*<th>TEAM TWO</th>*/ ?> <?php /*<th>TEAM TWO FORM</th>*/ ?> <?php /*<th>TEAM TWO ODDS</th>*/ ?> <?php /*<th>DRAW ODD</th>*/ ?> <?php /*<th>LEAGUE</th>*/ ?> <?php /*<th>FREE MAESTRO SELECTION</th>*/ ?> <?php /*<th>TODAY'S FREE GAME</th>*/ ?> <?php /*<th>STAKE OF THE DAY</th>*/ ?> <?php /*<th>FULL TIME RECOMMENDATION</th>*/ ?> <?php /*<th>1ST HALF GOALS</th>*/ ?> <?php /*<th>DOUBLE CHANCE</th>*/ ?> <?php /*<th>1.5 GOALS</th>*/ ?> <?php /*<th>2.5 GOALS</th>*/ ?> <?php /*<th>BOTH TEAM TO SCORE</th>*/ ?> <?php /*<th>1ST HALF RESULT</th>*/ ?> <?php /*<th>WIN EITHER HALF</th>*/ ?> <?php /*<th>1ST 15 MINS DRAW</th>*/ ?> <?php /*<th>VALUE STAKE</th>*/ ?> <?php /*<th>DRAW OPTION</th>*/ ?> <?php /*<th>MORE OPTION</th>*/ ?> <?php /*</tr>*/ ?> <?php /*</thead>*/ ?> <?php /*<tbody>*/ ?> <?php /*<?php foreach($alltestimonials->all() as $p): ?>*/ ?> <?php /*<tr>*/ ?> <?php /*<td><?php echo e($p->id); ?></td>*/ ?> <?php /*<td><?php echo e($p->created_at); ?></td>*/ ?> <?php /*<td><?php echo e($p->gamedate); ?></td>*/ ?> <?php /*<td><?php echo e($p->gametime); ?></td>*/ ?> <?php /*<td><?php echo e($p->teamone); ?></td>*/ ?> <?php /*<td><?php echo e($p->teamoneform); ?></td>*/ ?> <?php /*<td><?php echo e($p->teamoneodds); ?></td>*/ ?> <?php /*<td><?php echo e($p->teamtwo); ?></td>*/ ?> <?php /*<td><?php echo e($p->teamtwoform); ?></td>*/ ?> <?php /*<td><?php echo e($p->teamtwoodds); ?></td>*/ ?> <?php /*<td><?php echo e($p->drawodds); ?></td>*/ ?> <?php /*<td><?php echo e($p->league); ?></td>*/ ?> <?php /*<td><?php echo e($p->maestro); ?></td>*/ ?> <?php /*<td><?php echo e($p->today_game); ?></td>*/ ?> <?php /*<td><?php echo e($p->stake_of_the_day); ?></td>*/ ?> <?php /*<td><?php echo e($p->ft_recommendation); ?></td>*/ ?> <?php /*<td><?php echo e($p->firsthalf_goals); ?></td>*/ ?> <?php /*<td><?php echo e($p->double_chance); ?></td>*/ ?> <?php /*<td><?php echo e($p->onefive_goals); ?></td>*/ ?> <?php /*<td><?php echo e($p->twofive_goals); ?></td>*/ ?> <?php /*<td><?php echo e($p->both_team_score); ?></td>*/ ?> <?php /*<td><?php echo e($p->firsthalf_result); ?></td>*/ ?> <?php /*<td><?php echo e($p->win_either_half); ?></td>*/ ?> <?php /*<td><?php echo e($p->first15mins_draw); ?></td>*/ ?> <?php /*<td><?php echo e($p->value_stakes); ?></td>*/ ?> <?php /*<td><?php echo e($p->draw_option); ?></td>*/ ?> <?php /*<td><?php echo e($p->more_options); ?></td>*/ ?> <?php /*</tr>*/ ?> <?php /*<?php endforeach; ?>*/ ?> <?php /*</tbody>*/ ?> <?php /*</table>*/ ?> <?php /*</div>*/ ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>