%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY
| Server IP : 122.155.177.87 / Your IP : 122.155.177.87 Web Server : Apache/2 System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64 User : phunphin ( 1164) PHP Version : 5.3.29 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,putenv,eval MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/phunphin/domains/phunphin.go.th/public_html/ |
Upload File : |
<center>
<table width="100%" border="0" cellpadding="2" cellspacing="2">
<?
function dateThai_rss($date)
{
$m_name = array("00"=>" ","01"=>"Á.¤.","02"=>"¡.¾.","03"=>"ÁÕ.¤.","04"=>"àÁ.Â.","05"=>"¾.¤.","06"=>"ÁÔ.Â.","07"=>"¡.¤.","08"=>"Ê.¤.","09"=>"¡.Â.","10"=>"µ.¤.","11"=>"¾.Â.","12"=>"¸.¤.");
$yy=substr("$date",0,4);$mm=substr("$date",5,2);$dd=substr("$date",8,2);$time=substr("$date",11,8);
$dateTh = "";
if($yy=="0000")
{
$dateTh = $dd." ".$m_name[$mm]." ".$yy;
}else{
$yy+=543;
$dateTh = $dd." ".$m_name[$mm]." ".$yy;
}
if($time != ""){
$dateTh .= " ".$time;
}
return $dateTh;
}
$sql = "select * From `tbl_egp_rss` where 1 ";
$sql .= "Order by `id` Desc ";
//$sql .= "Order by `egp_date` Desc ,`egp_projectId` Desc ";
$sql .= "LIMIT 5";
$result = mysql_query($sql);
While($row= mysql_fetch_assoc($result))
{
$c_egp_title = $row["egp_title"];
$c_egp_link = $row["egp_link"];
$c_egp_date = $row["egp_date"];
$c_egp_date_th = dateThai_rss($c_egp_date);
if(strlen($c_egp_title) > 60){
//$c_egp_title = trim(utf8_substr($c_egp_title,0,60));
}
echo "<tr><td width='5%' valign='middle'><div align='center' valign='middle' class='more'>**</div></td>";
echo "<td width='95%' valign='top' class='detail-s'><div align='left'>\n";
echo "<a href=".$c_egp_link." class='more' target='_blank'>".$c_egp_title." </a> [".$c_egp_date_th."] ";
echo "</div></td></tr>\n";
} //while
if(isset($result)){
mysql_free_result($result );
unset($result);
}
?>
<tr>
<td colspan="2" width="100%" height="16"></td>
</tr>
</table>
</center>