$Num_Pages) || ($Page<0)) print "
จำนวน $Page มากกว่า $Num_Pages ยังไม่มีข้อความ
"; $cmdSQL .= " Order by info_id Desc LIMIT $Page_start , $Per_Page"; //ส่วนแสดงผล $rs = mysql_query($cmdSQL); $obj = mysql_fetch_object($rs); while($obj!=NULL){ echo""; echo""; echo""; echo""; $obj = mysql_fetch_object($rs); } ?>
หัวข้อข่าวประชาสัมพันธ์ Information Faculty of Education News
".$obj->info_id."info_id." target=_blank>".$obj->info_title."
items_total = $Num_Rows; $pages->mid_range = 10; $pages->current_page = $Page; $pages->default_ipp = $Per_Page; $pages->url_next = $_SERVER["PHP_SELF"]."?view=search&QueryString=value&Page="; $pages->paginate(); echo $pages->display_pages() ?>