MMCT TEAM
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/routine-setting/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/cms.ncriptech.com/resources/views/admin/routine-setting/class.blade.php
@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="class-routine">

                            <div class="form-group col-md-12">
                                <label for="title" class="form-label">{{ __('field_title') }} <span>*</span></label>
                                <input class="form-control" name="title" id="title" value="{{ isset($row->title)?$row->title:'' }}" required>
                            </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="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:'1000px' }}" placeholder="1000px" 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">
                                <label for="logo_right">{{ __('field_logo_right') }}: <span>{{ __('image_size', ['height' => 200, 'width' => 'Any']) }}</span></label>

                                @if(isset($row->logo_right) && is_file('uploads/'.$path.'/'.$row->logo_right))
                                <img src="{{ asset('uploads/'.$path.'/'.$row->logo_right) }}" class="img-fluid" style="max-width: 80px; max-height: 80px;">
                                @endif
                                
                                <input type="file" class="form-control" name="logo_right" id="logo_right" value="{{ old('logo_right') }}">

                                <div class="invalid-feedback">
                                  {{ __('required_field') }} {{ __('field_logo_right') }}
                                </div>
                            </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

MMCT - 2023