!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/school.picotech.app/public_html/app/BnDateFormat/   drwxr-xr-x
Free 29 GB of 117.98 GB (24.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     FormatDate.php (2.61 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\BnDateFormat;



class 
FormatDate
{

    
// Numbers
    
public static $bn_numbers = ["১""২""৩""৪""৫""৬""৭""৮""৯""০"];
    public static 
$en_numbers = ["1""2""3""4""5""6""7""8""9""0"];

    
// Months
    
public static $en_months = ['January''February''March''April''May''June''July''August''September''October''November''December'];
    public static 
$en_short_months = ['Jan''Feb''Mar''Apr''May''June''July''Aug''Sep''Oct''Nov''Dec'];
    public static 
$bn_months = ['জানুয়ারী''ফেব্রুয়ারী''মার্চ''এপ্রিল''মে''জুন''জুলাই''অগাস্ট''সেপ্টেম্বর''অক্টোবর''নভেম্বর''ডিসেম্বর'];

    
// Days
    
public static $en_days = ['Saturday''Sunday''Monday''Tuesday''Wednesday''Thursday''Friday'];
    public static 
$en_short_days = ['Sat''Sun''Mon''Tue''Wed''Thu''Fri'];
    public static 
$bn_short_days = ['শনি''রবি''সোম''মঙ্গল''বুধ''বৃহঃ''শুক্র'];
    public static 
$bn_days = ['শনিবার''রবিবার''সোমবার''মঙ্গলবার''বুধবার''বৃহস্পতিবার''শুক্রবার'];

    
// Times
    
public static $en_times = array('am''pm');
    public static 
$en_times_uppercase = array('AM''PM');
    public static 
$bn_times = array('পূর্বাহ্ন''অপরাহ্ন');




    public static function 
bn_number($number)
    {
        return 
str_replace(self::$en_numbersself::$bn_numbers$number);
    }

    
// Method - Bengali to English Number
    
public static function en_number($number)
    {
        return 
str_replace(self::$bn_numbersself::$en_numbers$number);
    }

    
// Method - English to Bengali Date
    
public static function bn_date($date)
    {
        
$date= new \DateTime($date);
        
$date=$date->format('d M Y');
        
// Convert Numbers
        
$date str_replace(self::$en_numbersself::$bn_numbers$date);

        
// Convert Months
        
$date str_replace(self::$en_monthsself::$bn_months$date);
        
$date str_replace(self::$en_short_monthsself::$bn_months$date);

        
// Convert Days
        
$date str_replace(self::$en_daysself::$bn_days$date);
        
$date str_replace(self::$en_short_daysself::$bn_short_days$date);
        
$date str_replace(self::$en_daysself::$bn_days$date);
        return 
$date;
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0037 ]--