forum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
forum [2018/12/31 11:01]
valerius
forum [2018/12/31 11:06] (current)
valerius
Line 1: Line 1:
-<php> +{{include>phpbb.php}}
-/*  MyUPB forum with DokuWIki integration +
- ​* ​ (c) dbanet, ​  ​2013,​ +
- ​* ​ (c) 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>​ +

forum.1546254080.txt.gz · Last modified: 2018/12/31 11:01 by valerius