Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
forum [2018/12/31 11:01] – valerius | forum [2018/12/31 11:03] – valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <php> | + | {{include>upb.php}} |
- | /* MyUPB forum with DokuWIki integration | + | |
- | | + | |
- | | + | |
- | */ | + | |
- | + | ||
- | $forum = $_GET[' | + | |
- | $topic = $_GET[' | + | |
- | + | ||
- | if (! empty($forum)) { | + | |
- | if (! empty($topic)) | + | |
- | // view topic | + | |
- | $rf = " | + | |
- | else | + | |
- | // view subforum | + | |
- | $rf = " | + | |
- | } | + | |
- | else { | + | |
- | // forum main page | + | |
- | $rf = ''; | + | |
- | } | + | |
- | + | ||
- | <!-- <div id=" | + | |
- | <iframe frameborder=" | + | |
- | this.contentWindow.document.body.style.background='# | + | |
- | marginheight=" | + | |
- | </ | + | |
- | + | ||
- | </ | + |