One Hat Cyber Team
Your IP:
216.73.216.30
Server IP:
198.54.114.155
Server:
Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
5.6.40
Create File
|
Create Folder
Execute
Dir :
~
/
proc
/
self
/
root
/
proc
/
thread-self
/
cwd
/
View File Name :
referral.tar
index.blade.php 0000644 00000010452 15111205437 0007433 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="d-sm-flex align-items-center justify-content-between"> <h5 class=" mb-0 text-gray-800 pl-3">{{ __('Referral System') }}</h5> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item"><a href="{{ route('admin.referral.index') }}">{{ __('Referral System') }}</a></li> </ol> </div> </div> <!-- Row --> <div class="row mt-3"> <div class="col-lg-7"> <div class="card mb-4"> <div class="table-responsive p-3"> <table id="geniustable" class="table table-hover dt-responsive" cellspacing="0" width="100%"> <thead class="thead-light"> <tr> <th>{{__('Level')}}</th> <th>{{__('Bonus')}}</th> </tr> </thead> <tbody> @forelse ($referrals as $key=>$data) <tr> <td>@lang('LEVEL')# {{ $data->level }}</td> <td>{{ $data->percent }} (%)</td> </tr> @empty <tr> <td>@lang('No Data Found')</td> </tr> @endforelse </tbody> </table> </div> </div> </div> <div class="col-lg-5"> <div class="card"> @if (\Session::has('success')) <div class="alert alert-success"> <p> @php echo \Session::get('success'); @endphp </p> </div> @endif <div class="row pt-5 pb-3 px-3"> <div class="col-md-6 col-lg-12 col-xl-6"> <div class="form-group"> <label for="title">{{ __('Set Number Of Level') }}</label> <input type="text" class="form-control" id="level" name="level" placeholder="{{ __('Enter Level') }}" value="" required> </div> </div> <div class="col-md-6 col-lg-12 col-xl-6"> <label for="title" class="d-none d-md-block d-lg-none d-xl-block"> </label> <button type="button" id="submit-btn" class="btn btn-primary w-100 generate">{{ __('Generate') }}</button> </div> </div> <form action="{{ route('admin.referral.store') }}" method="post"> @csrf <div class="featured-keyword-area p-3"> <div class="lang-tag-top-filds" id="referral-section"> </div> <button type="submit" id="levelFormBtn" class="btn btn-primary w-100 d-none">{{ __('Submit') }}</button> </div> </form> </div> </div> </div> @endsection @section('scripts') <script> $(document).on('click',".generate",function(){ let level = $("#level").val(); levelHtml = ''; if(parseInt(level)>0){ $("#levelFormBtn").removeClass('d-none'); for(let i=1; i<=parseInt(level); i++){ levelHtml += ` <div class="lang-area"> <span class="remove lang-remove"><i class="fas fa-times"></i></span> <div class="row"> <div class="col-md-6"> <input type="text" class="form-control" id="level" name="level[]" placeholder="@lang('LEVEL')# ${i}" value="${i}" readonly> </div> <div class="col-md-6"> <input type="number" class="form-control" id="level" name="percent[]" placeholder="{{ __('Enter Level Percentage') }}" min="0" step="0.01" value="" required> </div> </div> </div> `; } } $("#referral-section").html(levelHtml); }) $(document).on('click','.lang-remove', function(){ $(this.parentNode).remove(); }) </script> @endsection commission.blade.php 0000644 00000004570 15111205437 0010510 0 ustar 00 @extends('layouts.user') @push('css') @endpush @section('contents') <div class="breadcrumb-area"> <h3 class="title">@lang('Commissions Log')</h3> <ul class="breadcrumb"> <li> <a href="{{ route('user.dashboard') }}">@lang('Dashboard')</a> </li> <li> @lang('Commissions Log') </li> </ul> </div> <div class="dashboard--content-item"> <div class="table-responsive table--mobile-lg"> <table class="table bg--body"> <thead> <tr> <th>{{ __('Date') }}</th> <th>{{ __('Type') }}</th> <th>{{ __('From') }}</th> <th>{{ __('Amount') }}</th> </tr> </thead> <tbody> @if (count($commissions) == 0) <tr> <td colspan="12"> <h4 class="text-center m-0 py-2">{{__('No Data Found')}}</h4> </td> </tr> @else @foreach ($commissions as $key=>$data) @php $receiver = App\Models\User::whereId($data->from_user_id)->first(); @endphp <tr> <td data-label="{{ __('Date') }}"> <div> {{ $data->created_at->toDateString() }} </div> </td> <td data-label="{{ __('Type') }}"> <div> {{ ucfirst($data->type) }} </div> </td> <td data-label="{{ __('From') }}"> <div> {{ $receiver != NULL ? $receiver->name : '' }} </div> </td> <td data-label="{{ __('Amount') }}"> <div> {{ showprice($data->amount) }} </div> </td> </tr> @endforeach @endif </tbody> </table> </div> {{ $commissions->render() }} </div> @endsection @push('js') @endpush