'yes' "; if ($ismanager!=true) { $suse.= " and ishide<>'yes' "; } //$suse.= " order by lastactive desc ";//desc if ($catedata[orderby]=="lastactive") { $suse.= " order by lastactive desc ";//desc } if ($catedata[orderby]=="topicname") { $suse.= " order by topic asc ";//desc } //echo $suse; echo ""; echo $_pagesplit_btn_var; ?> 'yes' "; } $s.= " order by lastactive desc "; $s=tmq($s); while ($r=tmq_fetch_array($s)) { viewtopicrow($r,"pin"); } html_rows0_str($suse,"ยังไม่มีข้อความ",6); while ($r=tmq_fetch_array($suse)) { viewtopicrow($r); } echo $_pagesplit_btn_var; ?>