"; }else if($Da[12] < 15 and $DDD[1] != "thmy"){ print""; }else if(is_file("index.html")){ $PrintH=file("index.html"); }else if(is_file("index.htm")){ $PrintH=file("index.htm"); }else{ include("../../index/home.php"); } if(!isset($Tip)) { if(is_file("w-head.html")) { $Wh=file("w-head.html"); foreach ($Wh as &$value) { $value=ereg_replace(""){include("../../TCC/w-menu.php");$CT=1;} if(trim($value)==""){include("../../TCC/w-display.php");$CT=1;} } if($CT==0) { $value=ereg_replace(""," ",$value); $value=ereg_replace("
0){$Rec=$Rec/$Size;} $SS=split("\.",$Rec."..."); $Rec=$SS[0]; if($SS[1] != ""){$Rec=$Rec+1;} return($Rec); } function date_change_thai($da) { $mkda=date("j-n-Y",$da); $arrdate=explode("-",$mkda); $namemonth=$arrdate[1]-1; $nameyear=$arrdate[2]+543; $month=array ("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"); return " $arrdate[0] $month[$namemonth] $nameyear "; } // จบ function date_change_thai($da) } ?>