OwlCyberSecurity - MANAGER
Edit File: c0569a0a4b88eab14e3009c6c02cec7c3e425151.php
<?php $__env->startSection('title'); ?> Sportpesa Dashboard <?php $__env->stopSection(); ?> <?php $__env->startSection('home'); ?> active <?php $__env->stopSection(); ?> <?php $__env->startSection('levelCSS'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('body'); ?> <?php if(session()->has('success')): ?> <div class="col-sm-12"> <div class="alert alert-success"><h5><?php echo e(session()->get('success')); ?></h5></div> </div> <?php endif; ?> <?php if(session()->has('error')): ?> <div class="alert alert-warning"><h5><?php echo session()->get('error'); ?></h5></div> <?php endif; ?> <div class="col-sm-12"><br></div> <div class="col-sm-4"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Your VIP Package</h3> </div> <?php if(activeUser()): ?> <div class="panel-body text-center"> <h3><?php echo e(currentUser()->sub->category); ?> Tips</h3> <span><strong><?php echo e(currentUser()->sub->planName); ?> Plan</strong></span> <br> <span>Date: <strong class="text-success"><?php echo e(\Carbon\Carbon::parse(currentUser()->date_subscribed)->format('d M, Y @ h:ia')); ?></strong></span> <br> <span>Expiry: <strong class="text-danger"><?php echo e(\Carbon\Carbon::parse(currentUser()->next_due_date)->format('d M, Y @ h:ia')); ?></strong></span> </div> <div class="panel-footer text-center"> <style> .blink_text { animation: blink 2s infinite; } @keyframes blink{ 0% {opacity: 1.0;} 50% {opacity: 0.0;} 100% {opacity: 1.0;} } </style> <center> <?php if(currentUser()->sub->category=='Premium'): ?> <a href="<?php echo e(route('/VIP/Multibet1')); ?>"><button class="btn btn-md btn-primary btn-block"><span class="blink_text">VIEW MULTIBET 1</span></button></a> <br> <a href="<?php echo e(route('/VIP/Multibet2')); ?>"><button class="btn btn-md btn-primary btn-block"><span class="blink_text">VIEW MULTIBET 2</span></button></a> <br> <a href="<?php echo e(route('/VIP/Multibet3')); ?>"><button class="btn btn-md btn-primary btn-block"><span class="blink_text">VIEW MULTIBET 2</span></button></a> <?php else: ?> <?php $url = currentUser()->sub->category; ?> <a href="<?php echo e(route("/VIP/$url")); ?>"><button class="btn btn-md btn-primary"><span class="blink_text">VIEW TODAY'S TIPS</span></button></a> <?php endif; ?> </center> </div> <?php else: ?> <div class="panel-body text-center"> <center> <h5 class="text-danger">YOU DO NOT CURRENTLY HAVE A RUNNING SUBSCRIPTION PLAN</h5> <?php if(currentUser()->sub_count>0): ?> <h5 class="text-warning text-uppercase">YOUR LAST SUBSCRIPTION OF <strong><?php echo e(currentUser()->sub->category); ?> PLAN (<?php echo e(currentUser()->sub->planName); ?>)</strong> EXPIRED ON <strong><?php echo e(\Carbon\Carbon::parse(currentUser()->next_due_date)->format('d M, Y @ h:ia')); ?></strong></h5> <?php endif; ?> </center> </div> <div class="panel-footer text-center"> <p>Don't miss out on our VIP Tips!</p> </div> <ul class="list-group"> <li class="list-group-item"><a href="<?php echo e(route('/vip')); ?>"><button class="btn btn-md btn-primary btn-block">JOIN SPORTPESA VIP</button></a></li> </ul> <?php endif; ?> </div> </div> <div class="col-sm-8"> <div class="panel panel-primary"> <div class="row"> <div class="col-sm-12"> <div class="panel-heading"> <h3 class="panel-title">Account Overview</h3> </div> <div class="panel-body"> <div class="row clearfix"> <div class="col-sm-3"> <img src="<?php if(currentUser()->passport): ?> <?php echo e($localPath); ?>/users/<?php echo e(currentUser()->passport); ?> <?php else: ?> <?php echo e($localPath); ?>/avatar.png <?php endif; ?>" class="img-rounded img-responsive" alt="Profile Picture"> </div> <div class="col-sm-9"> <table class="table table-striped table-bordered"> <tr> <th>Full Name</th> <td><?php echo e(currentUser()->full_name); ?></td> </tr> <tr> <th>Email</th> <td><?php echo e(currentUser()->email); ?></td> </tr> <tr> <th>Phone Number</th> <td><?php echo e(currentUser()->phone); ?></td> </tr> <tr> <th>Registered</th> <td><?php echo e(\Carbon\Carbon::parse(currentUser()->created_at)->format('d M, Y @ h:ia')); ?></td> </tr> <?php if(currentUser()->username): ?> <tr> <th>Username</th> <td><?php echo e(currentUser()->username); ?></td> </tr> <?php endif; ?> <?php if(currentUser()->country): ?> <tr> <th>Country/State</th> <td><?php echo e(currentUser()->country); ?>/<?php echo e(currentUser()->state); ?></td> </tr> <?php endif; ?> </table> </div> <div class="col-sm-12 text-center"> <a href="<?php echo e(route('/my_pesa/update_profile')); ?>"><button class="btn btn-danger btn-md">Edit Profile</button></a> </div> </div> </div> </div> </div> </div> </div> <div class="col-sm-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"> Free Sportpesa Stores </h3> </div> <div class="panel-body"> <?php echo $__env->make('partials.stores', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('levelJS'); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('account.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>