<?php
$limiet = 10; //Aantal topics
$pad	= "phpBB/"; // Pad naar forum (met slash)!
//Hieronder niets aanpassen!
include($pad.'config.php');
mysql_connect($dbhost,$dbuser,$dbpasswd) or die(mysql_error());
mysql_select_db($dbname) or die(mysql_error());
$aSql = "SELECT * FROM phpbb_topics ORDER BY topic_id DESC LIMIT 0,$limiet";
$aQuery = mysql_query($aSql);
while ($aShow = mysql_fetch_object($aQuery))
{
 	echo "<a href=\"".$pad."viewtopic.php?p=".$aShow->topic_last_post_id."#".$aShow->topic_last_post_id."\">".$aShow->topic_title."</a>";
}
?>
             
            - <?php 
- $limiet = 10; //Aantal topics 
- $pad	= "phpBB/"; // Pad naar forum (met slash)! 
-   
- //Hieronder niets aanpassen! 
- include($pad.'config.php'); 
-   
- $aSql = "SELECT * FROM phpbb_topics ORDER BY topic_id DESC LIMIT 0,$limiet"; 
-   
- { 
-  	echo "<a href=\"".$pad."viewtopic.php?p=".$aShow->topic_last_post_id."#".$aShow->topic_last_post_id."\">".$aShow->topic_title."</a>"; 
- } 
- ?>