One Hat Cyber Team
Your IP :
3.23.61.5
Server IP :
162.241.123.123
Server :
Linux sh016.hostgator.in 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home1
/
saicsazq
/
instabees.in
/
app
/
Helpers
/
Edit File:
helpers.php
<?php function html_decode($text){ $after_decode = htmlspecialchars_decode($text, ENT_QUOTES); return $after_decode; } function admin_lang(){ return Session::get('admin_lang'); } function front_lang(){ return Session::get('front_lang'); } function currency($price){ // currency information will be loaded by Session value $currency_icon = Session::get('currency_icon'); $currency_code = Session::get('currency_code'); $currency_rate = Session::get('currency_rate'); $currency_position = Session::get('currency_position'); // $currency_icon = '$'; // $currency_code = 'USD'; // $currency_rate = '1.00'; // $currency_position = 'before_price'; $price = $price * $currency_rate; $price = amount($price, 2, '.', ','); if($currency_position == 'before_price'){ $price = $currency_icon.$price; }elseif($currency_position == 'before_price_with_space'){ $price = $currency_icon.' '.$price; }elseif($currency_position == 'after_price'){ $price = $price.$currency_icon; }elseif($currency_position == 'after_price_with_space'){ $price = $price.' '.$currency_icon; }else{ $price = $currency_icon.$price; } return $price; } function amount($amount) { $amount = number_format($amount, 2, '.', ','); return $amount; }
Simpan