dbname = $CFGDB['dbname']; $PreNext->offset = 'page'; $PreNext->limit = $CFG['spage_index']; $PreNext->number_type = 'number'; $PreNext->connection($CFGDB['host'],$CFGDB['username'],$CFGDB['password']); $PreNext->execute("SELECT MemId,MemUser,MemPhotoDes,MemPhoto,MemPageview,MemPoint FROM {$CFGDB['prefix']}members WHERE MemNotShow != 'x' AND MemNotShow != 'xx' $cat ORDER BY MemId DESC"); ?> <?=$CFG['title']?>
แสดงทั้งหมด |

show_num_pages('«','« กลับ','»','ต่อไป »','|','class=TextNormal'); echo $pages; ?>
sql_result)) { echo "
  • ".$fetch['MemId']." : ".$fetch['MemUser']."
    โหวต ".$fetch['MemPoint']." คะแนน, ผู้เข้าชม ".$fetch['MemPageview']." ครั้ง
    ".splitword(htmlspecialchars($fetch['MemPhotoDes']),$CFG['sword'])."
  • "; } ?>
    show_num_pages('«','« กลับ','»','ต่อไป »','|','class=TextNormal'); echo $pages; ?>