OwlCyberSecurity - MANAGER
Edit File: 936185ef323336e9359c1dc21360903969893222.php
<?php $__env->startSection('title'); ?> BETTING VOICE | ACTIVE SUBSCRIBERS <?php $__env->stopSection(); ?> <?php $__env->startSection('page'); ?> Active Members <?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="" role="tabpanel" data-example-id="togglable-tabs"> <ul id="myTab1" class="nav nav-tabs bar_tabs" role="tablist"> <li role="presentation" class="active"><a href="#tab_content11" id="home-tabb" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">Silver Package</a> </li> <li role="presentation" class=""><a href="#tab_content22" role="tab" id="profile-tabb" data-toggle="tab" aria-controls="profile" aria-expanded="false">Gold Package</a> </li> </ul> <div id="myTabContent2" class="tab-content"> <div role="tabpanel" class="tab-pane fade active in" id="tab_content11" aria-labelledby="home-tab"> <div class="row"> <div class="col-sm-12"> <table id="" class="table datatable table-striped table-bordered nowrap" cellspacing="0" width="100%"> <thead> <tr> <th>S/N</th> <th>ID</th> <th>FULL NAME</th> <th>EMAIL ADDRESS</th> <th>PLAN</th> <th>SUBSCRIBE DATE</th> <th>DUE DATE</th> <th>Controls</th> </tr> </thead> <tbody> <?php foreach($silver->all() as $i => $user): ?> <tr class="d<?php echo e($user->id); ?>"> <td class="red"><?php echo e($i+1); ?></td> <td class="red"><?php echo e($user->id); ?></td> <td><?php echo e($user->full_name); ?></td> <td><?php echo e($user->email); ?></td> <td><?php echo e($user->sub->accessTime); ?></td> <td><?php echo e(\Carbon\Carbon::parse($user->date_subscribed)->format('d M @ h:ia')); ?></td> <td><?php echo e(\Carbon\Carbon::parse($user->next_due_date)->format('d M @ h:ia')); ?></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;"> <li></li> <li style="cursor: pointer;"><a class="userdetails" href="<?php echo e($user->id); ?>" data-target="#userdetails" data-toggle="modal">VIEW DETAILS</a></li> <li style="cursor: pointer;"><a class="updateuser" href="<?php echo e($user->id); ?>" data-target="#updateuserinfo" data-toggle="modal">EDIT/UPDATE</a></li> <li style="cursor: pointer;"><a class="upgradeuser" href="<?php echo e($user->id); ?>" data-target="#upgradeuser" data-toggle="modal"><span class="fa fa-credit-card"></span> UPGRADE ACCOUNT</a></li> <li style="cursor: pointer;" id="un<?php echo e($user->id); ?>"><a class="unsubscribeUser" href="<?php echo e(route('/unSubscribe')); ?>" data-id="<?php echo e($user->id); ?>" style="color: #ef5350;" data-msg="DO YOU REALLY WANT TO UN-SUBSCRIBE THIS USER?"><span class="fa fa-times-circle-o"></span> UN-SUBSCRIBE USER</a></li> <li class="divider"></li> <?php if($user->flag=='0'): ?> <li style="cursor: pointer;"><a class="flaguser" href="<?php echo e($user->id); ?>" id="f<?php echo e($user->id); ?>">FLAG USER</a> <?php else: ?> <li style="cursor: pointer;"><a class="unflaguser" href="<?php echo e($user->id); ?>" id="f<?php echo e($user->id); ?>"><span style="color: red;">UNFLAG USER</span></a> <?php endif; ?> <?php if($user->status=='0'): ?> <li style="cursor: pointer;"><a class="disableuser" href="<?php echo e($user->id); ?>" id="h<?php echo e($user->id); ?>">DISABLE USER</a> <?php else: ?> <li style="cursor: pointer;"><a class="enableuser" href="<?php echo e($user->id); ?>" id="h<?php echo e($user->id); ?>"><span style="color: green;">ENABLE USER</span></a> <?php endif; ?> <li style="cursor: pointer;"><a class="userdelete" href="<?php echo e($user->id); ?>" data-target="#userdelete" data-toggle="modal">DELETE USER</a> </li> </ul> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_content22" aria-labelledby="profile-tab"> <div class="row"> <div class="col-sm-12"> <table id="" class="table datatable table-striped table-bordered nowrap" cellspacing="0" width="100%"> <thead> <tr> <th>S/N</th> <th>ID</th> <th>FULL NAME</th> <th>EMAIL ADDRESS</th> <th>PLAN</th> <th>SUBSCRIBE DATE</th> <th>DUE DATE</th> <th>Controls</th> </tr> </thead> <tbody> <?php foreach($gold->all() as $i => $user): ?> <tr class="d<?php echo e($user->id); ?>"> <td class="red"><?php echo e($i+1); ?></td> <td class="red"><?php echo e($user->id); ?></td> <td><?php echo e($user->full_name); ?></td> <td><?php echo e($user->email); ?></td> <td><?php echo e($user->sub->accessTime); ?></td> <td><?php echo e(\Carbon\Carbon::parse($user->date_subscribed)->format('d M @ h:ia')); ?></td> <td><?php echo e(\Carbon\Carbon::parse($user->next_due_date)->format('d M @ h:ia')); ?></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;"> <li></li> <li style="cursor: pointer;"><a class="userdetails" href="<?php echo e($user->id); ?>" data-target="#userdetails" data-toggle="modal">VIEW DETAILS</a></li> <li style="cursor: pointer;"><a class="updateuser" href="<?php echo e($user->id); ?>" data-target="#updateuserinfo" data-toggle="modal">EDIT/UPDATE</a></li> <li style="cursor: pointer;"><a class="upgradeuser" href="<?php echo e($user->id); ?>" data-target="#upgradeuser" data-toggle="modal"><span class="fa fa-credit-card"></span> UPGRADE ACCOUNT</a></li> <li style="cursor: pointer;" id="un<?php echo e($user->id); ?>"><a class="unsubscribeUser" href="<?php echo e(route('/unSubscribe')); ?>" data-id="<?php echo e($user->id); ?>" style="color: #ef5350;" data-msg="DO YOU REALLY WANT TO UN-SUBSCRIBE THIS USER?"><span class="fa fa-times-circle-o"></span> UN-SUBSCRIBE USER</a></li> <li class="divider"></li> <?php if($user->flag=='0'): ?> <li style="cursor: pointer;"><a class="flaguser" href="<?php echo e($user->id); ?>" id="f<?php echo e($user->id); ?>">FLAG USER</a> <?php else: ?> <li style="cursor: pointer;"><a class="unflaguser" href="<?php echo e($user->id); ?>" id="f<?php echo e($user->id); ?>"><span style="color: red;">UNFLAG USER</span></a> <?php endif; ?> <?php if($user->status=='0'): ?> <li style="cursor: pointer;"><a class="disableuser" href="<?php echo e($user->id); ?>" id="h<?php echo e($user->id); ?>">DISABLE USER</a> <?php else: ?> <li style="cursor: pointer;"><a class="enableuser" href="<?php echo e($user->id); ?>" id="h<?php echo e($user->id); ?>"><span style="color: green;">ENABLE USER</span></a> <?php endif; ?> <li style="cursor: pointer;"><a class="userdelete" href="<?php echo e($user->id); ?>" data-target="#userdelete" data-toggle="modal">DELETE USER</a> </li> </ul> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> </div> </div> <?php /*<div class="row" id="excon">*/ ?> <?php /*<table class="table" id="exportthis">*/ ?> <?php /*<thead>*/ ?> <?php /*<tr>*/ ?> <?php /*<th>S/N</th>*/ ?> <?php /*<th>FULL NAME</th>*/ ?> <?php /*<th>EMAIL ADDRESS</th>*/ ?> <?php /*<th>USERNAME</th>*/ ?> <?php /*<th>DATE/TIME REGISTERED</th>*/ ?> <?php /*</tr>*/ ?> <?php /*</thead>*/ ?> <?php /*<tbody>*/ ?> <?php /*<?php foreach($members->all() as $p): ?>*/ ?> <?php /*<tr>*/ ?> <?php /*<td><?php echo e($p->id); ?></td>*/ ?> <?php /*<td><?php echo e($p->full_name); ?></td>*/ ?> <?php /*<td><?php echo e($p->email); ?></td>*/ ?> <?php /*<td><?php echo e($p->username); ?></td>*/ ?> <?php /*<td><?php echo e($p->created_at); ?></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(); ?>