"; echo ""; echo ""; } else { $bg = "#66ffcc"; //bg1 while($row = mysql_fetch_array($query)) { $id = $row['news_id']; $ndate = $row['news_date']; $chk_date= explode(' ', $ndate); $chk_date[0]; $date_check = date("Y-m-d"); $bg = ($bg=="#ffffff")?"#f6f7f8":"#ffffff";//bg2 echo ""; echo ""; echo ""; echo ""; echo ""; } } if( $num == 10 ){ echo ""; echo ""; } ?>
 เอกสารเผยแพร่
"; echo ""; echo "ยังไม่มีข้อมูล"; echo ""; echo "
"; if( strlen( $row["news_name"] )>215){ echo substr($row["news_name"],0,215)."..."; }else{ echo $row["news_name"]; } echo ""; if ($date_check == $chk_date[0]){ echo " "; } echo "".convert_thdate($row['news_date'])." "; $news_doc = explode(".", $row["news_doc"]); if ($news_doc[1] == "xlsx" || $news_doc[1] == "xls"){ echo ""; }else if ($news_doc[1] == "docx" || $news_doc[1] == "doc"){ echo ""; }else if ($news_doc[1] == "pptx" || $news_doc[1] == "ppt"){ echo ""; }else if ($news_doc[1] == "pdf"){ echo ""; }else if ($news_doc[1] == "zip" || $news_doc[1] == "rar"){ echo ""; }else if ($news_doc[1] == "jpg" || $news_doc[1] == "jpeg" || $news_doc[1] == "gif" || $news_doc[1] == "png"){ echo ""; }else{ echo ""; } echo "
+ ดูทั้งหมด
"; echo ""; echo ""; } else { $bg = "#66ffcc"; //bg1 while($row = mysql_fetch_array($query)) { $id = $row['rid']; $rdate = $row['rdate']; $chk_date= explode(' ', $rdate); $chk_date[0]; $date_check = date("Y-m-d"); $bg = ($bg=="#ffffff")?"#f6f7f8":"#ffffff";//bg2 echo ""; echo ""; echo ""; } } if( $numr == 10 ){ echo ""; echo ""; } ?>
 คำสั่ง/ประกาศ/ข้อบังคับ
"; echo ""; echo "ยังไม่มีข้อมูล"; echo ""; echo "
"; if( strlen( $row["rname"] )>230){ echo "[".$row['ryears']."] ".substr($row["rname"],0,230)."..."; }else{ echo "[".$row['ryears']."] ".$row["rname"]; } echo ""; if ($date_check == $chk_date[0]){ echo " "; } echo "  ดาวน์โหลด ".$row["rreply"]." ครั้ง"; echo "
+ ดูทั้งหมด
 ดาวน์โหลดสารสนเทศ
= 5){ ?>
25){ echo substr($row["jname"],0,25).".."; }else{ echo $row["jname"]; } ?>
ดาวน์โหลด ครั้ง
bootstrap slider
"; }else if($w == 'จันทร์'){ echo ""; ?>
"; }else if($w == 'อังคาร'){ echo ""; }else if($w == 'พุธ'){ echo ""; }else if($w == 'พฤหัสบดี'){ echo ""; }else if($w == 'ศุกร์'){ echo ""; }else{ echo ""; } echo "$d $n $y"; echo "
ใหม่ล่าสุด
 สารสนเทศมาใหม่
100){ echo substr($row["jname"],0,100)."..."; }else{ echo $row["jname"]; } ?>
 5 อันดับข่าวยอดนิยม
"; echo ""; echo ""; echo ""; echo ""; $i++; } ?>
".$i.". ".$row["news_name"]."
( เข้าชม ".number_format($row["reply"])." ครั้ง )
...............................................................................
  คน
Best viewed in
Chrome