='1'"; if($gid!=""){ $sql.=" and gid='$gid'"; } $sql.=" and mood='y'"; $result=mysql_query($sql); $nrow=mysql_num_rows($result); $somyotcount="10"; $numrow = $nrow; $c_n=floor($nrow/$somyotcount); if($c_page==""){ $c_page=0; } $goto=$c_page*$somyotcount; $sequence=$_REQUEST['sequence']; $c_page=$_REQUEST['c_page']; if($sequence==""){ $sql.=" order by id desc "; } $sql.="limit $goto,$somyotcount"; $result=mysql_query($sql); if($nrow<=0) { }else{ $datenow=date("Ymd"); while($arr=mysql_fetch_array($result)){ $date=ShowDate_Nick($arr["date"]); $dateans=ShowDate_Nick($arr["dateans"]); //if ($bg=="#F0F0F0"){ $bg="#FFFFFF"; }else{$bg="#F0F0F0"; } ?> ='1'"; if($gid!=""){ $sql.=" and gid='$gid'"; } $sql.=" and mood='n'"; $result=mysql_query($sql); $nrow=mysql_num_rows($result); $somyotcount="10"; $numrow = $nrow; $c_n=floor($nrow/$somyotcount); if($c_page==""){ $c_page=0; } $goto=$c_page*$somyotcount; $sequence=$_REQUEST['sequence']; $c_page=$_REQUEST['c_page']; if($sequence==""){ $sql.=" order by id desc "; } $sql.="limit $goto,$somyotcount"; $result=mysql_query($sql); if($nrow<=0) { ?>
คำถา?/font> ผู้ถาม ตอบล่าสุดโดย
= "10" ){?> - /
ไม่พบข้อมูลที่ต้องการแสด?/td>
= "10" ){?> - /