This is an old revision of the document!
<php> /* MyUPB forum with DokuWIki integration * © dbanet, 2013, * © valerius, 2014 */
$forum = $_GET['var']; $topic = $_GET['sub'];
if (! empty($forum)) {
if (! empty($topic)) // view topic $rf = "viewtopic.php?id=$forum&t_id=$topic"; else // view subforum $rf = "viewforum.php?id=$forum";
} else {
// forum main page $rf = '';
}
<!– <div id=“dokuwiki__content”> –> <iframe frameborder=“0” onload=“this.height=this.contentWindow.document.body.scrollHeight; this.contentWindow.document.body.style.background='#E3E3CD';” marginheight=“0” marginwidth=“0” width=“100%” height=“100%” scrolling=“no” seamless=“yes” src=“/doku/html/board/<?php echo $rf; ?>”> </iframe> <!– </div> –>
</php>