Kimlik doğrulama veya yönetimden onay bekliyor.
// SQL. Lord Montrey
$ozelsql = $db->query_read("SELECT
post.postid, post.pagetext, thread.threadid, thread.title, thread.dateline, thread.forumid, thread.firstpostid, thread.dateline, thread.views, thread.visible
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = thread.firstpostid)
WHERE thread.visible = 1
ORDER BY thread.dateline DESC LIMIT 0, 5
");
while ($gthread = $db->fetch_array($ozelsql))
{
$montrey2 = $gthread['threadid'];
$montrey3 = $gthread[title];
$og .= "<a href=\"showthread.php?t=$montrey2\" /><a href=\"showthread.php?t=$montrey2\">$montrey3</a>";
}
// SQL. Lord Montrey
Bu kod ile yapabilirsiniz son 5 konu gösterimini. Ama vB den bağımsız sayfada yapıcaksanız db bağlantısıda yapmalısınız.