OwlCyberSecurity - MANAGER
Edit File: 7a28f7fb7c0d7a4a5eed093666219fd7df461038.php
<form action="<?php echo e(route('/addResult')); ?>" method="POST" id="addresultform"> <div class="container-fluid"> <div class="col-xs-12"> <input type="hidden" name="id" value="<?php echo e($game->id); ?>"> <div class="col-md-5 col-xs-12" style="background: whitesmoke; padding: 15px;"> <h1 class="text-center"><?php echo e($game->teamOne); ?></h1><hr> <div class="form-group col-md-12 col-xs-12"> <label for="score1">SCORE/GOAL(S)</label> <input type="text" name="score1" class="form-control" required value="<?php echo e($game->teamOneScore); ?>"> </div> </div> <div class="col-md-2 col-xs-12" style="margin: 10px 0px; background: grey; border-radius: 0px 0px 8px 8px;"><center><span style="padding: 5px 10px; background: grey; color: white; border-radius: 100px; margin-top: -30px;">VS</span></center> <br> <div class="form-group"> <input class="form-control" name="matchdate" id="matchdate" type="text" placeholder="MATCH DATE" required value="<?php echo e($game->gameDate); ?>" disabled> </div> <div class="form-group"> <input class="form-control" name="matchtime" id="matchtime" type="text" placeholder="MATCH TIME" required value="<?php echo e($game->gameTime); ?>" disabled> </div> </div> <div class="col-md-5 col-xs-12" style="background: whitesmoke; padding: 15px;"> <h1 class="text-center"><?php echo e($game->teamTwo); ?></h1><hr> <div class="form-group col-md-12 col-xs-12"> <label for="score2">SCORE/GOAL(S)</label> <input type="text" name="score2" class="form-control" value="<?php echo e($game->teamTwoScore); ?>"> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="col-sm-12"> <span class="text-danger">If the match is postponed, just type "<strong>pstp</strong>" in the home-team result box!</span> </div> </div> </div> </div> <hr> <div class="col-sm-12"> <div class="form-group col-sm-4"> <label for="">CORNER RESULT</label> <input type="text" name="cornerResult" class="form-control" value="<?php echo e($game->cornerResult); ?>"> </div> <div class="form-group col-sm-4"> <label>SELECT POTENTIAL PREDICTION</label> <select name="potential" class="form-control"> <option value="">Select here...</option> <?php if($game->gameType=='1'): ?> <?php if($game->multiBetOne!='No'): ?><option value="<?php echo e($game->multiBetOneTip); ?>" <?php if($game->testimonialValue==$game->multiBetOneTip): ?> selected <?php endif; ?>><b>Multibet 1</b> : <?php echo e($game->multiBetOneTip); ?></option> <?php endif; ?> <?php if($game->multiBetTwo!='No'): ?><option value="<?php echo e($game->multiBetTwoTip); ?>" <?php if($game->testimonialValue==$game->multiBetTwoTip): ?> selected <?php endif; ?>><b>Multibet 2</b> : <?php echo e($game->multiBetTwoTip); ?></option> <?php endif; ?> <?php if($game->multiBetThree!='No'): ?><option value="<?php echo e($game->multiBetThreeTip); ?>" <?php if($game->testimonialValue==$game->multiBetThreeTip): ?> selected <?php endif; ?>><b>Multibet 3</b> : <?php echo e($game->multiBetThreeTip); ?></option> <?php endif; ?> <?php if($game->super!='No'): ?><option value="<?php echo e($game->superTip); ?>" <?php if($game->testimonialValue==$game->superTip): ?> selected <?php endif; ?>><b>Super Tip</b> : <?php echo e($game->superTip); ?></option> <?php endif; ?> <?php if($game->bankroll!='No'): ?><option value="<?php echo e($game->bankrollTip); ?>" <?php if($game->testimonialValue==$game->bankrollTip): ?> selected <?php endif; ?>><b>Bankroll</b> : <?php echo e($game->bankrollTip); ?></option> <?php endif; ?> <?php if($game->smart!='No'): ?><option value="<?php echo e($game->smartTip); ?>" <?php if($game->testimonialValue==$game->smartTip): ?> selected <?php endif; ?>><b>Smart Tips</b> : <?php echo e($game->smartTip); ?></option> <?php endif; ?> <?php if($game->correct_score!='No'): ?><option value="<?php echo e($game->correct_scoreTip); ?>" <?php if($game->testimonialValue==$game->correct_scoreTip): ?> selected <?php endif; ?>><b>Correct Score</b> : <?php echo e($game->correct_scoreTip); ?></option> <?php endif; ?> <?php if($game->superInvestment!='No'): ?><option value="<?php echo e($game->superInvestmentTip); ?>" <?php if($game->testimonialValue==$game->superInvestmentTip): ?> selected <?php endif; ?>><b>Investment</b> : <?php echo e($game->superInvestmentTip); ?></option> <?php endif; ?> <?php if($game->sportpesa!='No'): ?><option value="<?php echo e($game->sportpesaTip); ?>" <?php if($game->testimonialValue==$game->sportpesaTip): ?> selected <?php endif; ?>><b>Sportpesa</b> : <?php echo e($game->sportpesaTip); ?></option> <?php endif; ?> <?php if($game->HTFT!='No'): ?><option value="<?php echo e($game->HTFT); ?>" <?php if($game->testimonialValue==$game->HTFT): ?> selected <?php endif; ?>><b>HT/FT</b> : <?php echo e($game->HTFT); ?></option> <?php endif; ?> <?php if($game->mbet=='Yes'): ?><option value="<?php echo e($game->mbetTip); ?>" <?php if($game->testimonialValue==$game->mbetTip): ?> selected <?php endif; ?>><b>MBet 12</b> : <?php echo e($game->mbetTip); ?></option> <?php endif; ?> <?php else: ?> <option value="<?php echo e($game->FTRecommendation); ?>" <?php if($game->testimonialValue==$game->FTRecommendation): ?> selected <?php endif; ?>><b>Full-Time Recommendation</b> : <?php echo e($game->FTRecommendation); ?></option> <option value="<?php echo e($game->doubleChance); ?>" <?php if($game->testimonialValue==$game->doubleChance): ?> selected <?php endif; ?>><b>Double Chance</b> : <?php echo e($game->doubleChance); ?></option> <option value="<?php echo e($game->directWins); ?>" <?php if($game->testimonialValue==$game->directWins): ?> selected <?php endif; ?>><b>Direct Wins</b> : <?php echo e($game->directWins); ?></option> <option value="<?php echo e($game->oneFiveGoals); ?>" <?php if($game->testimonialValue==$game->oneFiveGoals): ?> selected <?php endif; ?>><b>Over 1.5</b> : <?php echo e($game->oneFiveGoals); ?></option> <option value="<?php echo e($game->twoFiveGoals); ?>" <?php if($game->testimonialValue==$game->twoFiveGoals): ?> selected <?php endif; ?>><b>2.5 Goals</b> : <?php echo e($game->twoFiveGoals); ?></option> <option value="<?php echo e($game->overZeroFiveHT); ?>" <?php if($game->testimonialValue==$game->overZeroFiveHT): ?> selected <?php endif; ?>><b>Over 0.5 HT</b> : <?php echo e($game->overZeroFiveHT); ?></option> <option value="<?php echo e($game->matchCorners); ?>" <?php if($game->testimonialValue==$game->matchCorners): ?> selected <?php endif; ?>><b>Match Corners</b> : <?php echo e($game->matchCorners); ?></option> <option value="<?php echo e($game->drawNoBet); ?>" <?php if($game->testimonialValue==$game->drawNoBet): ?> selected <?php endif; ?>><b>Draw No Bet</b> : <?php echo e($game->drawNoBet); ?></option> <?php endif; ?> </select> </div> <?php if($game->superInvestment=='Yes'): ?> <div class="form-group col-sm-4 bg-danger" style="padding: 25px"> <label>SUPER INVESTMENT STATUS</label> <select name="investment" class="form-control"> <option value="">Select here...</option> <option value="1" <?php if($game->moreOption=='1'): ?> selected <?php endif; ?>>Successful</option> <option value="2" <?php if($game->moreOption=='2'): ?> selected <?php endif; ?>>Failed</option> <option value="3" <?php if($game->moreOption=='3'): ?> selected <?php endif; ?>>Postponed</option> </select> </div> <?php endif; ?> </div> <div class="container-fluid"> <?php echo csrf_field(); ?> <div id="settingstatus" class="col-xs-6"></div> <div class="form-group col-sm-12"> <button class="btn btn-md btn-success" name="submit" id="submitsetting">SAVE & CLOSE</button> </div> </div> </form> <script> $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); $(document).ready(function () { $('#addresultform').submit(function (e) { e.preventDefault(); $('#submitsetting').prop('disabled', true).html('SAVING RESULT'); var url = $(this).attr('action'); var dataString = $(this).serialize(); $.ajax({ type: "POST", url: url, data: dataString, dataType: "JSON", success: function(data){ if (data.status == 1) { $('#submitsetting').prop('disabled', false).html('SAVE RESULT'); swal(data.encounters, '', 'warning'); } else{ swal(data.encounters, '', 'success'); $('#pred<?php echo e($game->id); ?>').css({'background':'lightgreen', 'color':'darkgreen'}); $('#addresult').modal('hide'); } } }); }); }); </script>