Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/viralblo/instantblog/resources/views/public/ |
Upload File : |
<div class="row mb-4"> <div class="col-lg-6"> <div class="profile-card"> @if (substr( $user->avatar, 0, 4 ) === "http") <img class="profile-card-photo" src=" {{ $user->avatar }} "> @else <img class="profile-card-photo" src="{{ url('/images/' . $user->avatar) }}"> @endif </div> <div class="profile-card pt-5"> <h1 class="header-title">{{ $user->name }}</h1> <h6> {{ $user->username }} @isset($user->role) <i class="icon-patch-check-fill text-primary verficon" title="@lang('messages.new.verified')"></i> @endisset @isset($user->role) <span class="text-warning ms-2">@lang($user->role)</span> @endisset </h6> <h6> @lang('messages.user.level') <span class="badge bg-secondary">{{ levelNumber($point->sum('likes_count')) }}</span> <span class="ms-2">@lang('messages.user.points') </span> <span class="badge bg-secondary">{{ $point->sum('likes_count') }}</span> <span class="ms-2">@lang('messages.new.totalposts') </span> <span class="badge bg-secondary">{{ shortNumber($user->posts()->count()) }}</span> </h6> </div> </div> <div class="col-lg-4 pt-lg-3"> <ul class="profile-links-list d-flex justify-content-center"> @isset($user->website) <li class="nowrap"> <a role="button" class="btn btn-white-shadow" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Website" href="{{ $user->website }}"> <i class="icon-globe"></i></a> </li> @endisset @isset($user->facebook) <li class="nowrap"> <a role="button" class="btn btn-white-shadow" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Facebook" href="https://www.facebook.com/{{ $user->facebook }}"> <i class="icon-facebook"></i></a> </li> @endisset @isset($user->twitter) <li class="nowrap"> <a role="button" class="btn btn-white-shadow" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Twitter" href="https://twitter.com/{{ $user->twitter }}"> <i class="icon-twitter"></i></a> </li> @endisset @isset($user->instagram) <li class="nowrap"> <a role="button" class="btn btn-white-shadow" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Instagram" href="https://www.instagram.com/{{ $user->instagram }}"> <i class="icon-instagram"></i></a> </li> @endisset @isset($user->linkedin) <li class="nowrap"> <a role="button" class="btn btn-white-shadow" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom" title="LinkEdin" href="{{ $user->linkedin }}"> <i class="icon-linkedin"></i></a> </li> @endisset </ul> </div> <div class="col-lg-2 pt-lg-5 mt-3"> @if (auth()->check()) @if (auth()->id() == $user->id) <div class="d-grid gap-1 col-6 col-lg-12 mx-auto"> <a href="{{ url('/profile/' . $user->username . '/edit/') }}" role="button" class="btn btn-arrow border-one">@lang('messages.user.edit_profile')</a> </div> @else @if (auth()->user()->following($user)) <div class="flwid d-grid gap-1 col-6 col-lg-12 mx-auto"> <input type="hidden" name="follow_id" value="{{ $user->id }}"> <button type="button" class="btn btn-secondary border-one" onclick="follow(this)">@lang('messages.new.unfollow')</button> </div> @else <div class="flwid d-grid gap-1 col-6 col-lg-12 mx-auto"> <input type="hidden" name="follow_id" value="{{ $user->id }}"> <button type="button" class="btn btn-arrow border-one" onclick="follow(this)">@lang('messages.new.follow')</button> </div> @endif @endif @endif </div> </div>