KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/peoplebee.in/webmaster.peoplebee.in/resources/views/profile/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/peoplebee.in/webmaster.peoplebee.in/resources/views/profile/edit-admin-profile.blade.php
@extends('layout')
@section('content')
    <!-- begin::main content -->
    <main class="main-content">

        <div class="container">

            <!-- begin::page header -->
            <div class="page-header">
                <h3>Edit Profile</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">Dashboard</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Profile</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="profile m-b-20 p-30 bg-dark d-lg-flex align-items-center justify-content-between"
                >
                <div class="d-flex align-items-center">
                    <div>
                        <figure class="avatar avatar-xl m-r-20">
                            <img src="{{ !empty($myprofile->profile_pics) ? $myprofile->profile_pics : asset('public/admin/media/image/avatar.jpg') }}"
                                class="rounded-circle" alt="...">
                        </figure>
                    </div>
                    <div class="text-white">
                        <div>
                            <h3>
                                {{ $myprofile->name }}
                            </h3>
                            <p class="m-b-0 opacity-8">{{ $myprofile->organization }}</p>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row row-sm">


                <div class="col-md-6">

                    <div class="card">
                        <div class="card-body">
                            <x-flashMessage />
                            <h6 class="card-title">Edit Profile</h6>
                            <form action="{{ asset('edit-profile/') }}" enctype="multipart/form-data" method="post">
                                @csrf
                                <div class="form-group">
                                    <label for="name">Name</label>
                                    <input type="hidden" value="{{ $myprofile->id }}" name="admin_id">
                                    <input type="text" class="form-control" name="name"
                                        value="{{ !empty($myprofile->name) ? $myprofile->name : '' }}" id="name"
                                        placeholder="User Name">
                                    @if ($errors->has('name'))
                                        <div class="error">
                                            {{ $errors->first('name') }}
                                        </div>
                                    @endif
                                </div>

                                <div class="form-group">
                                    <label for="email">Email</label>
                                    <input type="email" class="form-control" name="email"
                                        value="{{ !empty($myprofile->email) ? $myprofile->email : '' }}" id="email"
                                        placeholder="Enter Email Name">

                                    @if ($errors->has('email'))
                                        <div class="error">
                                            {{ $errors->first('email') }}
                                        </div>
                                    @endif

                                </div>

                                <div class="form-group">
                                    <label for="mobile">Mobile</label>
                                    <input type="number" class="form-control" name="mobile"
                                        value="{{ !empty($myprofile->mobile) ? $myprofile->mobile : '' }}" id="mobile"
                                        placeholder="Enter Phone">

                                    @if ($errors->has('mobile'))
                                        <div class="error">
                                            {{ $errors->first('mobile') }}
                                        </div>
                                    @endif

                                </div>

                                {{-- <div class="form-group">
                                    <label for="institute">Institute</label>
                                    <input type="text" class="form-control" name="institute"
                                        value="{{ !empty($myprofile->institute) ? $myprofile->institute : '' }}"
                                        id="institute" placeholder="Enter Institute">
                                    @if ($errors->has('institute'))
                                        <div class="error">
                                            {{ $errors->first('institute') }}
                                        </div>
                                    @endif
                                </div> --}}

                                <div class="form-group">
                                    <label for="image">Profile image</label>
                                    <input type="file" class="form-control" name="image" id="image">
                                    @if ($errors->has('image'))
                                        <div class="error">
                                            {{ $errors->first('image') }}
                                        </div>
                                    @endif
                                </div>

                                <div class="form-group">
                                    <img src="{{ !empty($myprofile->profile_pics) ? $myprofile->profile_pics : '' }}"
                                        alt="" style="width:100px;">
                                </div>

                                <button type="submit" class="btn btn-primary">Update</button>
                            </form>
                        </div>
                    </div>
                </div>

            </div>

        </div>

    </main>
    <!-- end::main content -->
@endsection
@push('footer-script')
@endpush

Anon7 - 2021