One Hat Cyber Team
Your IP:
216.73.216.215
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
/
thread-self
/
root
/
proc
/
self
/
cwd
/
Edit File:
staff.tar
index.blade.php 0000644 00000011337 15111314276 0007440 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">{{ __('Manage Staff') }}</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.staff.index') }}">{{ __('Manage Staff') }}</a></li> </ol> </div> </div> <!-- Row --> <div class="row mt-3"> <!-- Datatables --> <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>{{ __('Name') }}</th> <th>{{ __('Email') }}</th> <th>{{ __('Phone') }}</th> <th>{{ __('Role') }}</th> <th>{{ __('Options') }}</th> </tr> </thead> </table> </div> </div> </div> <!-- DataTable with Hover --> </div> <!--Row--> {{-- STATUS MODAL --}} <div class="modal fade confirm-modal" id="statusModal" tabindex="-1" role="dialog" aria-labelledby="statusModalTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">{{ __("Update Status") }}</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <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="modal-footer"> <a href="javascript:;" class="btn btn-secondary" data-dismiss="modal">{{ __("Cancel") }}</a> <a href="javascript:;" class="btn btn-success btn-ok">{{ __("Update") }}</a> </div> </div> </div> </div> {{-- STATUS MODAL ENDS --}} {{-- DELETE MODAL --}} <div class="modal fade confirm-modal" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="deleteModalTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">{{ __("Confirm Delete") }}</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p class="text-center">{{__('You are about to delete this Staff')}}.</p> <p class="text-center">{{__('Do you want to proceed')}}?</p> </div> <div class="modal-footer"> <a href="javascript:;" class="btn btn-secondary" data-dismiss="modal">{{ __("Cancel") }}</a> <a href="javascript:;" class="btn btn-danger btn-ok">{{ __("Delete") }}</a> </div> </div> </div> </div> {{-- DELETE MODAL ENDS --}} @endsection @section('scripts') <script type="text/javascript"> "use strict"; var table = $('#geniustable').DataTable({ ordering: false, processing: true, serverSide: true, searching: true, ajax: '{{ route('admin.staff.datatables') }}', columns: [ { data: 'name', name: 'name' }, { data: 'email', name: 'email' }, { data: 'phone', name: 'phone' }, { data: 'role_id', name: 'role_id' }, { data: 'action', searchable: false, orderable: false } ], language : { processing: '<img src="{{asset('assets/images/'.$gs->admin_loader)}}">' } }); $(function() { $(".btn-area").append('<div class="col-sm-12 col-md-4 pr-3 text-right">'+ '<a class="btn btn-primary" href="{{route('admin.staff.create')}}">'+ '<i class="fas fa-plus"></i> Add New Staff'+ '</a>'+ '</div>'); }); </script> @endsection create.blade.php 0000644 00000007742 15111314276 0007601 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">{{ __('Add New Staff') }} <a class="btn btn-primary btn-rounded btn-sm" href="{{route('admin.staff.index')}}"><i class="fas fa-arrow-left"></i> {{ __('Back') }}</a></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.staff.index') }}">{{ __('Manage Staff') }}</a></li> <li class="breadcrumb-item"><a href="{{route('admin.staff.create')}}">{{ __('Add New Staff') }}</a></li> </ol> </div> </div> <div class="row justify-content-center mt-3"> <div class="col-md-10"> <!-- Form Basic --> <div class="card mb-4"> <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between"> <h6 class="m-0 font-weight-bold text-primary">{{ __('Add New Staff Form') }}</h6> </div> <div class="card-body"> <form class="geniusform" action="{{route('admin.staff.store')}}" method="POST" enctype="multipart/form-data"> @include('includes.admin.form-both') {{ csrf_field() }} <div class="form-group" id="set-picture"> <label>{{ __('Set Picture') }} </label> <div class="wrapper-image-preview"> <div class="box"> <div class="back-preview-image" style="background-image: url({{ asset('assets/images/placeholder.jpg') }});"></div> <div class="upload-options"> <label class="img-upload-label" for="img-upload"> <i class="fas fa-camera"></i> {{ __('Upload Picture') }} </label> <input id="img-upload" type="file" class="image-upload" name="photo" accept="image/*"> </div> </div> </div> </div> <div class="form-group"> <label for="inp-name">{{ __('Name') }}</label> <input type="text" class="form-control" id="inp-name" name="name" placeholder="{{ __('Enter Name') }}" value="" required> </div> <div class="form-group"> <label for="inp-name">{{ __('Username') }}</label> <input type="text" class="form-control" id="inp-name" name="username" placeholder="{{ __('Enter Username') }}" value="" required> </div> <div class="form-group"> <label for="inp-email">{{ __('Email') }}</label> <input type="email" class="form-control" id="inp-email" name="email" placeholder="{{ __('Enter Email') }}" value="" required> </div> <div class="form-group"> <label for="inp-phone">{{ __('Phone') }}</label> <input type="text" class="form-control" id="inp-phone" name="phone" placeholder="{{ __('Enter Phone') }}" value="" required> </div> <div class="form-group"> <label for="inp-pass">{{ __('Password') }}</label> <input type="password" class="form-control" id="inp-pass" name="password" placeholder="{{ __('Enter Password') }}" value="" required> </div> <div class="form-group"> <label for="inp-name">{{ __('Select Role') }}</label> <select class="form-control mb-3" name="role_id"> <option value="">{{ __('Select Role') }}</option> @foreach(DB::table('roles')->get() as $data) <option value="{{ $data->id }}">{{ $data->name }}</option> @endforeach </select> </div> <button type="submit" id="submit-btn" class="btn btn-primary w-100">{{ __('Submit') }}</button> </form> </div> </div> </div> </div> @endsection @section('scripts') @endsection show.blade.php 0000644 00000005226 15111314277 0007312 0 ustar 00 @extends('layouts.load') @section('content') <div class="content-area no-padding"> <div class="add-product-content1"> <div class="row"> <div class="col-lg-12"> <div class="product-description"> <div class="body-area"> <div class="table-responsive show-table"> <table class="table"> <tr> <th>{{ __("Staff ID#") }}</th> <td>{{$data->id}}</td> </tr> <tr> <th>{{ __("Staff Photo") }}</th> <td> <img src="{{ $data->photo ? asset('assets/images/admins/'.$data->photo):asset('assets/images/noimage.png')}}" alt="{{ __("No Image") }}"> </td> </tr> <tr> <th>{{ __("Staff Name") }}</th> <td>{{$data->name}}</td> </tr> <tr> <th>{{ __("Staff Role") }}</th> <td>{{ $data->role_id == 0 ? 'No Role' : $data->role->name }}</td> </tr> <tr> <th>{{ __("Staff Email") }}</th> <td>{{$data->email}}</td> </tr> <tr> <th>{{ __("Staff Phone") }}</th> <td>{{$data->phone}}</td> </tr> <tr> <th>{{ __("Joined") }}</th> <td>{{$data->created_at->diffForHumans()}}</td> </tr> </table> </div> </div> </div> </div> </div> </div> </div> @endsection edit.blade.php 0000644 00000007157 15111314277 0007264 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">{{ __('Edit Staff') }} <a class="btn btn-primary btn-rounded btn-sm" href="{{route('admin.staff.index')}}"><i class="fas fa-arrow-left"></i> {{ __('Back') }}</a></h5> <ol class="breadcrumb py-0 m-0"> <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item"><a href="{{ route('admin.staff.index') }}">{{ __('Manage Staff') }}</a></li> <li class="breadcrumb-item"><a href="{{route('admin.staff.edit',$data->id)}}">{{ __('Edit Staff') }}</a></li> </ol> </div> </div> <div class="row justify-content-center mt-3"> <div class="col-md-10"> <!-- Form Basic --> <div class="card mb-4"> <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between"> <h6 class="m-0 font-weight-bold text-primary">{{ __('Edit Staff Form') }}</h6> </div> <div class="card-body"> <form class="geniusform" action="{{route('admin.staff.update',$data->id)}}" method="POST" enctype="multipart/form-data"> @include('includes.admin.form-both') {{ csrf_field() }} <div class="form-group" id="set-picture"> <label>{{ __('Set Picture') }} </label> <div class="wrapper-image-preview"> <div class="box"> <div class="back-preview-image" style="background-image: url({{ $data->photo ? asset('assets/images/'.$data->photo) : asset('assets/images/placeholder.jpg') }});"></div> <div class="upload-options"> <label class="img-upload-label" for="img-upload"> <i class="fas fa-camera"></i> {{ __('Upload Picture') }} </label> <input id="img-upload" type="file" class="image-upload" name="photo" accept="image/*"> </div> </div> </div> </div> <div class="form-group"> <label for="inp-name">{{ __('Name') }}</label> <input type="text" class="form-control" id="inp-name" name="name" placeholder="{{ __('Enter Name') }}" value="{{$data->name}}" required> </div> <div class="form-group"> <label for="inp-email">{{ __('Email') }}</label> <input type="email" class="form-control" id="inp-email" name="email" placeholder="{{ __('Enter Email') }}" value="{{$data->email}}" required> </div> <div class="form-group"> <label for="inp-phone">{{ __('Phone') }}</label> <input type="text" class="form-control" id="inp-phone" name="phone" placeholder="{{ __('Enter Phone') }}" value="{{$data->phone}}" required> </div> <div class="form-group"> <label for="inp-name">{{ __('Select Role') }}</label> <select class="form-control" name="role_id" required=""> <option value="">{{ __('Select Role') }}</option> @foreach(DB::table('roles')->get() as $dta) <option value="{{ $dta->id }}" {{ $data->role_id == $dta->id ? 'selected' : '' }}>{{ $dta->name }}</option> @endforeach </select> </div> <button type="submit" id="submit-btn" class="btn btn-primary w-100">{{ __('Submit') }}</button> </form> </div> </div> </div> </div> @endsection @section('scripts') @endsection
Simpan