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
/
Edit File:
requestmoney.tar
index.blade.php 0000644 00000003522 15107613601 0007434 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="d-sm-flex align-items-center justify-content-between py-3"> <h5 class=" mb-0 text-gray-800 pl-3">{{ __('All Request Money') }}</h5> <ol class="breadcrumb m-0 py-0"> <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item"><a href="{{ route('admin.request.money') }}">{{ __('Request Money') }}</a></li> </ol> </div> </div> <div class="row mt-3"> <div class="col-lg-12"> @include('includes.admin.form-success') <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>{{__('Transaction no')}}</th> <th>{{__('Request From')}}</th> <th>{{__('Request To')}}</th> <th>{{__('Amount')}}</th> <th>{{__('Cost')}}</th> <th>{{__('Status')}}</th> </tr> </thead> </table> </div> </div> </div> </div> @endsection @section('scripts') <script type="text/javascript"> "use strict"; var table = $('#geniustable').DataTable({ ordering: false, processing: true, serverSide: true, searching: true, ajax: '{{ route('admin.request.datatables') }}', columns: [ { data: 'transaction_no', name: 'transaction_no' }, { data: 'user_id', name: 'user_id' }, { data: 'receiver_id', name: 'receiver_id' }, { data: 'amount', name: 'amount' }, { data: 'cost', name: 'cost' }, { data: 'status', name: 'status' }, ], language : { processing: '<img src="{{asset('assets/images/'.$gs->admin_loader)}}">' } }); </script> @endsection create.blade.php 0000644 00000014073 15107613601 0007573 0 ustar 00 @extends('layouts.user') @push('css') @endpush @section('contents') <div class="breadcrumb-area"> <h3 class="title">@lang('Request Money')</h3> <ul class="breadcrumb"> <li> <a href="{{ route('user.dashboard') }}">@lang('Dashboard')</a> </li> <li> @lang('Request Money') </li> </ul> </div> <div class="dashboard--content-item"> <div class="row g-3"> <div class="col-12"> <div class="card default--card"> <div class="card-body"> @includeIf('includes.flash') <form id="request-form" action="{{ route('user.money.request.store') }}" method="POST" enctype="multipart/form-data"> @csrf <div class="row gy-3 gy-md-4"> <div class="col-sm-12"> <div class="form-group"> <label class="form-label required">{{__('Receiver Email')}}</label> <input name="email" id="accountemail" class="form-control @error('email') is-invalid @enderror" autocomplete="off" placeholder="{{__('doe@gmail.com')}}" type="email" value="{{ old('email') }}"> @error('email') <p class="text-danger mt-2">{{ $message }}</p> @enderror </div> </div> <div class="col-sm-12"> <div class="form-group"> <label class="form-label required">{{__('Account Name')}}</label> <input name="name" id="account_name" class="form-control @error('name') is-invalid @enderror" autocomplete="off" placeholder="{{__('Jhon Doe')}}" type="text" value="{{ old('name') }}" readonly> @error('name') <p class="text-danger mt-2">{{ $message }}</p> @enderror </div> </div> <div class="col-sm-12"> <div class="form-group"> <label class="form-label required">{{__('Amount')}}</label> <input name="amount" id="amount" class="form-control @error('amount') is-invalid @enderror" autocomplete="off" placeholder="{{__('0.0')}}" type="number" value="{{ old('amount') }}" min="1"> @error('amount') <p class="text-danger mt-2">{{ $message }}</p> @enderror </div> </div> <div class="col-sm-12"> <div class="form-group"> <label class="form-label">{{__('Description')}}</label> <textarea name="details" class="form-control nic-edit" cols="30" rows="5" placeholder="{{__('Receive account details')}}"></textarea> </div> </div> <div class="col-sm-12"> <label class="form-label d-none d-sm-block"> </label> <button type="submit" class="cmn--btn bg--primary submit-btn w-100 border-0">{{__('Submit')}}</button> </div> </div> </form> </div> </div> </div> </div> </div> <div class="dashboard--content-item"> <div class="table-responsive table--mobile-lg"> <table class="table bg--body"> <thead> <tr> <th>{{ __('Date') }}</th> <th>{{ __('Sender') }}</th> <th>{{ __('Amount') }}</th> <th>{{ __('Receiver') }}</th> <th>{{ __('Status') }}</th> <th>{{ __('Details') }}</th> </tr> </thead> <tbody> @if (count($requests) == 0) <tr> <td colspan="12"> <h4 class="text-center m-0 py-2">{{__('No Data Found')}}</h4> </td> </tr> @else @foreach($requests as $key=>$data) <tr> <td data-label="{{ __('Date') }}"> <div> {{ $data->created_at->toFormattedDateString() }} </div> </td> <td data-label="{{ __('Sender') }}"> <div> {{ auth()->user()->name }} </div> </td> <td data-label="{{ __('Amount') }}"> <div> {{ showprice($data->amount,$currency) }} </div> </td> <td data-label="{{ __('Receiver') }}"> <div> {{ $data->receiver_name }} </div> </td> <td data-label="{{ __('Status') }}"> <div> <span class="badge bg-{{ $data->status == 1 ? 'success' : 'warning'}}">{{ $data->status == 1 ? 'completed' : 'pending'}}</span> </div> </td> <td data-label="{{ __('Details') }}"> <div class="btn-list"> <a href="{{route('user.money.request.details',$data->id)}}" class="btn btn-primary"> {{__('Details')}} </a> </div> </td> </tr> @endforeach @endif </tbody> </table> </div> {{ $requests->links() }} </div> @endsection @push('js') <script> 'use strict'; $("#account_name").on('click',function(){ let accountEmail = $("#accountemail").val(); let url = `${mainurl}/user/username/${accountEmail}`; $.get(url, function(data){ $("#account_name").val(data); }); }) </script> @endpush receive.blade.php 0000644 00000010560 15111162500 0007737 0 ustar 00 @extends('layouts.user') @push('css') @endpush @section('contents') <div class="breadcrumb-area"> <h3 class="title">@lang('Receive Request Money')</h3> <ul class="breadcrumb"> <li> <a href="{{ route('user.dashboard') }}">@lang('Dashboard')</a> </li> <li> @lang('Receive Request Money') </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>{{ __('Request From') }}</th> <th>{{ __('Amount') }}</th> <th>{{ __('Status') }}</th> <th>{{ __('Details') }}</th> </tr> </thead> <tbody> @if (count($requests) == 0) <tr> <td colspan="12"> <h4 class="text-center m-0 py-2">{{__('No Data Found')}}</h4> </td> </tr> @else @foreach($requests as $key=>$data) @php $from = App\Models\User::where('id',$data->user_id)->first(); @endphp <tr> <td data-label="{{ __('Date') }}"> <div> {{ $data->created_at->toFormattedDateString() }} </div> </td> <td data-label="{{ __('Request From') }}"> <div> {{ $from != NULL ? $from->name : 'User Deleted' }} </div> </td> <td data-label="{{ __('Amount') }}"> <div> {{ showprice($data->amount,$currency) }} </div> </td> <td data-label="{{ __('Status') }}"> <div> <span class="badge bg-{{ $data->status == 1 ? 'success' : 'warning'}}">{{ $data->status == 1 ? 'completed' : 'pending'}}</span> </div> </td> <td data-label="{{ __('Details') }}"> <div class="btn-list"> <a href="{{route('user.money.request.details',$data->id)}}" class="btn btn-primary"> {{__('Details')}} </a> @if ($data->status == 0) <a href="javascript:;" id="sendBtn" data-href="{{ route('user.request.money.send',$data->id) }}" class="btn text--body" data-bs-toggle="modal" data-bs-target="#modal-success"> {{__('Send')}} </a> @endif </div> </td> </tr> @endforeach @endif </tbody> </table> </div> {{ $requests->links() }} </div> <div class="modal fade confirm-modal" id="modal-success" aria-modal="true" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <form id="requestMoney" action="" method="POST" enctype="multipart/form-data"> @csrf <div class="modal-body p-4"> <h4 class="modal-title text-center" id="withdrawModalTitle">@lang('Receive Request Money')</h4> <div class="modal-body text-center py-4"> <p class="text-center">{{ __("You are about to change the status.") }}</p> <p class="text-center">{{ __("Do you want to proceed?") }}</p> </div> <div class="d-flex"> <button type="button" class="btn shadow-none btn--danger me-2 w-50" data-bs-dismiss="modal">@lang('Close')</button> <button type="submit" class="btn shadow-none btn--success w-50">@lang('Proceed')</button> </div> </div> </form> </div> </div> </div> @endsection @push('js') <script> 'use strict'; $("#sendBtn").on('click',function(){ $("#requestMoney").prop("action",$(this).data('href')) }) </script> @endpush details.blade.php 0000644 00000004513 15111162500 0007743 0 ustar 00 @extends('layouts.user') @push('css') @endpush @section('contents') <div class="breadcrumb-area"> <h3 class="title">@lang('Request Money Details')</h3> <ul class="breadcrumb"> <li> <a href="{{ route('user.money.request.create') }}">@lang('Send Request Money')</a> </li> </ul> </div> <div class="dashboard--content-item"> <div class="table-responsive-sm"> <table class="table"> <tbody> <tr class="border-top"> <th class="45%" width="45%">{{__('Request From')}}</th> <td width="10%">:</td> <td class="45%" width="45%">{{ $from->name }}</td> </tr> <tr> <th class="45%" width="45%">{{__('Request To')}}</th> <td width="10%">:</td> <td class="45%" width="45%">{{ $to->name }}</td> </tr> <tr> <th class="45%" width="45%">{{__('Amount')}}</th> <td width="10%">:</td> <td class="45%" width="45%">{{ showprice($data->amount,$currency) }}</td> </tr> <tr> <th class="45%" width="45%">{{__('Cost')}}</th> <td width="10%">:</td> <td class="45%" width="45%">{{ showprice($data->cost,$currency) }}</td> </tr> <tr> <th class="45%" width="45%">{{__('Amount To Get')}}</th> <td width="10%">:</td> <td class="45%" width="45%">{{ showprice(($data->amount - $data->cost),$currency) }}</td> </tr> <tr> <th width="45%">{{__('Details')}}</th> <td width="10%">:</td> <td width="45%">{{ $data->details }}</td> </tr> <tr> <th width="45%">{{__('Request Date')}}</th> <td width="10%">:</td> <td width="45%">{{ $data->created_at->diffForHumans() }}</td> </tr> </tbody> </table> </div> </div> @endsection @push('js') @endpush
Simpan