Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/celkcksm/cms.ncriptech.com/resources/views/admin/admit-setting/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
@extends('admin.layouts.master') @section('title', $title) @section('content') <!-- Start Content--> <div class="main-body"> <div class="page-wrapper"> <!-- [ Main Content ] start --> <div class="row"> <div class="col-md-12 col-lg-8"> <form class="needs-validation" novalidate action="{{ route($route.'.store') }}" method="post" enctype="multipart/form-data"> @csrf <div class="card"> <div class="card-header"> <h5>{{ $title }}</h5> </div> <div class="card-block"> <div class="row"> <!-- Form Start --> <input name="id" type="hidden" value="{{ (isset($row->id))?$row->id:-1 }}"> <input name="slug" type="hidden" value="admit-card"> <div class="form-group col-md-12"> <label for="title" class="form-label">{{ __('field_title') }} <span>*</span></label> <input type="text" class="form-control" name="title" id="title" value="{{ isset($row->title)?$row->title:'' }}" required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_title') }} </div> </div> <div class="form-group col-md-12"> <label for="body" class="form-label">{{ __('field_body') }}</label> <textarea class="form-control texteditor" name="body" id="body">{{ isset($row->body)?$row->body:'' }}</textarea> </div> <div class="form-group col-md-6"> <label for="footer_left" class="form-label">{{ __('field_footer_left') }}</label> <textarea class="form-control" name="footer_left" id="footer_left">{{ isset($row->footer_left)?$row->footer_left:'' }}</textarea> </div> <div class="form-group col-md-6"> <label for="footer_right" class="form-label">{{ __('field_footer_right') }}</label> <textarea class="form-control" name="footer_right" id="footer_right">{{ isset($row->footer_right)?$row->footer_right:'' }}</textarea> </div> <div class="form-group col-md-6"> <label for="width" class="form-label">{{ __('field_width') }} <span>*</span></label> <input type="text" class="form-control" name="width" id="width" value="{{ isset($row->width)?$row->width:'600px' }}" placeholder="600px" required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_width') }} </div> </div> <div class="form-group col-md-6"> <label for="height" class="form-label">{{ __('field_height') }} <span>*</span></label> <input type="text" class="form-control" name="height" id="height" value="{{ isset($row->height)?$row->height:'auto' }}" placeholder="auto" required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_height') }} </div> </div> <div class="form-group col-md-6"> <label for="logo_left">{{ __('field_logo_left') }}: <span>{{ __('image_size', ['height' => 200, 'width' => 'Any']) }}</span></label> @if(isset($row->logo_left) && is_file('uploads/'.$path.'/'.$row->logo_left)) <img src="{{ asset('uploads/'.$path.'/'.$row->logo_left) }}" class="img-fluid" style="max-width: 80px; max-height: 80px;"> @endif <input type="file" class="form-control" name="logo_left" id="logo_left" value="{{ old('logo_left') }}"> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_logo_left') }} </div> </div> <div class="form-group col-md-6 mt-4"> <div class="switch d-inline m-r-10"> <input type="checkbox" id="student_photo" name="student_photo" value="1" @if(isset($row->student_photo)) @if($row->student_photo == 1) checked @endif @else checked @endif> <label for="student_photo" class="cr"></label> </div> <label>{{ __('field_student_photo') }}</label> </div> <!-- Form End --> </div> </div> <div class="card-footer"> <button type="submit" class="btn btn-success"><i class="fas fa-check"></i> {{ __('btn_update') }}</button> </div> </div> </form> </div> </div> <!-- [ Main Content ] end --> </div> </div> <!-- End Content--> @endsection