include "../admin/include/connect.php";
include "../admin/include/Pagination/pagination.php";
?>
include "../inc/logo.php";?>
include "../inc/nav.php";?>
include "../inc/sidebar.php";?>
ข่าวสารจากวัดป่าภูก้อน จังหวัดอุดรธานี
$page=$_GET['page'];
$page=(int)(!isset($page)?1:$page);
$page=($page==0?1:$page);
$perpage=4;
$startpoint=($page*$perpage)-$perpage;
$result=mysql_query("select * from news order by id desc limit $startpoint,$perpage");
while($data=mysql_fetch_array($result)){
echo "-
".$data['news_name']."
";
}
?>
include "../inc/bottom_link.php";?>
include "../inc/feature_bottom.php";?>