[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: app.blade.php
@extends('layouts.admin') @push('css-page') @include('Chatify::layouts.headLinks') @endpush @php $currentWorkspace = App\Models\Workspace::where('id', Auth::user()->currant_workspace)->first(); if (Auth::user()->type == 'admin') { $setting = App\Models\Utility::getAdminPaymentSettings(); if ($setting['color']) { $color = $setting['color']; } else { $color = 'theme-3'; } } else { $setting = App\Models\Utility::getcompanySettings($currentWorkspace->id); $color = $setting->theme_color; } if (!isset($color) || $color == '' || $color == null) { $settings = App\Models\Utility::getAdminPaymentSettings(); $color = $settings['color']; } @endphp @php $avatar = \App\Models\Utility::get_file('/avatars/'); @endphp @section('page-title') {{ __('Messenger') }} @endsection @section('links') @if (\Auth::guard('client')->check()) <li class="breadcrumb-item"><a href="{{ route('client.home') }}">{{ __('Home') }}</a></li> @else <li class="breadcrumb-item"><a href="{{ route('home') }}">{{ __('Home') }}</a></li> @endif <li class="breadcrumb-item"> {{ __('Messenger') }}</li> @endsection @section('content') <div class="card rounded-12"> <div class="messenger rounded min-h-750 overflow-hidden mt-4 px-4"> {{-- ----------------------Users/Groups lists side---------------------- --}} <div class="messenger-listView"> {{-- Header and search bar --}} <div class="m-header"> <nav> <nav class="m-header-right"> <a href="#" class="listView-x"><i class="fas fa-times"></i></a> </nav> </nav> {{-- Search input --}} <input type="text" class="messenger-search" placeholder="{{ __('Search') }}" /> {{-- Tabs --}} <div class="messenger-listView-tabs"> <a href="#" @if ($route == 'user') class="active-tab" @endif data-view="users"> <span class="fas fa-clock" title="{{ __('Recent') }}"></span> </a> <a href="#" @if ($route == 'group') class="active-tab" @endif data-view="groups"> <span class="fas fa-users" title="{{ __('Members') }}"></span></a> </div> </div> {{-- tabs and lists --}} <div class="m-body"> {{-- Lists [Users/Group] --}} {{-- ---------------- [ User Tab ] ---------------- --}} <div class="@if ($route == 'user') show @endif messenger-tab app-scroll" data-view="users"> {{-- Favorites --}} <p class="messenger-title">Favorites</p> <div class="messenger-favorites app-scroll-thin"></div> {{-- Saved Messages --}} {!! view('Chatify::layouts.listItem', ['get' => 'saved', 'id' => $id])->render() !!} {{-- Contact --}} <div class="listOfContacts" style="width: 100%;height: calc(100% - 200px);position: relative;"> </div> </div> {{-- ---------------- [ Group Tab ] ---------------- --}} <div class="all_members @if ($route == 'group') show @endif messenger-tab app-scroll" data-view="groups"> <p style="text-align: center;color:grey;">{{ __('Soon will be available') }}</p> </div> {{-- ---------------- [ Search Tab ] ---------------- --}} <div class="messenger-tab app-scroll" data-view="search"> <p class="messenger-title">{{ __('Search') }}</p> <div class="search-records"> <p class="message-hint center-el"><span>{{ __('Type to search..') }}</span></p> </div> </div> </div> </div> {{-- ----------------------Messaging side---------------------- --}} <div class="messenger-messagingView"> {{-- header title [conversation name] amd buttons --}} <div class="m-header m-header-messaging"> <nav class="d-flex a;align-items-center justify-content-between"> {{-- header back button, avatar and user name --}} <div style="display: flex;"> <a href="#" class="show-listView"><i class="fas fa-arrow-left"></i> </a> @if (!empty(Auth::user()->avatar)) <div class="avatar av-s header-avatar" style="margin: 0px 10px; margin-top: -5px; margin-bottom: -5px;background-image: url('{{ $avatar . Auth::user()->avatar }}');"> </div> @else <div class="avatar av-s header-avatar" style="margin: 0px 10px; margin-top: -5px; margin-bottom: -5px;background-image: url('{{ $avatar . 'avatar.png' }}');"> </div> @endif <a href="#" class="user-name">{{ config('chatify.name') }}</a> </div> {{-- header buttons --}} <nav class="m-header-right"> <a href="#" class="add-to-favorite my-lg-1 my-xl-1 mx-lg-1 mx-xl-1"><i class="fas fa-star"></i></a> <a href="#" class="show-infoSide my-lg-1 my-xl-1 mx-lg-1 mx-xl-2"><i class="fas fa-info-circle"></i></a> </nav> </nav> </div> {{-- Internet connection --}} <div class="internet-connection"> <span class="ic-connected">{{ __('Connected') }}</span> <span class="ic-connecting">{{ __('Connecting...') }}</span> <span class="ic-noInternet">{{ __('Please add pusher settings for using messenger.') }}</span> </div> {{-- Messaging area --}} <div class="m-body app-scroll"> <div class="messages"> <p class="message-hint" style="margin-top: calc(30% - 126.2px);"> <span>{{ __('Please select a chat to start messaging') }}</span> </p> </div> {{-- Typing indicator --}} <div class="typing-indicator"> <div class="message-card typing"> <p> <span class="typing-dots"> <span class="dot dot-1"></span> <span class="dot dot-2"></span> <span class="dot dot-3"></span> </span> </p> </div> </div> {{-- Send Message Form --}} @include('Chatify::layouts.sendForm') </div> </div> {{-- ---------------------- Info side ---------------------- --}} <div class="messenger-infoView app-scroll text-center"> {{-- nav actions --}} <nav class="text-left"> <a href="#"><i class="fas fa-times"></i></a> </nav> {!! view('Chatify::layouts.info')->render() !!} </div> </div> </div> @endsection @push('scripts') @include('Chatify::layouts.modals') @endpush @if ($color == 'theme-1') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, rgba(255, 58, 110, 0.6) 99.86%), #51459d !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, rgba(255, 58, 110, 0.6) 99.86%), #51459d !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #51459d !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, rgba(255, 58, 110, 0.6) 99.86%), #51459d !important; } .m-header svg { color: #51459d !important; } .active-tab { border-bottom: 2px solid #51459d !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, rgba(255, 58, 110, 0.6) 99.86%), #51459d !important; } .lastMessageIndicator { color: #51459d !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, rgba(255, 58, 110, 0.6) 99.86%), #51459d !important; font-weight: bold; } .messenger-sendCard button svg { color: #51459d !important; } </style> @endif @if ($color == 'theme-2') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, #4ebbd3 99.86%), #1f3996 !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, #4ebbd3 99.86%), #1f3996 !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #1f3996 !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, #4ebbd3 99.86%), #1f3996 !important; } .m-header svg { color: #1f3996 !important; } .active-tab { border-bottom: 2px solid #1f3996 !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, #4ebbd3 99.86%), #1f3996 !important; } .lastMessageIndicator { color: #1f3996 !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(81, 69, 157, 0) 3.46%, #4ebbd3 99.86%), #1f3996 !important; font-weight: bold; } .messenger-sendCard button svg { color: #1f3996 !important; } </style> @endif @if ($color == 'theme-3') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, #6fd943 3.46%, #6fd943 99.86%), #6fd943 !important; } .mc-sender p { background: linear-gradient(141.55deg, #6fd943 3.46%, #6fd943 99.86%), #6fd943 !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #6fd943 !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, #6fd943 3.46%, #6fd943 99.86%), #6fd943 !important; } .m-header svg { color: #6fd943 !important; } .active-tab { border-bottom: 2px solid #6fd943 !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, #6fd943 3.46%, #6fd943 99.86%), #6fd943 !important; } .lastMessageIndicator { color: #6fd943 !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, #6fd943 3.46%, #6fd943 99.86%), #6fd943 !important; font-weight: bold; } .messenger-sendCard button svg { color: #6fd943 !important; } </style> @endif @if ($color == 'theme-4') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #685ee5 99.86%), #584ed2 !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #685ee5 99.86%), #584ed2 !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #584ed2 !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #685ee5 99.86%), #584ed2 !important; } .m-header svg { color: #584ed2 !important; } .active-tab { border-bottom: 2px solid #584ed2 !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #685ee5 99.86%), #584ed2 !important; } .lastMessageIndicator { color: #584ed2 !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #685ee5 99.86%), #584ed2 !important; font-weight: bold; } .messenger-sendCard button svg { color: #584ed2 !important; } </style> @endif @if ($color == 'theme-5') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #B9406B 99.86%), #B9406B !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #B9406B 99.86%), #B9406B !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #B9406B !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #B9406B 99.86%), #B9406B !important; } .m-header svg { color: #B9406B !important; } .active-tab { border-bottom: 2px solid #B9406B !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #B9406B 99.86%), #B9406B !important; } .lastMessageIndicator { color: #B9406B !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #B9406B 99.86%), #B9406B !important; font-weight: bold; } .messenger-sendCard button svg { color: #B9406B !important; } </style> @endif @if ($color == 'theme-6') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #008ECC 99.86%), #008ECC !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #008ECC 99.86%), #008ECC !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #008ECC !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #008ECC 99.86%), #008ECC !important; } .m-header svg { color: #008ECC !important; } .active-tab { border-bottom: 2px solid #008ECC !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #008ECC 99.86%), #008ECC !important; } .lastMessageIndicator { color: #008ECC !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #008ECC 99.86%), #008ECC !important; font-weight: bold; } .messenger-sendCard button svg { color: #008ECC !important; } </style> @endif @if ($color == 'theme-7') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #922C88 99.86%), #922C88 !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #922C88 99.86%), #922C88 !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #922C88 !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #922C88 99.86%), #922C88 !important; } .m-header svg { color: #922C88 !important; } .active-tab { border-bottom: 2px solid #922C88 !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #922C88 99.86%), #922C88 !important; } .lastMessageIndicator { color: #922C88 !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #922C88 99.86%), #922C88 !important; font-weight: bold; } .messenger-sendCard button svg { color: #922C88 !important; } </style> @endif @if ($color == 'theme-8') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #C0A145 99.86%), #C0A145 !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #C0A145 99.86%), #C0A145 !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #C0A145 !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #C0A145 99.86%), #C0A145 !important; } .m-header svg { color: #C0A145 !important; } .active-tab { border-bottom: 2px solid #C0A145 !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #C0A145 99.86%), #C0A145 !important; } .lastMessageIndicator { color: #C0A145 !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #C0A145 99.86%), #C0A145 !important; font-weight: bold; } .messenger-sendCard button svg { color: #C0A145 !important; } </style> @endif @if ($color == 'theme-9') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #48494B 99.86%), #48494B !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #48494B 99.86%), #48494B !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #48494B !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #48494B 99.86%), #48494B !important; } .m-header svg { color: #48494B !important; } .active-tab { border-bottom: 2px solid #48494B !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #48494B 99.86%), #48494B !important; } .lastMessageIndicator { color: #48494B !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #48494B 99.86%), #48494B !important; font-weight: bold; } .messenger-sendCard button svg { color: #48494B !important; } </style> @endif @if ($color == 'theme-10') <style type="text/css"> .m-list-active, .m-list-active:hover, .m-list-active:focus { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #0C7785 99.86%), #0C7785 !important; } .mc-sender p { background: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #0C7785 99.86%), #0C7785 !important; } .messenger-favorites div.avatar { box-shadow: 0px 0px 0px 2px #0C7785 !important; } .messenger-listView-tabs a, .messenger-listView-tabs a:hover, .messenger-listView-tabs a:focus { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #0C7785 99.86%), #0C7785 !important; } .m-header svg { color: #0C7785 !important; } .active-tab { border-bottom: 2px solid #0C7785 !important; } .messenger-infoView nav a { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #0C7785 99.86%), #0C7785 !important; } .lastMessageIndicator { color: #0C7785 !important; } .messenger-list-item td span .lastMessageIndicator { color: linear-gradient(141.55deg, rgba(104, 94, 229, 0) 3.46%, #0C7785 99.86%), #0C7785 !important; font-weight: bold; } .messenger-sendCard button svg { color: #0C7785 !important; } </style> @endif
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.68 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