[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: sidebar.blade.php
@php $logo = \App\Models\Utility::get_file('logo/'); if (Auth::user()->type == 'admin') { $setting = App\Models\Utility::getAdminPaymentSettings(); if ($setting['color']) { $color = $setting['color']; } else { $color = 'theme-3'; } $dark_mode = $setting['cust_darklayout']; $cust_theme_bg = $setting['cust_theme_bg']; $SITE_RTL = $setting['site_rtl']; $company_logo = App\Models\Utility::get_logo(); } else { $setting = App\Models\Utility::getcompanySettings($currentWorkspace->id); $color = $setting->theme_color; $dark_mode = $setting->cust_darklayout; $SITE_RTL = $setting->site_rtl; $cust_theme_bg = $setting->cust_theme_bg; $adminSetting = App\Models\Utility::getAdminPaymentSettings(); $company_logo = App\Models\Utility::getcompanylogo($currentWorkspace->id); if ($company_logo == '' || $company_logo == null) { $company_logo = App\Models\Utility::get_logo(); } } if ($color == '' || $color == null) { $settings = App\Models\Utility::getAdminPaymentSettings(); $color = $settings['color']; } if ($dark_mode == '' || $dark_mode == null) { $company_logo = App\Models\Utility::get_logo(); $dark_mode = $settings['cust_darklayout']; } if ($cust_theme_bg == '' || $dark_mode == null) { $cust_theme_bg = $settings['cust_theme_bg']; } if ($SITE_RTL == '' || $SITE_RTL == null) { $SITE_RTL = env('SITE_RTL'); } @endphp <nav class="dash-sidebar light-sidebar {{ isset($cust_theme_bg) && $cust_theme_bg == 'on' ? 'transprent-bg' : '' }}"> <div class="navbar-wrapper"> <div class="m-header main-logo"> <a href="{{ route('home') }}" class="b-brand"> <!-- ======== change your logo hear ============ --> <img src="{{ $logo . $company_logo . '?v=' . time() }}" alt="logo" class="sidebar_logo_size" /> </a> </div> <div class="navbar-content"> <ul class="dash-navbar"> @if (\Auth::guard('client')->check()) <li class="dash-item dash-hasmenu"> <a href="{{ route('client.home') }}" class="dash-link {{ Request::route()->getName() == 'home' || Request::route()->getName() == null || Request::route()->getName() == 'client.home' ? ' active' : '' }}"> <span class="dash-micon"><i class="ti ti-home"></i></span> <span class="dash-mtext">{{ __('Dashboard') }}</span> </a> </li> @else <li class="dash-item dash-hasmenu"> <a href="{{ route('home') }}" class="dash-link {{ Request::route()->getName() == 'home' || Request::route()->getName() == null || Request::route()->getName() == 'client.home' ? ' active' : '' }}"> @if (Auth::user()->type == 'admin') <span class="dash-micon"><i class="ti ti-user"></i></span> <span class="dash-mtext">{{ __('Company') }}</span> @else <span class="dash-micon"><i class="ti ti-home"></i></span> <span class="dash-mtext">{{ __('Dashboard') }}</span> @endif </a> </li> @endif @if (isset($currentWorkspace) && $currentWorkspace) @auth('web') <li class="dash-item {{ Request::route()->getName() == 'users.index' || Request::route()->getName() == 'users_logs.index' ? ' active' : '' }}"> <a href="{{ route('users.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"> <i data-feather="user"></i></span> <span class="dash-mtext">{{ __('Users') }}</span> </a> </li> @if ($currentWorkspace->creater->id == Auth::user()->id) <li class="dash-item dash-hasmenu"> <a href="{{ route('clients.index', $currentWorkspace->slug) }}" class="dash-link {{ Request::route()->getName() == 'clients.index' ? ' active' : '' }}"> <span class="dash-micon"><i class="ti ti-brand-python"></i></span> <span class="dash-mtext"> {{ __('Clients') }}</span> </a> </li> @endif <li class="dash-item {{ Request::route()->getName() == 'projects.index' || Request::segment(2) == 'projects' ? ' active' : '' }}"> <a href="{{ route('projects.index', $currentWorkspace->slug) }}" class="dash-link"> <span class="dash-micon"> <i data-feather="briefcase"></i></span> <span class="dash-mtext">{{ __('Projects') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'tasks.index' ? ' active' : '' }}"> <a href="{{ route('tasks.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="list"></i></span> <span class="dash-mtext">{{ __('Tasks') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'timesheet.index' ? ' active' : '' }}"> <a href="{{ route('timesheet.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="clock"></i></span> <span class="dash-mtext">{{ __('Timesheet') }}</span> </a> </li> @if (Auth::user()->type == 'user' && $currentWorkspace->creater->id == Auth::user()->id) <li class="dash-item {{ \Request::route()->getName() == 'time.tracker' ? 'active' : '' }}"> <a href="{{ route('time.tracker', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="watch"></i></span> <span class="dash-mtext">{{ __('Tracker') }}</span> </a> </li> @endif @if ($currentWorkspace->creater->id == Auth::user()->id) <li class="dash-item {{ Request::route()->getName() == 'invoices.index' || Request::segment(2) == 'invoices' ? ' active' : '' }}"> <a href="{{ route('invoices.index', $currentWorkspace->slug) }}" class="dash-link"> <span class="dash-micon"><i data-feather="printer"></i></span> <span class="dash-mtext">{{ __('Invoices') }} </span> </a> </li> @endif @if (isset($currentWorkspace) && $currentWorkspace && $currentWorkspace->creater->id == Auth::user()->id) <li class="dash-item dash-hasmenu {{ Request::route()->getName() == 'contracts.index' || Request::route()->getName() == 'contracts.show' ? ' active' : '' }}"> <a href="#" class="dash-link"> <span class="dash-micon"><i class="ti ti-device-floppy"></i></span> <span class="dash-mtext">{{ __('Contracts') }}</span> <span class="dash-arrow"><i data-feather="chevron-right"></i></span> </a> <ul class="dash-submenu collapse {{ Request::route()->getName() == 'contracts.index' ? ' active' : '' }}"> <li class="dash-item {{ Request::route()->getName() == 'contracts.index' || Request::route()->getName() == 'contracts.show' ? 'active' : '' }}"> <a class="dash-link" href="{{ route('contracts.index', $currentWorkspace->slug) }}"> {{ __('Contracts') }} </a> </li> <li class="dash-item "> <a class="dash-link" href="{{ route('contract_type.index', $currentWorkspace->slug) }}"> {{ __('Contract Type') }} </a> </li> </ul> </li> @endif <li class="dash-item {{ Request::route()->getName() == 'calender.index' ? ' active' : '' }}"> <a href="{{ route('calender.google.calendar', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="calendar"></i></span> <span class="dash-mtext">{{ __('Calendar') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'notes.index' ? ' active' : '' }}"> <a href="{{ route('notes.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="clipboard"></i></span> <span class="dash-mtext">{{ __('Notes') }} </span> </a> </li> @if ($adminSetting['enable_chat'] == 'on') <li class="dash-item {{ Request::route()->getName() == 'chats' ? ' active' : '' }}"> <a href="{{ route('chats') }}" class="dash-link"> <span class="dash-micon"><i class="ti ti-message-circle"></i></span> <span class="dash-mtext">{{ __('Messenger') }}</span> </a> </li> @endif @elseauth <li class="dash-item {{ Request::route()->getName() == 'client.projects.index' || Request::segment(3) == 'projects' ? ' active' : '' }}"> <a href="{{ route('client.projects.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="briefcase"></i></span> <span class="dash-mtext">{{ __('Projects') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'client.timesheet.index' ? ' active' : '' }}"> <a href="{{ route('client.timesheet.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="clock"></i></span> <span class="dash-mtext">{{ __('Timesheet') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'client.invoices.index' ? ' active' : '' }}"> <a href="{{ route('client.invoices.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="printer"></i></span> <span class="dash-mtext">{{ __('Invoices') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'client.contracts.index' || Request::route()->getName() == 'client.contracts.show' ? 'active' : '' }}"> <a href="{{ route('client.contracts.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i class="ti ti-device-floppy"></i></span> <span class="dash-mtext">{{ __('Contracts') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'client.project_report.index' || Request::segment(3) == 'project_report' ? ' active' : '' }}"> <a href="{{ route('client.project_report.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i class="ti ti-chart-line"></i></span> <span class="dash-mtext">{{ __('Project Report') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'client.calender.index' ? ' active' : '' }}"> <a href="{{ route('client.calender.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="calendar"></i></span> <span class="dash-mtext">{{ __('Calendar') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'client.zoom-meeting.index' || Request::route()->getName() == 'zoommeetings.Calender' ? ' active' : '' }}"> <a href="{{ route('client.zoom-meeting.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="video"></i></span> <span class="dash-mtext">{{ __('Zoom Meeting') }}</span> </a> </li> @endauth @endif @if (isset($currentWorkspace) && $currentWorkspace) @auth('web') <li class="dash-item {{ Request::route()->getName() == 'project_report.index' || Request::segment(2) == 'project_report' ? ' active' : '' }}"> <a href="{{ route('project_report.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i class="ti ti-chart-line"></i></span> <span class="dash-mtext">{{ __('Project Report') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'zoom-meeting.index' || Request::route()->getName() == 'zoommeeting.Calender' ? ' active' : '' }}"> <a href="{{ route('zoom-meeting.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="video"></i></span> <span class="dash-mtext">{{ __('Zoom Meeting') }}</span> </a> </li> @endauth @endif @if (Auth::user()->type == 'admin') <li class="dash-item {{ Request::route()->getName() == 'email_template.index' || Request::route()->getName() == 'email_template.show' || Request::segment(1) == 'email_template_lang' ? ' active' : '' }}"> <a class="dash-link" href="{{ route('email_template.index') }}"> <span class="dash-micon"><i class="ti ti-mail"></i></span> <span class="dash-mtext">{{ __('Email Templates') }}</span> </a> </li> @include('landingpage::menu.landingpage') <li class="dash-item {{ Request::route()->getName() == 'settings.index' ? ' active' : '' }}"> <a href="{{ route('settings.index') }}" class="dash-link "><span class="dash-micon"> <i data-feather="settings"></i></span> <span class="dash-mtext">{{ __('Settings') }}</span> </a> </li> @endif @if (isset($currentWorkspace) && $currentWorkspace && $currentWorkspace->creater->id == Auth::user()->id && Auth::user()->getGuard() != 'client') <li class="dash-item {{ Request::route()->getName() == 'notification-templates.index' || Request::route()->getName() == 'notification-templates.show' ? ' active' : '' }}"> <a href="{{ route('notification-templates.index', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i class="ti ti-notification"></i></span> <span class="dash-mtext">{{ __('Notification Template') }}</span> </a> </li> <li class="dash-item {{ Request::route()->getName() == 'workspace.settings' ? ' active' : '' }}"> <a href="{{ route('workspace.settings', $currentWorkspace->slug) }}" class="dash-link "> <span class="dash-micon"><i data-feather="settings"></i></span> <span class="dash-mtext">{{ __('Settings') }}</span> </a> </li> @endif @if (Auth::user()->type == 'admin') @endif </div> </div> </nav>
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.72 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