naresphotography
160/246 Chaiyapruk 2 , 345 Rd., Bangkuwad, Muang, Pathum Thani 12000 Thailand
Telephone : 085-504-1122,085-503-7744
Facebook : facebook.com/Nares Tantibul
GPS : 13.956566,100.492391
$sql3="select * from wb_topic where type=1";
$result3 = mysql_query($sql3);
$Num_Rows3 = mysql_num_rows($result3);
$numpafe3=8-$Num_Rows3;
$sql="select * from wb_topic where type=0";
$Per_Page =$numpafe3;
if(!$Page)
$Page=1;
$Prev_Page = $Page-1;
$Next_Page = $Page+1;
$result = mysql_query($sql);
$Page_start = ($Per_Page*$Page)-$Per_Page;
$Num_Rows = mysql_num_rows($result);
$Numalll = mysql_num_rows($result);
if($Num_Rows<=$Per_Page)
$Num_Pages =1;
else if(($Num_Rows % $Per_Page)==0)
$Num_Pages =($Num_Rows/$Per_Page) ;
else
$Num_Pages =($Num_Rows/$Per_Page) +1;
$Num_Pages = (int)$Num_Pages;
if(($Page>$Num_Pages) || ($Page<0))
print "จำนวน $Page มากกว่า $Num_Pages ยังไม่มีข้อความ ";
$sql .= " Order by id desc LIMIT $Page_start , $Per_Page";
$result = mysql_query($sql);
?>
วันที่ตั้งคำถาม | คำถาม | ตอบ (คน) | if($_SESSION["permisssionmembersnaresphotography"]=="1"){?> }?>
![]() |
if($_SESSION["permisssionmembersnaresphotography"]=="1"){?> }?> | |
![]() |