Index: temp/test-xoops.ec-cube.net/html/modules/newbb/response.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/newbb/response.php	(revision 1258)
+++ temp/test-xoops.ec-cube.net/html/modules/newbb/response.php	(revision 1259)
@@ -31,23 +31,26 @@
 
 include "header.php";
-
-$forum = intval($_GET['forum']);
-if ( $forum < 1 ) {
-    redirect_header("index.php", 2, _MD_ERRORFORUM);
-    exit();
-}
-$sql = 'SELECT forum_type, forum_name, forum_access, allow_html, allow_sig, posts_per_page, hot_threshold, topics_per_page FROM '.$xoopsDB->prefix('bb_forums').' WHERE forum_id = '.$forum;
-if ( !$result = $xoopsDB->query($sql) ) {
-    redirect_header("index.php", 2, _MD_ERRORCONNECT);
-    exit();
-}
-if ( !$forumdata = $xoopsDB->fetchArray($result) ) {
-    redirect_header("index.php", 2, _MD_ERROREXIST);
-    exit();
-}
 // this page uses smarty template
 // this must be set before including main header.php
 $xoopsOption['template_main_path'] = XOOPS_ROOT_PATH . '/modules/newbb/templates/newbb_response.html';
 include XOOPS_ROOT_PATH."/header.php";
+
+/*
+$forum = intval($_GET['forum']);
+if ( $forum < 1 ) {
+    redirect_header("index.php", 2, _MD_ERRORFORUM);
+    exit();
+}
+$sql = 'SELECT forum_type, forum_name, forum_access, allow_html, allow_sig, posts_per_page, hot_threshold, topics_per_page FROM '.$xoopsDB->prefix('bb_forums').' WHERE forum_id = '.$forum;
+if ( !$result = $xoopsDB->query($sql) ) {
+    redirect_header("index.php", 2, _MD_ERRORCONNECT);
+    exit();
+}
+if ( !$forumdata = $xoopsDB->fetchArray($result) ) {
+    redirect_header("index.php", 2, _MD_ERROREXIST);
+    exit();
+}
+*/
+
 
 /*
