One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
storage
/
framework
/
views
/
Edit File Name :
892f0485ba581563da97a3c0fa446ad9768eb54d.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"> <?php echo e(__('Registered Users')); ?> </h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="#"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Registered Users')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6"> <div class="card-title"> <?php echo e(__('Registered Users')); ?> </div> </div> <div class="col-lg-6 mt-2 mt-lg-0"> <button class="btn btn-danger float-lg-right float-none btn-sm ml-2 mt-1 d-none bulk-delete" data-href="<?php echo e(route('register.customer.bulk.delete')); ?>"><i class="flaticon-interface-5"></i> <?php echo e(__('Delete')); ?></button> <form action="<?php echo e(url()->full()); ?>" class="float-lg-right float-none"> <input type="text" name="term" class="form-control min-w-250" value="<?php echo e(request()->input('term')); ?>" placeholder="<?php echo e(__('Search by Username / Email')); ?>"> </form> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(!$errors->isEmpty()): ?> <div class="alert alert-danger"> <ul> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><?php echo e($message); ?></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <?php endif; ?> <?php if(count($users) == 0): ?> <h3 class="text-center"><?php echo e(__('NO USER FOUND')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"> <input type="checkbox" class="bulk-check" data-val="all"> </th> <th scope="col"><?php echo e(__('Username')); ?></th> <th scope="col"><?php echo e(__('Email')); ?></th> <th scope="col"><?php echo e(__('Email Status')); ?></th> <th scope="col"><?php echo e(__('Account')); ?></th> <td scope="col"><?php echo e(__('Action')); ?></td> </tr> </thead> <tbody> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input type="checkbox" class="bulk-check" data-val="<?php echo e($user->id); ?>"> </td> <td><?php echo e($user->username); ?></td> <td><?php echo e($user->email); ?></td> <td> <form id="emailForm<?php echo e($user->id); ?>" class="d-inline-block" action="<?php echo e(route('register.customer.email')); ?>" method="post"> <?php echo csrf_field(); ?> <select class="form-control form-control-sm <?php echo e(strtolower($user->email_verified_at) != null ? 'bg-success' : 'bg-danger'); ?>" name="email_verified" onchange="document.getElementById('emailForm<?php echo e($user->id); ?>').submit();"> <option value="1" <?php echo e($user->email_verified_at != null ? 'selected' : ''); ?>> <?php echo e(__('Verified')); ?></option> <option value="0" <?php echo e($user->email_verified_at == null ? 'selected' : ''); ?>> <?php echo e(__('Unverified')); ?></option> </select> <input type="hidden" name="user_id" value="<?php echo e($user->id); ?>"> </form> </td> <td> <form id="userFrom<?php echo e($user->id); ?>" class="d-inline-block" action="<?php echo e(route('user.customer.ban')); ?>" method="post"> <?php echo csrf_field(); ?> <select class="form-control form-control-sm <?php echo e($user->status == 1 ? 'bg-success' : 'bg-danger'); ?>" name="status" onchange="document.getElementById('userFrom<?php echo e($user->id); ?>').submit();"> <option value="1" <?php echo e($user->status == 1 ? 'selected' : ''); ?>> <?php echo e(__('Active')); ?></option> <option value="0" <?php echo e($user->status == 0 ? 'selected' : ''); ?>> <?php echo e(__('Deactive')); ?></option> </select> <input type="hidden" name="user_id" value="<?php echo e($user->id); ?>"> </form> </td> <td> <div class="dropdown"> <button class="btn btn-info btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <?php echo e(__('Actions')); ?> </button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a class="dropdown-item" href="<?php echo e(route('register.customer.view', $user->id)); ?>"><?php echo e(__('Details')); ?></a> <a class="dropdown-item" href="<?php echo e(route('register.customer.changePass', $user->id)); ?>"><?php echo e(__('Change Password')); ?></a> <form class="deleteform d-block" action="<?php echo e(route('register.customer.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="user_id" value="<?php echo e($user->id); ?>"> <button type="submit" class="deletebtn"> <?php echo e(__('Delete')); ?> </button> </form> <form class="deleteform d-block" target="_blank" action="<?php echo e(route('customer.secrect.login')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="user_id" value="<?php echo e($user->id); ?>"> <button type="submit" class="dropdown-item"> <?php echo e(__('Secrect Login')); ?> </button> </form> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> <div class="card-footer"> <div class="row"> <div class="d-inline-block mx-auto"> <?php echo e($users->appends(['term' => request()->input('term')])->links()); ?> </div> </div> </div> </div> </div> </div> <!-- Modal --> <div class="modal fade" id="addUserModal" tabindex="-1" role="dialog" aria-labelledby="addUserModalTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?php echo e(__('Add User')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form action="<?php echo e(route('register.user.store')); ?>" method="POST" id="ajaxForm"> <?php echo csrf_field(); ?> <div class="form-group"> <label for=""><?php echo e(__('Username')); ?> *</label> <input class="form-control" type="text" name="username"> <p id="errusername" class="text-danger mb-0 em"></p> </div> <div class="form-group"> <label for=""><?php echo e(__('Email')); ?> *</label> <input class="form-control" type="email" name="email"> <p id="erremail" class="text-danger mb-0 em"></p> </div> <div class="form-group"> <label for=""><?php echo e(__('Password')); ?> *</label> <input class="form-control" type="password" name="password"> <p id="errpassword" class="text-danger mb-0 em"></p> </div> <div class="form-group"> <label for=""><?php echo e(__('Confirm Password')); ?> *</label> <input class="form-control" type="password" name="password_confirmation"> </div> <div class="form-group"> <label for=""><?php echo e(__('Package / Plan')); ?> *</label> <select name="package_id" class="form-control"> <?php if(!empty($packages)): ?> <?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $package): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($package->id); ?>"><?php echo e($package->title); ?> (<?php echo e($package->term); ?>) </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </select> <p id="errpackage_id" class="text-danger mb-0 em"></p> </div> <div class="form-group"> <label for=""><?php echo e(__('Payment Gateway')); ?> *</label> <select name="payment_gateway" class="form-control"> <?php if(!empty($gateways)): ?> <?php $__currentLoopData = $gateways; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gateway): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($gateway->name); ?>"><?php echo e($gateway->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </select> <p id="errpayment_gateway" class="text-danger mb-0 em"></p> </div> <div class="form-group"> <label for=""><?php echo e(__('Publicly Hidden')); ?> *</label> <select name="online_status" class="form-control"> <option value="1"><?php echo e(__('No')); ?></option> <option value="0"><?php echo e(__('Yes')); ?></option> </select> <p id="erronline_status" class="text-danger mb-0 em"></p> </div> </form> </div> <div class="modal-footer text-center"> <button id="submitBtn" type="button" class="btn btn-primary"><?php echo e(__('Add User')); ?></button> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { $(".template-select").on('change', function() { let userId = $(this).data('user_id'); let val = $(this).val(); if (val == 1) { $("#templateModal" + userId).modal('show'); } $(`#templateModal${userId} input[name='template']`).val(val); if (val == 0) { $(`#templateForm${userId}`).trigger('submit'); } }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/user/register_customer/index.blade.php ENDPATH**/ ?>
Save